Commit 2b6ea227 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Always pass --enable-devel or --disable-devel to BuDDy.

* configure.ac: Do not add CXXFLAGS and CFLAGS in ac_configure_args,
it causes problem when using config.cache.  Instead ...
* m4/devel.m4: Add --enable-devel or --disable-devel on
ac_configure_args, now that BuDDy understands that.
parent e5f35dea
2011-04-10 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Always pass --enable-devel or --disable-devel to BuDDy.
* configure.ac: Do not add CXXFLAGS and CFLAGS in ac_configure_args,
it causes problem when using config.cache. Instead ...
* m4/devel.m4: Add --enable-devel or --disable-devel on
ac_configure_args, now that BuDDy understands that.
2011-04-10 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* src/misc/escape.hh: Fix Doxygen documentation.
......
......@@ -59,10 +59,6 @@ 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
......
......@@ -7,7 +7,17 @@ AC_DEFUN([adl_ENABLE_DEVEL],
# explicitely turned off.
case $VERSION in
*[[abcdefghijklmnopqrstuvwxyz]])
enable_devel=${enable_devel-yes} ;;
if test -z "${enable_devel}"; then
enable_devel=yes
# Pass this flag to sub-libraries
as_fn_append ac_configure_args " --enable-devel"
fi;;
*)
if test -z "${enable_devel}"; then
enable_devel=no
# Pass this flag to sub-libraries
as_fn_append ac_configure_args " --disable-devel"
fi;;
esac
if test x"$enable_devel" = xyes; then
......
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