~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
#
12
 
# Copyright (c) 1998 - 2006 Daniel Stenberg, <daniel@haxx.se>
 
12
# Copyright (c) 1998 - 2008 Daniel Stenberg, <daniel@haxx.se>
13
13
# This configure script may be copied, distributed and modified under the
14
14
# terms of the curl license; see COPYING for more details
15
15
## --------------------- ##
875
875
NO_UNDEFINED_FALSE
876
876
MIMPURE_TRUE
877
877
MIMPURE_FALSE
 
878
STATICLIB_TRUE
 
879
STATICLIB_FALSE
878
880
REQUIRE_LIB_DEPS
879
881
CURL_DISABLE_HTTP
880
882
CURL_DISABLE_FTP
895
897
USE_GNUTLS
896
898
HAVE_PK11_CREATEGENERICOBJECT
897
899
USE_NSS
 
900
SSL_ENABLED
898
901
CURL_CA_BUNDLE
899
902
CABUNDLE_TRUE
900
903
CABUNDLE_FALSE
1680
1683
This configure script is free software; the Free Software Foundation
1681
1684
gives unlimited permission to copy, distribute and modify it.
1682
1685
 
1683
 
Copyright (c) 1998 - 2006 Daniel Stenberg, <daniel@haxx.se>
 
1686
Copyright (c) 1998 - 2008 Daniel Stenberg, <daniel@haxx.se>
1684
1687
This configure script may be copied, distributed and modified under the
1685
1688
terms of the curl license; see COPYING for more details
1686
1689
_ACEOF
6061
6064
  ;;
6062
6065
*-*-irix6*)
6063
6066
  # Find out which ABI we are using.
6064
 
  echo '#line 6064 "configure"' > conftest.$ac_ext
 
6067
  echo '#line 6067 "configure"' > conftest.$ac_ext
6065
6068
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6066
6069
  (eval $ac_compile) 2>&5
6067
6070
  ac_status=$?
7907
7910
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7908
7911
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7909
7912
   -e 's:$: $lt_compiler_flag:'`
7910
 
   (eval echo "\"\$as_me:7910: $lt_compile\"" >&5)
 
7913
   (eval echo "\"\$as_me:7913: $lt_compile\"" >&5)
7911
7914
   (eval "$lt_compile" 2>conftest.err)
7912
7915
   ac_status=$?
7913
7916
   cat conftest.err >&5
7914
 
   echo "$as_me:7914: \$? = $ac_status" >&5
 
7917
   echo "$as_me:7917: \$? = $ac_status" >&5
7915
7918
   if (exit $ac_status) && test -s "$ac_outfile"; then
7916
7919
     # The compiler can only warn and ignore the option if not recognized
7917
7920
     # So say no if there are warnings other than the usual output.
8197
8200
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8198
8201
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8199
8202
   -e 's:$: $lt_compiler_flag:'`
8200
 
   (eval echo "\"\$as_me:8200: $lt_compile\"" >&5)
 
8203
   (eval echo "\"\$as_me:8203: $lt_compile\"" >&5)
8201
8204
   (eval "$lt_compile" 2>conftest.err)
8202
8205
   ac_status=$?
8203
8206
   cat conftest.err >&5
8204
 
   echo "$as_me:8204: \$? = $ac_status" >&5
 
8207
   echo "$as_me:8207: \$? = $ac_status" >&5
8205
8208
   if (exit $ac_status) && test -s "$ac_outfile"; then
8206
8209
     # The compiler can only warn and ignore the option if not recognized
8207
8210
     # So say no if there are warnings other than the usual output.
8301
8304
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8302
8305
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8303
8306
   -e 's:$: $lt_compiler_flag:'`
8304
 
   (eval echo "\"\$as_me:8304: $lt_compile\"" >&5)
 
8307
   (eval echo "\"\$as_me:8307: $lt_compile\"" >&5)
8305
8308
   (eval "$lt_compile" 2>out/conftest.err)
8306
8309
   ac_status=$?
8307
8310
   cat out/conftest.err >&5
8308
 
   echo "$as_me:8308: \$? = $ac_status" >&5
 
8311
   echo "$as_me:8311: \$? = $ac_status" >&5
8309
8312
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8310
8313
   then
8311
8314
     # The compiler can only warn and ignore the option if not recognized
10663
10666
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10664
10667
  lt_status=$lt_dlunknown
10665
10668
  cat > conftest.$ac_ext <<EOF
10666
 
#line 10666 "configure"
 
10669
#line 10669 "configure"
10667
10670
#include "confdefs.h"
10668
10671
 
10669
10672
#if HAVE_DLFCN_H
10763
10766
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10764
10767
  lt_status=$lt_dlunknown
10765
10768
  cat > conftest.$ac_ext <<EOF
10766
 
#line 10766 "configure"
 
10769
#line 10769 "configure"
10767
10770
#include "confdefs.h"
10768
10771
 
10769
10772
#if HAVE_DLFCN_H
13183
13186
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13184
13187
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13185
13188
   -e 's:$: $lt_compiler_flag:'`
