[pkg-opensc-commit] [engine-pkcs11] 66/152: Detect libtool-1 or libtool-2 at runtime
Eric Dorland
eric at moszumanska.debian.org
Mon Oct 19 03:11:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository engine-pkcs11.
commit 3abcfa08abc3f081862fd57beff9b8cbe07e90ef
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Wed Jun 11 10:13:08 2008 +0000
Detect libtool-1 or libtool-2 at runtime
---
Makefile.am | 3 ++-
configure.ac | 17 ++++++++++++-----
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 9e99813..6c3f91c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign 1.10
-#ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = \
config.log config.status \
@@ -22,4 +22,5 @@ dist_doc_DATA = NEWS
# Allow detection of packaged tarball
dist-hook:
+ $(MKDIR_P) "$(distdir)/m4"
echo > "$(distdir)/packaged"
diff --git a/configure.ac b/configure.ac
index 4a180a4..8b3a5c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,11 +100,18 @@ AC_PROG_SED
AC_PROG_MAKE_SET
dnl Add libtool support.
-AC_LIBTOOL_WIN32_DLL
-AC_LIBTOOL_RC
-AC_PROG_LIBTOOL
-#LT_INIT([win32-dll])
-#LT_LANG([Windows Resource])
+ifdef(
+ [LT_INIT],
+ [
+ LT_INIT([win32-dll])
+ LT_LANG([Windows Resource])
+ ],
+ [
+ AC_LIBTOOL_WIN32_DLL
+ AC_LIBTOOL_RC
+ 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/engine-pkcs11.git
More information about the pkg-opensc-commit
mailing list