From 3b3b80a3653863533c9a20833e9bf75330be5c0a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 19 Feb 2008 16:45:38 +0100 Subject: configure: move debug check to developer check ...thereby grouping test checks and debug/developer checks together, respectively. Michael (This used to be commit bf1bb2c0906dd5e518c3f35ef97d69eba0e2efdf) --- source3/configure.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 4ed1782301..cc71ccfc18 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -267,15 +267,6 @@ AC_SUBST(cachedir) AC_SUBST(rootsbindir) AC_SUBST(pammodulesdir) -## check for --enable-debug first before checking CFLAGS before -## so that we don't mix -O and -g -debug=no -AC_ARG_ENABLE(debug, -[AS_HELP_STRING([--enable-debug], [Turn on compiler debugging information (default=no)])], - [if eval "test x$enable_debug = xyes"; then - debug=yes - fi]) - ################################################# # set prefix for 'make test' selftest_prefix="./" @@ -311,6 +302,15 @@ AC_ARG_WITH(smbtorture4_path, esac ]) +## check for --enable-debug first before checking CFLAGS before +## so that we don't mix -O and -g +debug=no +AC_ARG_ENABLE(debug, +[AS_HELP_STRING([--enable-debug], [Turn on compiler debugging information (default=no)])], + [if eval "test x$enable_debug = xyes"; then + debug=yes + fi]) + developer=no AC_ARG_ENABLE(developer, [AS_HELP_STRING([--enable-developer], [Turn on developer warnings and debugging (default=no)])], [if eval "test x$enable_developer = xyes"; then -- cgit