* configure.ac: Pass CXXFLAGS/CFLAGS/CPPFLAGS debug/optimization
settings to sub configure.
This commit is contained in:
parent
197019ea62
commit
87172f145d
2 changed files with 14 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
|||
13
configure.ac
13
configure.ac
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue