X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=114100b7f4153af845870b91902f0968bb9f1358;hb=5b709a634c4998b6d699f9a183c27747e93e92a7;hp=35604da3b10c4003093aa25ba773dc82aac64893;hpb=f20fabc9e8f5aafb8c0f939347c63b258fc54821;p=swftools.git diff --git a/configure.in b/configure.in index 35604da..114100b 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,7 @@ AC_ARG_ENABLE(lame, [ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true) PACKAGE=swftools -VERSION=0.6.0 +VERSION=2004-09-02-2157 # ------------------------------------------------------------------ @@ -167,8 +167,8 @@ dnl Checks for typedefs, structures, and compiler characteristics. AC_TYPE_OFF_T AC_TYPE_SIZE_T AC_STRUCT_TM - AC_CHECK_TYPE(boolean,int) - AC_CHECK_TYPE(bool,char) + AC_CHECK_TYPE(boolean,int) #needed for jpeglib + dnl AC_CHECK_TYPE(bool,char) dnl AC_CHECK_TYPE(uchar,unsigned char) dnl AC_CHECK_TYPE(schar,signed char) dnl AC_CHECK_TYPE(word,unsigned short int) @@ -182,6 +182,8 @@ dnl Checks for library functions. RFX_CHECK_FREETYPE +RFX_CHECK_FONTCONFIG + # ------------------------------------------------------------------ lame_objects= @@ -231,6 +233,8 @@ if test "x$PYTHON_OK" '!=' "xyes";then echo all install uninstall clean: > lib/python/Makefile # fail silently- the most users won't have any need for the # python interface anyway +else + pythonrfxswf="lib/python/Makefile" fi # ------------------------------------------------------------------ @@ -246,10 +250,9 @@ if test "x$JPEGLIBMISSING" = "xtrue";then DISABLEPDF2SWF=true; DISABLEJPEG2SWF=true; fi -#if test "x$T1LIBMISSING" = "xtrue";then -# MISSINGLIBS="${MISSINGLIBS} t1lib" -# DISABLEPDF2SWF=true; -#fi +if test "x$T1LIBMISSING" = "xtrue";then + MISSINGLIBS="${MISSINGLIBS} t1lib" +fi if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then DISABLEPDF2SWF=true; @@ -288,7 +291,7 @@ if test "x${AVIFILE}" != "xtrue"; then avi2swf= fi -pdf2swf_makefile="pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile" +pdf2swf_makefile="pdf2swf/Makefile pdf2swf/xpdf/Makefile" if test "x${DISABLEPDF2SWF}" = "xtrue"; then echo "* Disabling pdf2swf tool..." rm -f pdf2swf/Makefile @@ -324,7 +327,8 @@ fi # ------------------------------------------------------------------ -FILES="./release Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile}" +if test -f "release.in"; then release_in="./release"; fi +FILES="$release_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile}" dnl AC_OUTPUT(${FILES}) old autoconf AC_CONFIG_FILES([${FILES}])