diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-20 05:16:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-20 05:16:49 +0000 |
| commit | d1ccdfc97a1035f461c987b09b35ebc7bffa471d (patch) | |
| tree | 26291bd1b5ec3ace8ce9ee89deb85f2612a7d41f | |
| parent | 14cab4f9331570ae678096a0ed90f6ac17c56524 (diff) | |
fuck it, put it back
| -rw-r--r-- | m4/openbox.m4 | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 55988650..d3e522cd 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -7,17 +7,6 @@ AC_DEFUN([OB_DEBUG], [ AC_MSG_CHECKING([build type]) - DEFAULTDEBUG="no" - - # cvs builds are always debug - CVS="" - test "${PACKAGE_VERSION%*cvs}" != "$PACKAGE_VERSION" && CVS="yes" - test "$CVS" = "yes" && DEFAULTDEBUG="yes" - - AC_ARG_ENABLE([debug], - [ --enable-debug build a debug version default=$DEFAULTDEBUG], - [DEBUG=$enableval], [DEBUG=$DEFAULTDEBUG]) - AC_ARG_ENABLE([strict-ansi], [ --enable-strict-ansi Enable strict ANSI compliance build default=no], [STRICT=$enableval], [STRICT="no"]) @@ -25,6 +14,15 @@ AC_DEFUN([OB_DEBUG], CFLAGS="$CFLAGS -ansi -pedantic -D_XOPEN_SOURCE" fi + AC_ARG_ENABLE([debug], + [ --enable-debug build a debug version default=no], + [DEBUG=$enableval], [DEBUG="no"]) + + # cvs builds are always debug + CVS="" + test "${PACKAGE_VERSION%*cvs}" != "$PACKAGE_VERSION" && CVS="yes" + test "$CVS" = "yes" && DEFAULTDEBUG="yes" + if test "$DEBUG" = "yes"; then MSG="DEBUG" else |
