1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

Check for gc/gc.h too

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3070 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-23 06:44:58 +00:00 committed by cras
parent b97bc4fe66
commit f0eaf349f7

View File

@ -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
])