[pkg-opensc-commit] [libp11] 20/239: do not use AC_LIBLTDL_INSTALLABLE but check for libltdl instead

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit 1d8ea27484632fcbc4858b1e8c426750a147e3f9
Author: Ludovic Rousseau <ludovic.rousseau+github at gmail.com>
Date:   Mon Aug 29 07:22:18 2005 +0000

    do not use AC_LIBLTDL_INSTALLABLE but check for libltdl instead
---
 configure.ac | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2252fc7..03a3e7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,20 +30,10 @@ AC_PROG_CPP
 AC_PROG_INSTALL
 
 dnl use ltdl
-dnl see http://www.gnu.org/software/libtool/manual.html#Distributing-libltdl
-AC_LIBLTDL_INSTALLABLE
-AC_SUBST(LTDLINCL)
-AC_SUBST(LIBLTDL)
-dnl and make sure libtool knows, too
-AC_LIBTOOL_DLOPEN
+AC_CHECK_LIB(ltdl, lt_dlopen,, [AC_MSG_ERROR([libltdl not found])])
 
 dnl Add libtool support.
-AM_PROG_LIBTOOL
-dnl Automatically update the libtool script if it becomes out-of-date.
-dnl AC_SUBST(LIBTOOL_DEPS)
-
-dnl configure libltdl
-AC_CONFIG_SUBDIRS(libltdl)
+AC_PROG_LIBTOOL
 
 dnl Checks for header files.
 AC_HEADER_STDC

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list