cvs builds are always debug
This commit is contained in:
parent
346151534b
commit
0f16855abc
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ AC_DEFUN([OB_DEBUG],
|
||||||
AC_ARG_ENABLE([debug],
|
AC_ARG_ENABLE([debug],
|
||||||
[ --enable-debug build a debug version default=no],
|
[ --enable-debug build a debug version default=no],
|
||||||
[DEBUG=$enableval],[])
|
[DEBUG=$enableval],[])
|
||||||
|
|
||||||
|
# cvs builds are always debug
|
||||||
|
test "${VERSION#cvs}" != "$VERSION" && DEBUG = "yes"
|
||||||
|
|
||||||
if test "$DEBUG" = "yes"; then
|
if test "$DEBUG" = "yes"; then
|
||||||
AC_MSG_RESULT([debug])
|
AC_MSG_RESULT([debug])
|
||||||
AC_DEFINE([DEBUG], [1], [Creating a debug build])
|
AC_DEFINE([DEBUG], [1], [Creating a debug build])
|
||||||
|
|
Loading…
Reference in a new issue