]> Dogcows Code - chaz/openbox/commitdiff
give output when building a cvs release
authorDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 10:43:11 +0000 (10:43 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 5 Feb 2003 10:43:11 +0000 (10:43 +0000)
m4/openbox.m4

index f4ef76fa9048d01a2a2506e1732af41b8b0919a0..645301fd85e98d926fd628cb07802ec38d84a329 100644 (file)
@@ -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])
This page took 0.022032 seconds and 4 git commands to generate.