~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-29 17:26:37 UTC
  • mfrom: (3.4.9 sid)
  • Revision ID: james.westby@ubuntu.com-20101129172637-7wwnlut14uxp2kfx
Tags: 7.21.2-1ubuntu1
* Merge with Debian unstable, remaining Ubuntu changes: (LP: #682286)
* debian/control:
  - (Keep build deps in main)
  - Drop build dependencies: stunnel, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Guess values for system-dependent variables and create Makefiles.
3
3
# Generated by GNU Autoconf 2.67 for curl -.
4
4
#
5
 
# Report bugs to <a suitable curl mailing list => http://curl.haxx.se/mail/>.
 
5
# Report bugs to <a suitable curl mailing list: http://curl.haxx.se/mail/>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
265
265
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266
266
  else
267
267
    $as_echo "$0: Please tell bug-autoconf@gnu.org and a suitable curl
268
 
$0: mailing list => http://curl.haxx.se/mail/ about your
 
268
$0: mailing list: http://curl.haxx.se/mail/ about your
269
269
$0: system, including any error possibly output before this
270
270
$0: message. Then install a modern shell, or manually run
271
271
$0: the script under such a shell if you do have one."
737
737
PACKAGE_TARNAME='curl'
738
738
PACKAGE_VERSION='-'
739
739
PACKAGE_STRING='curl -'
740
 
PACKAGE_BUGREPORT='a suitable curl mailing list => http://curl.haxx.se/mail/'
 
740
PACKAGE_BUGREPORT='a suitable curl mailing list: http://curl.haxx.se/mail/'
741
741
PACKAGE_URL=''
742
742
 
743
743
ac_unique_file="lib/urldata.h"
821
821
PKGCONFIG
822
822
KRB4_ENABLED
823
823
USE_OPENLDAP
 
824
CURL_DISABLE_GOPHER
824
825
CURL_DISABLE_SMTP
825
826
CURL_DISABLE_IMAP
826
827
CURL_DISABLE_POP3
991
992
enable_pop3
992
993
enable_imap
993
994
enable_smtp
 
995
enable_gopher
994
996
enable_manual
995
997
enable_libgcc
996
998
with_ldap_lib
1701
1703
  --disable-imap          Disable IMAP support
1702
1704
  --enable-smtp           Enable SMTP support
1703
1705
  --disable-smtp          Disable SMTP support
 
1706
  --enable-gopher         Enable Gopher support
 
1707
  --disable-gopher        Disable Gopher support
1704
1708
  --enable-manual         Enable built-in manual
1705
1709
  --disable-manual        Disable built-in manual
1706
1710
  --enable-libgcc         use libgcc when linking
1792
1796
Use these variables to override the choices made by `configure' or to help
1793
1797
it to find libraries and programs with nonstandard names/locations.
1794
1798
 
1795
 
Report bugs to <a suitable curl mailing list => http://curl.haxx.se/mail/>.
 
1799
Report bugs to <a suitable curl mailing list: http://curl.haxx.se/mail/>.
1796
1800
_ACEOF
1797
1801
ac_status=$?
1798
1802
fi
2360
2364
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2361
2365
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2362
2366
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2363
 
( $as_echo "## ------------------------------------------------------------------------ ##
2364
 
## Report this to a suitable curl mailing list => http://curl.haxx.se/mail/ ##
2365
 
## ------------------------------------------------------------------------ ##"
 
2367
( $as_echo "## ---------------------------------------------------------------------- ##
 
2368
## Report this to a suitable curl mailing list: http://curl.haxx.se/mail/ ##
 
2369
## ---------------------------------------------------------------------- ##"
2366
2370
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2367
2371
    ;;
2368
2372
esac
2992
2996
 
2993
2997
 
2994
2998
CURL_CFLAG_EXTRAS=""
2995
 
if test X"$want_werror" == Xyes; then
 
2999
if test X"$want_werror" = Xyes; then
2996
3000
  CURL_CFLAG_EXTRAS="-Werror"
2997
3001
fi
2998
3002
 
7902
7906
else
7903
7907
  lt_cv_nm_interface="BSD nm"
7904
7908
  echo "int some_variable = 0;" > conftest.$ac_ext
7905
 
  (eval echo "\"\$as_me:7905: $ac_compile\"" >&5)
 
7909
  (eval echo "\"\$as_me:7909: $ac_compile\"" >&5)
7906
7910
  (eval "$ac_compile" 2>conftest.err)
7907
7911
  cat conftest.err >&5
7908
 
  (eval echo "\"\$as_me:7908: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7912
  (eval echo "\"\$as_me:7912: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7909
7913
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7910
7914
  cat conftest.err >&5
7911
 
  (eval echo "\"\$as_me:7911: output\"" >&5)
 
7915
  (eval echo "\"\$as_me:7915: output\"" >&5)
7912
7916
  cat conftest.out >&5
7913
7917
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7914
7918
    lt_cv_nm_interface="MS dumpbin"
9110
9114
  ;;
9111
9115
*-*-irix6*)
9112
9116
  # Find out which ABI we are using.
9113
 
  echo '#line 9113 "configure"' > conftest.$ac_ext
 
9117
  echo '#line 9117 "configure"' > conftest.$ac_ext
9114
9118
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9115
9119
  (eval $ac_compile) 2>&5
9116
9120
  ac_status=$?
10368
10372
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10369
10373
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10370
10374
   -e 's:$: $lt_compiler_flag:'`
10371
 
   (eval echo "\"\$as_me:10371: $lt_compile\"" >&5)
 
10375
   (eval echo "\"\$as_me:10375: $lt_compile\"" >&5)
10372
10376
   (eval "$lt_compile" 2>conftest.err)
10373
10377
   ac_status=$?
10374
10378
   cat conftest.err >&5
10375
 
   echo "$as_me:10375: \$? = $ac_status" >&5
 
10379
   echo "$as_me:10379: \$? = $ac_status" >&5
10376
10380
   if (exit $ac_status) && test -s "$ac_outfile"; then
10377
10381
     # The compiler can only warn and ignore the option if not recognized
10378
10382
     # So say no if there are warnings other than the usual output.
10707
10711
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10708
10712
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10709
10713
   -e 's:$: $lt_compiler_flag:'`
10710
 
   (eval echo "\"\$as_me:10710: $lt_compile\"" >&5)
 
10714
   (eval echo "\"\$as_me:10714: $lt_compile\"" >&5)
10711
10715
   (eval "$lt_compile" 2>conftest.err)
10712
10716
   ac_status=$?
10713
10717
   cat conftest.err >&5
10714
 
   echo "$as_me:10714: \$? = $ac_status" >&5
 
10718
   echo "$as_me:10718: \$? = $ac_status" >&5
10715
10719
   if (exit $ac_status) && test -s "$ac_outfile"; then
10716
10720
     # The compiler can only warn and ignore the option if not recognized
10717
10721
     # So say no if there are warnings other than the usual output.
10812
10816
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10813
10817
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10814
10818
   -e 's:$: $lt_compiler_flag:'`
10815
 
   (eval echo "\"\$as_me:10815: $lt_compile\"" >&5)
 
10819
   (eval echo "\"\$as_me:10819: $lt_compile\"" >&5)
10816
10820
   (eval "$lt_compile" 2>out/conftest.err)
10817
10821
   ac_status=$?
10818
10822
   cat out/conftest.err >&5
10819
 
   echo "$as_me:10819: \$? = $ac_status" >&5
 
10823
   echo "$as_me:10823: \$? = $ac_status" >&5
10820
10824
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10821
10825
   then
10822
10826
     # The compiler can only warn and ignore the option if not recognized
10867
10871
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10868
10872
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10869
10873
   -e 's:$: $lt_compiler_flag:'`
10870
 
   (eval echo "\"\$as_me:10870: $lt_compile\"" >&5)
 
10874
   (eval echo "\"\$as_me:10874: $lt_compile\"" >&5)
10871
10875
   (eval "$lt_compile" 2>out/conftest.err)
10872
10876
   ac_status=$?
10873
10877
   cat out/conftest.err >&5
10874
 
   echo "$as_me:10874: \$? = $ac_status" >&5
 
10878
   echo "$as_me:10878: \$? = $ac_status" >&5
10875
10879
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10876
10880
   then
10877
10881
     # The compiler can only warn and ignore the option if not recognized
13233
13237
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13234
13238
  lt_status=$lt_dlunknown
13235
13239
  cat > conftest.$ac_ext <<_LT_EOF
13236
 
#line 13236 "configure"
 
13240
#line 13240 "configure"
13237
13241
#include "confdefs.h"
13238
13242
 
13239
13243
#if HAVE_DLFCN_H
13329
13333
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13330
13334
  lt_status=$lt_dlunknown
13331
13335
  cat > conftest.$ac_ext <<_LT_EOF
13332
 
#line 13332 "configure"
 
13336
#line 13336 "configure"
13333
13337
#include "confdefs.h"
13334
13338
 
13335
13339
#if HAVE_DLFCN_H
16615
16619
 
16616
16620
         HAVE_LDAP_SSL=1
16617
16621
 
16618
 
         curl_ldaps_msg="enabled"
16619
16622
       fi
16620
16623
       ;;
16621
16624
  esac
16637
16640
 
16638
16641
         HAVE_LDAP_SSL=1
16639
16642
 
16640
 
         curl_ldaps_msg="enabled"
16641
16643
       fi
16642
16644
 
16643
16645
fi
16854
16856
fi
16855
16857
 
16856
16858
 
 
16859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
 
16860
$as_echo_n "checking whether to support gopher... " >&6; }
 
16861
# Check whether --enable-gopher was given.
 
16862
if test "${enable_gopher+set}" = set; then :
 
16863
  enableval=$enable_gopher;  case "$enableval" in
 
16864
  no)
 
16865
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16866
$as_echo "no" >&6; }
 
16867
 
 
16868
$as_echo "#define CURL_DISABLE_GOPHER 1" >>confdefs.h
 
16869
 
 
16870
       CURL_DISABLE_GOPHER=1
 
16871
 
 
16872
       ;;
 
16873
  *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16874
$as_echo "yes" >&6; }
 
16875
       ;;
 
16876
  esac
 
16877
else
 
16878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16879
$as_echo "yes" >&6; }
 
16880
 
 
16881
fi
 
16882
 
 
16883
 
16857
16884
 
16858
16885
 
16859
16886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
17784
17811
        else
17785
17812
          LIBS="$curl_cv_gclk_LIBS $curl_cv_save_LIBS"
17786
17813
        fi
 
17814
        CURL_LIBS="$CURL_LIBS $curl_cv_gclk_LIBS"
17787
17815
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
17788
17816
$as_echo "$curl_cv_gclk_LIBS" >&6; }
17789
17817
        ac_cv_func_clock_gettime="yes"
18515
18543
  fi
18516
18544
fi
18517
18545
 
 
18546
if test x$CURL_DISABLE_LDAPS != x1 ; then
 
18547
    curl_ldaps_msg="enabled"
 
18548
fi
 
18549
 
18518
18550
 
18519
18551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ipv6" >&5
18520
18552
$as_echo_n "checking whether to enable ipv6... " >&6; }
20239
20271
  fi
20240
20272
fi
20241
20273
 
 
20274
if test "$GNUTLS_ENABLED" = "1"; then
 
20275
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
 
20276
$as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
 
20277
if test "${ac_cv_lib_gcrypt_gcry_control+set}" = set; then :
 
20278
  $as_echo_n "(cached) " >&6
 
20279
else
 
20280
  ac_check_lib_save_LIBS=$LIBS
 
20281
LIBS="-lgcrypt  $LIBS"
 
20282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20283
/* end confdefs.h.  */
 
20284
 
 
20285
 
 
20286
#ifdef __cplusplus
 
20287
extern "C"
 
20288
#endif
 
20289
char gcry_control ();
 
20290
int main (void)
 
20291
{
 
20292
return gcry_control ();
 
20293
 ;
 
20294
 return 0;
 
20295
}
 
20296
_ACEOF
 
20297
if ac_fn_c_try_link "$LINENO"; then :
 
20298
  ac_cv_lib_gcrypt_gcry_control=yes
 
20299
else
 
20300
  ac_cv_lib_gcrypt_gcry_control=no
 
20301
fi
 
20302
rm -f core conftest.err conftest.$ac_objext \
 
20303
    conftest$ac_exeext conftest.$ac_ext
 
20304
LIBS=$ac_check_lib_save_LIBS
 
20305
fi
 
20306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
 
20307
$as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
 
20308
if test "x$ac_cv_lib_gcrypt_gcry_control" = x""yes; then :
 
20309
  cat >>confdefs.h <<_ACEOF
 
20310
#define HAVE_LIBGCRYPT 1
 
20311
_ACEOF
 
20312
 
 
20313
  LIBS="-lgcrypt $LIBS"
 
20314
 
 
20315
else
 
20316
 
 
20317
      as_fn_error $? "need GnuTLS built with gcrypt to function with GnuTLS" "$LINENO" 5
 
20318
 
 
20319
fi
 
20320
 
 
20321
fi
 
20322
 
 
20323
 
20242
20324
OPT_POLARSSL=no
20243
20325
 
20244
20326
_cppflags=$CPPFLAGS
21178
21260
 
21179
21261
    ;;
21180
21262
  off)
21181
 
        ;;
 
21263
        LIB_RTMP="-lrtmp"
 
21264
    ;;
21182
21265
  *)
21183
21266
        PREFIX_RTMP=$OPT_LIBRTMP
21184
21267
    ;;
21228
21311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
21229
21312
$as_echo "$ac_cv_lib_rtmp_RTMP_Init" >&6; }
21230
21313
if test "x$ac_cv_lib_rtmp_RTMP_Init" = x""yes; then :
21231
 
  cat >>confdefs.h <<_ACEOF
21232
 
#define HAVE_LIBRTMP 1
21233
 
_ACEOF
21234
 
 
21235
 
  LIBS="-lrtmp $LIBS"
21236
 
 
21237
 
fi
21238
 
 
21239
 
 
21240
 
  for ac_header in librtmp/rtmp.h
 
21314
 
 
21315
     for ac_header in librtmp/rtmp.h
21241
21316
do :
21242
21317
  ac_fn_c_check_header_mongrel "$LINENO" "librtmp/rtmp.h" "ac_cv_header_librtmp_rtmp_h" "$ac_includes_default"
21243
21318
if test "x$ac_cv_header_librtmp_rtmp_h" = x""yes; then :
21245
21320
#define HAVE_LIBRTMP_RTMP_H 1
21246
21321
_ACEOF
21247
21322
 curl_rtmp_msg="enabled (librtmp)"
21248
 
    LIBRTMP_ENABLED=1
 
21323
        LIBRTMP_ENABLED=1
21249
21324
 
21250
21325
$as_echo "#define USE_LIBRTMP 1" >>confdefs.h
21251
21326
 
21252
 
    USE_LIBRTMP=1
 
21327
        USE_LIBRTMP=1
21253
21328
 
21254
21329
 
21255
21330
fi
21257
21332
done
21258
21333
 
21259
21334
 
 
21335
else
 
21336
        LDFLAGS=$CLEANLDFLAGS
 
21337
      CPPFLAGS=$CLEANCPPFLAGS
 
21338
      LIBS=$CLEANLIBS
 
21339
 
 
21340
fi
 
21341
 
 
21342
 
21260
21343
  if test X"$OPT_LIBRTMP" != Xoff &&
21261
21344
     test "$LIBRTMP_ENABLED" != "1"; then
21262
21345
    as_fn_error $? "librtmp libs and/or directories were not found where specified!" "$LINENO" 5
21263
21346
  fi
21264
21347
 
21265
 
  if test "$LIBRTMP_ENABLED" != "1"; then
21266
 
        LDFLAGS=$CLEANLDFLAGS
21267
 
    CPPFLAGS=$CLEANCPPFLAGS
21268
 
    LIBS=$CLEANLIBS
21269
 
  fi
21270
21348
fi
21271
21349
 
21272
21350
 
34176
34254
          ares_channel channel;
34177
34255
          ares_cancel(channel); /* added in 1.2.0 */
34178
34256
          ares_process_fd(channel, 0, 0); /* added in 1.4.0 */
 
34257
          ares_dup(&channel, channel); /* added in 1.6.0 */
34179
34258
 
34180
34259
 ;
34181
34260
 return 0;
34608
34687
if test "x$CURL_DISABLE_TFTP" != "x1"; then
34609
34688
  SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS TFTP"
34610
34689
fi
 
34690
if test "x$CURL_DISABLE_GOPHER" != "x1"; then
 
34691
  SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS GOPHER"
 
34692
fi
34611
34693
if test "x$CURL_DISABLE_POP3" != "x1"; then
34612
34694
  SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3"
34613
34695
  if test "x$SSL_ENABLED" = "x1"; then
35277
35359
Configuration commands:
35278
35360
$config_commands
35279
35361
 
35280
 
Report bugs to <a suitable curl mailing list => http://curl.haxx.se/mail/>."
 
35362
Report bugs to <a suitable curl mailing list: http://curl.haxx.se/mail/>."
35281
35363
 
35282
35364
_ACEOF
35283
35365
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1