Update: orig2001_11_25_22_56 -> orig2001_11_27_05_17
[gnokii.git] / configure.in
index 2b2676a..ea77afb 100644 (file)
@@ -32,7 +32,9 @@ test x"$prefix" = xNONE && prefix="$ac_default_prefix"
 
 AC_ARG_ENABLE(debug, 
        [  --enable-debug          compile with debug code],
-       [ CFLAGS="-g -Wall"
+       [ if test "x$GCC" = "xyes"; then
+               CFLAGS="-ggdb3 -Wall"
+         fi
          AC_DEFINE(DEBUG)
          debug="yes" ],
        [ debug="no"  ]