]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
configure: move debug check to developer check
authorMichael Adam <obnox@samba.org>
Tue, 19 Feb 2008 15:45:38 +0000 (16:45 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2008 16:39:40 +0000 (17:39 +0100)
...thereby grouping test checks and debug/developer checks together, respectively.

Michael

source/configure.in

index 4ed178230176cf73d074babda0cfe1a0c6f91590..cc71ccfc18cbe5414e5bd34a10caa1d4386cf8ca 100644 (file)
@@ -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