mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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,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
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user