give output when building a cvs release
This commit is contained in:
parent
1d4cff7d1e
commit
7d94983b2e
1 changed files with 9 additions and 3 deletions
|
@ -12,10 +12,16 @@ AC_DEFUN([OB_DEBUG],
|
||||||
[DEBUG=$enableval],[])
|
[DEBUG=$enableval],[])
|
||||||
|
|
||||||
# cvs builds are always debug
|
# 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
|
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])
|
AC_DEFINE([DEBUG], [1], [Creating a debug build])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([RELEASE])
|
AC_MSG_RESULT([RELEASE])
|
||||||
|
|
Loading…
Reference in a new issue