mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 09:32:32 +02:00
Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
842a51c760
commit
b687ace2b1
4 changed files with 18 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue