]> Dogcows Code - chaz/openbox/commitdiff
cvs builds are always debug
authorDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:36:25 +0000 (04:36 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:36:25 +0000 (04:36 +0000)
m4/openbox.m4

index 3c6cd1f041880c3128b54e252ad2a455a6097282..e5b91ff8ef3278df054fa67c2976491bba0ec1aa 100644 (file)
@@ -10,6 +10,10 @@ AC_DEFUN([OB_DEBUG],
   AC_ARG_ENABLE([debug],
   [  --enable-debug          build a debug version default=no],
   [DEBUG=$enableval],[])
+
+  # cvs builds are always debug
+  test "${VERSION#cvs}" != "$VERSION" && DEBUG = "yes"
+  
   if test "$DEBUG" = "yes"; then
     AC_MSG_RESULT([debug])
     AC_DEFINE([DEBUG], [1], [Creating a debug build])
This page took 0.027753 seconds and 4 git commands to generate.