mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Change ./configure.developer to stay in effect across a
'./config.status --recheck' by making it a real configure option. reran autoconf (This used to be commit 23173125cd124508a080cfc11436273efcbeedb6)
This commit is contained in:
parent
c386d8bdd0
commit
2bfd6d56cd
1636
source3/configure
vendored
1636
source3/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,2 @@
|
||||
#!/bin/sh
|
||||
CFLAGS="$CFLAGS -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
|
||||
export CFLAGS
|
||||
`dirname $0`/configure $*
|
||||
`dirname $0`/configure --enable-developer $*
|
||||
|
@ -23,11 +23,15 @@ AC_SUBST(LIBSMBCLIENT_SHARED)
|
||||
# compile with optimisation and without debugging by default
|
||||
CFLAGS="-O ${CFLAGS}"
|
||||
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],
|
||||
[if eval "test x$enable_debug = xyes"; then
|
||||
CFLAGS="${CFLAGS} -g"
|
||||
fi])
|
||||
|
||||
AC_ARG_ENABLE(developer, [ --enable-developer turn on developer warnings and debugging [default=no]],
|
||||
[if eval "test x$enable_developer = xyes"; then
|
||||
CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD -DDEVELOPER"
|
||||
fi])
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
|
Loading…
x
Reference in New Issue
Block a user