1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-04-12 22:11:29 +02:00

* configure.ac: --enable-minimal leaves out gettext and all resolver

functions (SRV, PKA, & CERT).
This commit is contained in:
David Shaw 2006-11-06 03:59:02 +00:00
parent 1b41117e2a
commit d46be5e103
2 changed files with 26 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2006-11-05 David Shaw <dshaw@jabberwocky.com>
* configure.ac: --enable-minimal leaves out gettext and all
resolver functions (SRV, PKA, & CERT).
2006-10-02 Werner Koch <wk@g10code.com> 2006-10-02 Werner Koch <wk@g10code.com>
* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Add case for mingw32 * acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Add case for mingw32

View File

@ -132,6 +132,8 @@ dnl binary
try_extensions=no try_extensions=no
try_gettext=yes
try_dns=yes
use_rsa=yes use_rsa=yes
use_idea=yes use_idea=yes
use_cast5=yes use_cast5=yes
@ -148,6 +150,8 @@ disable_keyserver_path=no
AC_ARG_ENABLE(minimal, AC_ARG_ENABLE(minimal,
AC_HELP_STRING([--enable-minimal],[build the smallest gpg binary possible]), AC_HELP_STRING([--enable-minimal],[build the smallest gpg binary possible]),
try_gettext=no
try_dns=no
use_rsa=no use_rsa=no
use_idea=no use_idea=no
use_cast5=no use_cast5=no
@ -464,7 +468,6 @@ GNUPG_CHECK_USTAR
MPI_OPT_FLAGS="" MPI_OPT_FLAGS=""
try_gettext=yes
have_dosish_system=no have_dosish_system=no
need_dlopen=yes need_dlopen=yes
case "${host}" in case "${host}" in
@ -578,23 +581,25 @@ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt,
dnl Now try for the resolver functions so we can use DNS for SRV, PKA, dnl Now try for the resolver functions so we can use DNS for SRV, PKA,
dnl and CERT. dnl and CERT.
if test x"$try_hkp" = xyes || test x"$try_http" = xyes ; then if test x"$try_dns" = xyes ; then
AC_ARG_ENABLE(dns-srv, if test x"$try_hkp" = xyes || test x"$try_http" = xyes ; then
AC_HELP_STRING([--disable-dns-srv], AC_ARG_ENABLE(dns-srv,
[disable the use of DNS SRV in HKP and HTTP]), AC_HELP_STRING([--disable-dns-srv],
use_dns_srv=$enableval,use_dns_srv=yes) [disable the use of DNS SRV in HKP and HTTP]),
use_dns_srv=$enableval,use_dns_srv=yes)
fi
AC_ARG_ENABLE(dns-pka,
AC_HELP_STRING([--disable-dns-pka],
[disable the use of PKA records in DNS]),
use_dns_pka=$enableval,use_dns_pka=yes)
AC_ARG_ENABLE(dns-cert,
AC_HELP_STRING([--disable-dns-cert],
[disable the use of CERT records in DNS]),
use_dns_cert=$enableval,use_dns_cert=yes)
fi fi
AC_ARG_ENABLE(dns-pka,
AC_HELP_STRING([--disable-dns-pka],
[disable the use of PKA records in DNS]),
use_dns_pka=$enableval,use_dns_pka=yes)
AC_ARG_ENABLE(dns-cert,
AC_HELP_STRING([--disable-dns-cert],
[disable the use of CERT records in DNS]),
use_dns_cert=$enableval,use_dns_cert=yes)
if test x"$use_dns_pka" = xyes || test x"$use_dns_srv" = xyes || test x"$use_dns_cert" = xyes; then if test x"$use_dns_pka" = xyes || test x"$use_dns_srv" = xyes || test x"$use_dns_cert" = xyes; then
_dns_save_libs=$LIBS _dns_save_libs=$LIBS
LIBS="" LIBS=""