Prepare for libtool-2
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3528 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
df27108452
commit
7d6cf6b694
|
@ -8,10 +8,13 @@ MAINTAINERCLEANFILES = \
|
||||||
$(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
|
$(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
|
||||||
$(srcdir)/depcomp $(srcdir)/aclocal.m4 \
|
$(srcdir)/depcomp $(srcdir)/aclocal.m4 \
|
||||||
$(srcdir)/config.guess $(srcdir)/config.sub \
|
$(srcdir)/config.guess $(srcdir)/config.sub \
|
||||||
|
$(srcdir)/aclocal/ltsugar.m4 $(srcdir)/aclocal/libtool.m4 \
|
||||||
|
$(srcdir)/aclocal/ltversion.m4 $(srcdir)/aclocal/lt~obsolete.m4 \
|
||||||
|
$(srcdir)/aclocal/ltoptions.m4 \
|
||||||
$(srcdir)/packaged
|
$(srcdir)/packaged
|
||||||
EXTRA_DIST = Makefile.mak svnignore
|
EXTRA_DIST = Makefile.mak svnignore
|
||||||
|
|
||||||
SUBDIRS = aclocal etc src win32 doc
|
SUBDIRS = etc src win32 doc
|
||||||
|
|
||||||
dist_noinst_SCRIPTS = bootstrap
|
dist_noinst_SCRIPTS = bootstrap
|
||||||
dist_noinst_DATA = README \
|
dist_noinst_DATA = README \
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
|
||||||
EXTRA_DIST = acx_pthread.m4 libassuan.m4
|
|
43
configure.ac
43
configure.ac
|
@ -1,14 +1,15 @@
|
||||||
dnl -*- mode: m4; -*-
|
dnl -*- mode: m4; -*-
|
||||||
|
|
||||||
AC_PREREQ([2.60])
|
AC_PREREQ(2.61)
|
||||||
|
|
||||||
define([PACKAGE_VERSION_MAJOR], [0])
|
define([PACKAGE_VERSION_MAJOR], [0])
|
||||||
define([PACKAGE_VERSION_MINOR], [11])
|
define([PACKAGE_VERSION_MINOR], [11])
|
||||||
define([PACKAGE_VERSION_FIX], [4])
|
define([PACKAGE_VERSION_FIX], [4])
|
||||||
|
|
||||||
AC_INIT([opensc], [PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn])
|
AC_INIT([opensc],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn])
|
||||||
AC_CONFIG_AUX_DIR([.])
|
AC_CONFIG_AUX_DIR([.])
|
||||||
AM_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_MACRO_DIR([aclocal])
|
||||||
AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}])
|
AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}])
|
||||||
|
|
||||||
OPENSC_VERSION_MAJOR="PACKAGE_VERSION_MAJOR"
|
OPENSC_VERSION_MAJOR="PACKAGE_VERSION_MAJOR"
|
||||||
|
@ -42,7 +43,7 @@ AC_MSG_RESULT([${svn_checkout}])
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[cygwin-native],
|
[cygwin-native],
|
||||||
[AC_HELP_STRING([--with-cygwin-native], [compile native win32])],
|
[AS_HELP_STRING([--with-cygwin-native],[compile native win32])],
|
||||||
,
|
,
|
||||||
[with_cygwin_native="no"]
|
[with_cygwin_native="no"]
|
||||||
)
|
)
|
||||||
|
@ -105,63 +106,63 @@ full_sysconfdir=`eval eval eval eval eval echo "${sysconfdir}" | sed "s#NONE#${p
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[strict],
|
[strict],
|
||||||
[AC_HELP_STRING([--enable-strict], [enable strict compile mode @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-strict],[enable strict compile mode @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_strict="no"]
|
[enable_strict="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[pedantic],
|
[pedantic],
|
||||||
[AC_HELP_STRING([--enable-pedantic], [enable pedantic compile mode @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-pedantic],[enable pedantic compile mode @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_pedantic="no"]
|
[enable_pedantic="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[zlib],
|
[zlib],
|
||||||
[AC_HELP_STRING([--enable-zlib], [enable zlib linkage @<:@detect@:>@])],
|
[AS_HELP_STRING([--enable-zlib],[enable zlib linkage @<:@detect@:>@])],
|
||||||
,
|
,
|
||||||
[enable_zlib="detect"]
|
[enable_zlib="detect"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[readline],
|
[readline],
|
||||||
[AC_HELP_STRING([--enable-readline], [enable readline linkage @<:@detect@:>@])],
|
[AS_HELP_STRING([--enable-readline],[enable readline linkage @<:@detect@:>@])],
|
||||||
,
|
,
|
||||||
[enable_readline="detect"]
|
[enable_readline="detect"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[openssl],
|
[openssl],
|
||||||
[AC_HELP_STRING([--enable-openssl], [enable openssl linkage @<:@detect@:>@])],
|
[AS_HELP_STRING([--enable-openssl],[enable openssl linkage @<:@detect@:>@])],
|
||||||
,
|
,
|
||||||
[enable_openssl="detect"]
|
[enable_openssl="detect"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[openct],
|
[openct],
|
||||||
[AC_HELP_STRING([--enable-openct], [enable openct linkage @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-openct],[enable openct linkage @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_openct="no"]
|
[enable_openct="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[pcsc],
|
[pcsc],
|
||||||
[AC_HELP_STRING([--enable-pcsc], [enable pcsc support @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-pcsc],[enable pcsc support @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_pcsc="no"]
|
[enable_pcsc="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[nsplugin],
|
[nsplugin],
|
||||||
[AC_HELP_STRING([--enable-nsplugin], [enable nsplugin (signer) @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-nsplugin],[enable nsplugin (signer) @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_nsplugin="no"]
|
[enable_nsplugin="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[man],
|
[man],
|
||||||
[AC_HELP_STRING([--disable-man], [disable installation of manuals @<:@enabled for none Windows@:>@])],
|
[AS_HELP_STRING([--disable-man],[disable installation of manuals @<:@enabled for none Windows@:>@])],
|
||||||
,
|
,
|
||||||
[
|
[
|
||||||
if test "${WIN32}" = "yes"; then
|
if test "${WIN32}" = "yes"; then
|
||||||
|
@ -174,35 +175,35 @@ AC_ARG_ENABLE(
|
||||||
|
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_ENABLE(
|
||||||
[doc],
|
[doc],
|
||||||
[AC_HELP_STRING([--enable-doc], [enable installation of documents @<:@disabled@:>@])],
|
[AS_HELP_STRING([--enable-doc],[enable installation of documents @<:@disabled@:>@])],
|
||||||
,
|
,
|
||||||
[enable_doc="no"]
|
[enable_doc="no"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[xsl-stylesheetsdir],
|
[xsl-stylesheetsdir],
|
||||||
[AC_HELP_STRING([--with-xsl-stylesheetsdir=PATH], [docbook xsl-stylesheets for svn build @<:@detect@:>@])],
|
[AS_HELP_STRING([--with-xsl-stylesheetsdir=PATH],[docbook xsl-stylesheets for svn build @<:@detect@:>@])],
|
||||||
[xslstylesheetsdir="${withval}"],
|
[xslstylesheetsdir="${withval}"],
|
||||||
[xslstylesheetsdir="detect"]
|
[xslstylesheetsdir="detect"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[plugindir],
|
[plugindir],
|
||||||
[AC_HELP_STRING([--with-plugindir=PATH], [install Mozilla plugin to PATH @<:@LIBDIR/mozilla/plugins@:>@])],
|
[AS_HELP_STRING([--with-plugindir=PATH],[install Mozilla plugin to PATH @<:@LIBDIR/mozilla/plugins@:>@])],
|
||||||
[plugindir="${withval}"],
|
[plugindir="${withval}"],
|
||||||
[plugindir="\$(libdir)/mozilla/plugins"]
|
[plugindir="\$(libdir)/mozilla/plugins"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[pcsc-provider],
|
[pcsc-provider],
|
||||||
[AC_HELP_STRING([--with-pcsc-provider=PATH], [Path to system pcsc provider @<:@system default@:>@])],
|
[AS_HELP_STRING([--with-pcsc-provider=PATH],[Path to system pcsc provider @<:@system default@:>@])],
|
||||||
,
|
,
|
||||||
[with_pcsc_provider="detect"]
|
[with_pcsc_provider="detect"]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_ARG_WITH(
|
AC_ARG_WITH(
|
||||||
[pinentry],
|
[pinentry],
|
||||||
[AC_HELP_STRING([--with-pinentry=PROG], [run PROG as PIN-entry for OpenSC Signer @<:/usr/bin/gpinentry:>@])],
|
[AS_HELP_STRING([--with-pinentry=PROG],[run PROG as PIN-entry for OpenSC Signer @<:/usr/bin/gpinentry:>@])],
|
||||||
,
|
,
|
||||||
[with_pinentry="/usr/bin/gpinentry"]
|
[with_pinentry="/usr/bin/gpinentry"]
|
||||||
)
|
)
|
||||||
|
@ -219,6 +220,8 @@ dnl Add libtool support.
|
||||||
AC_LIBTOOL_WIN32_DLL
|
AC_LIBTOOL_WIN32_DLL
|
||||||
AC_LIBTOOL_RC
|
AC_LIBTOOL_RC
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
#LT_INIT([win32-dll])
|
||||||
|
#LT_LANG([Windows Resource])
|
||||||
|
|
||||||
dnl These required for svn checkout
|
dnl These required for svn checkout
|
||||||
AC_ARG_VAR([XSLTPROC], [xsltproc utility])
|
AC_ARG_VAR([XSLTPROC], [xsltproc utility])
|
||||||
|
@ -593,9 +596,8 @@ if test "$GCC" = "yes"; then
|
||||||
CFLAGS="-fno-strict-aliasing ${CFLAGS}"
|
CFLAGS="-fno-strict-aliasing ${CFLAGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
aclocal/Makefile
|
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/nonpersistent/Makefile
|
doc/nonpersistent/Makefile
|
||||||
etc/Makefile
|
etc/Makefile
|
||||||
|
@ -621,6 +623,7 @@ AC_OUTPUT([
|
||||||
win32/Makefile
|
win32/Makefile
|
||||||
win32/versioninfo.rc.in
|
win32/versioninfo.rc.in
|
||||||
])
|
])
|
||||||
|
AC_OUTPUT
|
||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
|
|
|
@ -28,20 +28,19 @@ opensc_pkcs11_la_SOURCES = $(OPENSC_PKCS11_SRC) $(OPENSC_PKCS11_INC) hack-disabl
|
||||||
opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
|
opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
|
||||||
opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
|
opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||||
-export-symbols "$(srcdir)/opensc-pkcs11.exports" \
|
-export-symbols "$(srcdir)/opensc-pkcs11.exports" \
|
||||||
-module -avoid-version -no-undefined
|
-module -shared -avoid-version -no-undefined
|
||||||
|
|
||||||
onepin_opensc_pkcs11_la_SOURCES = $(OPENSC_PKCS11_SRC) $(OPENSC_PKCS11_INC) hack-enabled.c
|
onepin_opensc_pkcs11_la_SOURCES = $(OPENSC_PKCS11_SRC) $(OPENSC_PKCS11_INC) hack-enabled.c
|
||||||
onepin_opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
|
onepin_opensc_pkcs11_la_LIBADD = $(OPENSC_PKCS11_LIBS)
|
||||||
onepin_opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
|
onepin_opensc_pkcs11_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||||
-export-symbols "$(srcdir)/opensc-pkcs11.exports" \
|
-export-symbols "$(srcdir)/opensc-pkcs11.exports" \
|
||||||
-module -avoid-version -no-undefined
|
-module -shared -avoid-version -no-undefined
|
||||||
|
|
||||||
|
|
||||||
pkcs11_spy_la_SOURCES = pkcs11-spy.c pkcs11-display.c pkcs11-display.h pkcs11-spy.exports
|
pkcs11_spy_la_SOURCES = pkcs11-spy.c pkcs11-display.c pkcs11-display.h pkcs11-spy.exports
|
||||||
pkcs11_spy_la_LIBADD = $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS) libpkcs11.la
|
pkcs11_spy_la_LIBADD = $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS) libpkcs11.la
|
||||||
pkcs11_spy_la_LDFLAGS = $(AM_LDFLAGS) \
|
pkcs11_spy_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||||
-export-symbols "$(srcdir)/pkcs11-spy.exports" \
|
-export-symbols "$(srcdir)/pkcs11-spy.exports" \
|
||||||
-module -avoid-version -no-undefined
|
-module -shared -avoid-version -no-undefined
|
||||||
|
|
||||||
if WIN32
|
if WIN32
|
||||||
opensc_pkcs11_la_SOURCES += versioninfo.rc
|
opensc_pkcs11_la_SOURCES += versioninfo.rc
|
||||||
|
|
Loading…
Reference in New Issue