diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 8 |
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 |