Check for the existance of libdl.
authorIvo Timmermans <ivo@lychnis.net>
Thu, 4 May 2000 00:01:05 +0000 (00:01 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Thu, 4 May 2000 00:01:05 +0000 (00:01 +0000)
configure.in

index 3f872180bfd794fb7e056cc12034d34cfeaa3022..ea2c03707ddc1029cdc7a36dae26c8ebe43e4f64 100644 (file)
@@ -61,5 +61,9 @@ else
   LIBS="$LIBS -l$libgmp"
 fi
 
+AC_CHECK_LIB(dl, dlopen, [
+  LIBS="$LIBS -ldl"
+])
+
 AC_OUTPUT([Makefile src/Makefile cipher/Makefile cipher/blowfish/Makefile
 doc/Makefile lib/Makefile m4/Makefile redhat/Makefile debian/Makefile])