check for cvs in the version properly

This commit is contained in:
Dana Jansens 2003-01-11 04:54:36 +00:00
parent 1729df46b5
commit 8c08575433

View file

@ -12,7 +12,7 @@ AC_DEFUN([OB_DEBUG],
[DEBUG=$enableval],[]) [DEBUG=$enableval],[])
# cvs builds are always debug # cvs builds are always debug
test "${VERSION#cvs}" != "$VERSION" && DEBUG = "yes" test "${VERSION%*cvs}" != "$VERSION" && DEBUG="yes"
if test "$DEBUG" = "yes"; then if test "$DEBUG" = "yes"; then
AC_MSG_RESULT([debug]) AC_MSG_RESULT([debug])