Commit 87172f14 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* configure.ac: Pass CXXFLAGS/CFLAGS/CPPFLAGS debug/optimization

settings to sub configure.
parent 197019ea
2011-04-03 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* configure.ac: Pass CXXFLAGS/CFLAGS/CPPFLAGS debug/optimization
settings to sub configure.
2011-03-31 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Introduct a down_cast macro.
......
......@@ -27,7 +27,7 @@ AC_CONFIG_AUX_DIR([tools])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 gnu nostdinc tar-ustar color-tests parallel-tests])
# If the user didn't supplied a CFLAGS value,
# If the user didn't supply a CFLAGS value,
# set an empty one to prevent autoconf to stick -O2 -g here.
test -z "$CFLAGS" && CFLAGS=
test -z "$CXXFLAGS" && CXXFLAGS=
......@@ -55,13 +55,18 @@ LT_CONFIG_LTDL_DIR([ltdl])
LT_INIT([win32-dll])
LTDL_INIT([subproject convenience])
adl_ENABLE_DEBUG
ad_GCC_OPTIM
adl_NDEBUG
# Make sure we pass debug/optimization flags to sub-libraries
as_fn_append ac_configure_args \
" 'CXXFLAGS=$CXXFLAGS' 'CFLAGS=$CFLAGS' 'CPPFLAGS=$CPPFLAGS'"
spot_INTEL
if test x$enable_warnings = xyes; then
CF_GXX_WARNINGS
fi
adl_ENABLE_DEBUG
ad_GCC_OPTIM
adl_NDEBUG
AM_CONDITIONAL([NEVER], [false])
# We need the absolute path for dot in the "doc/dot" script. Other place
......
Markdown is supported
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