1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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 "x$want_gc" = xyes; then
if test "$glib_config_major_version" = "2"; then if test "$glib_config_major_version" = "2"; then
AC_CHECK_LIB(gc, GC_malloc, [ AC_CHECK_LIB(gc, GC_malloc, [
AC_DEFINE(HAVE_GC) AC_CHECK_HEADER(gc/gc.h, [
LIBS="$LIBS -lgc" AC_DEFINE(HAVE_GC)
LIBS="$LIBS -lgc"
], [
want_gc=no
])
], [ ], [
want_gc=no want_gc=no
]) ])