give output when building a cvs release
Dana Jansens danakj@orodu.net
1 files changed,
9 insertions(+),
3 deletions(-)
jump to
M
m4/openbox.m4
→
m4/openbox.m4
@@ -12,10 +12,16 @@ [ --enable-debug build a debug version default=no],
[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])