~ubuntu-branches/ubuntu/oneiric/gnupg2/oneiric-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2010-01-22 21:49:55 UTC
  • mfrom: (1.1.14 upstream) (7.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100122214955-r2ab5it9rts5gqjf
Tags: 2.0.14-1ubuntu1
* Merge with Debian testing (lp: #511356). Remaining changes:
  - debian/gnupg2.dev: udev rules to set ACLs on SCM smartcard readers.
  - debian/rules: Call dh_installudev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.64 for gnupg 2.0.13.
 
3
# Generated by GNU Autoconf 2.64 for gnupg 2.0.14.
4
4
#
5
5
# Report bugs to <http://bugs.gnupg.org>.
6
6
#
549
549
# Identity of this package.
550
550
PACKAGE_NAME='gnupg'
551
551
PACKAGE_TARNAME='gnupg'
552
 
PACKAGE_VERSION='2.0.13'
553
 
PACKAGE_STRING='gnupg 2.0.13'
 
552
PACKAGE_VERSION='2.0.14'
 
553
PACKAGE_STRING='gnupg 2.0.14'
554
554
PACKAGE_BUGREPORT='http://bugs.gnupg.org'
555
555
PACKAGE_URL=''
556
556
 
683
683
LDAP_CPPFLAGS
684
684
LDAPLIBS
685
685
GPGKEYS_LDAP
686
 
ADNSLIBS
687
686
USE_DNS_SRV_FALSE
688
687
USE_DNS_SRV_TRUE
689
688
DNSLIBS
 
689
ADNSLIBS
690
690
PTH_LIBS
691
691
PTH_CFLAGS
692
692
PTH_CONFIG
875
875
with_libassuan_prefix
876
876
with_ksba_prefix
877
877
with_pth_prefix
 
878
with_adns
878
879
enable_dns_srv
879
880
enable_dns_pka
880
881
enable_dns_cert
881
 
with_adns
882
882
with_ldap
883
883
with_libcurl
884
884
with_mailprog
1446
1446
  # Omit some internal or obsolete options to make the list less imposing.
1447
1447
  # This message is too long to be a string in the A/UX 3.1 sh.
1448
1448
  cat <<_ACEOF
1449
 
\`configure' configures gnupg 2.0.13 to adapt to many kinds of systems.
 
1449
\`configure' configures gnupg 2.0.14 to adapt to many kinds of systems.
1450
1450
 
1451
1451
Usage: $0 [OPTION]... [VAR=VALUE]...
1452
1452
 
1516
1516
 
1517
1517
if test -n "$ac_init_help"; then
1518
1518
  case $ac_init_help in
1519
 
     short | recursive ) echo "Configuration of gnupg 2.0.13:";;
 
1519
     short | recursive ) echo "Configuration of gnupg 2.0.14:";;
1520
1520
   esac
1521
1521
  cat <<\_ACEOF
1522
1522
 
1673
1673
test -n "$ac_init_help" && exit $ac_status
1674
1674
if $ac_init_version; then
1675
1675
  cat <<\_ACEOF
1676
 
gnupg configure 2.0.13
 
1676
gnupg configure 2.0.14
1677
1677
generated by GNU Autoconf 2.64
1678
1678
 
1679
1679
Copyright (C) 2009 Free Software Foundation, Inc.
2315
2315
This file contains any messages produced by compilers while
2316
2316
running configure, to aid debugging if configure makes a mistake.
2317
2317
 
2318
 
It was created by gnupg $as_me 2.0.13, which was
 
2318
It was created by gnupg $as_me 2.0.14, which was
2319
2319
generated by GNU Autoconf 2.64.  Invocation command line was
2320
2320
 
2321
2321
  $ $0 $@
8433
8433
fi
8434
8434
 
8435
8435
 
 
8436
 
 
8437
#
 
8438
# Check for ADNS.
 
8439
#
 
8440
_cppflags="${CPPFLAGS}"
 
8441
_ldflags="${LDFLAGS}"
 
8442
 
 
8443
# Check whether --with-adns was given.
 
8444
if test "${with_adns+set}" = set; then :
 
8445
  withval=$with_adns; if test -d "$withval"; then
 
8446
               CPPFLAGS="${CPPFLAGS} -I$withval/include"
 
8447
               LDFLAGS="${LDFLAGS} -L$withval/lib"
 
8448
             fi
 
8449
fi
 
8450
 
 
8451
if test "$with_adns" != "no"; then
 
8452
  for ac_header in adns.h
 
8453
do :
 
8454
  ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "$ac_includes_default"
 
8455
if test "x$ac_cv_header_adns_h" = x""yes; then :
 
8456
  cat >>confdefs.h <<_ACEOF
 
8457
#define HAVE_ADNS_H 1
 
8458
_ACEOF
 
8459
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
 
8460
$as_echo_n "checking for adns_init in -ladns... " >&6; }
 
8461
if test "${ac_cv_lib_adns_adns_init+set}" = set; then :
 
8462
  $as_echo_n "(cached) " >&6
 
8463
else
 
8464
  ac_check_lib_save_LIBS=$LIBS
 
8465
LIBS="-ladns  $LIBS"
 
8466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8467
/* end confdefs.h.  */
 
8468
 
 
8469
/* Override any GCC internal prototype to avoid an error.
 
8470
   Use char because int might match the return type of a GCC
 
8471
   builtin and then its argument prototype would still apply.  */
 
8472
#ifdef __cplusplus
 
8473
extern "C"
 
8474
#endif
 
8475
char adns_init ();
 
8476
int
 
8477
main ()
 
8478
{
 
8479
return adns_init ();
 
8480
  ;
 
8481
  return 0;
 
8482
}
 
8483
_ACEOF
 
8484
if ac_fn_c_try_link "$LINENO"; then :
 
8485
  ac_cv_lib_adns_adns_init=yes
 
8486
else
 
8487
  ac_cv_lib_adns_adns_init=no
 
8488
fi
 
8489
rm -f core conftest.err conftest.$ac_objext \
 
8490
    conftest$ac_exeext conftest.$ac_ext
 
8491
LIBS=$ac_check_lib_save_LIBS
 
8492
fi
 
8493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
 
8494
$as_echo "$ac_cv_lib_adns_adns_init" >&6; }
 
8495
if test "x$ac_cv_lib_adns_adns_init" = x""yes; then :
 
8496
  have_adns=yes
 
8497
else
 
8498
  CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}
 
8499
fi
 
8500
 
 
8501
else
 
8502
  CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}
 
8503
fi
 
8504
 
 
8505
done
 
8506
 
 
8507
fi
 
8508
if test "$have_adns" = "yes"; then
 
8509
  ADNSLIBS="-ladns"
 
8510
fi
 
8511
 
 
8512
# Newer adns versions feature a free function to be used under W32.
 
8513
for ac_func in adns_free
 
8514
do :
 
8515
  ac_fn_c_check_func "$LINENO" "adns_free" "ac_cv_func_adns_free"
 
8516
if test "x$ac_cv_func_adns_free" = x""yes; then :
 
8517
  cat >>confdefs.h <<_ACEOF
 
8518
#define HAVE_ADNS_FREE 1
 
8519
_ACEOF
 
8520
 
 
8521
fi
 
8522
done
 
8523
 
 
8524
 
 
8525
 
8436
8526
#
8437
8527
# Now try for the resolver functions so we can use DNS for SRV, PA and CERT.
8438
8528
#
8818
8908
    # Make sure that the BIND 4 resolver interface is workable before
8819
8909
    # enabling any code that calls it.  At some point I'll rewrite the
8820
8910
    # code to use the BIND 8 resolver API.
8821
 
    # We might also want to use adns instead.
 
8911
    # We might also want to use adns instead.  Problem with ADNS is that
 
8912
    # it does not support v6.
8822
8913
 
8823
8914
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the resolver is usable" >&5
8824
8915
$as_echo_n "checking whether the resolver is usable... " >&6; }
8911
9002
 
8912
9003
     fi
8913
9004
  else
8914
 
     use_dns_srv=no
8915
 
     use_dns_pka=no
8916
 
     use_dns_cert=no
 
9005
     # If we have no resolver library but ADNS (e.g. under W32) enable the
 
9006
     # code parts which can be used with ADNS.
 
9007
     if test x"$have_adns" = xyes ; then
 
9008
        DNSLIBS="$ADNSLIBS"
 
9009
 
 
9010
$as_echo "#define USE_ADNS 1" >>confdefs.h
 
9011
 
 
9012
 
 
9013
        if test x"$use_dns_srv" = xyes ; then
 
9014
           $as_echo "#define USE_DNS_SRV 1" >>confdefs.h
 
9015
 
 
9016
        fi
 
9017
 
 
9018
        if test x"$use_dns_pka" = xyes ; then
 
9019
           $as_echo "#define USE_DNS_PKA 1" >>confdefs.h
 
9020
 
 
9021
        fi
 
9022
 
 
9023
        if test x"$use_dns_cert" = xyes ; then
 
9024
 
 
9025
$as_echo "#define USE_DNS_CERT 1" >>confdefs.h
 
9026
 
 
9027
        fi
 
9028
     else
 
9029
        use_dns_srv=no
 
9030
        use_dns_pka=no
 
9031
        use_dns_cert=no
 
9032
     fi
8917
9033
  fi
8918
9034
 
8919
9035
  LIBS=$_dns_save_libs
8932
9048
 
8933
9049
 
8934
9050
#
8935
 
# Check for ADNS.
8936
 
#
8937
 
_cppflags="${CPPFLAGS}"
8938
 
_ldflags="${LDFLAGS}"
8939
 
 
8940
 
# Check whether --with-adns was given.
8941
 
if test "${with_adns+set}" = set; then :
8942
 
  withval=$with_adns; if test -d "$withval"; then
8943
 
               CPPFLAGS="${CPPFLAGS} -I$withval/include"
8944
 
               LDFLAGS="${LDFLAGS} -L$withval/lib"
8945
 
             fi
8946
 
fi
8947
 
 
8948
 
if test "$with_adns" != "no"; then
8949
 
  for ac_header in adns.h
8950
 
do :
8951
 
  ac_fn_c_check_header_mongrel "$LINENO" "adns.h" "ac_cv_header_adns_h" "$ac_includes_default"
8952
 
if test "x$ac_cv_header_adns_h" = x""yes; then :
8953
 
  cat >>confdefs.h <<_ACEOF
8954
 
#define HAVE_ADNS_H 1
8955
 
_ACEOF
8956
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for adns_init in -ladns" >&5
8957
 
$as_echo_n "checking for adns_init in -ladns... " >&6; }
8958
 
if test "${ac_cv_lib_adns_adns_init+set}" = set; then :
8959
 
  $as_echo_n "(cached) " >&6
8960
 
else
8961
 
  ac_check_lib_save_LIBS=$LIBS
8962
 
LIBS="-ladns  $LIBS"
8963
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964
 
/* end confdefs.h.  */
8965
 
 
8966
 
/* Override any GCC internal prototype to avoid an error.
8967
 
   Use char because int might match the return type of a GCC
8968
 
   builtin and then its argument prototype would still apply.  */
8969
 
#ifdef __cplusplus
8970
 
extern "C"
8971
 
#endif
8972
 
char adns_init ();
8973
 
int
8974
 
main ()
8975
 
{
8976
 
return adns_init ();
8977
 
  ;
8978
 
  return 0;
8979
 
}
8980
 
_ACEOF
8981
 
if ac_fn_c_try_link "$LINENO"; then :
8982
 
  ac_cv_lib_adns_adns_init=yes
8983
 
else
8984
 
  ac_cv_lib_adns_adns_init=no
8985
 
fi
8986
 
rm -f core conftest.err conftest.$ac_objext \
8987
 
    conftest$ac_exeext conftest.$ac_ext
8988
 
LIBS=$ac_check_lib_save_LIBS
8989
 
fi
8990
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_adns_adns_init" >&5
8991
 
$as_echo "$ac_cv_lib_adns_adns_init" >&6; }
8992
 
if test "x$ac_cv_lib_adns_adns_init" = x""yes; then :
8993
 
  have_adns=yes
8994
 
else
8995
 
  CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}
8996
 
fi
8997
 
 
8998
 
else
8999
 
  CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags}
9000
 
fi
9001
 
 
9002
 
done
9003
 
 
9004
 
fi
9005
 
if test "$have_adns" = "yes"; then
9006
 
  ADNSLIBS="-ladns"
9007
 
fi
9008
 
 
9009
 
# Newer adns versions feature a free function to be used under W32.
9010
 
for ac_func in adns_free
9011
 
do :
9012
 
  ac_fn_c_check_func "$LINENO" "adns_free" "ac_cv_func_adns_free"
9013
 
if test "x$ac_cv_func_adns_free" = x""yes; then :
9014
 
  cat >>confdefs.h <<_ACEOF
9015
 
#define HAVE_ADNS_FREE 1
9016
 
_ACEOF
9017
 
 
9018
 
fi
9019
 
done
9020
 
 
9021
 
 
9022
 
 
9023
 
#
9024
9051
# Check for LDAP
9025
9052
#
9026
9053
if test "$try_ldap" = yes ; then
16714
16741
# report actual input values of CONFIG_FILES etc. instead of their
16715
16742
# values after options handling.
16716
16743
ac_log="
16717
 
This file was extended by gnupg $as_me 2.0.13, which was
 
16744
This file was extended by gnupg $as_me 2.0.14, which was
16718
16745
generated by GNU Autoconf 2.64.  Invocation command line was
16719
16746
 
16720
16747
  CONFIG_FILES    = $CONFIG_FILES
16778
16805
_ACEOF
16779
16806
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16780
16807
ac_cs_version="\\
16781
 
gnupg config.status 2.0.13
 
16808
gnupg config.status 2.0.14
16782
16809
configured by $0, generated by GNU Autoconf 2.64,
16783
16810
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16784
16811