From f6cc726a1613c86872181f0d351147ae95c1888c Mon Sep 17 00:00:00 2001 From: Philipp Marek Date: Fri, 21 Aug 2015 07:50:10 +0200 Subject: [PATCH] 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. --- src/aclocal.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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'],[],[]) -- 2.9.0