diff options
author | Benedikt Meurer <benny@xfce.org> | 2003-04-02 17:33:36 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2003-04-02 17:33:36 +0000 |
commit | 51f78c7e42ea0ce1670f824a3f19ffaba643dc2e (patch) | |
tree | 84592f887956417949e0df261c9d19e6660f22b4 /m4 | |
parent | 698db4cc7e2b38c73508b130c801422862b0a3f5 (diff) | |
download | xfce4-panel-51f78c7e42ea0ce1670f824a3f19ffaba643dc2e.tar.gz |
left-over autostuff for libxfce*, xfcs-mcs-* and xfce4
(Old svn revision: 3605)
Diffstat (limited to 'm4')
-rw-r--r-- | m4/debug.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/debug.m4 b/m4/debug.m4 index 279bdc29..1782bef9 100644 --- a/m4/debug.m4 +++ b/m4/debug.m4 @@ -13,9 +13,9 @@ AC_HELP_STRING([--enable-debug[=yes|no|full]], [Build with debugging support]) AC_HELP_STRING([--disable-debug], [Include no debugging support [default]]), [ac_cv_debug=$enableval], [ac_cv_debug=no]) AC_MSG_CHECKING([whether to build with debugging support]) - if test x$ac_cv_debug != xno; then + if test x"$ac_cv_debug" != x"no"; then AC_DEFINE(DEBUG, 1, Define for debugging support) - if test x$ac_cv_debug == xfull; then + if test x"$ac_cv_debug" = x"full"; then CFLAGS="$CFLAGS -g3 -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED" AC_MSG_RESULT([full]) else @@ -23,6 +23,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support [default]]), AC_MSG_RESULT([yes]) fi else + CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS" AC_MSG_RESULT([no]) fi ]) |