added lib/modules/swfsound.c
[swftools.git] / configure
index 3070d81..2299fe0 100755 (executable)
--- a/configure
+++ b/configure
@@ -523,7 +523,7 @@ fi
 
 
 export PACKAGE=swftools
-export VERSION=0.2.0
+export VERSION=0.2.1
 
 export CFLAGS="-O2 -fomit-frame-pointer"
 export CXXFLAGS="-O2 -fomit-frame-pointer"
@@ -1638,7 +1638,7 @@ else
 #include "stdlib.h"
 int main (int argc, char*argv[])
 {
-    return system("echo `echo 0` > config.tmp2");
+    return system("test `touch config.tmp2`");
 }
 
 EOF
@@ -1654,7 +1654,7 @@ fi
 
 
 if test "x${OK}" = "xOK";then
-    test -s config.tmp2 || OK=
+    test -e config.tmp2 || OK=
 fi
 
 if test "x${CROSSCOMPILE}" = "x1";then
@@ -2722,14 +2722,15 @@ 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=
   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