X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=configure.in;h=6435fe29f7e5cb1e4dee53bdde97aa0b97a5db74;hb=158670406d5167eac13a911b8a13819e32eb910f;hp=85ad02f9bb0df78837a0b3c00b293968f28d0521;hpb=dd195e15ca8bd13a7cce5500bd9a7d2b8c21c8aa;p=swftools.git diff --git a/configure.in b/configure.in index 85ad02f..6435fe2 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ AC_INIT(src/) AC_ARG_PROGRAM export PACKAGE=swftools -export VERSION=0.0.2 +export VERSION=pre0.0.3 export CFLAGS="-O2 -fomit-frame-pointer" export CXXFLAGS="-O2 -fomit-frame-pointer" @@ -90,20 +90,23 @@ dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr) +export JPEG2SWF='jpeg2swf$(EXEEXT)' if test "x${DISABLEPDF2SWF}" = "xtrue"; then echo "***************************************************" echo "The following headers/libraries are missing: " ${MISSINGLIBS} echo "Disabling pdf2swf tool..." - rm pdf2swf/Makefile + rm -f pdf2swf/Makefile echo all: > pdf2swf/Makefile + echo install: >> pdf2swf/Makefile if test "x${DISABLEJPEG2SWF}" = "xtrue"; then echo "Disabling jpeg2swf tool..." - dnl FIXME: Do something here + export JPEG2SWF= fi echo "***************************************************" FILES="./release Makefile lib/Makefile src/Makefile" else FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/fonts/Makefile" fi +AC_SUBST(JPEG2SWF) AC_OUTPUT(${FILES})