disable stripping with --enable-debug.
authorkramm <kramm>
Sat, 22 Feb 2003 20:18:41 +0000 (20:18 +0000)
committerkramm <kramm>
Sat, 22 Feb 2003 20:18:41 +0000 (20:18 +0000)
configure.in

index 62d24ce..ee74d83 100644 (file)
@@ -7,7 +7,7 @@ AC_ARG_ENABLE(debug,
 [  --enable-debug          turn on debugging], DEBUG=true)
 
 PACKAGE=swftools
-VERSION=0.4.4-pre9
+VERSION=0.4.4-pre10
 # -Winline?
 
 if test "x$CHECKMEM" '!=' "x";then
@@ -16,6 +16,9 @@ fi
 if test "x$DEBUG" '!=' "x";then
     CFLAGS="-Wparentheses -Wimplicit -Wreturn-type -g $CFLAGS"
     CXXFLAGS="-Wparentheses -Wimplicit -Wreturn-type -g $CXXFLAGS"
+    STRIP="echo debug enabled, not stripping "
+    export STRIP
+    AC_SUBST(STRIP)
 else
     CFLAGS="-Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer $CFLAGS"
     CXXFLAGS="-Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer $CXXFLAGS"