* configure.ac: Empty CFLAGS and CXXFLAGS.

* m4/debug.m4: Update CXXFLAGS too.
This commit is contained in:
Alexandre Duret-Lutz 2004-10-11 12:32:49 +00:00
parent 6e40095471
commit 7bcd027712
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-10-11 Alexandre Duret-Lutz <adl@src.lip6.fr>
* configure.ac: Empty CFLAGS and CXXFLAGS.
* m4/debug.m4: Update CXXFLAGS too.
2004-10-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
* doc/Doxyfile.in: Upgrade to Doxygen 1.3.9.

View file

@ -24,6 +24,11 @@ AC_INIT([spot], [0.0y])
AC_CONFIG_AUX_DIR([tools])
AM_INIT_AUTOMAKE([gnits nostdinc 1.8])
# If the user didn't supplied a CFLAGS value,
# set an empty one to prevent autoconf to stick -O2 -g here.
test -z "$CFLAGS" && CFLAGS=
test -z "$CXXFLAGS" && CXXFLAGS=
adl_ENABLE_DEVEL
adl_CHECK_PYTHON

View file

@ -8,6 +8,7 @@ AC_DEFUN([adl_ENABLE_DEBUG],
# are able to grok the resulting debug infos.
if test "${ac_cv_prog_cc_g}" = yes; then
CFLAGS="$CFLAGS -g"
CXXFLAGS="$CXXFLAGS -g"
fi
;;
no)
@ -15,6 +16,7 @@ AC_DEFUN([adl_ENABLE_DEBUG],
*)
if test "${ac_cv_prog_cc_g}" = yes; then
CFLAGS="$CFLAGS -g"
CXXFLAGS="$CXXFLAGS -g"
fi
;;
esac])