From 182cfb2145e8c1d50471060db4908f7f7531c063 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Jan 2003 04:58:31 +0000 Subject: [PATCH] caps for giving the build target. show it at the end --- configure.ac | 5 +++++ m4/openbox.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d1897322..7a2e5c5e 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,11 @@ AC_MSG_RESULT AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.]) AC_MSG_RESULT +if test "$DEBUG" = "yes"; then + AC_MSG_RESULT([Creating a DEBUG build.]) +else + AC_MSG_RESULT([Creating a RELEASE build.]) +fi AC_MSG_RESULT([Using '$prefix' for installation.]) AC_MSG_RESULT([Using '$CXX' for C++ compiler.]) AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.]) diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 6c56f768..d30b8374 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -16,10 +16,10 @@ AC_DEFUN([OB_DEBUG], if test "$DEBUG" = "yes"; then AC_MSG_RESULT([debug]) - AC_DEFINE([DEBUG], [1], [Creating a debug build]) + AC_DEFINE([DEBUG], [1], [Creating a DEBUG build]) else AC_MSG_RESULT([release]) - AC_DEFINE([NDEBUG], [1], [Creating a release build]) + AC_DEFINE([NDEBUG], [1], [Creating a RELEASE build]) fi ]) -- 2.39.2