From 31104510f4855c418199b2ce24b60a3322fe259c Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 16 Aug 1996 00:03:49 +0000 Subject: [PATCH] * configure.in: Check for -ldl, so the check for Tcl won't fail spuriously. --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 00762c469..cf2bb76eb 100644 --- a/configure.in +++ b/configure.in @@ -66,6 +66,11 @@ build_subdirs="${existingdirs}" ### Decide which directories to build; remove the ones we don't want ### from build_subdirs. +### On some systems, the Tcl library contains references to +### functions in the dynamic linker library, -ldl, so we may need +### to include that. +AC_CHECK_LIB(dl, dlopen) + ### Use gtcltk-lib only if we seem to have Tcl installed on the ### system. We really should check for Tk as well, but that involves ### finding all the X libraries that we need to do a complete link.