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:
parent
e5f35dea48
commit
2b6ea2279f
3 changed files with 20 additions and 5 deletions
|
|
@ -1,3 +1,12 @@
|
||||||
|
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>
|
2011-04-10 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
* src/misc/escape.hh: Fix Doxygen documentation.
|
* src/misc/escape.hh: Fix Doxygen documentation.
|
||||||
|
|
|
||||||
|
|
@ -59,10 +59,6 @@ adl_ENABLE_DEBUG
|
||||||
ad_GCC_OPTIM
|
ad_GCC_OPTIM
|
||||||
adl_NDEBUG
|
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
|
spot_INTEL
|
||||||
if test x$enable_warnings = xyes; then
|
if test x$enable_warnings = xyes; then
|
||||||
CF_GXX_WARNINGS
|
CF_GXX_WARNINGS
|
||||||
|
|
|
||||||
12
m4/devel.m4
12
m4/devel.m4
|
|
@ -7,7 +7,17 @@ AC_DEFUN([adl_ENABLE_DEVEL],
|
||||||
# explicitely turned off.
|
# explicitely turned off.
|
||||||
case $VERSION in
|
case $VERSION in
|
||||||
*[[abcdefghijklmnopqrstuvwxyz]])
|
*[[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
|
esac
|
||||||
|
|
||||||
if test x"$enable_devel" = xyes; then
|
if test x"$enable_devel" = xyes; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue