aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 3227e60..e0ef290 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -467,9 +467,9 @@ AC_ARG_WITH(gc,
AC_MSG_ERROR([gc.h not found])
fi
fi
- unset ac_cv_lib_gc_GC_version
- AC_CHECK_LIB(gc, GC_version, [LIBS="$LIBS -lgc"])
- if test x"$ac_cv_lib_gc_GC_version" = xno; then
+ unset ac_cv_lib_gc_GC_init
+ AC_CHECK_LIB(gc, GC_init, [LIBS="$LIBS -lgc"])
+ if test x"$ac_cv_lib_gc_GC_init" = xno; then
AC_MSG_CHECKING(GC library location)
AC_MSG_RESULT($with_gc)
gclibdir=no
@@ -477,8 +477,8 @@ AC_ARG_WITH(gc,
ldflags="$LDFLAGS"
LDFLAGS="$LDFLAGS -L$dir/lib"
AC_MSG_CHECKING($dir)
- unset ac_cv_lib_gc_GC_version
- AC_CHECK_LIB(gc, GC_version, [gclibdir="$dir/lib"; LIBS="$LIBS -L$dir/lib -lgc"; break])
+ unset ac_cv_lib_gc_GC_init
+ AC_CHECK_LIB(gc, GC_init, [gclibdir="$dir/lib"; LIBS="$LIBS -L$dir/lib -lgc"; break])
LDFLAGS="$ldflags"
done
if test x"$gclibdir" = xno; then