13186
 
   (eval echo "\"\$as_me:13186: $lt_compile\"" >&5)
 
13189
   (eval echo "\"\$as_me:13189: $lt_compile\"" >&5)
13187
13190
   (eval "$lt_compile" 2>conftest.err)
13188
13191
   ac_status=$?
13189
13192
   cat conftest.err >&5
13190
 
   echo "$as_me:13190: \$? = $ac_status" >&5
 
13193
   echo "$as_me:13193: \$? = $ac_status" >&5
13191
13194
   if (exit $ac_status) && test -s "$ac_outfile"; then
13192
13195
     # The compiler can only warn and ignore the option if not recognized
13193
13196
     # So say no if there are warnings other than the usual output.
13287
13290
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13288
13291
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13289
13292
   -e 's:$: $lt_compiler_flag:'`
13290
 
   (eval echo "\"\$as_me:13290: $lt_compile\"" >&5)
 
13293
   (eval echo "\"\$as_me:13293: $lt_compile\"" >&5)
13291
13294
   (eval "$lt_compile" 2>out/conftest.err)
13292
13295
   ac_status=$?
13293
13296
   cat out/conftest.err >&5
13294
 
   echo "$as_me:13294: \$? = $ac_status" >&5
 
13297
   echo "$as_me:13297: \$? = $ac_status" >&5
13295
13298
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13296
13299
   then
13297
13300
     # The compiler can only warn and ignore the option if not recognized
14864
14867
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14865
14868
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14866
14869
   -e 's:$: $lt_compiler_flag:'`
14867
 
   (eval echo "\"\$as_me:14867: $lt_compile\"" >&5)
 
14870
   (eval echo "\"\$as_me:14870: $lt_compile\"" >&5)
14868
14871
   (eval "$lt_compile" 2>conftest.err)
14869
14872
   ac_status=$?
14870
14873
   cat conftest.err >&5
14871
 
   echo "$as_me:14871: \$? = $ac_status" >&5
 
14874
   echo "$as_me:14874: \$? = $ac_status" >&5
14872
14875
   if (exit $ac_status) && test -s "$ac_outfile"; then
14873
14876
     # The compiler can only warn and ignore the option if not recognized
14874
14877
     # So say no if there are warnings other than the usual output.
14968
14971
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14969
14972
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14970
14973
   -e 's:$: $lt_compiler_flag:'`
14971
 
   (eval echo "\"\$as_me:14971: $lt_compile\"" >&5)
 
14974
   (eval echo "\"\$as_me:14974: $lt_compile\"" >&5)
14972
14975
   (eval "$lt_compile" 2>out/conftest.err)
14973
14976
   ac_status=$?
14974
14977
   cat out/conftest.err >&5
14975
 
   echo "$as_me:14975: \$? = $ac_status" >&5
 
14978
   echo "$as_me:14978: \$? = $ac_status" >&5
14976
14979
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14977
14980
   then
14978
14981
     # The compiler can only warn and ignore the option if not recognized
17168
17171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17169
17172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17170
17173
   -e 's:$: $lt_compiler_flag:'`
17171
 
   (eval echo "\"\$as_me:17171: $lt_compile\"" >&5)
 
17174
   (eval echo "\"\$as_me:17174: $lt_compile\"" >&5)
17172
17175
   (eval "$lt_compile" 2>conftest.err)
17173
17176
   ac_status=$?
17174
17177
   cat conftest.err >&5
17175
 
   echo "$as_me:17175: \$? = $ac_status" >&5
 
17178
   echo "$as_me:17178: \$? = $ac_status" >&5
17176
17179
   if (exit $ac_status) && test -s "$ac_outfile"; then
17177
17180
     # The compiler can only warn and ignore the option if not recognized
17178
17181
     # So say no if there are warnings other than the usual output.
17458
17461
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17459
17462
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17460
17463
   -e 's:$: $lt_compiler_flag:'`
17461
 
   (eval echo "\"\$as_me:17461: $lt_compile\"" >&5)
 
17464
   (eval echo "\"\$as_me:17464: $lt_compile\"" >&5)
17462
17465
   (eval "$lt_compile" 2>conftest.err)
17463
17466
   ac_status=$?
17464
17467
   cat conftest.err >&5
17465
 
   echo "$as_me:17465: \$? = $ac_status" >&5
 
17468
   echo "$as_me:17468: \$? = $ac_status" >&5
17466
17469
   if (exit $ac_status) && test -s "$ac_outfile"; then
17467
17470
     # The compiler can only warn and ignore the option if not recognized
17468
17471
     # So say no if there are warnings other than the usual output.
17562
17565
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17563
17566
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17564
17567
   -e 's:$: $lt_compiler_flag:'`
17565
 
   (eval echo "\"\$as_me:17565: $lt_compile\"" >&5)
 
