From: Chris Hanson Date: Mon, 22 Jan 2007 06:38:39 +0000 (+0000) Subject: Fix typo. Use AC_CHECK_FUNC(...) rather than AC_CHECK_LIB([c],...). X-Git-Tag: 20090517-FFI~754 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=33f92a062383347707357acb67dd9ab1c82af2bf;p=mit-scheme.git Fix typo. Use AC_CHECK_FUNC(...) rather than AC_CHECK_LIB([c],...). --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index fd4a942a1..09e58c953 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [14.18], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.34 2007/01/22 06:11:07 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.35 2007/01/22 06:38:39 cph Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -696,7 +696,7 @@ fi dnl Decide whether we're using static or dynamic libraries. if test "${enable_static_libs}" = no; then - AC_CHECK_LIB([c], [dlopen], + AC_CHECK_FUNC([dlopen], [ LIBS="${STATIC_LIBS} ${LIBS}" ], @@ -708,7 +708,7 @@ if test "${enable_static_libs}" = no; then LIBS="${STATIC_LIBS} -ldl ${LIBS}" ], [enable_static_libs=yes]) - ] + ]) fi if test ${enable_static_libs} != no; then STATIC_LIBS=${MODULE_LIBS}${STATIC_LIBS}