--enable-debug now adds the -g to the linker
authorkramm <kramm>
Sun, 21 Jan 2007 19:00:15 +0000 (19:00 +0000)
committerkramm <kramm>
Sun, 21 Jan 2007 19:00:15 +0000 (19:00 +0000)
configure.in

index d52900c..0d970e7 100644 (file)
@@ -46,6 +46,7 @@ if test "x$DEBUG" '!=' "x";then
     if test "x$PROFILING" = "x";then
         CFLAGS="$WARNINGS -O2 -g $CFLAGS"
         CXXFLAGS="$WARNINGS -O2 -g $CXXFLAGS"
+        LDFLAGS="-g $LIBS"
     else
         CFLAGS="$WARNINGS -O2 -g -pg $CFLAGS"
         CXXFLAGS="$WARNINGS -O2 -g -pg $CXXFLAGS"