17568
   (eval echo "\"\$as_me:17568: $lt_compile\"" >&5)
17566
17569
   (eval "$lt_compile" 2>out/conftest.err)
17567
17570
   ac_status=$?
17568
17571
   cat out/conftest.err >&5
17569
 
   echo "$as_me:17569: \$? = $ac_status" >&5
 
17572
   echo "$as_me:17572: \$? = $ac_status" >&5
17570
17573
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17571
17574
   then
17572
17575
     # The compiler can only warn and ignore the option if not recognized
20265
20268
fi
20266
20269
 
20267
20270
 
 
20271
 
 
20272
if false; then
 
20273
  STATICLIB_TRUE=
 
20274
  STATICLIB_FALSE='#'
 
20275
else
 
20276
  STATICLIB_TRUE='#'
 
20277
  STATICLIB_FALSE=
 
20278
fi
 
20279
 
 
20280
 
20268
20281
{ echo "$as_me:$LINENO: checking if we need BUILDING_LIBCURL" >&5
20269
20282
echo $ECHO_N "checking if we need BUILDING_LIBCURL... $ECHO_C" >&6; }
20270
20283
case $host in
20287
20300
 
20288
20301
      { echo "$as_me:$LINENO: result: yes" >&5
20289
20302
echo "${ECHO_T}yes" >&6; }
 
20303
 
 
20304
 
 
20305
if true; then
 
20306
  STATICLIB_TRUE=
 
20307
  STATICLIB_FALSE='#'
 
20308
else
 
20309
  STATICLIB_TRUE='#'
 
20310
  STATICLIB_FALSE=
 
20311
fi
 
20312
 
20290
20313
    else
20291
20314
      { echo "$as_me:$LINENO: result: no" >&5
20292
20315
echo "${ECHO_T}no" >&6; }
21069
21092
       CURL_DISABLE_LDAP=1
21070
21093
 
21071
21094
       ;;
21072
 
  *)   { echo "$as_me:$LINENO: result: yes" >&5
 
21095
  *)
 
21096
       case $host in
 
21097
         *-*-cygwin*)
 
21098
           # Force no ldap. config/build process is broken for cygwin
 
21099
 
 
21100
cat >>confdefs.h <<\_ACEOF
 
21101
#define CURL_DISABLE_LDAP 1
 
21102
_ACEOF
 
21103
 
 
21104
           CURL_DISABLE_LDAP=1
 
21105
 
 
21106
           { echo "$as_me:$LINENO: result: no" >&5
 
21107
echo "${ECHO_T}no" >&6; }
 
21108
           ;;
 
21109
         *)
 
21110
           { echo "$as_me:$LINENO: result: yes" >&5
21073
21111
echo "${ECHO_T}yes" >&6; }
 
21112
       esac
21074
21113
       ;;
21075
21114
  esac
21076
21115
else
21077
 
  { echo "$as_me:$LINENO: result: yes" >&5
 
21116
 
 
21117
       case $host in
 
21118
         *-*-cygwin*)
 
21119
           # Force no ldap. config/build process is broken for cygwin
 
21120
 
 
21121
cat >>confdefs.h <<\_ACEOF
 
21122
#define CURL_DISABLE_LDAP 1
 
21123
_ACEOF
 
21124
 
 
21125
           CURL_DISABLE_LDAP=1
 
21126
 
 
21127
           { echo "$as_me:$LINENO: result: no" >&5
 
21128
echo "${ECHO_T}no" >&6; }
 
21129
           ;;
 
21130
         *)
 
21131
           { echo "$as_me:$LINENO: result: yes" >&5
21078
21132
echo "${ECHO_T}yes" >&6; }
 
21133
       esac
21079
21134
 
21080
21135
fi
21081
21136
 
24947
25002
 
24948
25003
 
24949
25004
 
 
25005
GSSAPI_ROOT="/usr"
 
25006
 
24950
25007
# Check whether --with-gssapi-includes was given.
24951
25008
if test "${with_gssapi_includes+set}" = set; then
24952
25009
  withval=$with_gssapi_includes;  GSSAPI_INCS="-I$withval"
24971
25028
  GSSAPI_ROOT="$withval"
24972
25029
  if test x"$GSSAPI_ROOT" != xno; then
24973
25030
    want_gss="yes"
 
25031
    if test x"$GSSAPI_ROOT" = xyes; then
 
25032
            GSSAPI_ROOT="/usr"
 
25033
    fi
24974
25034
  fi
24975
25035
 
24976
25036
fi
24986
25046
  if test -z "$GSSAPI_INCS"; then
24987
25047
     if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
24988
25048
        GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
 
25049
        GSSAPI_LIBS=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
24989
25050
     elif test "$GSSAPI_ROOT" != "yes"; then
24990
25051
        GSSAPI_INCS="-I$GSSAPI_ROOT/include"
 
25052
        GSSAPI_LIBS="-lgssapi"
24991
25053
     fi
24992
25054
  fi
 
25055
 
