From a6fc701b85f2cbc4648f3f50df3216d0ec9e3638 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kochma=C5=84ski?= Date: Fri, 21 Aug 2015 08:12:24 +0200 Subject: [PATCH] configure: autoreconf with last changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Kochmański --- src/configure | 24 ++++++++++++++++++++---- src/ecl/configpre.h | 3 +++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/configure b/src/configure index 25512cd..c9f64e4 100755 --- a/src/configure +++ b/src/configure @@ -5840,7 +5840,8 @@ case "${enable_boehm}" in *) as_fn_error $? "Invalid value of --enable-boehm: ${enable_boehm} " "$LINENO" 5;; esac if test "${enable_boehm}" = auto -o "${enable_boehm}" = system; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_get_thr_restart_signal in -lgc" >&5 + system_boehm=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GC_get_thr_restart_signal in -lgc" >&5 $as_echo_n "checking for GC_get_thr_restart_signal in -lgc... " >&6; } if ${ac_cv_lib_gc_GC_get_thr_restart_signal+:} false; then : $as_echo_n "(cached) " >&6 @@ -5877,7 +5878,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_get_thr_restart_signal" >&5 $as_echo "$ac_cv_lib_gc_GC_get_thr_restart_signal" >&6; } if test "x$ac_cv_lib_gc_GC_get_thr_restart_signal" = xyes; then : - system_boehm="yes" + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGC 1 +_ACEOF + + LIBS="-lgc $LIBS" + else system_boehm="no" fi @@ -5920,7 +5926,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_malloc" >&5 $as_echo "$ac_cv_lib_gc_GC_malloc" >&6; } if test "x$ac_cv_lib_gc_GC_malloc" = xyes; then : - system_boehm="yes" + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGC 1 +_ACEOF + + LIBS="-lgc $LIBS" + else system_boehm="no" fi @@ -5963,7 +5974,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gc_GC_register_my_thread" >&5 $as_echo "$ac_cv_lib_gc_GC_register_my_thread" >&6; } if test "x$ac_cv_lib_gc_GC_register_my_thread" = xyes; then : - system_boehm="yes" + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBGC 1 +_ACEOF + + LIBS="-lgc $LIBS" + else system_boehm="no" fi diff --git a/src/ecl/configpre.h b/src/ecl/configpre.h index 53cc553..2cbbdc5 100644 --- a/src/ecl/configpre.h +++ b/src/ecl/configpre.h @@ -186,6 +186,9 @@ /* HAVE_LIBFFI */ #undef HAVE_LIBFFI +/* Define to 1 if you have the `gc' library (-lgc). */ +#undef HAVE_LIBGC + /* Define to 1 if you have the `sun' library (-lsun). */ #undef HAVE_LIBSUN -- 2.9.0