Added check for -ldl. Libtool does not do it - sometimes
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 13 Jan 2006 12:46:06 +0000 (12:46 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 13 Jan 2006 12:46:06 +0000 (12:46 +0000)
configure.ac

index 6f171c6..c4e5a79 100644 (file)
@@ -32,6 +32,8 @@ if test "$enable_shared" = "yes"; then
 fi
 
 # Checks for libraries.
+AC_CHECK_LIB(dl,dlopen)
+
 AC_CHECK_LIB(boost_thread, main, [],[
        AC_MSG_NOTICE([boost thread library not found.])
        AC_MSG_ERROR([Install libboost-thread-dev (or similar)])