Generated from configure.in
[swftools.git] / configure
index 655d6b5..83fc27a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1517,7 +1517,7 @@ if test "${enable_lame+set}" = set; then
 fi;
 
 PACKAGE=swftools
-VERSION=2005-01-21-2006
+VERSION=2005-02-23-2151
 
 
 # ------------------------------------------------------------------
@@ -1540,8 +1540,8 @@ if test "x$PROFILING" '!=' "x";then
 fi
 if test "x$DEBUG" '!=' "x";then
     if test "x$PROFILING" = "x";then
-        CFLAGS="$WARNINGS -g $CFLAGS"
-        CXXFLAGS="$WARNINGS -g $CXXFLAGS"
+        CFLAGS="$WARNINGS -O2 -g $CFLAGS"
+        CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
     else
         CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
         CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"
@@ -8675,9 +8675,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 +8695,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 +8726,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 +11834,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,3 +12999,25 @@ 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
+       cp config.status config.status.win32
+    else
+       if test "x$DEBUG" '=' "x" -a "x$OPTIMIZE"  '=' "x";then
+           echo cp config.status config.status.linux
+           cp config.status config.status.linux
+       fi
+       if test "x$DEBUG" '!=' "x" -a "x$OPTIMIZE"  '=' "x";then
+           echo cp config.status config.status.debug
+           cp config.status config.status.debug
+       fi
+       if test "x$DEBUG"    = "x" -a "x$OPTIMIZE" '!=' "x"; then
+           echo cp config.status config.status.optimize
+           cp config.status config.status.optimize
+       fi
+    fi
+fi