24993
25056
  CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
 
25057
  LIBS="$LIBS $GSSAPI_LIBS"
24994
25058
 
24995
25059
  if test "${ac_cv_header_gss_h+set}" = set; then
24996
25060
  { echo "$as_me:$LINENO: checking for gss.h" >&5
27249
27313
  then
27250
27314
    { echo "$as_me:$LINENO: WARNING: configure found only the libz lib, not the header file!" >&5
27251
27315
echo "$as_me: WARNING: configure found only the libz lib, not the header file!" >&2;}
 
27316
    HAVE_LIBZ=""
27252
27317
  elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1"
27253
27318
  then
27254
27319
    { echo "$as_me:$LINENO: WARNING: configure found only the libz header file, not the lib!" >&5
27537
27602
#define USE_LIBSSH2 1
27538
27603
_ACEOF
27539
27604
 
27540
 
fi
27541
 
 
27542
 
done
27543
 
 
27544
27605
    USE_LIBSSH2=1
27545
27606
 
27546
27607
 
 
27608
fi
 
27609
 
 
27610
done
 
27611
 
 
27612
 
27547
27613
  if test X"$OPT_LIBSSH2" != Xoff &&
27548
27614
     test "$LIBSSH2_ENABLED" != "1"; then
27549
27615
    { { echo "$as_me:$LINENO: error: libSSH2 libs and/or directories were not found where specified!" >&5
27786
27852
      gtlsprefix=$OPT_GNUTLS
27787
27853
    fi
27788
27854
 
27789
 
            { echo "$as_me:$LINENO: checking for PK11_CreateGenericObject-d in -lnss3" >&5
27790
 
echo $ECHO_N "checking for PK11_CreateGenericObject-d in -lnss3... $ECHO_C" >&6; }
27791
 
if test "${ac_cv_lib_nss3_PK11_CreateGenericObject_d+set}" = set; then
 
27855
            { echo "$as_me:$LINENO: checking for PK11_CreateGenericObject in -lnss3" >&5
 
27856
echo $ECHO_N "checking for PK11_CreateGenericObject in -lnss3... $ECHO_C" >&6; }
 
27857
if test "${ac_cv_lib_nss3_PK11_CreateGenericObject+set}" = set; then
27792
27858
  echo $ECHO_N "(cached) $ECHO_C" >&6
27793
27859
else
27794
27860
  ac_check_lib_save_LIBS=$LIBS
27806
27872
#ifdef __cplusplus
27807
27873
extern "C"
27808
27874
#endif
27809
 
char PK11_CreateGenericObject-d ();
 
27875
char PK11_CreateGenericObject ();
27810
27876
int
27811
27877
main ()
27812
27878
{
27813
 
return PK11_CreateGenericObject-d ();
 
27879
return PK11_CreateGenericObject ();
27814
27880
  ;
27815
27881
  return 0;
27816
27882
}
27833
27899
         test ! -s conftest.err
27834
27900
       } && test -s conftest$ac_exeext &&
27835
27901
       $as_test_x conftest$ac_exeext; then
27836
 
  ac_cv_lib_nss3_PK11_CreateGenericObject_d=yes
 
27902
  ac_cv_lib_nss3_PK11_CreateGenericObject=yes
27837
27903
else
27838
27904
  echo "$as_me: failed program was:" >&5
27839
27905
sed 's/^/| /' conftest.$ac_ext >&5
27840
27906
 
27841
 
        ac_cv_lib_nss3_PK11_CreateGenericObject_d=no
 
27907
        ac_cv_lib_nss3_PK11_CreateGenericObject=no
27842
27908
fi
27843
27909
 
27844
27910
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27845
27911
      conftest$ac_exeext conftest.$ac_ext
27846
27912
LIBS=$ac_check_lib_save_LIBS
27847
27913
fi
27848
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nss3_PK11_CreateGenericObject_d" >&5
27849
 
echo "${ECHO_T}$ac_cv_lib_nss3_PK11_CreateGenericObject_d" >&6; }
27850
 
if test $ac_cv_lib_nss3_PK11_CreateGenericObject_d = yes; then
 
27914
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nss3_PK11_CreateGenericObject" >&5
 
27915
echo "${ECHO_T}$ac_cv_lib_nss3_PK11_CreateGenericObject" >&6; }
 
27916
if test $ac_cv_lib_nss3_PK11_CreateGenericObject = yes; then
27851
27917
 
27852
27918
 
27853
27919
cat >>confdefs.h <<\_ACEOF
27971
28037
echo "$as_me: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more." >&2;}
27972
28038
  { echo "$as_me:$LINENO: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this." >&5
27973
28039
echo "$as_me: WARNING: Use --with-ssl, --with-gnutls or --with-nss to address this." >&2;}
 
28040
else
 
28041
  # SSL is enabled, genericly
 
28042
 
 
28043
  SSL_ENABLED="1"
27974
28044
fi
27975
28045
 
27976
28046
 
