mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
configure: move debug check to developer check
...thereby grouping test checks and debug/developer checks together, respectively. Michael
This commit is contained in:
parent
ad45d056df
commit
bf1bb2c090
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user