summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@suse.cz>2012-10-19 12:49:36 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-22 14:56:19 +0200
commit4e2e6bca852e9937ea001451a40734b6ee97d860 (patch)
tree66198d52d4bbaf94d6c2888e347689a171691eb4 /configure.ac
parenta0320a908875f42bab9983ffe4db5b49fe7ba2f6 (diff)
use (gb_)ENABLE_DBGUTIL rather than the confusing (gb_)PRODUCT
Using --enable-debug already makes the build a non-product build, so this whole 'product' notion is rather confusing when reading the build system code. Change-Id: I4bb6b879a6bcd8c76c4b48ddaccb433ab8eb4bb2
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2ebeba9d968c..c5e3dacb7ea4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5016,7 +5016,7 @@ AC_SUBST(ALIGNOF_DOUBLE)
dnl ===================================================================
dnl Check if valgrind.h is available
dnl ===================================================================
-if test "$cross_compiling" != "yes" -a "$enable_dbgutil" != "no" -a \
+if test "$cross_compiling" != "yes" -a -n "$ENABLE_DBGUTIL" -a \
-z "$VALGRIND_CFLAGS"; then
dnl Test $prefix (currently only testing for /usr and /usr/local)
dnl so that VALGRIND_CFLAGS = -I$prefix/include/valgrind
@@ -5044,7 +5044,7 @@ COMPILER_PLUGINS=
if test "$COM_GCC_IS_CLANG" = "TRUE"; then
if test -n "$enable_compiler_plugins"; then
compiler_plugins="$enable_compiler_plugins"
- elif test -n "$enable_dbgutil" -a "$enable_dbgutil" != "no"; then
+ elif test -n "$ENABLE_DBGUTIL"; then
compiler_plugins=test
else
compiler_plugins=no