]> Dogcows Code - chaz/openbox/blobdiff - m4/openbox.m4
argh put it back right!*(
[chaz/openbox] / m4 / openbox.m4
index fb75eccd2efba1d2976635d7ec2e4699fa924fae..c5bafc5c46f05f123c38ee6881973c8c51d73cf5 100644 (file)
@@ -7,10 +7,6 @@ AC_DEFUN([OB_DEBUG],
 [
     AC_MSG_CHECKING([build type])
 
-    AC_ARG_ENABLE([debug],
-    [  --enable-debug          build a debug version default=yes],
-    [DEBUG=$enableval], [DEBUG="yes"])
-
     AC_ARG_ENABLE([strict-ansi],
     [  --enable-strict-ansi    Enable strict ANSI compliance build default=no],
     [STRICT=$enableval], [STRICT="no"])
@@ -18,6 +14,10 @@ AC_DEFUN([OB_DEBUG],
        CFLAGS="$CFLAGS -ansi -pedantic -D_XOPEN_SOURCE"
     fi
 
+    AC_ARG_ENABLE([debug],
+    [  --enable-debug          build a debug version default=no],
+    [DEBUG=$enableval], [DEBUG="no"])
+
   # cvs builds are always debug
     CVS=""
     test "${PACKAGE_VERSION%*cvs}" != "$PACKAGE_VERSION" && CVS="yes"
@@ -38,8 +38,6 @@ AC_DEFUN([OB_DEBUG],
     
     test "$DEBUG" = "yes" && \
        AC_DEFINE([DEBUG], [1], [Creating a debug build])
-
-    AM_CONDITIONAL(CVS, test "$CVS" = "yes")
 ])
 
 
@@ -82,7 +80,7 @@ AC_DEFUN([OB_NLS],
     [NLS=$enableval], [NLS="yes"])
 
     if test "$NLS" = yes; then
-       CPPFLAGS="$CPPFLAGS -DENABLE_NLS"
+       DEFS="$DEFS -DENABLE_NLS"
     fi
 ])
 
This page took 0.022368 seconds and 4 git commands to generate.