Check for lt_dlsym instead of lt_dladvise_init in -lltdl
authorAri Johnson <ari@theari.com>
Thu, 28 Apr 2011 16:15:05 +0000 (11:15 -0500)
committerAri Johnson <ari@theari.com>
Thu, 28 Apr 2011 16:15:05 +0000 (11:15 -0500)
configure.ac

index 11a94b21cfde3d1311de9ab7053bde174ffcbb2d..513a3c27cdbb3109fc52a8ed13894aa9ae2dcb3d 100644 (file)
@@ -195,7 +195,7 @@ AC_CHECK_LIB(fam, FAMOpen)
 
 # Make these smarters.. And allow for local packages to exist
 AC_CHECK_HEADER([ltdl.h],
-               [AC_CHECK_LIB([ltdl], [lt_dladvise_init],
+               [AC_CHECK_LIB([ltdl], [lt_dlsym],
                              [LIBLTDL=-lltdl], 
                              AC_MSG_ERROR([Advise your server admin to install libltdl])
                              )],