git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd66557
)
save and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the...
author
Gerald Carter
<jerry@samba.org>
Wed, 1 Oct 2003 18:54:06 +0000
(18:54 +0000)
committer
Gerald Carter
<jerry@samba.org>
Wed, 1 Oct 2003 18:54:06 +0000
(18:54 +0000)
(This used to be commit
dbf7fc4feb7f9c7cb720ce2dcbc8bb16badfe1f2
)
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 8f6c8452e35c89d750db1dc2670adec12c58910f..7bbbb2ab31733911044567898b5ecb1bcb98a0d8 100644
(file)
--- a/
source3/configure.in
+++ b/
source3/configure.in
@@
-166,6
+166,7
@@
AC_SUBST(EXTRA_ALL_TARGETS)
AC_ARG_ENABLE(debug,
[ --enable-debug Turn on compiler debugging information (default=no)],
[if eval "test x$enable_debug = xyes"; then
+ echo "DEBUGGING TURNED ON!!!!"
CFLAGS="${CFLAGS} -g"
fi])
@@
-192,7
+193,15
@@
then
fi
dnl Checks for programs.
+
+##
+## for some reason this macro resets the CFLAGS
+## so save and restore
+##
+OLD_CFLAGS=${CFLAGS}
AC_PROG_CC
+CFLAGS=${OLD_CFLAGS}
+
AC_PROG_INSTALL
AC_PROG_AWK
AC_PATH_PROG(PERL, perl)