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:
parent
b97bc4fe66
commit
f0eaf349f7
@ -492,11 +492,15 @@ 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_CHECK_HEADER(gc/gc.h, [
|
||||||
AC_DEFINE(HAVE_GC)
|
AC_DEFINE(HAVE_GC)
|
||||||
LIBS="$LIBS -lgc"
|
LIBS="$LIBS -lgc"
|
||||||
], [
|
], [
|
||||||
want_gc=no
|
want_gc=no
|
||||||
])
|
])
|
||||||
|
], [
|
||||||
|
want_gc=no
|
||||||
|
])
|
||||||
else
|
else
|
||||||
want_gc=no
|
want_gc=no
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user