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.
This commit is contained in:
Alexandre Duret-Lutz 2011-04-10 21:33:44 +02:00
parent e5f35dea48
commit 2b6ea2279f
3 changed files with 20 additions and 5 deletions

View file

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