From f0eaf349f75adcfd2daf81c18be5662242a6ae67 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 23 Dec 2002 06:44:58 +0000 Subject: [PATCH] Check for gc/gc.h too git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3070 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 0f788a9f..8734e422 100644 --- a/configure.in +++ b/configure.in @@ -492,8 +492,12 @@ dnl ** if test "x$want_gc" = xyes; then if test "$glib_config_major_version" = "2"; then AC_CHECK_LIB(gc, GC_malloc, [ - AC_DEFINE(HAVE_GC) - LIBS="$LIBS -lgc" + AC_CHECK_HEADER(gc/gc.h, [ + AC_DEFINE(HAVE_GC) + LIBS="$LIBS -lgc" + ], [ + want_gc=no + ]) ], [ want_gc=no ])