* 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

@ -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])