]> Dogcows Code - chaz/openbox/blobdiff - m4/openbox.m4
add number_of_desktops
[chaz/openbox] / m4 / openbox.m4
index e5b91ff8ef3278df054fa67c2976491bba0ec1aa..12c5c8ec387a5b4839c1e975aa906ccbef11bfea 100644 (file)
@@ -12,13 +12,13 @@ AC_DEFUN([OB_DEBUG],
   [DEBUG=$enableval],[])
 
   # cvs builds are always debug
-  test "${VERSION#cvs}" != "$VERSION" && DEBUG = "yes"
+  test "${VERSION%*cvs}" != "$VERSION" && DEBUG="yes"
   
   if test "$DEBUG" = "yes"; then
-    AC_MSG_RESULT([debug])
+    AC_MSG_RESULT([DEBUG])
     AC_DEFINE([DEBUG], [1], [Creating a debug build])
   else
-    AC_MSG_RESULT([release])
+    AC_MSG_RESULT([RELEASE])
     AC_DEFINE([NDEBUG], [1], [Creating a release build])
   fi
 ])
This page took 0.021556 seconds and 4 git commands to generate.