Detect libtool-1 or libtool-2 at runtime

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3534 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
alonbl 2008-06-11 10:14:43 +00:00
parent 7534621a89
commit a3796270d4
1 changed files with 12 additions and 5 deletions

View File

@ -217,11 +217,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 These required for svn checkout
AC_ARG_VAR([XSLTPROC], [xsltproc utility])