X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=813335c0e774e88462fcf45ab9167dbd3469a705;hb=2cd591782dd3fb407d4ba47cf449a8daf8ed2b04;hp=7399dbfe70de95916bfaa8b2edb0a1203da165be;hpb=a8614ab4906840c51c03b7a4219fba4b45bcd9b0;p=swftools.git diff --git a/configure.in b/configure.in index 7399dbf..813335c 100644 --- a/configure.in +++ b/configure.in @@ -98,6 +98,17 @@ dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand) + SWF_CHECK_AVI2SWF + +avi2swf="avi2swf/Makefile" +if test "x${AVIFILE}" != "xtrue"; then + echo "* Couldn't compile the avifile test program." + echo "* Disabling avi2swf tool..." + echo all: > avi2swf/Makefile + echo install: >> avi2swf/Makefile + echo clean: >> avi2swf/Makefile + avi2swf= +fi if test "x${UNCOMPRESS}" = "xgzip"; then AC_DEFINE_UNQUOTED(USE_GZIP, 1) @@ -120,9 +131,9 @@ if test "x${DISABLEPDF2SWF}" = "xtrue"; then export JPEG2SWF fi echo "***************************************************" - FILES="./release Makefile lib/bladeenc/Makefile lib/Makefile src/Makefile swfs/Makefile" + FILES="./release ${avi2swf} Makefile lib/bladeenc/Makefile lib/Makefile src/Makefile swfs/Makefile" else - FILES="./release Makefile lib/bladeenc/Makefile lib/lame/Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile" + FILES="./release ${avi2swf} Makefile lib/bladeenc/Makefile lib/lame/Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile" fi AC_SUBST(JPEG2SWF)