[pkg-opensc-commit] [pkcs11-helper] 171/253: Detect libtool-1 or libtool-2 at runtime
Eric Dorland
eric at moszumanska.debian.org
Fri Jan 6 23:39:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pkcs11-helper.
commit 1c7dd6e82719b4ab514e94377150518bbab183c4
Author: Alon Bar-Lev <alon.barlev at gmail.com>
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