mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* configure.ac: Build a limited version of scdaemon if libopensc
is not available. * configure.ac (ALL_LINUGAS): Removed. * Makefile.am (ACLOCAL_AMFLAGS): New. * configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
This commit is contained in:
parent
0b05a74052
commit
c483f6227b
@ -1,6 +1,10 @@
|
|||||||
2003-04-29 Werner Koch <wk@gnupg.org>
|
2003-04-29 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* configure.ac: Build a limited version of scdaemon if libopensc
|
||||||
|
is not available.
|
||||||
|
|
||||||
* configure.ac (ALL_LINUGAS): Removed.
|
* configure.ac (ALL_LINUGAS): Removed.
|
||||||
|
|
||||||
* Makefile.am (ACLOCAL_AMFLAGS): New.
|
* Makefile.am (ACLOCAL_AMFLAGS): New.
|
||||||
* configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
|
* configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
|
||||||
|
|
||||||
|
30
configure.ac
30
configure.ac
@ -247,10 +247,14 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# OpenSC is needed by the SCdaemon - if it is not availbale we won't
|
# OpenSC is needed by the SCdaemon - if it is not availbale we can only
|
||||||
# build the SCdaemon
|
# build a limited SCdaemon
|
||||||
#
|
#
|
||||||
AM_PATH_OPENSC("$NEED_OPENSC_VERSION",have_opensc=yes,have_opensc=no)
|
AM_PATH_OPENSC("$NEED_OPENSC_VERSION",have_opensc=yes,have_opensc=no)
|
||||||
|
if test $have_opensc = yes; then
|
||||||
|
AC_DEFINE(HAVE_OPENSC,1,
|
||||||
|
[defined if the OpenSC library is available])
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -330,10 +334,6 @@ AC_DEFINE(HAVE_JNLIB_LOGGING, 1,
|
|||||||
#
|
#
|
||||||
# Decide what to build
|
# Decide what to build
|
||||||
#
|
#
|
||||||
if test $have_opensc = no; then
|
|
||||||
build_scdaemon=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test $have_ksba = no; then
|
if test $have_ksba = no; then
|
||||||
build_gpgsm=no
|
build_gpgsm=no
|
||||||
build_scdaemon=no
|
build_scdaemon=no
|
||||||
@ -346,10 +346,19 @@ if test "$build_agent" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_scdaemon_threaded=""
|
build_scdaemon_extra=""
|
||||||
if test "$build_scdaemon" = "yes"; then
|
if test "$build_scdaemon" = "yes"; then
|
||||||
|
tmp=""
|
||||||
if test $have_pth = no; then
|
if test $have_pth = no; then
|
||||||
build_scdaemon_threaded="(not multi-threaded)"
|
build_scdaemon_extra="not multi-threaded"
|
||||||
|
tmp=", "
|
||||||
|
fi
|
||||||
|
if test $have_opensc = no; then
|
||||||
|
build_scdaemon_extra="${build_scdaemon_extra}${tmp}no pkcs#15"
|
||||||
|
tmp=", "
|
||||||
|
fi
|
||||||
|
if test -n "$build_scdaemon_extra"; then
|
||||||
|
build_scdaemon_extra="(${build_scdaemon_extra})"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -376,12 +385,12 @@ AC_OUTPUT
|
|||||||
|
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
GnuPG v${VERSION} has been configured as follows:
|
GnuPG v${VERSION} has been configured as follows:
|
||||||
|
|
||||||
OpenPGP: $build_gpg
|
OpenPGP: $build_gpg
|
||||||
S/MIME: $build_gpgsm
|
S/MIME: $build_gpgsm
|
||||||
Agent: $build_agent $build_agent_threaded
|
Agent: $build_agent $build_agent_threaded
|
||||||
Smartcard: $build_scdaemon $build_scdaemon_threaded
|
Smartcard: $build_scdaemon $build_scdaemon_extra
|
||||||
|
|
||||||
Protect tool: $gnupg_protect_tool
|
Protect tool: $gnupg_protect_tool
|
||||||
Default agent: $gnupg_agent_pgm
|
Default agent: $gnupg_agent_pgm
|
||||||
@ -389,3 +398,4 @@ echo "
|
|||||||
Default scdaemon: $gnupg_scdaemon_pgm
|
Default scdaemon: $gnupg_scdaemon_pgm
|
||||||
Default dirmngr: $gnupg_dirmngr_pgm
|
Default dirmngr: $gnupg_dirmngr_pgm
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user