Fix typo. Use AC_CHECK_FUNC(...) rather than AC_CHECK_LIB([c],...).
authorChris Hanson <org/chris-hanson/cph>
Mon, 22 Jan 2007 06:38:39 +0000 (06:38 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 22 Jan 2007 06:38:39 +0000 (06:38 +0000)
v7/src/microcode/configure.ac

index fd4a942a12a23467ab45494f814f0d44caf8c138..09e58c953107382110fffcfd0e89584fa1ff0739 100644 (file)
@@ -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}