* removed the checks for X11 and pthread, as they aren't used at the moment.
[swftools.git] / configure
index 1e3bbdc..d93a09e 100755 (executable)
--- a/configure
+++ b/configure
@@ -544,7 +544,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
 
 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"
@@ -2793,21 +2793,25 @@ fi
 done
 
 
+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..."
-      fi
+    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
 
+
 trap '' 1 2 15
 cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure
@@ -2956,6 +2960,7 @@ s%@PACKAGE@%$PACKAGE%g
 s%@VERSION@%$VERSION%g
 s%@HAVE_UNISTD_H@%$HAVE_UNISTD_H%g
 s%@LIBOBJS@%$LIBOBJS%g
+s%@JPEG2SWF@%$JPEG2SWF%g
 
 CEOF
 EOF