[pkg-opensc-commit] [pkcs11-helper] 41/44: Detect libtool-1 or libtool-2 at runtime

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:40:16 UTC 2017


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

eric pushed a commit to tag pkcs11-helper-1.06
in repository pkcs11-helper.

commit 7c04213fc90700841d12bbf4b43803330523a276
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Wed Jun 11 10:16:43 2008 +0000

    Detect libtool-1 or libtool-2 at runtime
---
 configure.ac | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index cfab6e5..6d4f13f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,14 +237,23 @@ AC_ARG_WITH(
 AC_PROG_CC
 AC_PROG_INSTALL
 PKG_PROG_PKG_CONFIG
-AC_LIBTOOL_WIN32_DLL
-AC_LIBTOOL_RC
-AC_PROG_LIBTOOL
-#LT_INIT([win32-dll])
-#LT_LANG([Windows Resource])
 AC_ARG_VAR([M4], [m4 utility])
 AC_CHECK_PROGS([M4], [m4])
 
+ifdef(
+	[LT_INIT],
+	[
+		LT_INIT([win32-dll])
+		LT_LANG([Windows Resource])
+	],
+	[
+		AC_LIBTOOL_WIN32_DLL
+		AC_LIBTOOL_RC
+		AC_PROG_LIBTOOL
+	]
+)
+
+
 if test "${enable_doc}" = "yes"; then
 	AC_ARG_VAR([DOXYGEN], [doxygen utility])
 	AC_CHECK_PROGS([DOXYGEN], [doxygen])

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



More information about the pkg-opensc-commit mailing list