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:
parent
703edfb68e
commit
ae627ca3ac
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user