summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d673e2d..650fc91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,10 +133,10 @@ AC_ARG_ENABLE(
(*) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;;
esac],
[debug=false])
-AM_CONDITIONAL(DEBUG, [test "x${debug}" = xtrue])
+AM_CONDITIONAL(DEBUG, [${debug}])
AM_COND_IF(DEBUG,
- AC_DEFINE(DEBUG, 1, [Define to 0 if this is a release build]),
- AC_DEFINE(DEBUG, 0, [Define to 1 or higher if this is a debug build]))
+ AC_DEFINE([DEBUG], [1], [Define to 1 if this is a debug build]),
+ AC_DEFINE([DEBUG], [0], [Define to 1 if this is a debug build]))
# Defines
AC_DEFINE(DIRSEP, [/], [The directory separator in a file system path])