Revert last change, breaks building opensc:

../../src/libopensc/.libs/libopensc.so: undefined reference to `lt_dlopen'
...


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3208 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2007-07-09 08:28:30 +00:00
parent 703edfb68e
commit ae627ca3ac

View File

@ -195,9 +195,11 @@ AC_CACHE_CHECK([for flex directory], ac_cv_flexdir, [
])
dnl use ltdl
AC_LIB_LINKFLAGS(ltdl)
saved_LIBS="$LIBS"
AC_CHECK_LIB(ltdl, lt_dlopen, [], [AC_MSG_ERROR([lt_dlopen not found, please install libltdl])])
AC_CHECK_HEADER([ltdl.h], [],
LIBS="$saved_LIBS $LIBLTDL"
AC_CHECK_HEADER([ltdl.h], [AC_MSG_RESULT([yes])],
[ AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool]) ])
LIBS="$saved_LIBS"