added -c --clip option
[swftools.git] / configure
index 73baa34..ab0e946 100755 (executable)
--- a/configure
+++ b/configure
@@ -1517,7 +1517,7 @@ if test "${enable_lame+set}" = set; then
 fi;
 
 PACKAGE=swftools
-VERSION=2005-01-24-2220
+VERSION=0.7.0
 
 
 # ------------------------------------------------------------------
@@ -1651,9 +1651,14 @@ MACOSX=
 case $host_os in
     *darwin* )
        MACOSX=yes
-       CFLAGS="$CFLAGS -fno-rtti"
+       CFLAGS="$CFLAGS"
        CXXFLAGS="$CXXFLAGS -fno-rtti"
        SHARED="-bundle"
+       # Use fink packages if available.
+       #if test -d /sw/include && test -d /sw/lib; then
+       #    CPPFLAGS="${CPPFLAGS} -I/sw/include"
+       #    LDFLAGS="${LDFLAGS} -L/sw/lib"
+       #fi
        ;;
 esac
 
@@ -4816,7 +4821,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 case $host in
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 4819 "configure"' > conftest.$ac_ext
+  echo '#line 4824 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -5392,7 +5397,7 @@ chmod -w .
 save_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
 compiler_c_o=no
-if { (eval echo configure:5395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:5400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
   # The compiler can only warn and ignore the option if not recognized
   # So say no if there are warnings
   if test -s out/conftest.err; then
@@ -6625,7 +6630,7 @@ linux-gnu*)
   libsuff=
   case "$host_cpu" in
   x86_64*)
-    echo '#line 6628 "configure"' > conftest.$ac_ext
+    echo '#line 6633 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -7373,7 +7378,7 @@ else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 7376 "configure"
+#line 7381 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -7471,7 +7476,7 @@ else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 7474 "configure"
+#line 7479 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -8675,9 +8680,9 @@ else
 fi
 
 
-echo "$as_me:$LINENO: checking for EGifOpenFileName in -lungif" >&5
-echo $ECHO_N "checking for EGifOpenFileName in -lungif... $ECHO_C" >&6
-if test "${ac_cv_lib_ungif_EGifOpenFileName+set}" = set; then
+echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
+echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
+if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -8695,11 +8700,11 @@ extern "C"
 #endif
 /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
-char EGifOpenFileName ();
+char DGifOpen ();
 int
 main ()
 {
-EGifOpenFileName ();
+DGifOpen ();
   ;
   return 0;
 }
@@ -8726,20 +8731,20 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_lib_ungif_EGifOpenFileName=yes
+  ac_cv_lib_ungif_DGifOpen=yes
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-ac_cv_lib_ungif_EGifOpenFileName=no
+ac_cv_lib_ungif_DGifOpen=no
 fi
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifOpenFileName" >&5
-echo "${ECHO_T}$ac_cv_lib_ungif_EGifOpenFileName" >&6
-if test $ac_cv_lib_ungif_EGifOpenFileName = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
+echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
+if test $ac_cv_lib_ungif_DGifOpen = yes; then
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBUNGIF 1
 _ACEOF
@@ -11834,7 +11839,7 @@ fi
 # ------------------------------------------------------------------
 
 if test -f "release.in"; then release_in="./release"; fi
-FILES="$release_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile}"
+FILES="$release_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile"
 
           ac_config_files="$ac_config_files ${FILES}"
 
@@ -12999,6 +13004,9 @@ if test "$no_create" != yes; then
 fi
 
 
+#
+# On development trees, create snapshots of config.status
+#
 if test -f snapshot -a "x$CHECKMEM" = "x" -a "x$PROFILING" = "x";then
     if test "x${MINGW}" = "xyes"; then
        echo cp config.status config.status.win32