diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ac52b5958b16..c493a743f0d8 100644 --- a/configure.ac +++ b/configure.ac @@ -4208,7 +4208,13 @@ AC_SUBST(PROEXT) dnl Set the ENABLE_DEBUG variable. dnl =================================================================== AC_MSG_CHECKING([whether to do a debug build]) +if test -n "$enable_debug" && test "$enable_debug" != "yes" && test "$enable_debug" != "no"; then + AC_MSG_ERROR([--enable-debug now accepts only yes or no, use --enable-selective-debuginfo]) +fi if test -n "$ENABLE_DBGUTIL"; then + if test "$enable_debug" = "no"; then + AC_MSG_ERROR([--disable-debug cannot be used with --enable-dbgutil]) + fi ENABLE_DEBUG="TRUE" AC_MSG_RESULT([yes (dbgutil)]) elif test -n "$enable_debug" && test "$enable_debug" != "no"; then |