Commit 7bcd0277 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* configure.ac: Empty CFLAGS and CXXFLAGS.

* m4/debug.m4: Update CXXFLAGS too.
parent 6e400954
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.
......
......@@ -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
......
......@@ -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])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment