From: Philipp Marek Date: Fri, 21 Aug 2015 05:50:10 +0000 (+0200) Subject: configure: Don't overwrite system_boehm detection variable. X-Git-Tag: ECL-16.0.0~1^2~8 X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=f6cc726a1613c86872181f0d351147ae95c1888c;p=ecl.git configure: Don't overwrite system_boehm detection variable. All conditions must be fulfilled to enable the already-installed BWDGC; on *any* failures the included one must be used. --- diff --git a/src/aclocal.m4 b/src/aclocal.m4 index bcd3684..557684c 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -934,14 +934,15 @@ if test "${enable_boehm}" = auto -o "${enable_boehm}" = system; then dnl dnl Try first with the prebuilt versions, if installed and accessible dnl + system_boehm=yes AC_CHECK_LIB( [gc], [GC_get_thr_restart_signal], - [system_boehm="yes"], [system_boehm="no"] ) + [], [system_boehm="no"] ) if test "${enable_threads}" = no; then AC_CHECK_LIB( [gc], [GC_malloc], - [system_boehm="yes"], [system_boehm="no"] ) + [], [system_boehm="no"] ) else AC_CHECK_LIB( [gc], [GC_register_my_thread], - [system_boehm="yes"], [system_boehm="no"] ) + [], [system_boehm="no"] ) fi if test "${system_boehm}" = yes; then AC_CHECK_HEADER([gc.h],[ECL_BOEHM_GC_HEADER='gc.h'],[],[])