27977
 
if test X"$USE_NSS$USE_GNUTLS$OPENSSL_ENABLED" != "X"; then
 
28047
if test X"$SSL_ENABLED" != "X"; then
27978
28048
 
27979
28049
  { echo "$as_me:$LINENO: checking CA cert bundle install path" >&5
27980
28050
echo $ECHO_N "checking CA cert bundle install path... $ECHO_C" >&6; }
30541
30611
 
30542
30612
 
30543
30613
 
 
30614
 
30544
30615
for ac_header in sys/types.h \
30545
30616
        sys/time.h \
30546
30617
        sys/select.h \
30569
30640
        utime.h \
30570
30641
        sys/utime.h \
30571
30642
        sys/poll.h \
 
30643
        poll.h \
30572
30644
        sys/resource.h \
30573
30645
        libgen.h \
30574
30646
        locale.h \
33003
33075
_ACEOF
33004
33076
 
33005
33077
 
 
33078
{ echo "$as_me:$LINENO: checking for off_t" >&5
 
33079
echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
 
33080
if test "${ac_cv_type_off_t+set}" = set; then
 
33081
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33082
else
 
33083
  cat >conftest.$ac_ext <<_ACEOF
 
33084
/* confdefs.h.  */
 
33085
_ACEOF
 
33086
cat confdefs.h >>conftest.$ac_ext
 
33087
cat >>conftest.$ac_ext <<_ACEOF
 
33088
/* end confdefs.h.  */
 
33089
$ac_includes_default
 
33090
typedef off_t ac__type_new_;
 
33091
int
 
33092
main ()
 
33093
{
 
33094
if ((ac__type_new_ *) 0)
 
33095
  return 0;
 
33096
if (sizeof (ac__type_new_))
 
33097
  return 0;
 
33098
  ;
 
33099
  return 0;
 
33100
}
 
33101
_ACEOF
 
33102
rm -f conftest.$ac_objext
 
33103
if { (ac_try="$ac_compile"
 
33104
case "(($ac_try" in
 
33105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33106
  *) ac_try_echo=$ac_try;;
 
33107
esac
 
33108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33109
  (eval "$ac_compile") 2>conftest.er1
 
33110
  ac_status=$?
 
33111
  grep -v '^ *+' conftest.er1 >conftest.err
 
33112
  rm -f conftest.er1
 
33113
  cat conftest.err >&5
 
33114
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33115
  (exit $ac_status); } && {
 
33116
         test -z "$ac_c_werror_flag" ||
 
33117
         test ! -s conftest.err
 
33118
       } && test -s conftest.$ac_objext; then
 
33119
  ac_cv_type_off_t=yes
 
33120
else
 
33121
  echo "$as_me: failed program was:" >&5
 
33122
sed 's/^/| /' conftest.$ac_ext >&5
 
33123
 
 
33124
        ac_cv_type_off_t=no
 
33125
fi
 
33126
 
 
33127
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33128
fi
 
33129
{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
33130
echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
 
33131
 
 
33132
# The cast to long int works around a bug in the HP C Compiler
 
33133
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
33134
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
33135
# This bug is HP SR number 8606223364.
 
33136
{ echo "$as_me:$LINENO: checking size of off_t" >&5
 
33137
echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
 
33138
if test "${ac_cv_sizeof_off_t+set}" = set; then
 
33139
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
33140
else
 
33141
  if test "$cross_compiling" = yes; then
 
33142
  # Depending upon the size, compute the lo and hi bounds.
 
33143
cat >conftest.$ac_ext <<_ACEOF
 
33144
/* confdefs.h.  */
 
33145
_ACEOF
 
33146
cat confdefs.h >>conftest.$ac_ext
 
33147
cat >>conftest.$ac_ext <<_ACEOF
 
33148
/* end confdefs.h.  */
 
33149
$ac_includes_default
 
33150
   typedef off_t ac__type_sizeof_;
 
33151
int
 
33152
main ()
 
33153
{
 
33154
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
 
33155
test_array [0] = 0
 
33156
 
 
33157
  ;
 
33158
  return 0;
 
33159
}
 
33160
_ACEOF
 
33161
rm -f conftest.$ac_objext
 
33162
if { (ac_try="$ac_compile"
 
33163
case "(($ac_try" in
 
33164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33165
  *) ac_try_echo=$ac_try;;
 
33166
esac
 
33167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33168
  (eval "$ac_compile") 2>conftest.er1
 
33169
  ac_status=$?
 
33170
  grep -v '^ *+' conftest.er1 >conftest.err
 
33171
  rm -f conftest.er1
 
33172
  cat conftest.err >&5
 
33173
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33174
  (exit $ac_status); } && {
 
33175
         test -z "$ac_c_werror_flag" ||
 
33176
         test ! -s conftest.err
 
33177
       } && test -s conftest.$ac_objext; then
 
33178
  ac_lo=0 ac_mid=0
 
33179
  while :; do
 
33180
    cat >conftest.$ac_ext <<_ACEOF
 
33181
/* confdefs.h.  */
 
33182
_ACEOF
 
33183
cat confdefs.h >>conftest.$ac_ext
 
33184
cat >>conftest.$ac_ext <<_ACEOF
 
33185
/* end confdefs.h.  */
 
33186
$ac_includes_default
 
33187
   typedef off_t ac__type_sizeof_;
 
33188
int
 
33189
main ()
 
33190
{
 
33191
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
33192
test_array [0] = 0
 
33193
 
 
33194
  ;
 
33195
  return 0;
 
33196
}
 
33197
_ACEOF
 
33198
rm -f conftest.$ac_objext
 
33199
if { (ac_try="$ac_compile"
 
33200
case "(($ac_try" in
 
33201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33202
  *) ac_try_echo=$ac_try;;
 
33203
esac
 
33204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33205
  (eval "$ac_compile") 2>conftest.er1
 
33206
  ac_status=$?
 
33207
  grep -v '^ *+' conftest.er1 >conftest.err
 
33208
  rm -f conftest.er1
 
33209
  cat conftest.err >&5
 
33210
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33211
  (exit $ac_status); } && {
 
33212
         test -z "$ac_c_werror_flag" ||
 
33213
         test ! -s conftest.err
 
33214
       } && test -s conftest.$ac_objext; then
 
33215
  ac_hi=$ac_mid; break
 
33216
else
 
33217
  echo "$as_me: failed program was:" >&5
 
33218
sed 's/^/| /' conftest.$ac_ext >&5
 
33219
 
 
33220
        ac_lo=`expr $ac_mid + 1`
 
33221
                        if test $ac_lo -le $ac_mid; then
 
33222
                          ac_lo= ac_hi=
 
33223
                          break
 
33224
                        fi
 
33225
                        ac_mid=`expr 2 '*' $ac_mid + 1`
 
33226
fi
 
33227
 
 
33228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33229
  done
 
33230
else
 
33231
  echo "$as_me: failed program was:" >&5
 
33232
sed 's/^/| /' conftest.$ac_ext >&5
 
33233
 
 
33234
        cat >conftest.$ac_ext <<_ACEOF
 
33235
/* confdefs.h.  */
 
33236
_ACEOF
 
33237
cat confdefs.h >>conftest.$ac_ext
 
33238
cat >>conftest.$ac_ext <<_ACEOF
 
33239
/* end confdefs.h.  */
 
33240
$ac_includes_default
 
33241
   typedef off_t ac__type_sizeof_;
 
33242
int
 
33243
main ()
 
33244
{
 
33245
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
 
33246
test_array [0] = 0
 
33247
 
 
33248
  ;
 
33249
  return 0;
 
33250
}
 
33251
_ACEOF
 
33252
rm -f conftest.$ac_objext
 
33253
if { (ac_try="$ac_compile"
 
33254
case "(($ac_try" in
 
33255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33256
  *) ac_try_echo=$ac_try;;
 
33257
esac
 
33258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33259
  (eval "$ac_compile") 2>conftest.er1
 
33260
  ac_status=$?
 
33261
  grep -v '^ *+' conftest.er1 >conftest.err
 
33262
  rm -f conftest.er1
 
33263
  cat conftest.err >&5
 
33264
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33265
  (exit $ac_status); } && {
 
33266
         test -z "$ac_c_werror_flag" ||
 
33267
         test ! -s conftest.err
 
33268
       } && test -s conftest.$ac_objext; then
 
33269
  ac_hi=-1 ac_mid=-1
 
33270
  while :; do
 
33271
    cat >conftest.$ac_ext <<_ACEOF
 
33272
/* confdefs.h.  */
 
33273
_ACEOF
 
33274
cat confdefs.h >>conftest.$ac_ext
 
33275
cat >>conftest.$ac_ext <<_ACEOF
 
33276
/* end confdefs.h.  */
 
33277
$ac_includes_default
 
33278
   typedef off_t ac__type_sizeof_;
 
33279
int
 
33280
main ()
 
33281
{
 
33282
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
 
33283
test_array [0] = 0
 
33284
 
 
33285
  ;
 
33286
  return 0;
 
33287
}
 
33288
_ACEOF
 
33289
rm -f conftest.$ac_objext
 
33290
if { (ac_try="$ac_compile"
 
33291
case "(($ac_try" in
 
33292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33293
  *) ac_try_echo=$ac_try;;
 
33294
esac
 
33295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33296
  (eval "$ac_compile") 2>conftest.er1
 
33297
  ac_status=$?
 
33298
  grep -v '^ *+' conftest.er1 >conftest.err
 
33299
  rm -f conftest.er1
 
33300
  cat conftest.err >&5
 
33301
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33302
  (exit $ac_status); } && {
 
33303
         test -z "$ac_c_werror_flag" ||
 
33304
         test ! -s conftest.err
 
33305
       } && test -s conftest.$ac_objext; then
 
33306
  ac_lo=$ac_mid; break
 
33307
else
 
33308
  echo "$as_me: failed program was:" >&5
 
33309
sed 's/^/| /' conftest.$ac_ext >&5
 
33310
 
 
33311
        ac_hi=`expr '(' $ac_mid ')' - 1`
 
33312
                        if test $ac_mid -le $ac_hi; then
 
33313
                          ac_lo= ac_hi=
 
33314
                          break
 
33315
                        fi
 
33316
                        ac_mid=`expr 2 '*' $ac_mid`
 
33317
fi
 
33318
 
 
33319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33320
  done
 
33321
else
 
33322
  echo "$as_me: failed program was:" >&5
 
33323
sed 's/^/| /' conftest.$ac_ext >&5
 
33324
 
 
33325
        ac_lo= ac_hi=
 
33326
fi
 
33327
 
 
33328
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33329
fi
 
33330
 
 
33331
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33332
# Binary search between lo and hi bounds.
 
33333
while test "x$ac_lo" != "x$ac_hi"; do
 
33334
  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 
33335
  cat >conftest.$ac_ext <<_ACEOF
 
33336
/* confdefs.h.  */
 
33337
_ACEOF
 
33338
cat confdefs.h >>conftest.$ac_ext
 
33339
cat >>conftest.$ac_ext <<_ACEOF
 
33340
/* end confdefs.h.  */
 
33341
$ac_includes_default
 
33342
   typedef off_t ac__type_sizeof_;
 
33343
int
 
33344
main ()
 
33345
{
 
33346
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
 
33347
test_array [0] = 0
 
33348
 
 
33349
  ;
 
33350
  return 0;
 
33351
}
 
33352
_ACEOF
 
33353
rm -f conftest.$ac_objext
 
33354
if { (ac_try="$ac_compile"
 
33355
case "(($ac_try" in
 
33356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33357
  *) ac_try_echo=$ac_try;;
 
33358
esac
 
33359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33360
  (eval "$ac_compile") 2>conftest.er1
 
33361
  ac_status=$?
 
33362
  grep -v '^ *+' conftest.er1 >conftest.err
 
33363
  rm -f conftest.er1
 
33364
  cat conftest.err >&5
 
33365
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33366
  (exit $ac_status); } && {
 
33367
         test -z "$ac_c_werror_flag" ||
 
33368
         test ! -s conftest.err
 
33369
       } && test -s conftest.$ac_objext; then
 
33370
  ac_hi=$ac_mid
 
33371
else
 
33372
  echo "$as_me: failed program was:" >&5
 
33373
sed 's/^/| /' conftest.$ac_ext >&5
 
33374
 
 
33375
        ac_lo=`expr '(' $ac_mid ')' + 1`
 
33376
fi
 
33377
 
 
33378
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33379
done
 
33380
case $ac_lo in
 
33381
?*) ac_cv_sizeof_off_t=$ac_lo;;
 
33382
'') if test "$ac_cv_type_off_t" = yes; then
 
33383
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
 
33384
See \`config.log' for more details." >&5
 
33385
echo "$as_me: error: cannot compute sizeof (off_t)
 
33386
See \`config.log' for more details." >&2;}
 
33387
   { (exit 77); exit 77; }; }
 
33388
   else
 
33389
     ac_cv_sizeof_off_t=0
 
33390
   fi ;;
 
33391
esac
 
33392
else
 
33393
  cat >conftest.$ac_ext <<_ACEOF
 
33394
/* confdefs.h.  */
 
33395
_ACEOF
 
33396
cat confdefs.h >>conftest.$ac_ext
 
33397
cat >>conftest.$ac_ext <<_ACEOF
 
33398
/* end confdefs.h.  */
 
33399
$ac_includes_default
 
33400
   typedef off_t ac__type_sizeof_;
 
33401
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
33402
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
 
33403
#include <stdio.h>
 
33404
#include <stdlib.h>
 
33405
int
 
33406
main ()
 
33407
{
 
33408
 
 
33409
  FILE *f = fopen ("conftest.val", "w");
 
33410
  if (! f)
 
33411
    return 1;
 
33412
  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
 
33413
    {
 
33414
      long int i = longval ();
 
33415
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33416
        return 1;
 
33417
      fprintf (f, "%ld\n", i);
 
33418
    }
 
33419
  else
 
33420
    {
 
33421
      unsigned long int i = ulongval ();
 
33422
      if (i != ((long int) (sizeof (ac__type_sizeof_))))
 
33423
        return 1;
 
33424
      fprintf (f, "%lu\n", i);
 
33425
    }
 
33426
  return ferror (f) || fclose (f) != 0;
 
33427
 
 
33428
  ;
 
33429
  return 0;
 
33430
}
 
33431
_ACEOF
 
33432
rm -f conftest$ac_exeext
 
33433
if { (ac_try="$ac_link"
 
33434
case "(($ac_try" in
 
33435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33436
  *) ac_try_echo=$ac_try;;
 
33437
esac
 
33438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33439
  (eval "$ac_link") 2>&5
 
33440
  ac_status=$?
 
33441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33442
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
33443
  { (case "(($ac_try" in
 
33444
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
33445
  *) ac_try_echo=$ac_try;;
 
33446
esac
 
33447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
33448
  (eval "$ac_try") 2>&5
 
33449
  ac_status=$?
 
33450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
33451
  (exit $ac_status); }; }; then
 
33452
  ac_cv_sizeof_off_t=`cat conftest.val`
 
33453
else
 
33454
  echo "$as_me: program exited with status $ac_status" >&5
 
33455
echo "$as_me: failed program was:" >&5
 
33456
sed 's/^/| /' conftest.$ac_ext >&5
 
33457
 
 
33458
( exit $ac_status )
 
33459
if test "$ac_cv_type_off_t" = yes; then
 
33460
     { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
 
33461
See \`config.log' for more details." >&5
 
33462
echo "$as_me: error: cannot compute sizeof (off_t)
 
33463
See \`config.log' for more details." >&2;}
 
33464
   { (exit 77); exit 77; }; }
 
33465
   else
 
33466
     ac_cv_sizeof_off_t=0
 
33467
   fi
 
33468
fi
 
33469
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
33470
fi
 
33471
rm -f conftest.val
 
33472
fi
 
33473
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
 
33474
echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
 
33475
 
 
33476
 
 
33477
 
 
33478
cat >>confdefs.h <<_ACEOF
 
33479
#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
 
33480
_ACEOF
 
33481
 
 
33482
 
33006
33483
 
33007
33484
{ echo "$as_me:$LINENO: checking for long long" >&5
33008
33485
echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
36864
37341
 
36865
37342
#ifdef HAVE_SYS_POLL_H
36866
37343
#include <sys/poll.h>
 
37344
#elif defined(HAVE_POLL_H)
 
37345
#include <poll.h>
36867
37346
#endif
36868
37347
 
36869
37348
  int main(void)
37727
38206
Usually this means the macro was only invoked conditionally." >&2;}
37728
38207
   { (exit 1); exit 1; }; }
37729
38208
fi
 
38209
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
 
38210
  { { echo "$as_me:$LINENO: error: conditional \"STATICLIB\" was never defined.
 
38211
Usually this means the macro was only invoked conditionally." >&5
 
38212
echo "$as_me: error: conditional \"STATICLIB\" was never defined.
 
38213
Usually this means the macro was only invoked conditionally." >&2;}
 
38214
   { (exit 1); exit 1; }; }
 
38215
fi
 
38216
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
 
38217
  { { echo "$as_me:$LINENO: error: conditional \"STATICLIB\" was never defined.
 
38218
Usually this means the macro was only invoked conditionally." >&5
 
38219
echo "$as_me: error: conditional \"STATICLIB\" was never defined.
 
38220
Usually this means the macro was only invoked conditionally." >&2;}
 
38221
   { (exit 1); exit 1; }; }
 
38222
fi
37730
38223
if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
37731
38224
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_LIBZ\" was never defined.
37732
38225
Usually this means the macro was only invoked conditionally." >&5
38462
38955
NO_UNDEFINED_FALSE!$NO_UNDEFINED_FALSE$ac_delim
38463
38956
MIMPURE_TRUE!$MIMPURE_TRUE$ac_delim
38464
38957
MIMPURE_FALSE!$MIMPURE_FALSE$ac_delim
 
38958
STATICLIB_TRUE!$STATICLIB_TRUE$ac_delim
 
38959
STATICLIB_FALSE!$STATICLIB_FALSE$ac_delim
38465
38960
REQUIRE_LIB_DEPS!$REQUIRE_LIB_DEPS$ac_delim
38466
38961
CURL_DISABLE_HTTP!$CURL_DISABLE_HTTP$ac_delim
38467
38962
CURL_DISABLE_FTP!$CURL_DISABLE_FTP$ac_delim
38482
38977
USE_GNUTLS!$USE_GNUTLS$ac_delim
38483
38978
HAVE_PK11_CREATEGENERICOBJECT!$HAVE_PK11_CREATEGENERICOBJECT$ac_delim
38484
38979
USE_NSS!$USE_NSS$ac_delim
 
38980
SSL_ENABLED!$SSL_ENABLED$ac_delim
38485
38981
CURL_CA_BUNDLE!$CURL_CA_BUNDLE$ac_delim
38486
38982
CABUNDLE_TRUE!$CABUNDLE_TRUE$ac_delim
38487
38983
CABUNDLE_FALSE!$CABUNDLE_FALSE$ac_delim
38504
39000
LTLIBOBJS!$LTLIBOBJS$ac_delim
38505
39001
_ACEOF
38506
39002
 
38507
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
 
39003
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
38508
39004
    break
38509
39005
  elif $ac_last_try; then
38510
39006
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5