From 0f16855abc40d8fa7b55032cdce75b2cc472bc17 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Jan 2003 04:36:25 +0000 Subject: [PATCH] cvs builds are always debug --- m4/openbox.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 3c6cd1f0..e5b91ff8 100644 --- 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]) -- 2.39.2