Version is now 0.2.2.
[swftools.git] / configure.in
index 438dc8b..a053999 100644 (file)
@@ -1,11 +1,11 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/)
 
-export PACKAGE=swftools
-export VERSION=0.2.0
-
-export CFLAGS="-O2 -fomit-frame-pointer"
-export CXXFLAGS="-O2 -fomit-frame-pointer"
+PACKAGE=swftools
+VERSION=0.2.2
+CFLAGS="-O2 -fomit-frame-pointer"
+CXXFLAGS="-O2 -fomit-frame-pointer"
+export PACKAGE VERSION CFLAGS CXXFLAGS
 
 dnl Checks for programs.
  AC_PROG_CC
@@ -42,6 +42,8 @@ dnl Checks for libraries.
 
 SWF_CHECK_BYTEORDER
 AC_SUBST(WORDS_BIGENDIAN)
+SWF_CHECK_SYSTEM_BACKTICKS
+AC_SUBST(SYSTEM_BACKTICKS)
 
 AC_ARG_PROGRAM
 
@@ -103,7 +105,8 @@ if test "x${UNCOMPRESS}" = "xgzip"; then
 fi
 AC_SUBST(USE_GZIP)
 
-export JPEG2SWF='jpeg2swf$(EXEEXT)'
+JPEG2SWF='jpeg2swf$(EXEEXT)'
+export JPEG2SWF
 if test "x${DISABLEPDF2SWF}" = "xtrue"; then
   echo "***************************************************"
   echo "The following headers/libraries are missing: " ${MISSINGLIBS}
@@ -111,14 +114,16 @@ if test "x${DISABLEPDF2SWF}" = "xtrue"; then
   rm -f pdf2swf/Makefile
   echo all: > pdf2swf/Makefile
   echo install: >> pdf2swf/Makefile
+  echo clean: >> pdf2swf/Makefile
   if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
     echo "Disabling jpeg2swf tool..."
-    export JPEG2SWF=
+    JPEG2SWF=
+    export JPEG2SWF
   fi
   echo "***************************************************"
-  FILES="./release Makefile lib/Makefile src/Makefile swfs/Makefile"
+  FILES="./release Makefile lib/bladeenc/Makefile lib/Makefile src/Makefile swfs/Makefile"
 else
-  FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile"
+  FILES="./release Makefile lib/bladeenc/Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile"
 fi
 AC_SUBST(JPEG2SWF)