diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-05 10:43:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-05 10:43:11 +0000 |
| commit | 7d94983b2e0c55e9d6fa9bc39c102c5b8b8dd468 (patch) | |
| tree | efcb098352ce5e0648ca5fc3189580e503caa000 /m4 | |
| parent | 1d4cff7d1e59a9851ce380b51a4bf2393e698fc5 (diff) | |
give output when building a cvs release
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/openbox.m4 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4 index f4ef76fa..645301fd 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -12,10 +12,16 @@ AC_DEFUN([OB_DEBUG], [DEBUG=$enableval],[]) # cvs builds are always debug - test "${VERSION%*cvs}" != "$VERSION" && DEBUG="yes" - + CVS="" + test "${VERSION%*cvs}" != "$VERSION" && CVS="yes" + test "$CVS" = "yes" && DEBUG="yes" + if test "$DEBUG" = "yes"; then - AC_MSG_RESULT([DEBUG]) + if test "$CVS" = "yes"; then + AC_MSG_RESULT([DEBUG (CVS build)]) + else + AC_MSG_RESULT([DEBUG]) + fi AC_DEFINE([DEBUG], [1], [Creating a debug build]) else AC_MSG_RESULT([RELEASE]) |
