diff options
| author | Dennis Camera <skonfig@dtnr.ch> | 2022-08-25 22:03:49 +0200 |
|---|---|---|
| committer | Dennis Camera <skonfig@dtnr.ch> | 2022-08-25 22:07:46 +0200 |
| commit | d73af9d8e436f36b612869422291caeb3239c758 (patch) | |
| tree | ceafd0efa1e2865dbf97d72fc4eb9d6bd05f6117 /configure.ac | |
| parent | 153d17961a746e389c8d0810ac932c0546122eb8 (diff) | |
| download | skonfig-c-d73af9d8e436f36b612869422291caeb3239c758.tar.gz skonfig-c-d73af9d8e436f36b612869422291caeb3239c758.zip | |
[configure.ac] Simplify DEBUG macro definition
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
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]) |
