projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3461515
)
cvs builds are always debug
author
Dana Jansens
<danakj@orodu.net>
Sat, 11 Jan 2003 04:36:25 +0000
(
04:36
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 11 Jan 2003 04:36:25 +0000
(
04:36
+0000)
m4/openbox.m4
patch
|
blob
|
history
diff --git
a/m4/openbox.m4
b/m4/openbox.m4
index 3c6cd1f041880c3128b54e252ad2a455a6097282..e5b91ff8ef3278df054fa67c2976491bba0ec1aa 100644
(file)
--- a/
m4/openbox.m4
+++ b/
m4/openbox.m4
@@
-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])