aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-08-27 23:16:18 +0000
committerFritz Elfert <felfert@to.com>2000-08-27 23:16:18 +0000
commitd90b08c09fd00001d48567913fdd308cbe9a7ecd (patch)
tree93e011d19d71ac66390285cb5d745bd7afee4961 /acinclude.m4
parentbb41226498847526d20f8ffc5641538562a16867 (diff)
downloadplptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.tar.gz
plptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.tar.bz2
plptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.zip
Added debug config option and modified an assert in Enum.h
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d406121..c803b59 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -89,8 +89,12 @@ dnl this was AC_PROG_CC. I had to include it manualy, since I had to patch it
*-*-sysv4.2uw*) CFLAGS="$CFLAGS -D_UNIXWARE";;
esac
- if test -z "$LDFLAGS" && test "$ac_use_debug_code" = "no" && test "$GCC" = "yes"; then
- LDFLAGS="-s"
+ if test "$ac_use_debug_code" = "no"; then
+ if test -z "$LDFLAGS" && test "$GCC" = "yes"; then
+ LDFLAGS="-s"
+ fi
+ else
+ AC_DEFINE_UNQUOTED(DEBUG)
fi