summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-01-11 00:24:30 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-01-11 00:24:30 +0000
commitb687ace2b11169e2c4dd864152794a086486315d (patch)
tree4267cdd0a6a9e4ad859696316b2841a2ac33113f /configure.in
parent842a51c76039bc5c65c6a19999c7fd06edc4d827 (diff)
downloadirssi-b687ace2b11169e2c4dd864152794a086486315d.zip
Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4faacfd3..b148d751 100644
--- a/configure.in
+++ b/configure.in
@@ -493,10 +493,15 @@ if test "x$want_gc" = xyes; then
if test "$glib_config_major_version" = "2"; then
AC_CHECK_LIB(gc, GC_malloc, [
AC_CHECK_HEADER(gc/gc.h, [
- AC_DEFINE(HAVE_GC)
+ AC_DEFINE(HAVE_GC_GC_H)
LIBS="$LIBS -lgc"
], [
- want_gc=no
+ AC_CHECK_HEADER(gc.h, [
+ AC_DEFINE(HAVE_GC_H)
+ LIBS="$LIBS -lgc"
+ ], [
+ want_gc=no
+ ])
])
], [
want_gc=no