~ubuntu-branches/ubuntu/raring/curl/raring-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2011-11-13 21:07:32 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111113210732-bk5n25x2tu7aplur
Tags: upstream-7.22.0
ImportĀ upstreamĀ versionĀ 7.22.0

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.68 for curl -.
 
3
# Generated by GNU Autoconf 2.64 for curl -.
4
4
#
5
5
# Report bugs to <a suitable curl mailing list: http://curl.haxx.se/mail/>.
6
6
#
7
 
#
8
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
10
9
# Foundation, Inc.
11
10
#
12
 
#
13
11
# This configure script is free software; the Free Software Foundation
14
12
# gives unlimited permission to copy, distribute and modify it.
15
13
#
80
78
 
81
79
  if test -z "$curl_cv_PATH_SEPARATOR"; then
82
80
    if test -z "$PATH"; then
83
 
      as_fn_error $? "PATH not set. Cannot continue without PATH being set."
 
81
      as_fn_error "PATH not set. Cannot continue without PATH being set."
84
82
    fi
85
83
        tst_dirs_col=0
86
84
    tst_save_IFS=$IFS; IFS=':'
98
96
    IFS=$tst_save_IFS
99
97
    if test $tst_dirs_sem -eq $tst_dirs_col; then
100
98
                  if test -z "$PATH_SEPARATOR"; then
101
 
                as_fn_error $? "PATH_SEPARATOR not set. Cannot continue without it."
 
99
                as_fn_error "PATH_SEPARATOR not set. Cannot continue without it."
102
100
      fi
103
101
    else
104
102
            if test $tst_dirs_sem -gt $tst_dirs_col; then
125
123
IFS=" ""        $as_nl"
126
124
 
127
125
# Find who we are.  Look in the path if we contain no directory separator.
128
 
as_myself=
129
126
case $0 in #((
130
127
  *[\\/]* ) as_myself=$0 ;;
131
128
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
259
256
  # We cannot yet assume a decent shell, so we have to provide a
260
257
        # neutralization value for shells without unset; and this also
261
258
        # works around shells that cannot unset nonexistent variables.
262
 
        # Preserve -v and -x to the replacement shell.
263
259
        BASH_ENV=/dev/null
264
260
        ENV=/dev/null
265
261
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
266
262
        export CONFIG_SHELL
267
 
        case $- in # ((((
268
 
          *v*x* | *x*v* ) as_opts=-vx ;;
269
 
          *v* ) as_opts=-v ;;
270
 
          *x* ) as_opts=-x ;;
271
 
          * ) as_opts= ;;
272
 
        esac
273
 
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
263
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
274
264
fi
275
265
 
276
266
    if test x$as_have_required = xno; then :
369
359
      test -d "$as_dir" && break
370
360
    done
371
361
    test -z "$as_dirs" || eval "mkdir $as_dirs"
372
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
362
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
373
363
 
374
364
 
375
365
} # as_fn_mkdir_p
409
399
fi # as_fn_arith
410
400
 
411
401
 
412
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
413
 
# ----------------------------------------
 
402
# as_fn_error ERROR [LINENO LOG_FD]
 
403
# ---------------------------------
414
404
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
415
405
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
416
 
# script with STATUS, using 1 if that was 0.
 
406
# script with status $?, using 1 if that was 0.
417
407
as_fn_error ()
418
408
{
419
 
  as_status=$1; test $as_status -eq 0 && as_status=1
420
 
  if test "$4"; then
421
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
422
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
409
  as_status=$?; test $as_status -eq 0 && as_status=1
 
410
  if test "$3"; then
 
411
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
412
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
423
413
  fi
424
 
  $as_echo "$as_me: error: $2" >&2
 
414
  $as_echo "$as_me: error: $1" >&2
425
415
  as_fn_exit $as_status
426
416
} # as_fn_error
427
417
 
581
571
SHELL=${CONFIG_SHELL-/bin/sh}
582
572
 
583
573
 
584
 
test -n "$DJDIR" || exec 7<&0 </dev/null
585
 
exec 6>&1
 
574
exec 7<&0 </dev/null 6>&1
586
575
 
587
576
# Name of the host.
588
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
577
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
589
578
# so uname gets run too.
590
579
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
591
580
 
902
891
enable_verbose
903
892
enable_sspi
904
893
enable_crypto_auth
 
894
enable_ntlm_wb
905
895
enable_tls_srp
906
896
enable_cookies
907
897
enable_hidden_symbols
978
968
  fi
979
969
 
980
970
  case $ac_option in
981
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
982
 
  *=)   ac_optarg= ;;
983
 
  *)    ac_optarg=yes ;;
 
971
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
972
  *)    ac_optarg=yes ;;
984
973
  esac
985
974
 
986
975
  # Accept the important Cygnus configure options, so we can diagnose typos.
1025
1014
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026
1015
    # Reject names that are not valid shell variable names.
1027
1016
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1017
      as_fn_error "invalid feature name: $ac_useropt"
1029
1018
    ac_useropt_orig=$ac_useropt
1030
1019
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031
1020
    case $ac_user_opts in
1051
1040
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052
1041
    # Reject names that are not valid shell variable names.
1053
1042
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1043
      as_fn_error "invalid feature name: $ac_useropt"
1055
1044
    ac_useropt_orig=$ac_useropt
1056
1045
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057
1046
    case $ac_user_opts in
1255
1244
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256
1245
    # Reject names that are not valid shell variable names.
1257
1246
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1247
      as_fn_error "invalid package name: $ac_useropt"
1259
1248
    ac_useropt_orig=$ac_useropt
1260
1249
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261
1250
    case $ac_user_opts in
1271
1260
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272
1261
    # Reject names that are not valid shell variable names.
1273
1262
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1263
      as_fn_error "invalid package name: $ac_useropt"
1275
1264
    ac_useropt_orig=$ac_useropt
1276
1265
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277
1266
    case $ac_user_opts in
1301
1290
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1302
1291
    x_libraries=$ac_optarg ;;
1303
1292
 
1304
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1305
 
Try \`$0 --help' for more information"
 
1293
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1294
Try \`$0 --help' for more information."
1306
1295
    ;;
1307
1296
 
1308
1297
  *=*)
1310
1299
    # Reject names that are not valid shell variable names.
1311
1300
    case $ac_envvar in #(
1312
1301
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1313
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1302
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1314
1303
    esac
1315
1304
    eval $ac_envvar=\$ac_optarg
1316
1305
    export $ac_envvar ;;
1320
1309
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321
1310
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322
1311
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1312
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1324
1313
    ;;
1325
1314
 
1326
1315
  esac
1328
1317
 
1329
1318
if test -n "$ac_prev"; then
1330
1319
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1331
 
  as_fn_error $? "missing argument to $ac_option"
 
1320
  as_fn_error "missing argument to $ac_option"
1332
1321
fi
1333
1322
 
1334
1323
if test -n "$ac_unrecognized_opts"; then
1335
1324
  case $enable_option_checking in
1336
1325
    no) ;;
1337
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1326
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1338
1327
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1339
1328
  esac
1340
1329
fi
1357
1346
    [\\/$]* | ?:[\\/]* )  continue;;
1358
1347
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1359
1348
  esac
1360
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1349
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1361
1350
done
1362
1351
 
1363
1352
# There might be people who depend on the old broken behavior: `$host'
1371
1360
if test "x$host_alias" != x; then
1372
1361
  if test "x$build_alias" = x; then
1373
1362
    cross_compiling=maybe
1374
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1375
 
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1363
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1364
    If a cross compiler is detected then cross compile mode will be used." >&2
1376
1365
  elif test "x$build_alias" != "x$host_alias"; then
1377
1366
    cross_compiling=yes
1378
1367
  fi
1387
1376
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1388
1377
ac_ls_di=`ls -di .` &&
1389
1378
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1390
 
  as_fn_error $? "working directory cannot be determined"
 
1379
  as_fn_error "working directory cannot be determined"
1391
1380
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392
 
  as_fn_error $? "pwd does not report name of working directory"
 
1381
  as_fn_error "pwd does not report name of working directory"
1393
1382
 
1394
1383
 
1395
1384
# Find the source files, if location was not specified.
1428
1417
fi
1429
1418
if test ! -r "$srcdir/$ac_unique_file"; then
1430
1419
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1431
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1420
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1432
1421
fi
1433
1422
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1434
1423
ac_abs_confdir=`(
1435
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1424
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1436
1425
        pwd)`
1437
1426
# When building in place, set srcdir=.
1438
1427
if test "$ac_abs_confdir" = "$ac_pwd"; then
1472
1461
      --help=short        display options specific to this package
1473
1462
      --help=recursive    display the short help of all the included packages
1474
1463
  -V, --version           display version information and exit
1475
 
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1464
  -q, --quiet, --silent   do not print \`checking...' messages
1476
1465
      --cache-file=FILE   cache test results in FILE [disabled]
1477
1466
  -C, --config-cache      alias for \`--cache-file=config.cache'
1478
1467
  -n, --no-create         do not create output files
1603
1592
  --disable-sspi          Disable SSPI
1604
1593
  --enable-crypto-auth    Enable cryptographic authentication
1605
1594
  --disable-crypto-auth   Disable cryptographic authentication
 
1595
  --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
 
1596
                          helper, where FILE is ntlm_auth's absolute filename
 
1597
                          (default: /usr/bin/ntlm_auth)
 
1598
  --disable-ntlm-wb       Disable NTLM delegation to winbind's ntlm_auth
 
1599
                          helper
1606
1600
  --enable-tls-srp        Enable TLS-SRP authentication
1607
1601
  --disable-tls-srp       Disable TLS-SRP authentication
1608
1602
  --enable-cookies        Enable cookies support
1681
1675
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1682
1676
              nonstandard directory <lib dir>
1683
1677
  LIBS        libraries to pass to the linker, e.g. -l<library>
1684
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1678
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1685
1679
              you have headers in a nonstandard directory <include dir>
1686
1680
  CPP         C preprocessor
1687
1681
 
1752
1746
if $ac_init_version; then
1753
1747
  cat <<\_ACEOF
1754
1748
curl configure -
1755
 
generated by GNU Autoconf 2.68
 
1749
generated by GNU Autoconf 2.64
1756
1750
 
1757
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1751
Copyright (C) 2009 Free Software Foundation, Inc.
1758
1752
This configure script is free software; the Free Software Foundation
1759
1753
gives unlimited permission to copy, distribute and modify it.
1760
1754
 
1802
1796
 
1803
1797
        ac_retval=1
1804
1798
fi
1805
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806
 
  as_fn_set_status $ac_retval
 
1799
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1800
  return $ac_retval
1807
1801
 
1808
1802
} # ac_fn_c_try_compile
1809
1803
 
1816
1810
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817
1811
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818
1812
$as_echo_n "checking for $2... " >&6; }
1819
 
if eval \${$3+:} false; then :
 
1813
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1820
1814
  $as_echo_n "(cached) " >&6
1821
1815
else
1822
1816
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834
1828
eval ac_res=\$$3
1835
1829
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836
1830
$as_echo "$ac_res" >&6; }
1837
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1831
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838
1832
 
1839
1833
} # ac_fn_c_check_header_compile
1840
1834
 
1875
1869
       ac_retval=$ac_status
1876
1870
fi
1877
1871
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879
 
  as_fn_set_status $ac_retval
 
1872
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1873
  return $ac_retval
1880
1874
 
1881
1875
} # ac_fn_c_try_run
1882
1876
 
2047
2041
rm -f conftest.val
2048
2042
 
2049
2043
  fi
2050
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051
 
  as_fn_set_status $ac_retval
 
2044
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2045
  return $ac_retval
2052
2046
 
2053
2047
} # ac_fn_c_compute_int
2054
2048
 
2073
2067
    mv -f conftest.er1 conftest.err
2074
2068
  fi
2075
2069
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076
 
  test $ac_status = 0; } > conftest.i && {
 
2070
  test $ac_status = 0; } >/dev/null && {
2077
2071
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2078
2072
         test ! -s conftest.err
2079
2073
       }; then :
2084
2078
 
2085
2079
    ac_retval=1
2086
2080
fi
2087
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088
 
  as_fn_set_status $ac_retval
 
2081
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2082
  return $ac_retval
2089
2083
 
2090
2084
} # ac_fn_c_try_cpp
2091
2085
 
2130
2124
  # interfere with the next link command; also delete a directory that is
2131
2125
  # left behind by Apple's compiler.  We do this before executing the actions.
2132
2126
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2133
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134
 
  as_fn_set_status $ac_retval
 
2127
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2128
  return $ac_retval
2135
2129
 
2136
2130
} # ac_fn_c_try_link
2137
2131
 
2143
2137
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144
2138
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145
2139
$as_echo_n "checking for $2... " >&6; }
2146
 
if eval \${$3+:} false; then :
 
2140
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2147
2141
  $as_echo_n "(cached) " >&6
2148
2142
else
2149
2143
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182
2176
eval ac_res=\$$3
2183
2177
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184
2178
$as_echo "$ac_res" >&6; }
2185
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2179
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2186
2180
 
2187
2181
} # ac_fn_c_check_func
2188
2182
 
2194
2188
ac_fn_c_check_header_mongrel ()
2195
2189
{
2196
2190
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2197
 
  if eval \${$3+:} false; then :
 
2191
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198
2192
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2199
2193
$as_echo_n "checking for $2... " >&6; }
2200
 
if eval \${$3+:} false; then :
 
2194
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2201
2195
  $as_echo_n "(cached) " >&6
2202
2196
fi
2203
2197
eval ac_res=\$$3
2233
2227
else
2234
2228
  ac_header_preproc=no
2235
2229
fi
2236
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
2230
rm -f conftest.err conftest.$ac_ext
2237
2231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2238
2232
$as_echo "$ac_header_preproc" >&6; }
2239
2233
 
2256
2250
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2257
2251
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2258
2252
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259
 
( $as_echo "## ---------------------------------------------------------------------- ##
 
2253
( cat <<\_ASBOX
 
2254
## ---------------------------------------------------------------------- ##
2260
2255
## Report this to a suitable curl mailing list: http://curl.haxx.se/mail/ ##
2261
 
## ---------------------------------------------------------------------- ##"
 
2256
## ---------------------------------------------------------------------- ##
 
2257
_ASBOX
2262
2258
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2263
2259
    ;;
2264
2260
esac
2265
2261
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2266
2262
$as_echo_n "checking for $2... " >&6; }
2267
 
if eval \${$3+:} false; then :
 
2263
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2268
2264
  $as_echo_n "(cached) " >&6
2269
2265
else
2270
2266
  eval "$3=\$ac_header_compiler"
2273
2269
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2274
2270
$as_echo "$ac_res" >&6; }
2275
2271
fi
2276
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2272
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2277
2273
 
2278
2274
} # ac_fn_c_check_header_mongrel
2279
2275
 
2286
2282
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2287
2283
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2288
2284
$as_echo_n "checking for $2... " >&6; }
2289
 
if eval \${$3+:} false; then :
 
2285
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2290
2286
  $as_echo_n "(cached) " >&6
2291
2287
else
2292
2288
  eval "$3=no"
2325
2321
eval ac_res=\$$3
2326
2322
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2327
2323
$as_echo "$ac_res" >&6; }
2328
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2324
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2329
2325
 
2330
2326
} # ac_fn_c_check_type
2331
2327
cat >config.log <<_ACEOF
2333
2329
running configure, to aid debugging if configure makes a mistake.
2334
2330
 
2335
2331
It was created by curl $as_me -, which was
2336
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
2332
generated by GNU Autoconf 2.64.  Invocation command line was
2337
2333
 
2338
2334
  $ $0 $@
2339
2335
 
2443
2439
  {
2444
2440
    echo
2445
2441
 
2446
 
    $as_echo "## ---------------- ##
 
2442
    cat <<\_ASBOX
 
2443
## ---------------- ##
2447
2444
## Cache variables. ##
2448
 
## ---------------- ##"
 
2445
## ---------------- ##
 
2446
_ASBOX
2449
2447
    echo
2450
2448
    # The following way of writing the cache mishandles newlines in values,
2451
2449
(
2479
2477
)
2480
2478
    echo
2481
2479
 
2482
 
    $as_echo "## ----------------- ##
 
2480
    cat <<\_ASBOX
 
2481
## ----------------- ##
2483
2482
## Output variables. ##
2484
 
## ----------------- ##"
 
2483
## ----------------- ##
 
2484
_ASBOX
2485
2485
    echo
2486
2486
    for ac_var in $ac_subst_vars
2487
2487
    do
2494
2494
    echo
2495
2495
 
2496
2496
    if test -n "$ac_subst_files"; then
2497
 
      $as_echo "## ------------------- ##
 
2497
      cat <<\_ASBOX
 
2498
## ------------------- ##
2498
2499
## File substitutions. ##
2499
 
## ------------------- ##"
 
2500
## ------------------- ##
 
2501
_ASBOX
2500
2502
      echo
2501
2503
      for ac_var in $ac_subst_files
2502
2504
      do
2510
2512
    fi
2511
2513
 
2512
2514
    if test -s confdefs.h; then
2513
 
      $as_echo "## ----------- ##
 
2515
      cat <<\_ASBOX
 
2516
## ----------- ##
2514
2517
## confdefs.h. ##
2515
 
## ----------- ##"
 
2518
## ----------- ##
 
2519
_ASBOX
2516
2520
      echo
2517
2521
      cat confdefs.h
2518
2522
      echo
2567
2571
ac_site_file1=NONE
2568
2572
ac_site_file2=NONE
2569
2573
if test -n "$CONFIG_SITE"; then
2570
 
  # We do not want a PATH search for config.site.
2571
 
  case $CONFIG_SITE in #((
2572
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2573
 
    */*) ac_site_file1=$CONFIG_SITE;;
2574
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2575
 
  esac
 
2574
  ac_site_file1=$CONFIG_SITE
2576
2575
elif test "x$prefix" != xNONE; then
2577
2576
  ac_site_file1=$prefix/share/config.site
2578
2577
  ac_site_file2=$prefix/etc/config.site
2583
2582
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2584
2583
do
2585
2584
  test "x$ac_site_file" = xNONE && continue
2586
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2585
  if test -r "$ac_site_file"; then
2587
2586
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2588
2587
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2589
2588
    sed 's/^/| /' "$ac_site_file" >&5
2590
 
    . "$ac_site_file" \
2591
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2592
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2593
 
as_fn_error $? "failed to load site script $ac_site_file
2594
 
See \`config.log' for more details" "$LINENO" 5; }
 
2589
    . "$ac_site_file"
2595
2590
  fi
2596
2591
done
2597
2592
 
2598
2593
if test -r "$cache_file"; then
2599
 
  # Some versions of bash will fail to source /dev/null (special files
2600
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2601
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2594
  # Some versions of bash will fail to source /dev/null (special
 
2595
  # files actually), so we avoid doing that.
 
2596
  if test -f "$cache_file"; then
2602
2597
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2603
2598
$as_echo "$as_me: loading cache $cache_file" >&6;}
2604
2599
    case $cache_file in
2667
2662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668
2663
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2669
2664
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2670
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2665
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2671
2666
fi
2672
2667
## -------------------- ##
2673
2668
## Main body of script. ##
2899
2894
set dummy sed; ac_word=$2
2900
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901
2896
$as_echo_n "checking for $ac_word... " >&6; }
2902
 
if ${ac_cv_path_SED+:} false; then :
 
2897
if test "${ac_cv_path_SED+set}" = set; then :
2903
2898
  $as_echo_n "(cached) " >&6
2904
2899
else
2905
2900
  case $SED in
2938
2933
 
2939
2934
 
2940
2935
  if test -z "$SED" || test "$SED" = "not_found"; then
2941
 
    as_fn_error $? "sed not found in PATH. Cannot continue without sed." "$LINENO" 5
 
2936
    as_fn_error "sed not found in PATH. Cannot continue without sed." "$LINENO" 5
2942
2937
  fi
2943
2938
fi
2944
2939
 
2948
2943
set dummy grep; ac_word=$2
2949
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950
2945
$as_echo_n "checking for $ac_word... " >&6; }
2951
 
if ${ac_cv_path_GREP+:} false; then :
 
2946
if test "${ac_cv_path_GREP+set}" = set; then :
2952
2947
  $as_echo_n "(cached) " >&6
2953
2948
else
2954
2949
  case $GREP in
2987
2982
 
2988
2983
 
2989
2984
  if test -z "$GREP" || test "$GREP" = "not_found"; then
2990
 
    as_fn_error $? "grep not found in PATH. Cannot continue without grep." "$LINENO" 5
 
2985
    as_fn_error "grep not found in PATH. Cannot continue without grep." "$LINENO" 5
2991
2986
  fi
2992
2987
fi
2993
2988
 
3004
2999
set dummy egrep; ac_word=$2
3005
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006
3001
$as_echo_n "checking for $ac_word... " >&6; }
3007
 
if ${ac_cv_path_EGREP+:} false; then :
 
3002
if test "${ac_cv_path_EGREP+set}" = set; then :
3008
3003
  $as_echo_n "(cached) " >&6
3009
3004
else
3010
3005
  case $EGREP in
3045
3040
  fi
3046
3041
fi
3047
3042
if test -z "$EGREP" || test "$EGREP" = "not_found"; then
3048
 
  as_fn_error $? "egrep not found in PATH. Cannot continue without egrep." "$LINENO" 5
 
3043
  as_fn_error "egrep not found in PATH. Cannot continue without egrep." "$LINENO" 5
3049
3044
fi
3050
3045
 
3051
3046
 
3055
3050
set dummy ${ac_tool_prefix}ar; ac_word=$2
3056
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057
3052
$as_echo_n "checking for $ac_word... " >&6; }
3058
 
if ${ac_cv_path_AR+:} false; then :
 
3053
if test "${ac_cv_path_AR+set}" = set; then :
3059
3054
  $as_echo_n "(cached) " >&6
3060
3055
else
3061
3056
  case $AR in
3099
3094
set dummy ar; ac_word=$2
3100
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101
3096
$as_echo_n "checking for $ac_word... " >&6; }
3102
 
if ${ac_cv_path_ac_pt_AR+:} false; then :
 
3097
if test "${ac_cv_path_ac_pt_AR+set}" = set; then :
3103
3098
  $as_echo_n "(cached) " >&6
3104
3099
else
3105
3100
  case $ac_pt_AR in
3151
3146
fi
3152
3147
 
3153
3148
  if test -z "$AR" || test "$AR" = "not_found"; then
3154
 
    as_fn_error $? "ar not found in PATH. Cannot continue without ar." "$LINENO" 5
 
3149
    as_fn_error "ar not found in PATH. Cannot continue without ar." "$LINENO" 5
3155
3150
  fi
3156
3151
fi
3157
3152
 
3166
3161
am__api_version="1.9"
3167
3162
ac_aux_dir=
3168
3163
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3169
 
  if test -f "$ac_dir/install-sh"; then
3170
 
    ac_aux_dir=$ac_dir
3171
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
3172
 
    break
3173
 
  elif test -f "$ac_dir/install.sh"; then
3174
 
    ac_aux_dir=$ac_dir
3175
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
3176
 
    break
3177
 
  elif test -f "$ac_dir/shtool"; then
3178
 
    ac_aux_dir=$ac_dir
3179
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
3180
 
    break
3181
 
  fi
 
3164
  for ac_t in install-sh install.sh shtool; do
 
3165
    if test -f "$ac_dir/$ac_t"; then
 
3166
      ac_aux_dir=$ac_dir
 
3167
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
3168
      break 2
 
3169
    fi
 
3170
  done
3182
3171
done
3183
3172
if test -z "$ac_aux_dir"; then
3184
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
3173
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3185
3174
fi
3186
3175
 
3187
3176
# These three variables are undocumented and unsupported,
3210
3199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3211
3200
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3212
3201
if test -z "$INSTALL"; then
3213
 
if ${ac_cv_path_install+:} false; then :
 
3202
if test "${ac_cv_path_install+set}" = set; then :
3214
3203
  $as_echo_n "(cached) " >&6
3215
3204
else
3216
3205
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310
3299
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3311
3300
      # broken ls alias from the environment.  This has actually
3312
3301
      # happened.  Such a system could not be considered "sane".
3313
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3302
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3314
3303
alias in your environment" "$LINENO" 5
3315
3304
   fi
3316
3305
 
3320
3309
   # Ok.
3321
3310
   :
3322
3311
else
3323
 
   as_fn_error $? "newly created file is older than distributed files!
 
3312
   as_fn_error "newly created file is older than distributed files!
3324
3313
Check your system clock" "$LINENO" 5
3325
3314
fi
3326
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3387
3376
set dummy $ac_prog; ac_word=$2
3388
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389
3378
$as_echo_n "checking for $ac_word... " >&6; }
3390
 
if ${ac_cv_prog_AWK+:} false; then :
 
3379
if test "${ac_cv_prog_AWK+set}" = set; then :
3391
3380
  $as_echo_n "(cached) " >&6
3392
3381
else
3393
3382
  if test -n "$AWK"; then
3427
3416
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3428
3417
set x ${MAKE-make}
3429
3418
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3430
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3419
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3431
3420
  $as_echo_n "(cached) " >&6
3432
3421
else
3433
3422
  cat >conftest.make <<\_ACEOF
3435
3424
all:
3436
3425
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3437
3426
_ACEOF
3438
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3427
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3439
3428
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3440
3429
  *@@@%%%=?*=@@@%%%*)
3441
3430
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3466
3455
# test to see if srcdir already configured
3467
3456
if test "`cd $srcdir && pwd`" != "`pwd`" &&
3468
3457
   test -f $srcdir/config.status; then
3469
 
  as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3458
  as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3470
3459
fi
3471
3460
 
3472
3461
# test whether we have cygpath
3521
3510
set dummy ${ac_tool_prefix}strip; ac_word=$2
3522
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3523
3512
$as_echo_n "checking for $ac_word... " >&6; }
3524
 
if ${ac_cv_prog_STRIP+:} false; then :
 
3513
if test "${ac_cv_prog_STRIP+set}" = set; then :
3525
3514
  $as_echo_n "(cached) " >&6
3526
3515
else
3527
3516
  if test -n "$STRIP"; then
3561
3550
set dummy strip; ac_word=$2
3562
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563
3552
$as_echo_n "checking for $ac_word... " >&6; }
3564
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3553
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3565
3554
  $as_echo_n "(cached) " >&6
3566
3555
else
3567
3556
  if test -n "$ac_ct_STRIP"; then
3664
3653
 
3665
3654
# Make sure we can run config.sub.
3666
3655
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3667
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3656
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3668
3657
 
3669
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3670
3659
$as_echo_n "checking build system type... " >&6; }
3671
 
if ${ac_cv_build+:} false; then :
 
3660
if test "${ac_cv_build+set}" = set; then :
3672
3661
  $as_echo_n "(cached) " >&6
3673
3662
else
3674
3663
  ac_build_alias=$build_alias
3675
3664
test "x$ac_build_alias" = x &&
3676
3665
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3677
3666
test "x$ac_build_alias" = x &&
3678
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
3667
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3679
3668
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3680
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
3669
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3681
3670
 
3682
3671
fi
3683
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3684
3673
$as_echo "$ac_cv_build" >&6; }
3685
3674
case $ac_cv_build in
3686
3675
*-*-*) ;;
3687
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
3676
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3688
3677
esac
3689
3678
build=$ac_cv_build
3690
3679
ac_save_IFS=$IFS; IFS='-'
3702
3691
 
3703
3692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3704
3693
$as_echo_n "checking host system type... " >&6; }
3705
 
if ${ac_cv_host+:} false; then :
 
3694
if test "${ac_cv_host+set}" = set; then :
3706
3695
  $as_echo_n "(cached) " >&6
3707
3696
else
3708
3697
  if test "x$host_alias" = x; then
3709
3698
  ac_cv_host=$ac_cv_build
3710
3699
else
3711
3700
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3712
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3701
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3713
3702
fi
3714
3703
 
3715
3704
fi
3717
3706
$as_echo "$ac_cv_host" >&6; }
3718
3707
case $ac_cv_host in
3719
3708
*-*-*) ;;
3720
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
3709
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3721
3710
esac
3722
3711
host=$ac_cv_host
3723
3712
ac_save_IFS=$IFS; IFS='-'
3817
3806
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3818
3807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819
3808
$as_echo_n "checking for $ac_word... " >&6; }
3820
 
if ${ac_cv_prog_CC+:} false; then :
 
3809
if test "${ac_cv_prog_CC+set}" = set; then :
3821
3810
  $as_echo_n "(cached) " >&6
3822
3811
else
3823
3812
  if test -n "$CC"; then
3857
3846
set dummy gcc; ac_word=$2
3858
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859
3848
$as_echo_n "checking for $ac_word... " >&6; }
3860
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3849
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3861
3850
  $as_echo_n "(cached) " >&6
3862
3851
else
3863
3852
  if test -n "$ac_ct_CC"; then
3910
3899
set dummy ${ac_tool_prefix}cc; ac_word=$2
3911
3900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912
3901
$as_echo_n "checking for $ac_word... " >&6; }
3913
 
if ${ac_cv_prog_CC+:} false; then :
 
3902
if test "${ac_cv_prog_CC+set}" = set; then :
3914
3903
  $as_echo_n "(cached) " >&6
3915
3904
else
3916
3905
  if test -n "$CC"; then
3950
3939
set dummy cc; ac_word=$2
3951
3940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952
3941
$as_echo_n "checking for $ac_word... " >&6; }
3953
 
if ${ac_cv_prog_CC+:} false; then :
 
3942
if test "${ac_cv_prog_CC+set}" = set; then :
3954
3943
  $as_echo_n "(cached) " >&6
3955
3944
else
3956
3945
  if test -n "$CC"; then
4009
3998
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4010
3999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011
4000
$as_echo_n "checking for $ac_word... " >&6; }
4012
 
if ${ac_cv_prog_CC+:} false; then :
 
4001
if test "${ac_cv_prog_CC+set}" = set; then :
4013
4002
  $as_echo_n "(cached) " >&6
4014
4003
else
4015
4004
  if test -n "$CC"; then
4053
4042
set dummy $ac_prog; ac_word=$2
4054
4043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055
4044
$as_echo_n "checking for $ac_word... " >&6; }
4056
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4045
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4057
4046
  $as_echo_n "(cached) " >&6
4058
4047
else
4059
4048
  if test -n "$ac_ct_CC"; then
4107
4096
 
4108
4097
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109
4098
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110
 
as_fn_error $? "no acceptable C compiler found in \$PATH
4111
 
See \`config.log' for more details" "$LINENO" 5; }
 
4099
as_fn_error "no acceptable C compiler found in \$PATH
 
4100
See \`config.log' for more details." "$LINENO" 5; }
4112
4101
 
4113
4102
# Provide some information about the compiler.
4114
4103
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4129
4118
... rest of stderr output deleted ...
4130
4119
         10q' conftest.err >conftest.er1
4131
4120
    cat conftest.er1 >&5
 
4121
    rm -f conftest.er1 conftest.err
4132
4122
  fi
4133
 
  rm -f conftest.er1 conftest.err
4134
4123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135
4124
  test $ac_status = 0; }
4136
4125
done
4137
4126
 
4138
4127
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139
4128
/* end confdefs.h.  */
4140
 
 
 
4129
#include <stdio.h>
4141
4130
int main (void)
4142
4131
{
 
4132
FILE *f = fopen ("conftest.out", "w");
 
4133
 return ferror (f) || fclose (f) != 0;
4143
4134
 
4144
4135
 ;
4145
4136
 return 0;
4146
4137
}
4147
4138
_ACEOF
4148
4139
ac_clean_files_save=$ac_clean_files
4149
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
4140
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4150
4141
# Try to create an executable without -o first, disregard a.out.
4151
4142
# It will help us diagnose broken compilers, and finding out an intuition
4152
4143
# of exeext.
4153
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4154
 
$as_echo_n "checking whether the C compiler works... " >&6; }
 
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4145
$as_echo_n "checking for C compiler default output file name... " >&6; }
4155
4146
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4156
4147
 
4157
4148
# The possible output files:
4213
4204
else
4214
4205
  ac_file=''
4215
4206
fi
4216
 
if test -z "$ac_file"; then :
4217
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4218
 
$as_echo "no" >&6; }
4219
 
$as_echo "$as_me: failed program was:" >&5
4220
 
sed 's/^/| /' conftest.$ac_ext >&5
4221
 
 
4222
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4223
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4224
 
as_fn_error 77 "C compiler cannot create executables
4225
 
See \`config.log' for more details" "$LINENO" 5; }
4226
 
else
4227
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228
 
$as_echo "yes" >&6; }
4229
 
fi
4230
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4231
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
4232
4207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4233
4208
$as_echo "$ac_file" >&6; }
 
4209
if test -z "$ac_file"; then :
 
4210
  $as_echo "$as_me: failed program was:" >&5
 
4211
sed 's/^/| /' conftest.$ac_ext >&5
 
4212
 
 
4213
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4214
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4215
{ as_fn_set_status 77
 
4216
as_fn_error "C compiler cannot create executables
 
4217
See \`config.log' for more details." "$LINENO" 5; }; }
 
4218
fi
4234
4219
ac_exeext=$ac_cv_exeext
4235
4220
 
4236
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
4221
# Check that the compiler produces executables we can run.  If not, either
 
4222
# the compiler is broken, or we cross compile.
 
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4224
$as_echo_n "checking whether the C compiler works... " >&6; }
 
4225
# If not cross compiling, check that we can run a simple program.
 
4226
if test "$cross_compiling" != yes; then
 
4227
  if { ac_try='./$ac_file'
 
4228
  { { case "(($ac_try" in
 
4229
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4230
  *) ac_try_echo=$ac_try;;
 
4231
esac
 
4232
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4233
$as_echo "$ac_try_echo"; } >&5
 
4234
  (eval "$ac_try") 2>&5
 
4235
  ac_status=$?
 
4236
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4237
  test $ac_status = 0; }; }; then
 
4238
    cross_compiling=no
 
4239
  else
 
4240
    if test "$cross_compiling" = maybe; then
 
4241
        cross_compiling=yes
 
4242
    else
 
4243
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4244
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4245
as_fn_error "cannot run C compiled programs.
 
4246
If you meant to cross compile, use \`--host'.
 
4247
See \`config.log' for more details." "$LINENO" 5; }
 
4248
    fi
 
4249
  fi
 
4250
fi
 
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4252
$as_echo "yes" >&6; }
 
4253
 
 
4254
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4237
4255
ac_clean_files=$ac_clean_files_save
 
4256
# Check that the compiler produces executables we can run.  If not, either
 
4257
# the compiler is broken, or we cross compile.
 
4258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4259
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4261
$as_echo "$cross_compiling" >&6; }
 
4262
 
4238
4263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4239
4264
$as_echo_n "checking for suffix of executables... " >&6; }
4240
4265
if { { ac_try="$ac_link"
4264
4289
else
4265
4290
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4266
4291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4267
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4268
 
See \`config.log' for more details" "$LINENO" 5; }
 
4292
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
4293
See \`config.log' for more details." "$LINENO" 5; }
4269
4294
fi
4270
 
rm -f conftest conftest$ac_cv_exeext
 
4295
rm -f conftest$ac_cv_exeext
4271
4296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4272
4297
$as_echo "$ac_cv_exeext" >&6; }
4273
4298
 
4274
4299
rm -f conftest.$ac_ext
4275
4300
EXEEXT=$ac_cv_exeext
4276
4301
ac_exeext=$EXEEXT
4277
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278
 
/* end confdefs.h.  */
4279
 
#include <stdio.h>
4280
 
int main (void)
4281
 
{
4282
 
FILE *f = fopen ("conftest.out", "w");
4283
 
 return ferror (f) || fclose (f) != 0;
4284
 
 
4285
 
 ;
4286
 
 return 0;
4287
 
}
4288
 
_ACEOF
4289
 
ac_clean_files="$ac_clean_files conftest.out"
4290
 
# Check that the compiler produces executables we can run.  If not, either
4291
 
# the compiler is broken, or we cross compile.
4292
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4293
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
4294
 
if test "$cross_compiling" != yes; then
4295
 
  { { ac_try="$ac_link"
4296
 
case "(($ac_try" in
4297
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298
 
  *) ac_try_echo=$ac_try;;
4299
 
esac
4300
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301
 
$as_echo "$ac_try_echo"; } >&5
4302
 
  (eval "$ac_link") 2>&5
4303
 
  ac_status=$?
4304
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305
 
  test $ac_status = 0; }
4306
 
  if { ac_try='./conftest$ac_cv_exeext'
4307
 
  { { case "(($ac_try" in
4308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309
 
  *) ac_try_echo=$ac_try;;
4310
 
esac
4311
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312
 
$as_echo "$ac_try_echo"; } >&5
4313
 
  (eval "$ac_try") 2>&5
4314
 
  ac_status=$?
4315
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316
 
  test $ac_status = 0; }; }; then
4317
 
    cross_compiling=no
4318
 
  else
4319
 
    if test "$cross_compiling" = maybe; then
4320
 
        cross_compiling=yes
4321
 
    else
4322
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324
 
as_fn_error $? "cannot run C compiled programs.
4325
 
If you meant to cross compile, use \`--host'.
4326
 
See \`config.log' for more details" "$LINENO" 5; }
4327
 
    fi
4328
 
  fi
4329
 
fi
4330
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4331
 
$as_echo "$cross_compiling" >&6; }
4332
 
 
4333
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4334
 
ac_clean_files=$ac_clean_files_save
4335
4302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4336
4303
$as_echo_n "checking for suffix of object files... " >&6; }
4337
 
if ${ac_cv_objext+:} false; then :
 
4304
if test "${ac_cv_objext+set}" = set; then :
4338
4305
  $as_echo_n "(cached) " >&6
4339
4306
else
4340
4307
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373
4340
 
4374
4341
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4375
4342
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4376
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
4377
 
See \`config.log' for more details" "$LINENO" 5; }
 
4343
as_fn_error "cannot compute suffix of object files: cannot compile
 
4344
See \`config.log' for more details." "$LINENO" 5; }
4378
4345
fi
4379
4346
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4380
4347
fi
4384
4351
ac_objext=$OBJEXT
4385
4352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4386
4353
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4387
 
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4354
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4388
4355
  $as_echo_n "(cached) " >&6
4389
4356
else
4390
4357
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420
4387
ac_save_CFLAGS=$CFLAGS
4421
4388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4422
4389
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4423
 
if ${ac_cv_prog_cc_g+:} false; then :
 
4390
if test "${ac_cv_prog_cc_g+set}" = set; then :
4424
4391
  $as_echo_n "(cached) " >&6
4425
4392
else
4426
4393
  ac_save_c_werror_flag=$ac_c_werror_flag
4495
4462
fi
4496
4463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4497
4464
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4498
 
if ${ac_cv_prog_cc_c89+:} false; then :
 
4465
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4499
4466
  $as_echo_n "(cached) " >&6
4500
4467
else
4501
4468
  ac_cv_prog_cc_c89=no
4593
4560
 
4594
4561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4595
4562
$as_echo_n "checking dependency style of $depcc... " >&6; }
4596
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4563
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4597
4564
  $as_echo_n "(cached) " >&6
4598
4565
else
4599
4566
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4726
4693
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4727
4694
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_inttypes
4728
4695
"
4729
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4696
eval as_val=\$$as_ac_Header
 
4697
   if test "x$as_val" = x""yes; then :
4730
4698
  cat >>confdefs.h <<_ACEOF
4731
4699
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4732
4700
_ACEOF
4748
4716
  CPP=
4749
4717
fi
4750
4718
if test -z "$CPP"; then
4751
 
  if ${ac_cv_prog_CPP+:} false; then :
 
4719
  if test "${ac_cv_prog_CPP+set}" = set; then :
4752
4720
  $as_echo_n "(cached) " >&6
4753
4721
else
4754
4722
      # Double quotes because CPP needs to be expanded
4778
4746
  # Broken: fails on valid input.
4779
4747
continue
4780
4748
fi
4781
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
4749
rm -f conftest.err conftest.$ac_ext
4782
4750
 
4783
4751
  # OK, works on sane cases.  Now check whether nonexistent headers
4784
4752
  # can be detected and how.
4794
4762
ac_preproc_ok=:
4795
4763
break
4796
4764
fi
4797
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
4765
rm -f conftest.err conftest.$ac_ext
4798
4766
 
4799
4767
done
4800
4768
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4801
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
4769
rm -f conftest.err conftest.$ac_ext
4802
4770
if $ac_preproc_ok; then :
4803
4771
  break
4804
4772
fi
4837
4805
  # Broken: fails on valid input.
4838
4806
continue
4839
4807
fi
4840
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
4808
rm -f conftest.err conftest.$ac_ext
4841
4809
 
4842
4810
  # OK, works on sane cases.  Now check whether nonexistent headers
4843
4811
  # can be detected and how.
4853
4821
ac_preproc_ok=:
4854
4822
break
4855
4823
fi
4856
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
4824
rm -f conftest.err conftest.$ac_ext
4857
4825
 
4858
4826
done
4859
4827
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4860
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
4828
rm -f conftest.err conftest.$ac_ext
4861
4829
if $ac_preproc_ok; then :
4862
4830
 
4863
4831
else
4864
4832
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865
4833
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4867
 
See \`config.log' for more details" "$LINENO" 5; }
 
4834
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
4835
See \`config.log' for more details." "$LINENO" 5; }
4868
4836
fi
4869
4837
 
4870
4838
ac_ext=c
4876
4844
 
4877
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4878
4846
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4879
 
if ${ac_cv_path_GREP+:} false; then :
 
4847
if test "${ac_cv_path_GREP+set}" = set; then :
4880
4848
  $as_echo_n "(cached) " >&6
4881
4849
else
4882
4850
  if test -z "$GREP"; then
4925
4893
  done
4926
4894
IFS=$as_save_IFS
4927
4895
  if test -z "$ac_cv_path_GREP"; then
4928
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4896
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4929
4897
  fi
4930
4898
else
4931
4899
  ac_cv_path_GREP=$GREP
4939
4907
 
4940
4908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4941
4909
$as_echo_n "checking for egrep... " >&6; }
4942
 
if ${ac_cv_path_EGREP+:} false; then :
 
4910
if test "${ac_cv_path_EGREP+set}" = set; then :
4943
4911
  $as_echo_n "(cached) " >&6
4944
4912
else
4945
4913
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4991
4959
  done
4992
4960
IFS=$as_save_IFS
4993
4961
  if test -z "$ac_cv_path_EGREP"; then
4994
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4962
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4995
4963
  fi
4996
4964
else
4997
4965
  ac_cv_path_EGREP=$EGREP
5006
4974
 
5007
4975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5008
4976
$as_echo_n "checking for ANSI C header files... " >&6; }
5009
 
if ${ac_cv_header_stdc+:} false; then :
 
4977
if test "${ac_cv_header_stdc+set}" = set; then :
5010
4978
  $as_echo_n "(cached) " >&6
5011
4979
else
5012
4980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122
5090
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5123
5091
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5124
5092
"
5125
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
5093
eval as_val=\$$as_ac_Header
 
5094
   if test "x$as_val" = x""yes; then :
5126
5095
  cat >>confdefs.h <<_ACEOF
5127
5096
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5128
5097
_ACEOF
5136
5105
    #
5137
5106
        #
5138
5107
  if test -z "$SED"; then
5139
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
5108
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
5140
5109
  fi
5141
5110
  #
5142
5111
  # The cast to long int works around a bug in the HP C Compiler
5145
5114
# This bug is HP SR number 8606223364.
5146
5115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5147
5116
$as_echo_n "checking size of long... " >&6; }
5148
 
if ${ac_cv_sizeof_long+:} false; then :
 
5117
if test "${ac_cv_sizeof_long+set}" = set; then :
5149
5118
  $as_echo_n "(cached) " >&6
5150
5119
else
5151
5120
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
5154
5123
  if test "$ac_cv_type_long" = yes; then
5155
5124
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5156
5125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5157
 
as_fn_error 77 "cannot compute sizeof (long)
5158
 
See \`config.log' for more details" "$LINENO" 5; }
 
5126
{ as_fn_set_status 77
 
5127
as_fn_error "cannot compute sizeof (long)
 
5128
See \`config.log' for more details." "$LINENO" 5; }; }
5159
5129
   else
5160
5130
     ac_cv_sizeof_long=0
5161
5131
   fi
5178
5148
# This bug is HP SR number 8606223364.
5179
5149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
5180
5150
$as_echo_n "checking size of void*... " >&6; }
5181
 
if ${ac_cv_sizeof_voidp+:} false; then :
 
5151
if test "${ac_cv_sizeof_voidp+set}" = set; then :
5182
5152
  $as_echo_n "(cached) " >&6
5183
5153
else
5184
5154
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
5187
5157
  if test "$ac_cv_type_voidp" = yes; then
5188
5158
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5189
5159
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5190
 
as_fn_error 77 "cannot compute sizeof (void*)
5191
 
See \`config.log' for more details" "$LINENO" 5; }
 
5160
{ as_fn_set_status 77
 
5161
as_fn_error "cannot compute sizeof (void*)
 
5162
See \`config.log' for more details." "$LINENO" 5; }; }
5192
5163
   else
5193
5164
     ac_cv_sizeof_voidp=0
5194
5165
   fi
5208
5179
  #
5209
5180
  if test -z "$ac_cv_sizeof_long" ||
5210
5181
    test "$ac_cv_sizeof_long" -eq "0"; then
5211
 
    as_fn_error $? "cannot find out size of long." "$LINENO" 5
 
5182
    as_fn_error "cannot find out size of long." "$LINENO" 5
5212
5183
  fi
5213
5184
  if test -z "$ac_cv_sizeof_voidp" ||
5214
5185
     test "$ac_cv_sizeof_voidp" -eq "0"; then
5215
 
    as_fn_error $? "cannot find out size of void*." "$LINENO" 5
 
5186
    as_fn_error "cannot find out size of void*." "$LINENO" 5
5216
5187
  fi
5217
5188
  #
5218
5189
  x_LP64_long=""
5297
5268
  as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh`
5298
5269
  as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh`
5299
5270
  if test -z "$SED"; then
5300
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
5271
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
5301
5272
  fi
5302
5273
  if test -z "$GREP"; then
5303
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
5274
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
5304
5275
  fi
5305
5276
 
5306
5277
  tmp_exp=""
5325
5296
    fi
5326
5297
 
5327
5298
fi
5328
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5299
rm -f conftest.err conftest.$ac_ext
5329
5300
  if test -z "$tmp_exp"; then
5330
5301
    eval "$as_ac_HaveDef=no"
5331
5302
 
5411
5382
  as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh`
5412
5383
  as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh`
5413
5384
  if test -z "$SED"; then
5414
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
5385
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
5415
5386
  fi
5416
5387
  if test -z "$GREP"; then
5417
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
5388
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
5418
5389
  fi
5419
5390
 
5420
5391
  tmp_exp=""
5439
5410
    fi
5440
5411
 
5441
5412
fi
5442
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5413
rm -f conftest.err conftest.$ac_ext
5443
5414
  if test -z "$tmp_exp"; then
5444
5415
    eval "$as_ac_HaveDef=no"
5445
5416
 
5525
5496
  as_ac_HaveDef=`$as_echo "curl_cv_have_def_$tmp_fmt" | $as_tr_sh`
5526
5497
  as_ac_Def=`$as_echo "curl_cv_def_$tmp_fmt" | $as_tr_sh`
5527
5498
  if test -z "$SED"; then
5528
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
5499
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
5529
5500
  fi
5530
5501
  if test -z "$GREP"; then
5531
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
5502
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
5532
5503
  fi
5533
5504
 
5534
5505
  tmp_exp=""
5553
5524
    fi
5554
5525
 
5555
5526
fi
5556
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
5527
rm -f conftest.err conftest.$ac_ext
5557
5528
  if test -z "$tmp_exp"; then
5558
5529
    eval "$as_ac_HaveDef=no"
5559
5530
 
5581
5552
$as_echo "$curl_typeof_curl_off_t" >&6; }
5582
5553
  fi
5583
5554
  if test "$curl_typeof_curl_off_t" = "unknown"; then
5584
 
    as_fn_error $? "cannot find data type for curl_off_t." "$LINENO" 5
 
5555
    as_fn_error "cannot find data type for curl_off_t." "$LINENO" 5
5585
5556
  fi
5586
5557
  #
5587
5558
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
5625
5596
        curl_format_curl_off_tu="I16u"
5626
5597
        ;;
5627
5598
      *)
5628
 
        as_fn_error $? "cannot find print format string for curl_off_t." "$LINENO" 5
 
5599
        as_fn_error "cannot find print format string for curl_off_t." "$LINENO" 5
5629
5600
        ;;
5630
5601
    esac
5631
5602
  fi
5664
5635
      tst_suffixes="L:i16::"
5665
5636
      ;;
5666
5637
    *)
5667
 
      as_fn_error $? "unexpected data type $curl_typeof_curl_off_t" "$LINENO" 5
 
5638
      as_fn_error "unexpected data type $curl_typeof_curl_off_t" "$LINENO" 5
5668
5639
      ;;
5669
5640
  esac
5670
5641
  #
5717
5688
  IFS=$old_IFS
5718
5689
  #
5719
5690
  if test "x$curl_suffix_curl_off_t" = "xunknown"; then
5720
 
    as_fn_error $? "cannot find constant suffix string for curl_off_t." "$LINENO" 5
 
5691
    as_fn_error "cannot find constant suffix string for curl_off_t." "$LINENO" 5
5721
5692
  else
5722
5693
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_suffix_curl_off_t" >&5
5723
5694
$as_echo "$curl_suffix_curl_off_t" >&6; }
6807
6778
 
6808
6779
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6809
6780
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6810
 
if ${ac_cv_sys_largefile_CC+:} false; then :
 
6781
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
6811
6782
  $as_echo_n "(cached) " >&6
6812
6783
else
6813
6784
  ac_cv_sys_largefile_CC=no
6857
6828
 
6858
6829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6859
6830
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6860
 
if ${ac_cv_sys_file_offset_bits+:} false; then :
 
6831
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
6861
6832
  $as_echo_n "(cached) " >&6
6862
6833
else
6863
6834
  while :; do
6924
6895
  if test $ac_cv_sys_file_offset_bits = unknown; then
6925
6896
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6926
6897
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6927
 
if ${ac_cv_sys_large_files+:} false; then :
 
6898
if test "${ac_cv_sys_large_files+set}" = set; then :
6928
6899
  $as_echo_n "(cached) " >&6
6929
6900
else
6930
6901
  while :; do
7001
6972
set dummy ${ac_tool_prefix}as; ac_word=$2
7002
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003
6974
$as_echo_n "checking for $ac_word... " >&6; }
7004
 
if ${ac_cv_prog_AS+:} false; then :
 
6975
if test "${ac_cv_prog_AS+set}" = set; then :
7005
6976
  $as_echo_n "(cached) " >&6
7006
6977
else
7007
6978
  if test -n "$AS"; then
7041
7012
set dummy as; ac_word=$2
7042
7013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043
7014
$as_echo_n "checking for $ac_word... " >&6; }
7044
 
if ${ac_cv_prog_ac_ct_AS+:} false; then :
 
7015
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
7045
7016
  $as_echo_n "(cached) " >&6
7046
7017
else
7047
7018
  if test -n "$ac_ct_AS"; then
7093
7064
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7094
7065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7095
7066
$as_echo_n "checking for $ac_word... " >&6; }
7096
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7067
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7097
7068
  $as_echo_n "(cached) " >&6
7098
7069
else
7099
7070
  if test -n "$DLLTOOL"; then
7133
7104
set dummy dlltool; ac_word=$2
7134
7105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135
7106
$as_echo_n "checking for $ac_word... " >&6; }
7136
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7107
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7137
7108
  $as_echo_n "(cached) " >&6
7138
7109
else
7139
7110
  if test -n "$ac_ct_DLLTOOL"; then
7185
7156
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7186
7157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7187
7158
$as_echo_n "checking for $ac_word... " >&6; }
7188
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
7159
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7189
7160
  $as_echo_n "(cached) " >&6
7190
7161
else
7191
7162
  if test -n "$OBJDUMP"; then
7225
7196
set dummy objdump; ac_word=$2
7226
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227
7198
$as_echo_n "checking for $ac_word... " >&6; }
7228
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7199
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7229
7200
  $as_echo_n "(cached) " >&6
7230
7201
else
7231
7202
  if test -n "$ac_ct_OBJDUMP"; then
7420
7391
 
7421
7392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7422
7393
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
7423
 
if ${ac_cv_path_SED+:} false; then :
 
7394
if test "${ac_cv_path_SED+set}" = set; then :
7424
7395
  $as_echo_n "(cached) " >&6
7425
7396
else
7426
7397
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7475
7446
  done
7476
7447
IFS=$as_save_IFS
7477
7448
  if test -z "$ac_cv_path_SED"; then
7478
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
7449
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
7479
7450
  fi
7480
7451
else
7481
7452
  ac_cv_path_SED=$SED
7502
7473
 
7503
7474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7504
7475
$as_echo_n "checking for fgrep... " >&6; }
7505
 
if ${ac_cv_path_FGREP+:} false; then :
 
7476
if test "${ac_cv_path_FGREP+set}" = set; then :
7506
7477
  $as_echo_n "(cached) " >&6
7507
7478
else
7508
7479
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7554
7525
  done
7555
7526
IFS=$as_save_IFS
7556
7527
  if test -z "$ac_cv_path_FGREP"; then
7557
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
7528
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7558
7529
  fi
7559
7530
else
7560
7531
  ac_cv_path_FGREP=$FGREP
7633
7604
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7634
7605
$as_echo_n "checking for non-GNU ld... " >&6; }
7635
7606
fi
7636
 
if ${lt_cv_path_LD+:} false; then :
 
7607
if test "${lt_cv_path_LD+set}" = set; then :
7637
7608
  $as_echo_n "(cached) " >&6
7638
7609
else
7639
7610
  if test -z "$LD"; then
7670
7641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671
7642
$as_echo "no" >&6; }
7672
7643
fi
7673
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
7644
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
7674
7645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7675
7646
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7676
 
if ${lt_cv_prog_gnu_ld+:} false; then :
 
7647
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7677
7648
  $as_echo_n "(cached) " >&6
7678
7649
else
7679
7650
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
7700
7671
 
7701
7672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7702
7673
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7703
 
if ${lt_cv_path_NM+:} false; then :
 
7674
if test "${lt_cv_path_NM+set}" = set; then :
7704
7675
  $as_echo_n "(cached) " >&6
7705
7676
else
7706
7677
  if test -n "$NM"; then
7763
7734
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7764
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765
7736
$as_echo_n "checking for $ac_word... " >&6; }
7766
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
7737
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7767
7738
  $as_echo_n "(cached) " >&6
7768
7739
else
7769
7740
  if test -n "$DUMPBIN"; then
7807
7778
set dummy $ac_prog; ac_word=$2
7808
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809
7780
$as_echo_n "checking for $ac_word... " >&6; }
7810
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
7781
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7811
7782
  $as_echo_n "(cached) " >&6
7812
7783
else
7813
7784
  if test -n "$ac_ct_DUMPBIN"; then
7879
7850
 
7880
7851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7881
7852
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7882
 
if ${lt_cv_nm_interface+:} false; then :
 
7853
if test "${lt_cv_nm_interface+set}" = set; then :
7883
7854
  $as_echo_n "(cached) " >&6
7884
7855
else
7885
7856
  lt_cv_nm_interface="BSD nm"
7914
7885
# find the maximum length of command line arguments
7915
7886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7916
7887
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7917
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
7888
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7918
7889
  $as_echo_n "(cached) " >&6
7919
7890
else
7920
7891
    i=0
8111
8082
 
8112
8083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8113
8084
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8114
 
if ${lt_cv_to_host_file_cmd+:} false; then :
 
8085
if test "${lt_cv_to_host_file_cmd+set}" = set; then :
8115
8086
  $as_echo_n "(cached) " >&6
8116
8087
else
8117
8088
  case $host in
8158
8129
 
8159
8130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8160
8131
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8161
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
8132
if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
8162
8133
  $as_echo_n "(cached) " >&6
8163
8134
else
8164
8135
  #assume ordinary cross tools, or native build.
8185
8156
 
8186
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8187
8158
$as_echo_n "checking for $LD option to reload object files... " >&6; }
8188
 
if ${lt_cv_ld_reload_flag+:} false; then :
 
8159
if test "${lt_cv_ld_reload_flag+set}" = set; then :
8189
8160
  $as_echo_n "(cached) " >&6
8190
8161
else
8191
8162
  lt_cv_ld_reload_flag='-r'
8226
8197
set dummy ${ac_tool_prefix}objdump; ac_word=$2
8227
8198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228
8199
$as_echo_n "checking for $ac_word... " >&6; }
8229
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
8200
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8230
8201
  $as_echo_n "(cached) " >&6
8231
8202
else
8232
8203
  if test -n "$OBJDUMP"; then
8266
8237
set dummy objdump; ac_word=$2
8267
8238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268
8239
$as_echo_n "checking for $ac_word... " >&6; }
8269
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
8240
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
8270
8241
  $as_echo_n "(cached) " >&6
8271
8242
else
8272
8243
  if test -n "$ac_ct_OBJDUMP"; then
8322
8293
 
8323
8294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8324
8295
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
8325
 
if ${lt_cv_deplibs_check_method+:} false; then :
 
8296
if test "${lt_cv_deplibs_check_method+set}" = set; then :
8326
8297
  $as_echo_n "(cached) " >&6
8327
8298
else
8328
8299
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8569
8540
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8570
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8571
8542
$as_echo_n "checking for $ac_word... " >&6; }
8572
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
8543
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8573
8544
  $as_echo_n "(cached) " >&6
8574
8545
else
8575
8546
  if test -n "$DLLTOOL"; then
8609
8580
set dummy dlltool; ac_word=$2
8610
8581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8611
8582
$as_echo_n "checking for $ac_word... " >&6; }
8612
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
8583
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
8613
8584
  $as_echo_n "(cached) " >&6
8614
8585
else
8615
8586
  if test -n "$ac_ct_DLLTOOL"; then
8666
8637
 
8667
8638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8668
8639
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8669
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
8640
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
8670
8641
  $as_echo_n "(cached) " >&6
8671
8642
else
8672
8643
  lt_cv_sharedlib_from_linklib_cmd='unknown'
8709
8680
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8710
8681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8711
8682
$as_echo_n "checking for $ac_word... " >&6; }
8712
 
if ${ac_cv_prog_AR+:} false; then :
 
8683
if test "${ac_cv_prog_AR+set}" = set; then :
8713
8684
  $as_echo_n "(cached) " >&6
8714
8685
else
8715
8686
  if test -n "$AR"; then
8753
8724
set dummy $ac_prog; ac_word=$2
8754
8725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755
8726
$as_echo_n "checking for $ac_word... " >&6; }
8756
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
8727
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8757
8728
  $as_echo_n "(cached) " >&6
8758
8729
else
8759
8730
  if test -n "$ac_ct_AR"; then
8817
8788
 
8818
8789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8819
8790
$as_echo_n "checking for archiver @FILE support... " >&6; }
8820
 
if ${lt_cv_ar_at_file+:} false; then :
 
8791
if test "${lt_cv_ar_at_file+set}" = set; then :
8821
8792
  $as_echo_n "(cached) " >&6
8822
8793
else
8823
8794
  lt_cv_ar_at_file=no
8877
8848
set dummy ${ac_tool_prefix}strip; ac_word=$2
8878
8849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8879
8850
$as_echo_n "checking for $ac_word... " >&6; }
8880
 
if ${ac_cv_prog_STRIP+:} false; then :
 
8851
if test "${ac_cv_prog_STRIP+set}" = set; then :
8881
8852
  $as_echo_n "(cached) " >&6
8882
8853
else
8883
8854
  if test -n "$STRIP"; then
8917
8888
set dummy strip; ac_word=$2
8918
8889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919
8890
$as_echo_n "checking for $ac_word... " >&6; }
8920
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
8891
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8921
8892
  $as_echo_n "(cached) " >&6
8922
8893
else
8923
8894
  if test -n "$ac_ct_STRIP"; then
8976
8947
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8977
8948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8978
8949
$as_echo_n "checking for $ac_word... " >&6; }
8979
 
if ${ac_cv_prog_RANLIB+:} false; then :
 
8950
if test "${ac_cv_prog_RANLIB+set}" = set; then :
8980
8951
  $as_echo_n "(cached) " >&6
8981
8952
else
8982
8953
  if test -n "$RANLIB"; then
9016
8987
set dummy ranlib; ac_word=$2
9017
8988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9018
8989
$as_echo_n "checking for $ac_word... " >&6; }
9019
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
8990
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
9020
8991
  $as_echo_n "(cached) " >&6
9021
8992
else
9022
8993
  if test -n "$ac_ct_RANLIB"; then
9145
9116
# Check for command to grab the raw symbol name followed by C symbol from nm.
9146
9117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9147
9118
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9148
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
9119
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
9149
9120
  $as_echo_n "(cached) " >&6
9150
9121
else
9151
9122
 
9442
9413
 *)
9443
9414
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9444
9415
$as_echo "${with_sysroot}" >&6; }
9445
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
9416
   as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
9446
9417
   ;;
9447
9418
esac
9448
9419
 
9578
9549
  CFLAGS="$CFLAGS -belf"
9579
9550
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9580
9551
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9581
 
if ${lt_cv_cc_needs_belf+:} false; then :
 
9552
if test "${lt_cv_cc_needs_belf+set}" = set; then :
9582
9553
  $as_echo_n "(cached) " >&6
9583
9554
else
9584
9555
  ac_ext=c
9650
9621
set dummy ${ac_tool_prefix}mt; ac_word=$2
9651
9622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9652
9623
$as_echo_n "checking for $ac_word... " >&6; }
9653
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
9624
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
9654
9625
  $as_echo_n "(cached) " >&6
9655
9626
else
9656
9627
  if test -n "$MANIFEST_TOOL"; then
9690
9661
set dummy mt; ac_word=$2
9691
9662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9692
9663
$as_echo_n "checking for $ac_word... " >&6; }
9693
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
9664
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
9694
9665
  $as_echo_n "(cached) " >&6
9695
9666
else
9696
9667
  if test -n "$ac_ct_MANIFEST_TOOL"; then
9740
9711
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9741
9712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9742
9713
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9743
 
if ${lt_cv_path_mainfest_tool+:} false; then :
 
9714
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
9744
9715
  $as_echo_n "(cached) " >&6
9745
9716
else
9746
9717
  lt_cv_path_mainfest_tool=no
9770
9741
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9771
9742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9772
9743
$as_echo_n "checking for $ac_word... " >&6; }
9773
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
9744
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
9774
9745
  $as_echo_n "(cached) " >&6
9775
9746
else
9776
9747
  if test -n "$DSYMUTIL"; then
9810
9781
set dummy dsymutil; ac_word=$2
9811
9782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9812
9783
$as_echo_n "checking for $ac_word... " >&6; }
9813
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
9784
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
9814
9785
  $as_echo_n "(cached) " >&6
9815
9786
else
9816
9787
  if test -n "$ac_ct_DSYMUTIL"; then
9862
9833
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9863
9834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9864
9835
$as_echo_n "checking for $ac_word... " >&6; }
9865
 
if ${ac_cv_prog_NMEDIT+:} false; then :
 
9836
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9866
9837
  $as_echo_n "(cached) " >&6
9867
9838
else
9868
9839
  if test -n "$NMEDIT"; then
9902
9873
set dummy nmedit; ac_word=$2
9903
9874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9904
9875
$as_echo_n "checking for $ac_word... " >&6; }
9905
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
9876
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9906
9877
  $as_echo_n "(cached) " >&6
9907
9878
else
9908
9879
  if test -n "$ac_ct_NMEDIT"; then
9954
9925
set dummy ${ac_tool_prefix}lipo; ac_word=$2
9955
9926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956
9927
$as_echo_n "checking for $ac_word... " >&6; }
9957
 
if ${ac_cv_prog_LIPO+:} false; then :
 
9928
if test "${ac_cv_prog_LIPO+set}" = set; then :
9958
9929
  $as_echo_n "(cached) " >&6
9959
9930
else
9960
9931
  if test -n "$LIPO"; then
9994
9965
set dummy lipo; ac_word=$2
9995
9966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9996
9967
$as_echo_n "checking for $ac_word... " >&6; }
9997
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
9968
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9998
9969
  $as_echo_n "(cached) " >&6
9999
9970
else
10000
9971
  if test -n "$ac_ct_LIPO"; then
10046
10017
set dummy ${ac_tool_prefix}otool; ac_word=$2
10047
10018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10048
10019
$as_echo_n "checking for $ac_word... " >&6; }
10049
 
if ${ac_cv_prog_OTOOL+:} false; then :
 
10020
if test "${ac_cv_prog_OTOOL+set}" = set; then :
10050
10021
  $as_echo_n "(cached) " >&6
10051
10022
else
10052
10023
  if test -n "$OTOOL"; then
10086
10057
set dummy otool; ac_word=$2
10087
10058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10088
10059
$as_echo_n "checking for $ac_word... " >&6; }
10089
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
10060
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
10090
10061
  $as_echo_n "(cached) " >&6
10091
10062
else
10092
10063
  if test -n "$ac_ct_OTOOL"; then
10138
10109
set dummy ${ac_tool_prefix}otool64; ac_word=$2
10139
10110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10140
10111
$as_echo_n "checking for $ac_word... " >&6; }
10141
 
if ${ac_cv_prog_OTOOL64+:} false; then :
 
10112
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
10142
10113
  $as_echo_n "(cached) " >&6
10143
10114
else
10144
10115
  if test -n "$OTOOL64"; then
10178
10149
set dummy otool64; ac_word=$2
10179
10150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10180
10151
$as_echo_n "checking for $ac_word... " >&6; }
10181
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
10152
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
10182
10153
  $as_echo_n "(cached) " >&6
10183
10154
else
10184
10155
  if test -n "$ac_ct_OTOOL64"; then
10253
10224
 
10254
10225
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10255
10226
$as_echo_n "checking for -single_module linker flag... " >&6; }
10256
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
10227
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
10257
10228
  $as_echo_n "(cached) " >&6
10258
10229
else
10259
10230
  lt_cv_apple_cc_single_mod=no
10282
10253
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10283
10254
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10284
10255
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10285
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
10256
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
10286
10257
  $as_echo_n "(cached) " >&6
10287
10258
else
10288
10259
  lt_cv_ld_exported_symbols_list=no
10313
10284
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10314
10285
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10315
10286
$as_echo_n "checking for -force_load linker flag... " >&6; }
10316
 
if ${lt_cv_ld_force_load+:} false; then :
 
10287
if test "${lt_cv_ld_force_load+set}" = set; then :
10317
10288
  $as_echo_n "(cached) " >&6
10318
10289
else
10319
10290
  lt_cv_ld_force_load=no
10382
10353
do :
10383
10354
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10384
10355
"
10385
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
10356
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
10386
10357
  cat >>confdefs.h <<_ACEOF
10387
10358
#define HAVE_DLFCN_H 1
10388
10359
_ACEOF
10567
10538
 
10568
10539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10569
10540
$as_echo_n "checking for objdir... " >&6; }
10570
 
if ${lt_cv_objdir+:} false; then :
 
10541
if test "${lt_cv_objdir+set}" = set; then :
10571
10542
  $as_echo_n "(cached) " >&6
10572
10543
else
10573
10544
  rm -f .libs 2>/dev/null
10645
10616
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10646
10617
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10647
10618
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10648
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
10619
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10649
10620
  $as_echo_n "(cached) " >&6
10650
10621
else
10651
10622
  case $MAGIC_CMD in
10711
10682
  if test -n "$ac_tool_prefix"; then
10712
10683
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10713
10684
$as_echo_n "checking for file... " >&6; }
10714
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
10685
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10715
10686
  $as_echo_n "(cached) " >&6
10716
10687
else
10717
10688
  case $MAGIC_CMD in
10853
10824
 
10854
10825
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10855
10826
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10856
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
10827
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10857
10828
  $as_echo_n "(cached) " >&6
10858
10829
else
10859
10830
  lt_cv_prog_compiler_rtti_exceptions=no
11198
11169
 
11199
11170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11200
11171
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11201
 
if ${lt_cv_prog_compiler_pic+:} false; then :
 
11172
if test "${lt_cv_prog_compiler_pic+set}" = set; then :
11202
11173
  $as_echo_n "(cached) " >&6
11203
11174
else
11204
11175
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11213
11184
if test -n "$lt_prog_compiler_pic"; then
11214
11185
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11215
11186
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11216
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
11187
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
11217
11188
  $as_echo_n "(cached) " >&6
11218
11189
else
11219
11190
  lt_cv_prog_compiler_pic_works=no
11277
11248
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11278
11249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11279
11250
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11280
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
11251
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
11281
11252
  $as_echo_n "(cached) " >&6
11282
11253
else
11283
11254
  lt_cv_prog_compiler_static_works=no
11320
11291
 
11321
11292
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11322
11293
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11323
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
11294
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11324
11295
  $as_echo_n "(cached) " >&6
11325
11296
else
11326
11297
  lt_cv_prog_compiler_c_o=no
11375
11346
 
11376
11347
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11377
11348
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11378
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
11349
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11379
11350
  $as_echo_n "(cached) " >&6
11380
11351
else
11381
11352
  lt_cv_prog_compiler_c_o=no
11944
11915
        if test "${lt_cv_aix_libpath+set}" = set; then
11945
11916
  aix_libpath=$lt_cv_aix_libpath
11946
11917
else
11947
 
  if ${lt_cv_aix_libpath_+:} false; then :
 
11918
  if test "${lt_cv_aix_libpath_+set}" = set; then :
11948
11919
  $as_echo_n "(cached) " >&6
11949
11920
else
11950
11921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996
11967
         if test "${lt_cv_aix_libpath+set}" = set; then
11997
11968
  aix_libpath=$lt_cv_aix_libpath
11998
11969
else
11999
 
  if ${lt_cv_aix_libpath_+:} false; then :
 
11970
  if test "${lt_cv_aix_libpath_+set}" = set; then :
12000
11971
  $as_echo_n "(cached) " >&6
12001
11972
else
12002
11973
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267
12238
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12268
12239
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12269
12240
$as_echo_n "checking if $CC understands -b... " >&6; }
12270
 
if ${lt_cv_prog_compiler__b+:} false; then :
 
12241
if test "${lt_cv_prog_compiler__b+set}" = set; then :
12271
12242
  $as_echo_n "(cached) " >&6
12272
12243
else
12273
12244
  lt_cv_prog_compiler__b=no
12336
12307
        # This should be the same for all languages, so no per-tag cache variable.
12337
12308
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12338
12309
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12339
 
if ${lt_cv_irix_exported_symbol+:} false; then :
 
12310
if test "${lt_cv_irix_exported_symbol+set}" = set; then :
12340
12311
  $as_echo_n "(cached) " >&6
12341
12312
else
12342
12313
  save_LDFLAGS="$LDFLAGS"
12652
12623
      # to ld, don't add -lc before -lgcc.
12653
12624
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12654
12625
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12655
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
12626
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12656
12627
  $as_echo_n "(cached) " >&6
12657
12628
else
12658
12629
  $RM conftest*
13354
13325
  shlibpath_overrides_runpath=no
13355
13326
 
13356
13327
  # Some binutils ld are patched to set DT_RUNPATH
13357
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
13328
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
13358
13329
  $as_echo_n "(cached) " >&6
13359
13330
else
13360
13331
  lt_cv_shlibpath_overrides_runpath=no
13785
13756
  # if libdl is installed we need to link against it
13786
13757
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13787
13758
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13788
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13759
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13789
13760
  $as_echo_n "(cached) " >&6
13790
13761
else
13791
13762
  ac_check_lib_save_LIBS=$LIBS
13816
13787
fi
13817
13788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13818
13789
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13819
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13790
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13820
13791
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13821
13792
else
13822
13793
 
13830
13801
 
13831
13802
  *)
13832
13803
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13833
 
if test "x$ac_cv_func_shl_load" = xyes; then :
 
13804
if test "x$ac_cv_func_shl_load" = x""yes; then :
13834
13805
  lt_cv_dlopen="shl_load"
13835
13806
else
13836
13807
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13837
13808
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13838
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
13809
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13839
13810
  $as_echo_n "(cached) " >&6
13840
13811
else
13841
13812
  ac_check_lib_save_LIBS=$LIBS
13866
13837
fi
13867
13838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13868
13839
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13869
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
13840
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13870
13841
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13871
13842
else
13872
13843
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13873
 
if test "x$ac_cv_func_dlopen" = xyes; then :
 
13844
if test "x$ac_cv_func_dlopen" = x""yes; then :
13874
13845
  lt_cv_dlopen="dlopen"
13875
13846
else
13876
13847
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13877
13848
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13878
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13849
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13879
13850
  $as_echo_n "(cached) " >&6
13880
13851
else
13881
13852
  ac_check_lib_save_LIBS=$LIBS
13906
13877
fi
13907
13878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13908
13879
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13909
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13880
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13910
13881
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13911
13882
else
13912
13883
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13913
13884
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13914
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
13885
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13915
13886
  $as_echo_n "(cached) " >&6
13916
13887
else
13917
13888
  ac_check_lib_save_LIBS=$LIBS
13942
13913
fi
13943
13914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13944
13915
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13945
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
13916
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13946
13917
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13947
13918
else
13948
13919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13949
13920
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13950
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
13921
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13951
13922
  $as_echo_n "(cached) " >&6
13952
13923
else
13953
13924
  ac_check_lib_save_LIBS=$LIBS
13978
13949
fi
13979
13950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13980
13951
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13981
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
13952
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13982
13953
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13983
13954
fi
13984
13955
 
14019
13990
 
14020
13991
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14021
13992
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
14022
 
if ${lt_cv_dlopen_self+:} false; then :
 
13993
if test "${lt_cv_dlopen_self+set}" = set; then :
14023
13994
  $as_echo_n "(cached) " >&6
14024
13995
else
14025
13996
          if test "$cross_compiling" = yes; then :
14125
14096
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14126
14097
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14127
14098
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14128
 
if ${lt_cv_dlopen_self_static+:} false; then :
 
14099
if test "${lt_cv_dlopen_self_static+set}" = set; then :
14129
14100
  $as_echo_n "(cached) " >&6
14130
14101
else
14131
14102
          if test "$cross_compiling" = yes; then :
14460
14431
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14461
14432
set x ${MAKE-make}
14462
14433
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14463
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
14434
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
14464
14435
  $as_echo_n "(cached) " >&6
14465
14436
else
14466
14437
  cat >conftest.make <<\_ACEOF
14468
14439
all:
14469
14440
        @echo '@@@%%%=$(MAKE)=@@@%%%'
14470
14441
_ACEOF
14471
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
14442
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14472
14443
case `${MAKE-make} -f conftest.make 2>/dev/null` in
14473
14444
  *@@@%%%=?*=@@@%%%*)
14474
14445
    eval ac_cv_prog_make_${ac_make}_set=yes;;
14490
14461
 
14491
14462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14492
14463
$as_echo_n "checking for inline... " >&6; }
14493
 
if ${ac_cv_c_inline+:} false; then :
 
14464
if test "${ac_cv_c_inline+set}" = set; then :
14494
14465
  $as_echo_n "(cached) " >&6
14495
14466
else
14496
14467
  ac_cv_c_inline=no
14551
14522
$as_echo_n "checking if compiler is DEC/Compaq/HP C... " >&6; }
14552
14523
 
14553
14524
      if test -z "$SED"; then
14554
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14525
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14555
14526
  fi
14556
14527
  if test -z "$GREP"; then
14557
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14528
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14558
14529
  fi
14559
14530
 
14560
14531
  tmp_exp=""
14579
14550
    fi
14580
14551
 
14581
14552
fi
14582
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14553
rm -f conftest.err conftest.$ac_ext
14583
14554
  if test -z "$tmp_exp"; then
14584
14555
    curl_cv_have_def___DECC=no
14585
14556
 
14591
14562
 
14592
14563
 
14593
14564
      if test -z "$SED"; then
14594
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14565
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14595
14566
  fi
14596
14567
  if test -z "$GREP"; then
14597
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14568
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14598
14569
  fi
14599
14570
 
14600
14571
  tmp_exp=""
14619
14590
    fi
14620
14591
 
14621
14592
fi
14622
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14593
rm -f conftest.err conftest.$ac_ext
14623
14594
  if test -z "$tmp_exp"; then
14624
14595
    curl_cv_have_def___DECC_VER=no
14625
14596
 
14650
14621
$as_echo_n "checking if compiler is HP-UX C... " >&6; }
14651
14622
 
14652
14623
      if test -z "$SED"; then
14653
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14624
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14654
14625
  fi
14655
14626
  if test -z "$GREP"; then
14656
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14627
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14657
14628
  fi
14658
14629
 
14659
14630
  tmp_exp=""
14678
14649
    fi
14679
14650
 
14680
14651
fi
14681
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14652
rm -f conftest.err conftest.$ac_ext
14682
14653
  if test -z "$tmp_exp"; then
14683
14654
    curl_cv_have_def___HP_cc=no
14684
14655
 
14708
14679
$as_echo_n "checking if compiler is IBM C... " >&6; }
14709
14680
 
14710
14681
      if test -z "$SED"; then
14711
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14682
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14712
14683
  fi
14713
14684
  if test -z "$GREP"; then
14714
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14685
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14715
14686
  fi
14716
14687
 
14717
14688
  tmp_exp=""
14736
14707
    fi
14737
14708
 
14738
14709
fi
14739
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14710
rm -f conftest.err conftest.$ac_ext
14740
14711
  if test -z "$tmp_exp"; then
14741
14712
    curl_cv_have_def___IBMC__=no
14742
14713
 
14774
14745
$as_echo_n "checking if compiler is Intel C... " >&6; }
14775
14746
 
14776
14747
      if test -z "$SED"; then
14777
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14748
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14778
14749
  fi
14779
14750
  if test -z "$GREP"; then
14780
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14751
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14781
14752
  fi
14782
14753
 
14783
14754
  tmp_exp=""
14802
14773
    fi
14803
14774
 
14804
14775
fi
14805
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14776
rm -f conftest.err conftest.$ac_ext
14806
14777
  if test -z "$tmp_exp"; then
14807
14778
    curl_cv_have_def___INTEL_COMPILER=no
14808
14779
 
14818
14789
    compiler_num="$curl_cv_def___INTEL_COMPILER"
14819
14790
 
14820
14791
      if test -z "$SED"; then
14821
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14792
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14822
14793
  fi
14823
14794
  if test -z "$GREP"; then
14824
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14795
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14825
14796
  fi
14826
14797
 
14827
14798
  tmp_exp=""
14846
14817
    fi
14847
14818
 
14848
14819
fi
14849
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14820
rm -f conftest.err conftest.$ac_ext
14850
14821
  if test -z "$tmp_exp"; then
14851
14822
    curl_cv_have_def___unix__=no
14852
14823
 
14890
14861
$as_echo_n "checking if compiler is clang... " >&6; }
14891
14862
 
14892
14863
      if test -z "$SED"; then
14893
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14864
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14894
14865
  fi
14895
14866
  if test -z "$GREP"; then
14896
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14867
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14897
14868
  fi
14898
14869
 
14899
14870
  tmp_exp=""
14918
14889
    fi
14919
14890
 
14920
14891
fi
14921
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14892
rm -f conftest.err conftest.$ac_ext
14922
14893
  if test -z "$tmp_exp"; then
14923
14894
    curl_cv_have_def___clang__=no
14924
14895
 
14959
14930
$as_echo_n "checking if compiler is GNU C... " >&6; }
14960
14931
 
14961
14932
      if test -z "$SED"; then
14962
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
14933
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
14963
14934
  fi
14964
14935
  if test -z "$GREP"; then
14965
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
14936
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
14966
14937
  fi
14967
14938
 
14968
14939
  tmp_exp=""
14987
14958
    fi
14988
14959
 
14989
14960
fi
14990
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
14961
rm -f conftest.err conftest.$ac_ext
14991
14962
  if test -z "$tmp_exp"; then
14992
14963
    curl_cv_have_def___GNUC__=no
14993
14964
 
15029
15000
$as_echo_n "checking if compiler is LCC... " >&6; }
15030
15001
 
15031
15002
      if test -z "$SED"; then
15032
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15003
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15033
15004
  fi
15034
15005
  if test -z "$GREP"; then
15035
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15006
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15036
15007
  fi
15037
15008
 
15038
15009
  tmp_exp=""
15057
15028
    fi
15058
15029
 
15059
15030
fi
15060
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15031
rm -f conftest.err conftest.$ac_ext
15061
15032
  if test -z "$tmp_exp"; then
15062
15033
    curl_cv_have_def___LCC__=no
15063
15034
 
15087
15058
$as_echo_n "checking if compiler is SGI MIPSpro C... " >&6; }
15088
15059
 
15089
15060
      if test -z "$SED"; then
15090
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15061
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15091
15062
  fi
15092
15063
  if test -z "$GREP"; then
15093
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15064
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15094
15065
  fi
15095
15066
 
15096
15067
  tmp_exp=""
15115
15086
    fi
15116
15087
 
15117
15088
fi
15118
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15089
rm -f conftest.err conftest.$ac_ext
15119
15090
  if test -z "$tmp_exp"; then
15120
15091
    curl_cv_have_def___GNUC__=no
15121
15092
 
15127
15098
 
15128
15099
 
15129
15100
      if test -z "$SED"; then
15130
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15101
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15131
15102
  fi
15132
15103
  if test -z "$GREP"; then
15133
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15104
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15134
15105
  fi
15135
15106
 
15136
15107
  tmp_exp=""
15155
15126
    fi
15156
15127
 
15157
15128
fi
15158
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15129
rm -f conftest.err conftest.$ac_ext
15159
15130
  if test -z "$tmp_exp"; then
15160
15131
    curl_cv_have_def__COMPILER_VERSION=no
15161
15132
 
15167
15138
 
15168
15139
 
15169
15140
      if test -z "$SED"; then
15170
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15141
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15171
15142
  fi
15172
15143
  if test -z "$GREP"; then
15173
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15144
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15174
15145
  fi
15175
15146
 
15176
15147
  tmp_exp=""
15195
15166
    fi
15196
15167
 
15197
15168
fi
15198
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15169
rm -f conftest.err conftest.$ac_ext
15199
15170
  if test -z "$tmp_exp"; then
15200
15171
    curl_cv_have_def__SGI_COMPILER_VERSION=no
15201
15172
 
15227
15198
$as_echo_n "checking if compiler is SGI MIPS C... " >&6; }
15228
15199
 
15229
15200
      if test -z "$SED"; then
15230
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15201
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15231
15202
  fi
15232
15203
  if test -z "$GREP"; then
15233
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15204
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15234
15205
  fi
15235
15206
 
15236
15207
  tmp_exp=""
15255
15226
    fi
15256
15227
 
15257
15228
fi
15258
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15229
rm -f conftest.err conftest.$ac_ext
15259
15230
  if test -z "$tmp_exp"; then
15260
15231
    curl_cv_have_def___GNUC__=no
15261
15232
 
15267
15238
 
15268
15239
 
15269
15240
      if test -z "$SED"; then
15270
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15241
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15271
15242
  fi
15272
15243
  if test -z "$GREP"; then
15273
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15244
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15274
15245
  fi
15275
15246
 
15276
15247
  tmp_exp=""
15295
15266
    fi
15296
15267
 
15297
15268
fi
15298
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15269
rm -f conftest.err conftest.$ac_ext
15299
15270
  if test -z "$tmp_exp"; then
15300
15271
    curl_cv_have_def___sgi=no
15301
15272
 
15327
15298
$as_echo_n "checking if compiler is SunPro C... " >&6; }
15328
15299
 
15329
15300
      if test -z "$SED"; then
15330
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15301
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15331
15302
  fi
15332
15303
  if test -z "$GREP"; then
15333
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15304
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15334
15305
  fi
15335
15306
 
15336
15307
  tmp_exp=""
15355
15326
    fi
15356
15327
 
15357
15328
fi
15358
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15329
rm -f conftest.err conftest.$ac_ext
15359
15330
  if test -z "$tmp_exp"; then
15360
15331
    curl_cv_have_def___SUNPRO_C=no
15361
15332
 
15385
15356
$as_echo_n "checking if compiler is Tiny C... " >&6; }
15386
15357
 
15387
15358
      if test -z "$SED"; then
15388
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15359
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15389
15360
  fi
15390
15361
  if test -z "$GREP"; then
15391
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15362
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15392
15363
  fi
15393
15364
 
15394
15365
  tmp_exp=""
15413
15384
    fi
15414
15385
 
15415
15386
fi
15416
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15387
rm -f conftest.err conftest.$ac_ext
15417
15388
  if test -z "$tmp_exp"; then
15418
15389
    curl_cv_have_def___TINYC__=no
15419
15390
 
15443
15414
$as_echo_n "checking if compiler is Watcom C... " >&6; }
15444
15415
 
15445
15416
      if test -z "$SED"; then
15446
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15417
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15447
15418
  fi
15448
15419
  if test -z "$GREP"; then
15449
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15420
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15450
15421
  fi
15451
15422
 
15452
15423
  tmp_exp=""
15471
15442
    fi
15472
15443
 
15473
15444
fi
15474
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15445
rm -f conftest.err conftest.$ac_ext
15475
15446
  if test -z "$tmp_exp"; then
15476
15447
    curl_cv_have_def___WATCOMC__=no
15477
15448
 
15486
15457
$as_echo "yes" >&6; }
15487
15458
 
15488
15459
      if test -z "$SED"; then
15489
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
15460
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
15490
15461
  fi
15491
15462
  if test -z "$GREP"; then
15492
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
15463
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
15493
15464
  fi
15494
15465
 
15495
15466
  tmp_exp=""
15514
15485
    fi
15515
15486
 
15516
15487
fi
15517
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
15488
rm -f conftest.err conftest.$ac_ext
15518
15489
  if test -z "$tmp_exp"; then
15519
15490
    curl_cv_have_def___UNIX__=no
15520
15491
 
15585
15556
    if test "$compiler_id" = "GNU_C" ||
15586
15557
      test "$compiler_id" = "CLANG"; then
15587
15558
 
15588
 
    tmp_has_include="no"
15589
 
  tmp_chg_FLAGS="$CFLAGS"
15590
 
  for word1 in $tmp_chg_FLAGS; do
15591
 
    case "$word1" in
15592
 
      -I*)
15593
 
        tmp_has_include="yes"
15594
 
        ;;
15595
 
    esac
15596
 
  done
15597
 
  if test "$tmp_has_include" = "yes"; then
15598
 
    tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
15599
 
    tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
15600
 
    CFLAGS="$tmp_chg_FLAGS"
15601
 
    squeeze CFLAGS
15602
 
  fi
15603
 
  tmp_has_include="no"
15604
 
  tmp_chg_FLAGS="$CPPFLAGS"
15605
 
  for word1 in $tmp_chg_FLAGS; do
15606
 
    case "$word1" in
15607
 
      -I*)
15608
 
        tmp_has_include="yes"
15609
 
        ;;
15610
 
    esac
15611
 
  done
15612
 
  if test "$tmp_has_include" = "yes"; then
15613
 
    tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
15614
 
    tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
15615
 
    CPPFLAGS="$tmp_chg_FLAGS"
15616
 
    squeeze CPPFLAGS
 
15559
      if test "$compiler_id" = "GNU_C" ||
 
15560
    test "$compiler_id" = "CLANG"; then
 
15561
    tmp_has_include="no"
 
15562
    tmp_chg_FLAGS="$CFLAGS"
 
15563
    for word1 in $tmp_chg_FLAGS; do
 
15564
      case "$word1" in
 
15565
        -I*)
 
15566
          tmp_has_include="yes"
 
15567
          ;;
 
15568
      esac
 
15569
    done
 
15570
    if test "$tmp_has_include" = "yes"; then
 
15571
      tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
 
15572
      tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
 
15573
      CFLAGS="$tmp_chg_FLAGS"
 
15574
      squeeze CFLAGS
 
15575
    fi
 
15576
    tmp_has_include="no"
 
15577
    tmp_chg_FLAGS="$CPPFLAGS"
 
15578
    for word1 in $tmp_chg_FLAGS; do
 
15579
      case "$word1" in
 
15580
        -I*)
 
15581
          tmp_has_include="yes"
 
15582
          ;;
 
15583
      esac
 
15584
    done
 
15585
    if test "$tmp_has_include" = "yes"; then
 
15586
      tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
 
15587
      tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
 
15588
      CPPFLAGS="$tmp_chg_FLAGS"
 
15589
      squeeze CPPFLAGS
 
15590
    fi
15617
15591
  fi
15618
15592
 
15619
15593
    fi
15783
15757
    if test "$cross_compiling" = yes; then :
15784
15758
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15785
15759
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15786
 
as_fn_error $? "cannot run test program while cross compiling
15787
 
See \`config.log' for more details" "$LINENO" 5; }
 
15760
as_fn_error "cannot run test program while cross compiling
 
15761
See \`config.log' for more details." "$LINENO" 5; }
15788
15762
else
15789
15763
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790
15764
/* end confdefs.h.  */
15975
15949
    if test "$cross_compiling" = yes; then :
15976
15950
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15977
15951
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15978
 
as_fn_error $? "cannot run test program while cross compiling
15979
 
See \`config.log' for more details" "$LINENO" 5; }
 
15952
as_fn_error "cannot run test program while cross compiling
 
15953
See \`config.log' for more details." "$LINENO" 5; }
15980
15954
else
15981
15955
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982
15956
/* end confdefs.h.  */
16220
16194
    if test "$cross_compiling" = yes; then :
16221
16195
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16222
16196
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16223
 
as_fn_error $? "cannot run test program while cross compiling
16224
 
See \`config.log' for more details" "$LINENO" 5; }
 
16197
as_fn_error "cannot run test program while cross compiling
 
16198
See \`config.log' for more details." "$LINENO" 5; }
16225
16199
else
16226
16200
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227
16201
/* end confdefs.h.  */
16580
16554
    if test "$cross_compiling" = yes; then :
16581
16555
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16582
16556
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16583
 
as_fn_error $? "cannot run test program while cross compiling
16584
 
See \`config.log' for more details" "$LINENO" 5; }
 
16557
as_fn_error "cannot run test program while cross compiling
 
16558
See \`config.log' for more details." "$LINENO" 5; }
16585
16559
else
16586
16560
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16587
16561
/* end confdefs.h.  */
16674
16648
 
16675
16649
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16676
16650
$as_echo "no" >&6; }
16677
 
    as_fn_error $? "compiler does not halt on compilation errors." "$LINENO" 5
 
16651
    as_fn_error "compiler does not halt on compilation errors." "$LINENO" 5
16678
16652
 
16679
16653
else
16680
16654
 
16707
16681
 
16708
16682
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16709
16683
$as_echo "no" >&6; }
16710
 
    as_fn_error $? "compiler does not halt on negative sized arrays." "$LINENO" 5
 
16684
    as_fn_error "compiler does not halt on negative sized arrays." "$LINENO" 5
16711
16685
 
16712
16686
else
16713
16687
 
16813
16787
  supports_unittests=no
16814
16788
fi
16815
16789
 
 
16790
# IRIX 6.5.24 gcc 3.3 autobuilds fail unittests library compilation due to
 
16791
# a problem related with OpenSSL headers and library versions not matching.
 
16792
# Disable unit tests while time to further investigate this is found.
 
16793
case $host in
 
16794
  mips-sgi-irix6.5)
 
16795
    if test "$compiler_id" = "GNU_C"; then
 
16796
      supports_unittests=no
 
16797
    fi
 
16798
    ;;
 
16799
esac
 
16800
 
 
16801
# All AIX autobuilds fails unit tests linking against unittests library
 
16802
# due to unittests library being built with no symbols or members. Libtool ?
 
16803
# Disable unit tests while time to further investigate this is found.
 
16804
case $host_os in
 
16805
  aix*)
 
16806
    supports_unittests=no
 
16807
    ;;
 
16808
esac
 
16809
 
16816
16810
if test "x$want_debug" = "xyes" &&
16817
16811
   test "x$supports_unittests" = "xyes"; then
16818
16812
  want_unittests=yes
16835
16829
 
16836
16830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
16837
16831
$as_echo_n "checking for windows.h... " >&6; }
16838
 
if ${ac_cv_header_windows_h+:} false; then :
 
16832
if test "${ac_cv_header_windows_h+set}" = set; then :
16839
16833
  $as_echo_n "(cached) " >&6
16840
16834
else
16841
16835
 
16895
16889
 
16896
16890
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5
16897
16891
$as_echo_n "checking whether build target is a native Windows one... " >&6; }
16898
 
if ${ac_cv_native_windows+:} false; then :
 
16892
if test "${ac_cv_native_windows+set}" = set; then :
16899
16893
  $as_echo_n "(cached) " >&6
16900
16894
else
16901
16895
 
16952
16946
 
16953
16947
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
16954
16948
$as_echo_n "checking for winsock.h... " >&6; }
16955
 
if ${ac_cv_header_winsock_h+:} false; then :
 
16949
if test "${ac_cv_header_winsock_h+set}" = set; then :
16956
16950
  $as_echo_n "(cached) " >&6
16957
16951
else
16958
16952
 
17008
17002
 
17009
17003
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
17010
17004
$as_echo_n "checking for winsock2.h... " >&6; }
17011
 
if ${ac_cv_header_winsock2_h+:} false; then :
 
17005
if test "${ac_cv_header_winsock2_h+set}" = set; then :
17012
17006
  $as_echo_n "(cached) " >&6
17013
17007
else
17014
17008
 
17064
17058
 
17065
17059
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
17066
17060
$as_echo_n "checking for ws2tcpip.h... " >&6; }
17067
 
if ${ac_cv_header_ws2tcpip_h+:} false; then :
 
17061
if test "${ac_cv_header_ws2tcpip_h+set}" = set; then :
17068
17062
  $as_echo_n "(cached) " >&6
17069
17063
else
17070
17064
 
17121
17115
 
17122
17116
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5
17123
17117
$as_echo_n "checking for winldap.h... " >&6; }
17124
 
if ${ac_cv_header_winldap_h+:} false; then :
 
17118
if test "${ac_cv_header_winldap_h+set}" = set; then :
17125
17119
  $as_echo_n "(cached) " >&6
17126
17120
else
17127
17121
 
17180
17174
 
17181
17175
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winber.h" >&5
17182
17176
$as_echo_n "checking for winber.h... " >&6; }
17183
 
if ${ac_cv_header_winber_h+:} false; then :
 
17177
if test "${ac_cv_header_winber_h+set}" = set; then :
17184
17178
  $as_echo_n "(cached) " >&6
17185
17179
else
17186
17180
 
17511
17505
 
17512
17506
       ;;
17513
17507
  *)   if test x$CURL_DISABLE_HTTP = x1 ; then
17514
 
          as_fn_error $? "HTTP support needs to be enabled in order to enable RTSP support!" "$LINENO" 5
 
17508
          as_fn_error "HTTP support needs to be enabled in order to enable RTSP support!" "$LINENO" 5
17515
17509
       else
17516
17510
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17517
17511
$as_echo "yes" >&6; }
17790
17784
 
17791
17785
 
17792
17786
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
17793
 
if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
17787
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
17794
17788
  HAVE_GETHOSTBYNAME="1"
17795
17789
 
17796
17790
else
17797
17791
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
17798
17792
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
17799
 
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 
17793
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
17800
17794
  $as_echo_n "(cached) " >&6
17801
17795
else
17802
17796
  ac_check_lib_save_LIBS=$LIBS
17827
17821
fi
17828
17822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
17829
17823
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
17830
 
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 
17824
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
17831
17825
  HAVE_GETHOSTBYNAME="1"
17832
17826
                             LIBS="$LIBS -lnsl"
17833
17827
 
17841
17835
then
17842
17836
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
17843
17837
$as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
17844
 
if ${ac_cv_lib_socket_gethostbyname+:} false; then :
 
17838
if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then :
17845
17839
  $as_echo_n "(cached) " >&6
17846
17840
else
17847
17841
  ac_check_lib_save_LIBS=$LIBS
17872
17866
fi
17873
17867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
17874
17868
$as_echo "$ac_cv_lib_socket_gethostbyname" >&6; }
17875
 
if test "x$ac_cv_lib_socket_gethostbyname" = xyes; then :
 
17869
if test "x$ac_cv_lib_socket_gethostbyname" = x""yes; then :
17876
17870
  HAVE_GETHOSTBYNAME="1"
17877
17871
               LIBS="$LIBS -lsocket"
17878
17872
 
18065
18059
then
18066
18060
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
18067
18061
$as_echo_n "checking for gethostbyname in -lnetwork... " >&6; }
18068
 
if ${ac_cv_lib_network_gethostbyname+:} false; then :
 
18062
if test "${ac_cv_lib_network_gethostbyname+set}" = set; then :
18069
18063
  $as_echo_n "(cached) " >&6
18070
18064
else
18071
18065
  ac_check_lib_save_LIBS=$LIBS
18096
18090
fi
18097
18091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
18098
18092
$as_echo "$ac_cv_lib_network_gethostbyname" >&6; }
18099
 
if test "x$ac_cv_lib_network_gethostbyname" = xyes; then :
 
18093
if test "x$ac_cv_lib_network_gethostbyname" = x""yes; then :
18100
18094
  HAVE_GETHOSTBYNAME="1"
18101
18095
               LIBS="$LIBS -lnetwork"
18102
18096
 
18108
18102
then
18109
18103
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnet" >&5
18110
18104
$as_echo_n "checking for gethostbyname in -lnet... " >&6; }
18111
 
if ${ac_cv_lib_net_gethostbyname+:} false; then :
 
18105
if test "${ac_cv_lib_net_gethostbyname+set}" = set; then :
18112
18106
  $as_echo_n "(cached) " >&6
18113
18107
else
18114
18108
  ac_check_lib_save_LIBS=$LIBS
18139
18133
fi
18140
18134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_gethostbyname" >&5
18141
18135
$as_echo "$ac_cv_lib_net_gethostbyname" >&6; }
18142
 
if test "x$ac_cv_lib_net_gethostbyname" = xyes; then :
 
18136
if test "x$ac_cv_lib_net_gethostbyname" = x""yes; then :
18143
18137
  HAVE_GETHOSTBYNAME="1"
18144
18138
               LIBS="$LIBS -lnet"
18145
18139
 
18149
18143
 
18150
18144
 
18151
18145
if test "$HAVE_GETHOSTBYNAME" != "1"; then
18152
 
  as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
 
18146
  as_fn_error "couldn't find libraries for gethostbyname()" "$LINENO" 5
18153
18147
fi
18154
18148
 
18155
18149
ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
18156
 
if test "x$ac_cv_func_strcasecmp" = xyes; then :
 
18150
if test "x$ac_cv_func_strcasecmp" = x""yes; then :
18157
18151
 
18158
18152
else
18159
18153
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolve" >&5
18160
18154
$as_echo_n "checking for strcasecmp in -lresolve... " >&6; }
18161
 
if ${ac_cv_lib_resolve_strcasecmp+:} false; then :
 
18155
if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then :
18162
18156
  $as_echo_n "(cached) " >&6
18163
18157
else
18164
18158
  ac_check_lib_save_LIBS=$LIBS
18189
18183
fi
18190
18184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolve_strcasecmp" >&5
18191
18185
$as_echo "$ac_cv_lib_resolve_strcasecmp" >&6; }
18192
 
if test "x$ac_cv_lib_resolve_strcasecmp" = xyes; then :
 
18186
if test "x$ac_cv_lib_resolve_strcasecmp" = x""yes; then :
18193
18187
  cat >>confdefs.h <<_ACEOF
18194
18188
#define HAVE_LIBRESOLVE 1
18195
18189
_ACEOF
18204
18198
if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
18205
18199
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolve" >&5
18206
18200
$as_echo_n "checking for strcasecmp in -lresolve... " >&6; }
18207
 
if ${ac_cv_lib_resolve_strcasecmp+:} false; then :
 
18201
if test "${ac_cv_lib_resolve_strcasecmp+set}" = set; then :
18208
18202
  $as_echo_n "(cached) " >&6
18209
18203
else
18210
18204
  ac_check_lib_save_LIBS=$LIBS
18235
18229
fi
18236
18230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolve_strcasecmp" >&5
18237
18231
$as_echo "$ac_cv_lib_resolve_strcasecmp" >&6; }
18238
 
if test "x$ac_cv_lib_resolve_strcasecmp" = xyes; then :
 
18232
if test "x$ac_cv_lib_resolve_strcasecmp" = x""yes; then :
18239
18233
  LIBS="-lresolve $LIBS"
18240
18234
fi
18241
18235
 
18262
18256
 
18263
18257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
18264
18258
$as_echo_n "checking for windows.h... " >&6; }
18265
 
if ${ac_cv_header_windows_h+:} false; then :
 
18259
if test "${ac_cv_header_windows_h+set}" = set; then :
18266
18260
  $as_echo_n "(cached) " >&6
18267
18261
else
18268
18262
 
18322
18316
 
18323
18317
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
18324
18318
$as_echo_n "checking for winsock.h... " >&6; }
18325
 
if ${ac_cv_header_winsock_h+:} false; then :
 
18319
if test "${ac_cv_header_winsock_h+set}" = set; then :
18326
18320
  $as_echo_n "(cached) " >&6
18327
18321
else
18328
18322
 
18378
18372
 
18379
18373
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
18380
18374
$as_echo_n "checking for winsock2.h... " >&6; }
18381
 
if ${ac_cv_header_winsock2_h+:} false; then :
 
18375
if test "${ac_cv_header_winsock2_h+set}" = set; then :
18382
18376
  $as_echo_n "(cached) " >&6
18383
18377
else
18384
18378
 
18475
18469
    X-unknown)
18476
18470
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
18477
18471
$as_echo "cannot find connect" >&6; }
18478
 
      as_fn_error $? "cannot find connect function in libraries." "$LINENO" 5
 
18472
      as_fn_error "cannot find connect function in libraries." "$LINENO" 5
18479
18473
      ;;
18480
18474
    X-)
18481
18475
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18493
18487
 
18494
18488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
18495
18489
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
18496
 
if ${ac_cv_header_time+:} false; then :
 
18490
if test "${ac_cv_header_time+set}" = set; then :
18497
18491
  $as_echo_n "(cached) " >&6
18498
18492
else
18499
18493
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530
18524
do :
18531
18525
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18532
18526
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18533
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
18527
eval as_val=\$$as_ac_Header
 
18528
   if test "x$as_val" = x""yes; then :
18534
18529
  cat >>confdefs.h <<_ACEOF
18535
18530
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18536
18531
_ACEOF
18676
18671
      if test "$cross_compiling" = yes; then :
18677
18672
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18678
18673
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18679
 
as_fn_error $? "cannot run test program while cross compiling
18680
 
See \`config.log' for more details" "$LINENO" 5; }
 
18674
as_fn_error "cannot run test program while cross compiling
 
18675
See \`config.log' for more details." "$LINENO" 5; }
18681
18676
else
18682
18677
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683
18678
/* end confdefs.h.  */
18794
18789
 
18795
18790
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
18796
18791
$as_echo_n "checking for lber.h... " >&6; }
18797
 
if ${ac_cv_header_lber_h+:} false; then :
 
18792
if test "${ac_cv_header_lber_h+set}" = set; then :
18798
18793
  $as_echo_n "(cached) " >&6
18799
18794
else
18800
18795
 
18911
18906
 
18912
18907
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
18913
18908
$as_echo_n "checking for ldap.h... " >&6; }
18914
 
if ${ac_cv_header_ldap_h+:} false; then :
 
18909
if test "${ac_cv_header_ldap_h+set}" = set; then :
18915
18910
  $as_echo_n "(cached) " >&6
18916
18911
else
18917
18912
 
18976
18971
 
18977
18972
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldapssl.h" >&5
18978
18973
$as_echo_n "checking for ldapssl.h... " >&6; }
18979
 
if ${ac_cv_header_ldapssl_h+:} false; then :
 
18974
if test "${ac_cv_header_ldapssl_h+set}" = set; then :
18980
18975
  $as_echo_n "(cached) " >&6
18981
18976
else
18982
18977
 
19047
19042
 
19048
19043
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
19049
19044
$as_echo_n "checking for ldap_ssl.h... " >&6; }
19050
 
if ${ac_cv_header_ldap_ssl_h+:} false; then :
 
19045
if test "${ac_cv_header_ldap_ssl_h+set}" = set; then :
19051
19046
  $as_echo_n "(cached) " >&6
19052
19047
else
19053
19048
 
19123
19118
    as_ac_Lib=`$as_echo "ac_cv_lib_"$LDAPLIBNAME"''_ldap_init" | $as_tr_sh`
19124
19119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
19125
19120
$as_echo_n "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
19126
 
if eval \${$as_ac_Lib+:} false; then :
 
19121
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
19127
19122
  $as_echo_n "(cached) " >&6
19128
19123
else
19129
19124
  ac_check_lib_save_LIBS=$LIBS
19155
19150
eval ac_res=\$$as_ac_Lib
19156
19151
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19157
19152
$as_echo "$ac_res" >&6; }
19158
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
 
19153
eval as_val=\$$as_ac_Lib
 
19154
   if test "x$as_val" = x""yes; then :
19159
19155
  cat >>confdefs.h <<_ACEOF
19160
19156
#define `$as_echo "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
19161
19157
_ACEOF
19304
19300
      as_ac_Lib=`$as_echo "ac_cv_lib_"$LBERLIBNAME"''_ber_free" | $as_tr_sh`
19305
19301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
19306
19302
$as_echo_n "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
19307
 
if eval \${$as_ac_Lib+:} false; then :
 
19303
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
19308
19304
  $as_echo_n "(cached) " >&6
19309
19305
else
19310
19306
  ac_check_lib_save_LIBS=$LIBS
19336
19332
eval ac_res=\$$as_ac_Lib
19337
19333
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19338
19334
$as_echo "$ac_res" >&6; }
19339
 
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
 
19335
eval as_val=\$$as_ac_Lib
 
19336
   if test "x$as_val" = x""yes; then :
19340
19337
  cat >>confdefs.h <<_ACEOF
19341
19338
#define `$as_echo "HAVE_LIB"$LBERLIBNAME"" | $as_tr_cpp` 1
19342
19339
_ACEOF
19368
19365
do :
19369
19366
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19370
19367
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19371
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
19368
eval as_val=\$$as_ac_var
 
19369
   if test "x$as_val" = x""yes; then :
19372
19370
  cat >>confdefs.h <<_ACEOF
19373
19371
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19374
19372
_ACEOF
19608
19606
 
19609
19607
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_pcbc_encrypt in -ldes" >&5
19610
19608
$as_echo_n "checking for des_pcbc_encrypt in -ldes... " >&6; }
19611
 
if ${ac_cv_lib_des_des_pcbc_encrypt+:} false; then :
 
19609
if test "${ac_cv_lib_des_des_pcbc_encrypt+set}" = set; then :
19612
19610
  $as_echo_n "(cached) " >&6
19613
19611
else
19614
19612
  ac_check_lib_save_LIBS=$LIBS
19639
19637
fi
19640
19638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_pcbc_encrypt" >&5
19641
19639
$as_echo "$ac_cv_lib_des_des_pcbc_encrypt" >&6; }
19642
 
if test "x$ac_cv_lib_des_des_pcbc_encrypt" = xyes; then :
 
19640
if test "x$ac_cv_lib_des_des_pcbc_encrypt" = x""yes; then :
19643
19641
 
19644
19642
    for ac_header in des.h
19645
19643
do :
19646
19644
  ac_fn_c_check_header_mongrel "$LINENO" "des.h" "ac_cv_header_des_h" "$ac_includes_default"
19647
 
if test "x$ac_cv_header_des_h" = xyes; then :
 
19645
if test "x$ac_cv_header_des_h" = x""yes; then :
19648
19646
  cat >>confdefs.h <<_ACEOF
19649
19647
#define HAVE_DES_H 1
19650
19648
_ACEOF
19655
19653
 
19656
19654
 
19657
19655
        ac_fn_c_check_func "$LINENO" "res_search" "ac_cv_func_res_search"
19658
 
if test "x$ac_cv_func_res_search" = xyes; then :
 
19656
if test "x$ac_cv_func_res_search" = x""yes; then :
19659
19657
 
19660
19658
else
19661
19659
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
19662
19660
$as_echo_n "checking for res_search in -lresolv... " >&6; }
19663
 
if ${ac_cv_lib_resolv_res_search+:} false; then :
 
19661
if test "${ac_cv_lib_resolv_res_search+set}" = set; then :
19664
19662
  $as_echo_n "(cached) " >&6
19665
19663
else
19666
19664
  ac_check_lib_save_LIBS=$LIBS
19691
19689
fi
19692
19690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
19693
19691
$as_echo "$ac_cv_lib_resolv_res_search" >&6; }
19694
 
if test "x$ac_cv_lib_resolv_res_search" = xyes; then :
 
19692
if test "x$ac_cv_lib_resolv_res_search" = x""yes; then :
19695
19693
  cat >>confdefs.h <<_ACEOF
19696
19694
#define HAVE_LIBRESOLV 1
19697
19695
_ACEOF
19705
19703
 
19706
19704
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb_net_read in -lkrb" >&5
19707
19705
$as_echo_n "checking for krb_net_read in -lkrb... " >&6; }
19708
 
if ${ac_cv_lib_krb_krb_net_read+:} false; then :
 
19706
if test "${ac_cv_lib_krb_krb_net_read+set}" = set; then :
19709
19707
  $as_echo_n "(cached) " >&6
19710
19708
else
19711
19709
  ac_check_lib_save_LIBS=$LIBS
19736
19734
fi
19737
19735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb_krb_net_read" >&5
19738
19736
$as_echo "$ac_cv_lib_krb_krb_net_read" >&6; }
19739
 
if test "x$ac_cv_lib_krb_krb_net_read" = xyes; then :
 
19737
if test "x$ac_cv_lib_krb_krb_net_read" = x""yes; then :
19740
19738
 
19741
19739
            for ac_header in krb.h
19742
19740
do :
19743
19741
  ac_fn_c_check_header_mongrel "$LINENO" "krb.h" "ac_cv_header_krb_h" "$ac_includes_default"
19744
 
if test "x$ac_cv_header_krb_h" = xyes; then :
 
19742
if test "x$ac_cv_header_krb_h" = x""yes; then :
19745
19743
  cat >>confdefs.h <<_ACEOF
19746
19744
#define HAVE_KRB_H 1
19747
19745
_ACEOF
19756
19754
                  for ac_func in krb_get_our_ip_for_realm
19757
19755
do :
19758
19756
  ac_fn_c_check_func "$LINENO" "krb_get_our_ip_for_realm" "ac_cv_func_krb_get_our_ip_for_realm"
19759
 
if test "x$ac_cv_func_krb_get_our_ip_for_realm" = xyes; then :
 
19757
if test "x$ac_cv_func_krb_get_our_ip_for_realm" = x""yes; then :
19760
19758
  cat >>confdefs.h <<_ACEOF
19761
19759
#define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
19762
19760
_ACEOF
19777
19775
            for ac_func in strlcpy
19778
19776
do :
19779
19777
  ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
19780
 
if test "x$ac_cv_func_strlcpy" = xyes; then :
 
19778
if test "x$ac_cv_func_strlcpy" = x""yes; then :
19781
19779
  cat >>confdefs.h <<_ACEOF
19782
19780
#define HAVE_STRLCPY 1
19783
19781
_ACEOF
19815
19813
if test x"$want_spnego" = xyes; then
19816
19814
 
19817
19815
  if test X"$SPNEGO_ROOT" = Xyes; then
19818
 
     as_fn_error $? "FBOpenSSL libs and/or directories were not found where specified!" "$LINENO" 5
 
19816
     as_fn_error "FBOpenSSL libs and/or directories were not found where specified!" "$LINENO" 5
19819
19817
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19820
19818
$as_echo "no" >&6; }
19821
19819
  else
19891
19889
  CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
19892
19890
 
19893
19891
  ac_fn_c_check_header_mongrel "$LINENO" "gss.h" "ac_cv_header_gss_h" "$ac_includes_default"
19894
 
if test "x$ac_cv_header_gss_h" = xyes; then :
 
19892
if test "x$ac_cv_header_gss_h" = x""yes; then :
19895
19893
 
19896
19894
 
19897
19895
$as_echo "#define HAVE_GSSGNU 1" >>confdefs.h
19903
19901
            for ac_header in gssapi/gssapi.h
19904
19902
do :
19905
19903
  ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
19906
 
if test "x$ac_cv_header_gssapi_gssapi_h" = xyes; then :
 
19904
if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
19907
19905
  cat >>confdefs.h <<_ACEOF
19908
19906
#define HAVE_GSSAPI_GSSAPI_H 1
19909
19907
_ACEOF
19924
19922
#endif
19925
19923
 
19926
19924
"
19927
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
19925
eval as_val=\$$as_ac_Header
 
19926
   if test "x$as_val" = x""yes; then :
19928
19927
  cat >>confdefs.h <<_ACEOF
19929
19928
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19930
19929
_ACEOF
19937
19936
 
19938
19937
      if test "x$not_mit" = "x1"; then
19939
19938
                ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
19940
 
if test "x$ac_cv_header_gssapi_h" = xyes; then :
 
19939
if test "x$ac_cv_header_gssapi_h" = x""yes; then :
19941
19940
 
19942
19941
 
19943
19942
$as_echo "#define HAVE_GSSHEIMDAL 1" >>confdefs.h
20078
20077
                OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
20079
20078
    { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
20080
20079
$as_echo "$as_me: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&6;}
20081
 
    if test -e "$OPENSSL_PCDIR/openssl.pc"; then
 
20080
    if test -f "$OPENSSL_PCDIR/openssl.pc"; then
20082
20081
      PKGTEST="yes"
20083
20082
    fi
20084
20083
 
20102
20101
set dummy ${host}-pkg-config; ac_word=$2
20103
20102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20104
20103
$as_echo_n "checking for $ac_word... " >&6; }
20105
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
20104
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
20106
20105
  $as_echo_n "(cached) " >&6
20107
20106
else
20108
20107
  case $PKGCONFIG in
20147
20146
set dummy pkg-config; ac_word=$2
20148
20147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20149
20148
$as_echo_n "checking for $ac_word... " >&6; }
20150
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
20149
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
20151
20150
  $as_echo_n "(cached) " >&6
20152
20151
else
20153
20152
  case $PKGCONFIG in
20279
20278
 
20280
20279
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_lock in -lcrypto" >&5
20281
20280
$as_echo_n "checking for CRYPTO_lock in -lcrypto... " >&6; }
20282
 
if ${ac_cv_lib_crypto_CRYPTO_lock+:} false; then :
 
20281
if test "${ac_cv_lib_crypto_CRYPTO_lock+set}" = set; then :
20283
20282
  $as_echo_n "(cached) " >&6
20284
20283
else
20285
20284
  ac_check_lib_save_LIBS=$LIBS
20310
20309
fi
20311
20310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_lock" >&5
20312
20311
$as_echo "$ac_cv_lib_crypto_CRYPTO_lock" >&6; }
20313
 
if test "x$ac_cv_lib_crypto_CRYPTO_lock" = xyes; then :
 
20312
if test "x$ac_cv_lib_crypto_CRYPTO_lock" = x""yes; then :
20314
20313
 
20315
20314
     HAVECRYPTO="yes"
20316
20315
     LIBS="-lcrypto $LIBS"
20321
20320
     CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
20322
20321
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_add_lock in -lcrypto" >&5
20323
20322
$as_echo_n "checking for CRYPTO_add_lock in -lcrypto... " >&6; }
20324
 
if ${ac_cv_lib_crypto_CRYPTO_add_lock+:} false; then :
 
20323
if test "${ac_cv_lib_crypto_CRYPTO_add_lock+set}" = set; then :
20325
20324
  $as_echo_n "(cached) " >&6
20326
20325
else
20327
20326
  ac_check_lib_save_LIBS=$LIBS
20352
20351
fi
20353
20352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_add_lock" >&5
20354
20353
$as_echo "$ac_cv_lib_crypto_CRYPTO_add_lock" >&6; }
20355
 
if test "x$ac_cv_lib_crypto_CRYPTO_add_lock" = xyes; then :
 
20354
if test "x$ac_cv_lib_crypto_CRYPTO_add_lock" = x""yes; then :
20356
20355
 
20357
20356
       HAVECRYPTO="yes"
20358
20357
       LIBS="-lcrypto $LIBS"
20373
20372
 
20374
20373
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
20375
20374
$as_echo_n "checking for SSL_connect in -lssl... " >&6; }
20376
 
if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
 
20375
if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then :
20377
20376
  $as_echo_n "(cached) " >&6
20378
20377
else
20379
20378
  ac_check_lib_save_LIBS=$LIBS
20404
20403
fi
20405
20404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
20406
20405
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
20407
 
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
 
20406
if test "x$ac_cv_lib_ssl_SSL_connect" = x""yes; then :
20408
20407
  cat >>confdefs.h <<_ACEOF
20409
20408
#define HAVE_LIBSSL 1
20410
20409
_ACEOF
20421
20420
        LIBS="$LIBS -lRSAglue -lrsaref"
20422
20421
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
20423
20422
$as_echo_n "checking for SSL_connect in -lssl... " >&6; }
20424
 
if ${ac_cv_lib_ssl_SSL_connect+:} false; then :
 
20423
if test "${ac_cv_lib_ssl_SSL_connect+set}" = set; then :
20425
20424
  $as_echo_n "(cached) " >&6
20426
20425
else
20427
20426
  ac_check_lib_save_LIBS=$LIBS
20452
20451
fi
20453
20452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
20454
20453
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; }
20455
 
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then :
 
20454
if test "x$ac_cv_lib_ssl_SSL_connect" = x""yes; then :
20456
20455
  cat >>confdefs.h <<_ACEOF
20457
20456
#define HAVE_LIBSSL 1
20458
20457
_ACEOF
20477
20476
do :
20478
20477
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20479
20478
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20480
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
20479
eval as_val=\$$as_ac_Header
 
20480
   if test "x$as_val" = x""yes; then :
20481
20481
  cat >>confdefs.h <<_ACEOF
20482
20482
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20483
20483
_ACEOF
20496
20496
do :
20497
20497
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20498
20498
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20499
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
20499
eval as_val=\$$as_ac_Header
 
20500
   if test "x$as_val" = x""yes; then :
20500
20501
  cat >>confdefs.h <<_ACEOF
20501
20502
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20502
20503
_ACEOF
20523
20524
              for ac_header in openssl/pkcs12.h
20524
20525
do :
20525
20526
  ac_fn_c_check_header_mongrel "$LINENO" "openssl/pkcs12.h" "ac_cv_header_openssl_pkcs12_h" "$ac_includes_default"
20526
 
if test "x$ac_cv_header_openssl_pkcs12_h" = xyes; then :
 
20527
if test "x$ac_cv_header_openssl_pkcs12_h" = x""yes; then :
20527
20528
  cat >>confdefs.h <<_ACEOF
20528
20529
#define HAVE_OPENSSL_PKCS12_H 1
20529
20530
_ACEOF
20540
20541
 
20541
20542
    if test X"$OPT_SSL" != Xoff &&
20542
20543
       test "$OPENSSL_ENABLED" != "1"; then
20543
 
      as_fn_error $? "OpenSSL libs and/or directories were not found where specified!" "$LINENO" 5
 
20544
      as_fn_error "OpenSSL libs and/or directories were not found where specified!" "$LINENO" 5
20544
20545
    fi
20545
20546
  fi
20546
20547
 
20547
20548
  if test X"$OPENSSL_ENABLED" = X"1"; then
20548
20549
            ac_fn_c_check_func "$LINENO" "ENGINE_init" "ac_cv_func_ENGINE_init"
20549
 
if test "x$ac_cv_func_ENGINE_init" = xyes; then :
 
20550
if test "x$ac_cv_func_ENGINE_init" = x""yes; then :
20550
20551
 
20551
20552
                for ac_header in openssl/engine.h
20552
20553
do :
20553
20554
  ac_fn_c_check_header_mongrel "$LINENO" "openssl/engine.h" "ac_cv_header_openssl_engine_h" "$ac_includes_default"
20554
 
if test "x$ac_cv_header_openssl_engine_h" = xyes; then :
 
20555
if test "x$ac_cv_header_openssl_engine_h" = x""yes; then :
20555
20556
  cat >>confdefs.h <<_ACEOF
20556
20557
#define HAVE_OPENSSL_ENGINE_H 1
20557
20558
_ACEOF
20564
20565
do :
20565
20566
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20566
20567
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20567
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
20568
eval as_val=\$$as_ac_var
 
20569
   if test "x$as_val" = x""yes; then :
20568
20570
  cat >>confdefs.h <<_ACEOF
20569
20571
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20570
20572
_ACEOF
20586
20588
do :
20587
20589
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20588
20590
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20589
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
20591
eval as_val=\$$as_ac_var
 
20592
   if test "x$as_val" = x""yes; then :
20590
20593
  cat >>confdefs.h <<_ACEOF
20591
20594
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20592
20595
_ACEOF
20656
20659
$as_echo_n "checking for OpenSSL headers version... " >&6; }
20657
20660
 
20658
20661
      if test -z "$SED"; then
20659
 
    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
 
20662
    as_fn_error "SED not set. Cannot continue without SED being set." "$LINENO" 5
20660
20663
  fi
20661
20664
  if test -z "$GREP"; then
20662
 
    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
 
20665
    as_fn_error "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
20663
20666
  fi
20664
20667
 
20665
20668
  tmp_exp=""
20690
20693
    fi
20691
20694
 
20692
20695
fi
20693
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
20696
rm -f conftest.err conftest.$ac_ext
20694
20697
  if test -z "$tmp_exp"; then
20695
20698
    curl_cv_have_def_OPENSSL_VERSION_NUMBER=no
20696
20699
 
21252
21255
 
21253
21256
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
21254
21257
$as_echo_n "checking for inflateEnd in -lz... " >&6; }
21255
 
if ${ac_cv_lib_z_inflateEnd+:} false; then :
 
21258
if test "${ac_cv_lib_z_inflateEnd+set}" = set; then :
21256
21259
  $as_echo_n "(cached) " >&6
21257
21260
else
21258
21261
  ac_check_lib_save_LIBS=$LIBS
21283
21286
fi
21284
21287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
21285
21288
$as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
21286
 
if test "x$ac_cv_lib_z_inflateEnd" = xyes; then :
 
21289
if test "x$ac_cv_lib_z_inflateEnd" = x""yes; then :
21287
21290
                     HAVE_LIBZ="1"
21288
21291
else
21289
21292
                     OPT_ZLIB="/usr/local"
21298
21301
  fi
21299
21302
 
21300
21303
  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21301
 
if test "x$ac_cv_header_zlib_h" = xyes; then :
 
21304
if test "x$ac_cv_header_zlib_h" = x""yes; then :
21302
21305
 
21303
21306
        HAVE_ZLIB_H="1"
21304
21307
        if test "$HAVE_LIBZ" != "1"; then
21305
21308
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
21306
21309
$as_echo_n "checking for gzread in -lz... " >&6; }
21307
 
if ${ac_cv_lib_z_gzread+:} false; then :
 
21310
if test "${ac_cv_lib_z_gzread+set}" = set; then :
21308
21311
  $as_echo_n "(cached) " >&6
21309
21312
else
21310
21313
  ac_check_lib_save_LIBS=$LIBS
21335
21338
fi
21336
21339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
21337
21340
$as_echo "$ac_cv_lib_z_gzread" >&6; }
21338
 
if test "x$ac_cv_lib_z_gzread" = xyes; then :
 
21341
if test "x$ac_cv_lib_z_gzread" = x""yes; then :
21339
21342
 
21340
21343
                                      HAVE_LIBZ="1"
21341
21344
 
21419
21422
else
21420
21423
 
21421
21424
          if test x$cross_compiling != xyes; then
21422
 
                        as_ac_File=`$as_echo "ac_cv_file_"/dev/urandom"" | $as_tr_sh`
21423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
 
21425
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
21424
21426
$as_echo_n "checking for \"/dev/urandom\"... " >&6; }
21425
 
if eval \${$as_ac_File+:} false; then :
 
21427
if test "${ac_cv_file___dev_urandom_+set}" = set; then :
21426
21428
  $as_echo_n "(cached) " >&6
21427
21429
else
21428
21430
  test "$cross_compiling" = yes &&
21429
 
  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
 
21431
  as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21430
21432
if test -r ""/dev/urandom""; then
21431
 
  eval "$as_ac_File=yes"
 
21433
  ac_cv_file___dev_urandom_=yes
21432
21434
else
21433
 
  eval "$as_ac_File=no"
21434
 
fi
21435
 
fi
21436
 
eval ac_res=\$$as_ac_File
21437
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21438
 
$as_echo "$ac_res" >&6; }
21439
 
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
 
21435
  ac_cv_file___dev_urandom_=no
 
21436
fi
 
21437
fi
 
21438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file___dev_urandom_" >&5
 
21439
$as_echo "$ac_cv_file___dev_urandom_" >&6; }
 
21440
if test "x$ac_cv_file___dev_urandom_" = x""yes; then :
21440
21441
   RANDOM_FILE="/dev/urandom"
21441
21442
fi
21442
21443
 
21461
21462
if test "$OPENSSL_ENABLED" = "1"; then
21462
21463
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRP_Calc_client_key in -lcrypto" >&5
21463
21464
$as_echo_n "checking for SRP_Calc_client_key in -lcrypto... " >&6; }
21464
 
if ${ac_cv_lib_crypto_SRP_Calc_client_key+:} false; then :
 
21465
if test "${ac_cv_lib_crypto_SRP_Calc_client_key+set}" = set; then :
21465
21466
  $as_echo_n "(cached) " >&6
21466
21467
else
21467
21468
  ac_check_lib_save_LIBS=$LIBS
21492
21493
fi
21493
21494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SRP_Calc_client_key" >&5
21494
21495
$as_echo "$ac_cv_lib_crypto_SRP_Calc_client_key" >&6; }
21495
 
if test "x$ac_cv_lib_crypto_SRP_Calc_client_key" = xyes; then :
 
21496
if test "x$ac_cv_lib_crypto_SRP_Calc_client_key" = x""yes; then :
21496
21497
 
21497
21498
 
21498
21499
$as_echo "#define HAVE_SSLEAY_SRP 1" >>confdefs.h
21529
21530
set dummy ${host}-pkg-config; ac_word=$2
21530
21531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21531
21532
$as_echo_n "checking for $ac_word... " >&6; }
21532
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
21533
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
21533
21534
  $as_echo_n "(cached) " >&6
21534
21535
else
21535
21536
  case $PKGCONFIG in
21574
21575
set dummy pkg-config; ac_word=$2
21575
21576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21576
21577
$as_echo_n "checking for $ac_word... " >&6; }
21577
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
21578
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
21578
21579
  $as_echo_n "(cached) " >&6
21579
21580
else
21580
21581
  case $PKGCONFIG in
21685
21686
 
21686
21687
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_check_version in -lgnutls" >&5
21687
21688
$as_echo_n "checking for gnutls_check_version in -lgnutls... " >&6; }
21688
 
if ${ac_cv_lib_gnutls_gnutls_check_version+:} false; then :
 
21689
if test "${ac_cv_lib_gnutls_gnutls_check_version+set}" = set; then :
21689
21690
  $as_echo_n "(cached) " >&6
21690
21691
else
21691
21692
  ac_check_lib_save_LIBS=$LIBS
21716
21717
fi
21717
21718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5
21718
21719
$as_echo "$ac_cv_lib_gnutls_gnutls_check_version" >&6; }
21719
 
if test "x$ac_cv_lib_gnutls_gnutls_check_version" = xyes; then :
 
21720
if test "x$ac_cv_lib_gnutls_gnutls_check_version" = x""yes; then :
21720
21721
 
21721
21722
 
21722
21723
$as_echo "#define USE_GNUTLS 1" >>confdefs.h
21756
21757
if test "$GNUTLS_ENABLED" = "1"; then
21757
21758
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
21758
21759
$as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
21759
 
if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
 
21760
if test "${ac_cv_lib_gcrypt_gcry_control+set}" = set; then :
21760
21761
  $as_echo_n "(cached) " >&6
21761
21762
else
21762
21763
  ac_check_lib_save_LIBS=$LIBS
21787
21788
fi
21788
21789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
21789
21790
$as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
21790
 
if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
 
21791
if test "x$ac_cv_lib_gcrypt_gcry_control" = x""yes; then :
21791
21792
  cat >>confdefs.h <<_ACEOF
21792
21793
#define HAVE_LIBGCRYPT 1
21793
21794
_ACEOF
21796
21797
 
21797
21798
else
21798
21799
 
21799
 
      as_fn_error $? "need GnuTLS built with gcrypt to function with GnuTLS" "$LINENO" 5
 
21800
      as_fn_error "need GnuTLS built with gcrypt to function with GnuTLS" "$LINENO" 5
21800
21801
 
21801
21802
fi
21802
21803
 
21805
21806
if test "$GNUTLS_ENABLED" = "1"; then
21806
21807
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
21807
21808
$as_echo_n "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
21808
 
if ${ac_cv_lib_gnutls_gnutls_srp_verifier+:} false; then :
 
21809
if test "${ac_cv_lib_gnutls_gnutls_srp_verifier+set}" = set; then :
21809
21810
  $as_echo_n "(cached) " >&6
21810
21811
else
21811
21812
  ac_check_lib_save_LIBS=$LIBS
21836
21837
fi
21837
21838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
21838
21839
$as_echo "$ac_cv_lib_gnutls_gnutls_srp_verifier" >&6; }
21839
 
if test "x$ac_cv_lib_gnutls_gnutls_srp_verifier" = xyes; then :
 
21840
if test "x$ac_cv_lib_gnutls_gnutls_srp_verifier" = x""yes; then :
21840
21841
 
21841
21842
 
21842
21843
$as_echo "#define HAVE_GNUTLS_SRP 1" >>confdefs.h
21872
21873
 
21873
21874
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for havege_init in -lpolarssl" >&5
21874
21875
$as_echo_n "checking for havege_init in -lpolarssl... " >&6; }
21875
 
if ${ac_cv_lib_polarssl_havege_init+:} false; then :
 
21876
if test "${ac_cv_lib_polarssl_havege_init+set}" = set; then :
21876
21877
  $as_echo_n "(cached) " >&6
21877
21878
else
21878
21879
  ac_check_lib_save_LIBS=$LIBS
21903
21904
fi
21904
21905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_havege_init" >&5
21905
21906
$as_echo "$ac_cv_lib_polarssl_havege_init" >&6; }
21906
 
if test "x$ac_cv_lib_polarssl_havege_init" = xyes; then :
 
21907
if test "x$ac_cv_lib_polarssl_havege_init" = x""yes; then :
21907
21908
 
21908
21909
 
21909
21910
$as_echo "#define USE_POLARSSL 1" >>confdefs.h
21930
21931
 
21931
21932
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_init in -lpolarssl" >&5
21932
21933
$as_echo_n "checking for ssl_init in -lpolarssl... " >&6; }
21933
 
if ${ac_cv_lib_polarssl_ssl_init+:} false; then :
 
21934
if test "${ac_cv_lib_polarssl_ssl_init+set}" = set; then :
21934
21935
  $as_echo_n "(cached) " >&6
21935
21936
else
21936
21937
  ac_check_lib_save_LIBS=$LIBS
21961
21962
fi
21962
21963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_ssl_init" >&5
21963
21964
$as_echo "$ac_cv_lib_polarssl_ssl_init" >&6; }
21964
 
if test "x$ac_cv_lib_polarssl_ssl_init" = xyes; then :
 
21965
if test "x$ac_cv_lib_polarssl_ssl_init" = x""yes; then :
21965
21966
 
21966
21967
 
21967
21968
$as_echo "#define USE_POLARSSL 1" >>confdefs.h
22029
22030
 
22030
22031
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for InitCyaSSL in -lcyassl" >&5
22031
22032
$as_echo_n "checking for InitCyaSSL in -lcyassl... " >&6; }
22032
 
if ${ac_cv_lib_cyassl_InitCyaSSL+:} false; then :
 
22033
if test "${ac_cv_lib_cyassl_InitCyaSSL+set}" = set; then :
22033
22034
  $as_echo_n "(cached) " >&6
22034
22035
else
22035
22036
  ac_check_lib_save_LIBS=$LIBS
22060
22061
fi
22061
22062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cyassl_InitCyaSSL" >&5
22062
22063
$as_echo "$ac_cv_lib_cyassl_InitCyaSSL" >&6; }
22063
 
if test "x$ac_cv_lib_cyassl_InitCyaSSL" = xyes; then :
 
22064
if test "x$ac_cv_lib_cyassl_InitCyaSSL" = x""yes; then :
22064
22065
 
22065
22066
 
22066
22067
$as_echo "#define USE_CYASSL 1" >>confdefs.h
22087
22088
 
22088
22089
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for InitCyaSSL in -lcyassl" >&5
22089
22090
$as_echo_n "checking for InitCyaSSL in -lcyassl... " >&6; }
22090
 
if ${ac_cv_lib_cyassl_InitCyaSSL+:} false; then :
 
22091
if test "${ac_cv_lib_cyassl_InitCyaSSL+set}" = set; then :
22091
22092
  $as_echo_n "(cached) " >&6
22092
22093
else
22093
22094
  ac_check_lib_save_LIBS=$LIBS
22118
22119
fi
22119
22120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cyassl_InitCyaSSL" >&5
22120
22121
$as_echo "$ac_cv_lib_cyassl_InitCyaSSL" >&6; }
22121
 
if test "x$ac_cv_lib_cyassl_InitCyaSSL" = xyes; then :
 
22122
if test "x$ac_cv_lib_cyassl_InitCyaSSL" = x""yes; then :
22122
22123
 
22123
22124
 
22124
22125
$as_echo "#define USE_CYASSL 1" >>confdefs.h
22181
22182
set dummy ${host}-pkg-config; ac_word=$2
22182
22183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22183
22184
$as_echo_n "checking for $ac_word... " >&6; }
22184
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22185
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22185
22186
  $as_echo_n "(cached) " >&6
22186
22187
else
22187
22188
  case $PKGCONFIG in
22226
22227
set dummy pkg-config; ac_word=$2
22227
22228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22228
22229
$as_echo_n "checking for $ac_word... " >&6; }
22229
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22230
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22230
22231
  $as_echo_n "(cached) " >&6
22231
22232
else
22232
22233
  case $PKGCONFIG in
22316
22317
 
22317
22318
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PK11_CreateGenericObject in -lnss3" >&5
22318
22319
$as_echo_n "checking for PK11_CreateGenericObject in -lnss3... " >&6; }
22319
 
if ${ac_cv_lib_nss3_PK11_CreateGenericObject+:} false; then :
 
22320
if test "${ac_cv_lib_nss3_PK11_CreateGenericObject+set}" = set; then :
22320
22321
  $as_echo_n "(cached) " >&6
22321
22322
else
22322
22323
  ac_check_lib_save_LIBS=$LIBS
22347
22348
fi
22348
22349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_PK11_CreateGenericObject" >&5
22349
22350
$as_echo "$ac_cv_lib_nss3_PK11_CreateGenericObject" >&6; }
22350
 
if test "x$ac_cv_lib_nss3_PK11_CreateGenericObject" = xyes; then :
 
22351
if test "x$ac_cv_lib_nss3_PK11_CreateGenericObject" = x""yes; then :
22351
22352
 
22352
22353
 
22353
22354
$as_echo "#define HAVE_PK11_CREATEGENERICOBJECT 1" >>confdefs.h
22369
22370
 
22370
22371
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS_Initialize in -lnss3" >&5
22371
22372
$as_echo_n "checking for NSS_Initialize in -lnss3... " >&6; }
22372
 
if ${ac_cv_lib_nss3_NSS_Initialize+:} false; then :
 
22373
if test "${ac_cv_lib_nss3_NSS_Initialize+set}" = set; then :
22373
22374
  $as_echo_n "(cached) " >&6
22374
22375
else
22375
22376
  ac_check_lib_save_LIBS=$LIBS
22400
22401
fi
22401
22402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_NSS_Initialize" >&5
22402
22403
$as_echo "$ac_cv_lib_nss3_NSS_Initialize" >&6; }
22403
 
if test "x$ac_cv_lib_nss3_NSS_Initialize" = xyes; then :
 
22404
if test "x$ac_cv_lib_nss3_NSS_Initialize" = x""yes; then :
22404
22405
 
22405
22406
 
22406
22407
$as_echo "#define USE_NSS 1" >>confdefs.h
22469
22470
 
22470
22471
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_version in -laxtls" >&5
22471
22472
$as_echo_n "checking for ssl_version in -laxtls... " >&6; }
22472
 
if ${ac_cv_lib_axtls_ssl_version+:} false; then :
 
22473
if test "${ac_cv_lib_axtls_ssl_version+set}" = set; then :
22473
22474
  $as_echo_n "(cached) " >&6
22474
22475
else
22475
22476
  ac_check_lib_save_LIBS=$LIBS
22500
22501
fi
22501
22502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_axtls_ssl_version" >&5
22502
22503
$as_echo "$ac_cv_lib_axtls_ssl_version" >&6; }
22503
 
if test "x$ac_cv_lib_axtls_ssl_version" = xyes; then :
 
22504
if test "x$ac_cv_lib_axtls_ssl_version" = x""yes; then :
22504
22505
 
22505
22506
      LIBS="-laxtls $LIBS"
22506
22507
 
22552
22553
  withval=$with_ca_bundle;
22553
22554
    want_ca="$withval"
22554
22555
    if test "x$want_ca" = "xyes"; then
22555
 
      as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
 
22556
      as_fn_error "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
22556
22557
    fi
22557
22558
 
22558
22559
else
22565
22566
  withval=$with_ca_path;
22566
22567
    want_capath="$withval"
22567
22568
    if test "x$want_capath" = "xyes"; then
22568
 
      as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
 
22569
      as_fn_error "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
22569
22570
    fi
22570
22571
 
22571
22572
else
22575
22576
 
22576
22577
  if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
22577
22578
          "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
22578
 
        as_fn_error $? "Can't specify both --with-ca-bundle and --with-ca-path." "$LINENO" 5
 
22579
        as_fn_error "Can't specify both --with-ca-bundle and --with-ca-path." "$LINENO" 5
22579
22580
  elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
22580
22581
        ca="$want_ca"
22581
22582
    capath="no"
22582
22583
  elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
22583
22584
        if test "x$OPENSSL_ENABLED" != "x1"; then
22584
 
      as_fn_error $? "--with-ca-path only works with openSSL" "$LINENO" 5
 
22585
      as_fn_error "--with-ca-path only works with openSSL" "$LINENO" 5
22585
22586
    fi
22586
22587
    capath="$want_capath"
22587
22588
    ca="no"
22670
22671
set dummy ${host}-pkg-config; ac_word=$2
22671
22672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22672
22673
$as_echo_n "checking for $ac_word... " >&6; }
22673
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22674
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22674
22675
  $as_echo_n "(cached) " >&6
22675
22676
else
22676
22677
  case $PKGCONFIG in
22715
22716
set dummy pkg-config; ac_word=$2
22716
22717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22717
22718
$as_echo_n "checking for $ac_word... " >&6; }
22718
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22719
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22719
22720
  $as_echo_n "(cached) " >&6
22720
22721
else
22721
22722
  case $PKGCONFIG in
22805
22806
 
22806
22807
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2_channel_open_ex in -lssh2" >&5
22807
22808
$as_echo_n "checking for libssh2_channel_open_ex in -lssh2... " >&6; }
22808
 
if ${ac_cv_lib_ssh2_libssh2_channel_open_ex+:} false; then :
 
22809
if test "${ac_cv_lib_ssh2_libssh2_channel_open_ex+set}" = set; then :
22809
22810
  $as_echo_n "(cached) " >&6
22810
22811
else
22811
22812
  ac_check_lib_save_LIBS=$LIBS
22836
22837
fi
22837
22838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_channel_open_ex" >&5
22838
22839
$as_echo "$ac_cv_lib_ssh2_libssh2_channel_open_ex" >&6; }
22839
 
if test "x$ac_cv_lib_ssh2_libssh2_channel_open_ex" = xyes; then :
 
22840
if test "x$ac_cv_lib_ssh2_libssh2_channel_open_ex" = x""yes; then :
22840
22841
  cat >>confdefs.h <<_ACEOF
22841
22842
#define HAVE_LIBSSH2 1
22842
22843
_ACEOF
22849
22850
  for ac_header in libssh2.h
22850
22851
do :
22851
22852
  ac_fn_c_check_header_mongrel "$LINENO" "libssh2.h" "ac_cv_header_libssh2_h" "$ac_includes_default"
22852
 
if test "x$ac_cv_header_libssh2_h" = xyes; then :
 
22853
if test "x$ac_cv_header_libssh2_h" = x""yes; then :
22853
22854
  cat >>confdefs.h <<_ACEOF
22854
22855
#define HAVE_LIBSSH2_H 1
22855
22856
_ACEOF
22868
22869
 
22869
22870
  if test X"$OPT_LIBSSH2" != Xoff &&
22870
22871
     test "$LIBSSH2_ENABLED" != "1"; then
22871
 
    as_fn_error $? "libSSH2 libs and/or directories were not found where specified!" "$LINENO" 5
 
22872
    as_fn_error "libSSH2 libs and/or directories were not found where specified!" "$LINENO" 5
22872
22873
  fi
22873
22874
 
22874
22875
  if test "$LIBSSH2_ENABLED" = "1"; then
22879
22880
do :
22880
22881
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22881
22882
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22882
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
22883
eval as_val=\$$as_ac_var
 
22884
   if test "x$as_val" = x""yes; then :
22883
22885
  cat >>confdefs.h <<_ACEOF
22884
22886
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22885
22887
_ACEOF
22925
22927
set dummy ${host}-pkg-config; ac_word=$2
22926
22928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22927
22929
$as_echo_n "checking for $ac_word... " >&6; }
22928
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22930
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22929
22931
  $as_echo_n "(cached) " >&6
22930
22932
else
22931
22933
  case $PKGCONFIG in
22970
22972
set dummy pkg-config; ac_word=$2
22971
22973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22972
22974
$as_echo_n "checking for $ac_word... " >&6; }
22973
 
if ${ac_cv_path_PKGCONFIG+:} false; then :
 
22975
if test "${ac_cv_path_PKGCONFIG+set}" = set; then :
22974
22976
  $as_echo_n "(cached) " >&6
22975
22977
else
22976
22978
  case $PKGCONFIG in
23038
23040
      version=`$PKGCONFIG --modversion librtmp`
23039
23041
      DIR_RTMP=`echo $LD_RTMP | $SED -e 's/-L//'`
23040
23042
    else
23041
 
                  as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
 
23043
                  as_fn_error "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
23042
23044
    fi
23043
23045
 
23044
23046
    ;;
23062
23064
 
23063
23065
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
23064
23066
$as_echo_n "checking for RTMP_Init in -lrtmp... " >&6; }
23065
 
if ${ac_cv_lib_rtmp_RTMP_Init+:} false; then :
 
23067
if test "${ac_cv_lib_rtmp_RTMP_Init+set}" = set; then :
23066
23068
  $as_echo_n "(cached) " >&6
23067
23069
else
23068
23070
  ac_check_lib_save_LIBS=$LIBS
23093
23095
fi
23094
23096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
23095
23097
$as_echo "$ac_cv_lib_rtmp_RTMP_Init" >&6; }
23096
 
if test "x$ac_cv_lib_rtmp_RTMP_Init" = xyes; then :
 
23098
if test "x$ac_cv_lib_rtmp_RTMP_Init" = x""yes; then :
23097
23099
 
23098
23100
     for ac_header in librtmp/rtmp.h
23099
23101
do :
23100
23102
  ac_fn_c_check_header_mongrel "$LINENO" "librtmp/rtmp.h" "ac_cv_header_librtmp_rtmp_h" "$ac_includes_default"
23101
 
if test "x$ac_cv_header_librtmp_rtmp_h" = xyes; then :
 
23103
if test "x$ac_cv_header_librtmp_rtmp_h" = x""yes; then :
23102
23104
  cat >>confdefs.h <<_ACEOF
23103
23105
#define HAVE_LIBRTMP_RTMP_H 1
23104
23106
_ACEOF
23125
23127
 
23126
23128
  if test X"$OPT_LIBRTMP" != Xoff &&
23127
23129
     test "$LIBRTMP_ENABLED" != "1"; then
23128
 
    as_fn_error $? "librtmp libs and/or directories were not found where specified!" "$LINENO" 5
 
23130
    as_fn_error "librtmp libs and/or directories were not found where specified!" "$LINENO" 5
23129
23131
  fi
23130
23132
 
23131
23133
fi
23158
23160
            idn="yes"
23159
23161
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_4i in -lidn" >&5
23160
23162
$as_echo_n "checking for idna_to_ascii_4i in -lidn... " >&6; }
23161
 
if ${ac_cv_lib_idn_idna_to_ascii_4i+:} false; then :
 
23163
if test "${ac_cv_lib_idn_idna_to_ascii_4i+set}" = set; then :
23162
23164
  $as_echo_n "(cached) " >&6
23163
23165
else
23164
23166
  ac_check_lib_save_LIBS=$LIBS
23189
23191
fi
23190
23192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_4i" >&5
23191
23193
$as_echo "$ac_cv_lib_idn_idna_to_ascii_4i" >&6; }
23192
 
if test "x$ac_cv_lib_idn_idna_to_ascii_4i" = xyes; then :
 
23194
if test "x$ac_cv_lib_idn_idna_to_ascii_4i" = x""yes; then :
23193
23195
  cat >>confdefs.h <<_ACEOF
23194
23196
#define HAVE_LIBIDN 1
23195
23197
_ACEOF
23209
23211
                    idn="yes"
23210
23212
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idna_to_ascii_lz in -lidn" >&5
23211
23213
$as_echo_n "checking for idna_to_ascii_lz in -lidn... " >&6; }
23212
 
if ${ac_cv_lib_idn_idna_to_ascii_lz+:} false; then :
 
23214
if test "${ac_cv_lib_idn_idna_to_ascii_lz+set}" = set; then :
23213
23215
  $as_echo_n "(cached) " >&6
23214
23216
else
23215
23217
  ac_check_lib_save_LIBS=$LIBS
23240
23242
fi
23241
23243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_idn_idna_to_ascii_lz" >&5
23242
23244
$as_echo "$ac_cv_lib_idn_idna_to_ascii_lz" >&6; }
23243
 
if test "x$ac_cv_lib_idn_idna_to_ascii_lz" = xyes; then :
 
23245
if test "x$ac_cv_lib_idn_idna_to_ascii_lz" = x""yes; then :
23244
23246
  cat >>confdefs.h <<_ACEOF
23245
23247
#define HAVE_LIBIDN 1
23246
23248
_ACEOF
23261
23263
do :
23262
23264
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23263
23265
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23264
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
23266
eval as_val=\$$as_ac_var
 
23267
   if test "x$as_val" = x""yes; then :
23265
23268
  cat >>confdefs.h <<_ACEOF
23266
23269
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23267
23270
_ACEOF
23273
23276
do :
23274
23277
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23275
23278
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23276
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
23279
eval as_val=\$$as_ac_Header
 
23280
   if test "x$as_val" = x""yes; then :
23277
23281
  cat >>confdefs.h <<_ACEOF
23278
23282
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23279
23283
_ACEOF
23293
23297
 
23294
23298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
23295
23299
$as_echo_n "checking for ANSI C header files... " >&6; }
23296
 
if ${ac_cv_header_stdc+:} false; then :
 
23300
if test "${ac_cv_header_stdc+set}" = set; then :
23297
23301
  $as_echo_n "(cached) " >&6
23298
23302
else
23299
23303
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23406
23410
 
23407
23411
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc.h" >&5
23408
23412
$as_echo_n "checking for malloc.h... " >&6; }
23409
 
if ${ac_cv_header_malloc_h+:} false; then :
 
23413
if test "${ac_cv_header_malloc_h+set}" = set; then :
23410
23414
  $as_echo_n "(cached) " >&6
23411
23415
else
23412
23416
 
23494
23498
 
23495
23499
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory.h" >&5
23496
23500
$as_echo_n "checking for memory.h... " >&6; }
23497
 
if ${ac_cv_header_memory_h+:} false; then :
 
23501
if test "${ac_cv_header_memory_h+set}" = set; then :
23498
23502
  $as_echo_n "(cached) " >&6
23499
23503
else
23500
23504
 
23619
23623
        stdbool.h \
23620
23624
        arpa/tftp.h \
23621
23625
        sys/filio.h \
 
23626
        sys/wait.h \
23622
23627
        setjmp.h
23623
23628
do :
23624
23629
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23644
23649
 
23645
23650
 
23646
23651
"
23647
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
23652
eval as_val=\$$as_ac_Header
 
23653
   if test "x$as_val" = x""yes; then :
23648
23654
  cat >>confdefs.h <<_ACEOF
23649
23655
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23650
23656
_ACEOF
23656
23662
 
23657
23663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
23658
23664
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
23659
 
if ${ac_cv_c_const+:} false; then :
 
23665
if test "${ac_cv_c_const+set}" = set; then :
23660
23666
  $as_echo_n "(cached) " >&6
23661
23667
else
23662
23668
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23736
23742
 
23737
23743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style" >&5
23738
23744
$as_echo_n "checking for compiler support of C99 variadic macro style... " >&6; }
23739
 
if ${curl_cv_variadic_macros_c99+:} false; then :
 
23745
if test "${curl_cv_variadic_macros_c99+set}" = set; then :
23740
23746
  $as_echo_n "(cached) " >&6
23741
23747
else
23742
23748
 
23789
23795
  esac
23790
23796
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro style" >&5
23791
23797
$as_echo_n "checking for compiler support of old gcc variadic macro style... " >&6; }
23792
 
if ${curl_cv_variadic_macros_gcc+:} false; then :
 
23798
if test "${curl_cv_variadic_macros_gcc+set}" = set; then :
23793
23799
  $as_echo_n "(cached) " >&6
23794
23800
else
23795
23801
 
23842
23848
  esac
23843
23849
 
23844
23850
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
23845
 
if test "x$ac_cv_type_size_t" = xyes; then :
 
23851
if test "x$ac_cv_type_size_t" = x""yes; then :
23846
23852
 
23847
23853
else
23848
23854
 
23854
23860
 
23855
23861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
23856
23862
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
23857
 
if ${ac_cv_header_time+:} false; then :
 
23863
if test "${ac_cv_header_time+set}" = set; then :
23858
23864
  $as_echo_n "(cached) " >&6
23859
23865
else
23860
23866
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891
23897
do :
23892
23898
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23893
23899
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23894
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
23900
eval as_val=\$$as_ac_Header
 
23901
   if test "x$as_val" = x""yes; then :
23895
23902
  cat >>confdefs.h <<_ACEOF
23896
23903
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23897
23904
_ACEOF
23902
23909
 
23903
23910
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
23904
23911
$as_echo_n "checking for struct timeval... " >&6; }
23905
 
if ${ac_cv_struct_timeval+:} false; then :
 
23912
if test "${ac_cv_struct_timeval+set}" = set; then :
23906
23913
  $as_echo_n "(cached) " >&6
23907
23914
else
23908
23915
 
23986
23993
    if test "$cross_compiling" = yes; then :
23987
23994
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23988
23995
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23989
 
as_fn_error $? "cannot run test program while cross compiling
23990
 
See \`config.log' for more details" "$LINENO" 5; }
 
23996
as_fn_error "cannot run test program while cross compiling
 
23997
See \`config.log' for more details." "$LINENO" 5; }
23991
23998
else
23992
23999
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23993
24000
/* end confdefs.h.  */
24004
24011
else
24005
24012
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
24006
24013
$as_echo "failed" >&6; }
24007
 
    as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5
 
24014
    as_fn_error "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5
24008
24015
 
24009
24016
fi
24010
24017
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24021
24028
# This bug is HP SR number 8606223364.
24022
24029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
24023
24030
$as_echo_n "checking size of size_t... " >&6; }
24024
 
if ${ac_cv_sizeof_size_t+:} false; then :
 
24031
if test "${ac_cv_sizeof_size_t+set}" = set; then :
24025
24032
  $as_echo_n "(cached) " >&6
24026
24033
else
24027
24034
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
24030
24037
  if test "$ac_cv_type_size_t" = yes; then
24031
24038
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24032
24039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24033
 
as_fn_error 77 "cannot compute sizeof (size_t)
24034
 
See \`config.log' for more details" "$LINENO" 5; }
 
24040
{ as_fn_set_status 77
 
24041
as_fn_error "cannot compute sizeof (size_t)
 
24042
See \`config.log' for more details." "$LINENO" 5; }; }
24035
24043
   else
24036
24044
     ac_cv_sizeof_size_t=0
24037
24045
   fi
24054
24062
# This bug is HP SR number 8606223364.
24055
24063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
24056
24064
$as_echo_n "checking size of long... " >&6; }
24057
 
if ${ac_cv_sizeof_long+:} false; then :
 
24065
if test "${ac_cv_sizeof_long+set}" = set; then :
24058
24066
  $as_echo_n "(cached) " >&6
24059
24067
else
24060
24068
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
24063
24071
  if test "$ac_cv_type_long" = yes; then
24064
24072
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24065
24073
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24066
 
as_fn_error 77 "cannot compute sizeof (long)
24067
 
See \`config.log' for more details" "$LINENO" 5; }
 
24074
{ as_fn_set_status 77
 
24075
as_fn_error "cannot compute sizeof (long)
 
24076
See \`config.log' for more details." "$LINENO" 5; }; }
24068
24077
   else
24069
24078
     ac_cv_sizeof_long=0
24070
24079
   fi
24087
24096
# This bug is HP SR number 8606223364.
24088
24097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
24089
24098
$as_echo_n "checking size of int... " >&6; }
24090
 
if ${ac_cv_sizeof_int+:} false; then :
 
24099
if test "${ac_cv_sizeof_int+set}" = set; then :
24091
24100
  $as_echo_n "(cached) " >&6
24092
24101
else
24093
24102
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
24096
24105
  if test "$ac_cv_type_int" = yes; then
24097
24106
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24098
24107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24099
 
as_fn_error 77 "cannot compute sizeof (int)
24100
 
See \`config.log' for more details" "$LINENO" 5; }
 
24108
{ as_fn_set_status 77
 
24109
as_fn_error "cannot compute sizeof (int)
 
24110
See \`config.log' for more details." "$LINENO" 5; }; }
24101
24111
   else
24102
24112
     ac_cv_sizeof_int=0
24103
24113
   fi
24120
24130
# This bug is HP SR number 8606223364.
24121
24131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
24122
24132
$as_echo_n "checking size of short... " >&6; }
24123
 
if ${ac_cv_sizeof_short+:} false; then :
 
24133
if test "${ac_cv_sizeof_short+set}" = set; then :
24124
24134
  $as_echo_n "(cached) " >&6
24125
24135
else
24126
24136
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
24129
24139
  if test "$ac_cv_type_short" = yes; then
24130
24140
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24131
24141
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24132
 
as_fn_error 77 "cannot compute sizeof (short)
24133
 
See \`config.log' for more details" "$LINENO" 5; }
 
24142
{ as_fn_set_status 77
 
24143
as_fn_error "cannot compute sizeof (short)
 
24144
See \`config.log' for more details." "$LINENO" 5; }; }
24134
24145
   else
24135
24146
     ac_cv_sizeof_short=0
24136
24147
   fi
24150
24161
 
24151
24162
  if test -z "$ac_cv_sizeof_long" ||
24152
24163
    test "$ac_cv_sizeof_long" -eq "0"; then
24153
 
    as_fn_error $? "cannot find out size of long." "$LINENO" 5
 
24164
    as_fn_error "cannot find out size of long." "$LINENO" 5
24154
24165
  fi
24155
24166
 
24156
24167
cat >>confdefs.h <<_EOF
24164
24175
# This bug is HP SR number 8606223364.
24165
24176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
24166
24177
$as_echo_n "checking size of time_t... " >&6; }
24167
 
if ${ac_cv_sizeof_time_t+:} false; then :
 
24178
if test "${ac_cv_sizeof_time_t+set}" = set; then :
24168
24179
  $as_echo_n "(cached) " >&6
24169
24180
else
24170
24181
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
24173
24184
  if test "$ac_cv_type_time_t" = yes; then
24174
24185
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24175
24186
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24176
 
as_fn_error 77 "cannot compute sizeof (time_t)
24177
 
See \`config.log' for more details" "$LINENO" 5; }
 
24187
{ as_fn_set_status 77
 
24188
as_fn_error "cannot compute sizeof (time_t)
 
24189
See \`config.log' for more details." "$LINENO" 5; }; }
24178
24190
   else
24179
24191
     ac_cv_sizeof_time_t=0
24180
24192
   fi
24197
24209
# This bug is HP SR number 8606223364.
24198
24210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
24199
24211
$as_echo_n "checking size of off_t... " >&6; }
24200
 
if ${ac_cv_sizeof_off_t+:} false; then :
 
24212
if test "${ac_cv_sizeof_off_t+set}" = set; then :
24201
24213
  $as_echo_n "(cached) " >&6
24202
24214
else
24203
24215
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
24206
24218
  if test "$ac_cv_type_off_t" = yes; then
24207
24219
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24208
24220
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24209
 
as_fn_error 77 "cannot compute sizeof (off_t)
24210
 
See \`config.log' for more details" "$LINENO" 5; }
 
24221
{ as_fn_set_status 77
 
24222
as_fn_error "cannot compute sizeof (off_t)
 
24223
See \`config.log' for more details." "$LINENO" 5; }; }
24211
24224
   else
24212
24225
     ac_cv_sizeof_off_t=0
24213
24226
   fi
24237
24250
 
24238
24251
 
24239
24252
ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
24240
 
if test "x$ac_cv_type_long_long" = xyes; then :
 
24253
if test "x$ac_cv_type_long_long" = x""yes; then :
24241
24254
 
24242
24255
$as_echo "#define HAVE_LONGLONG 1" >>confdefs.h
24243
24256
 
24284
24297
 
24285
24298
# check for ssize_t
24286
24299
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
24287
 
if test "x$ac_cv_type_ssize_t" = xyes; then :
 
24300
if test "x$ac_cv_type_ssize_t" = x""yes; then :
24288
24301
 
24289
24302
else
24290
24303
 
24303
24316
#endif
24304
24317
 
24305
24318
"
24306
 
if test "x$ac_cv_type_bool" = xyes; then :
 
24319
if test "x$ac_cv_type_bool" = x""yes; then :
24307
24320
 
24308
24321
 
24309
24322
$as_echo "#define HAVE_BOOL_T 1" >>confdefs.h
24331
24344
 
24332
24345
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
24333
24346
$as_echo_n "checking for windows.h... " >&6; }
24334
 
if ${ac_cv_header_windows_h+:} false; then :
 
24347
if test "${ac_cv_header_windows_h+set}" = set; then :
24335
24348
  $as_echo_n "(cached) " >&6
24336
24349
else
24337
24350
 
24391
24404
 
24392
24405
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
24393
24406
$as_echo_n "checking for winsock2.h... " >&6; }
24394
 
if ${ac_cv_header_winsock2_h+:} false; then :
 
24407
if test "${ac_cv_header_winsock2_h+set}" = set; then :
24395
24408
  $as_echo_n "(cached) " >&6
24396
24409
else
24397
24410
 
24447
24460
 
24448
24461
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
24449
24462
$as_echo_n "checking for ws2tcpip.h... " >&6; }
24450
 
if ${ac_cv_header_ws2tcpip_h+:} false; then :
 
24463
if test "${ac_cv_header_ws2tcpip_h+set}" = set; then :
24451
24464
  $as_echo_n "(cached) " >&6
24452
24465
else
24453
24466
 
24517
24530
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24518
24531
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_socket
24519
24532
"
24520
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
24533
eval as_val=\$$as_ac_Header
 
24534
   if test "x$as_val" = x""yes; then :
24521
24535
  cat >>confdefs.h <<_ACEOF
24522
24536
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24523
24537
_ACEOF
24608
24622
$as_echo "$curl_typeof_curl_socklen_t" >&6; }
24609
24623
  if test "$curl_typeof_curl_socklen_t" = "void" ||
24610
24624
    test "$curl_typeof_curl_socklen_t" = "unknown"; then
24611
 
    as_fn_error $? "cannot find data type for curl_socklen_t." "$LINENO" 5
 
24625
    as_fn_error "cannot find data type for curl_socklen_t." "$LINENO" 5
24612
24626
  fi
24613
24627
  #
24614
24628
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_socklen_t" >&5
24670
24684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_sizeof_curl_socklen_t" >&5
24671
24685
$as_echo "$curl_sizeof_curl_socklen_t" >&6; }
24672
24686
  if test "$curl_sizeof_curl_socklen_t" = "unknown"; then
24673
 
    as_fn_error $? "cannot find out size of curl_socklen_t." "$LINENO" 5
 
24687
    as_fn_error "cannot find out size of curl_socklen_t." "$LINENO" 5
24674
24688
  fi
24675
24689
  #
24676
24690
  case $curl_pull_headers_socklen_t in
24744
24758
#endif
24745
24759
 
24746
24760
"
24747
 
if test "x$ac_cv_type_in_addr_t" = xyes; then :
 
24761
if test "x$ac_cv_type_in_addr_t" = x""yes; then :
24748
24762
 
24749
24763
else
24750
24764
 
24751
24765
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
24752
24766
$as_echo_n "checking for in_addr_t equivalent... " >&6; }
24753
 
if ${curl_cv_in_addr_t_equiv+:} false; then :
 
24767
if test "${curl_cv_in_addr_t_equiv+set}" = set; then :
24754
24768
  $as_echo_n "(cached) " >&6
24755
24769
else
24756
24770
 
24814
24828
$as_echo "$curl_cv_in_addr_t_equiv" >&6; }
24815
24829
    case "$curl_cv_in_addr_t_equiv" in
24816
24830
      unknown)
24817
 
        as_fn_error $? "Cannot find a type to use in place of in_addr_t" "$LINENO" 5
 
24831
        as_fn_error "Cannot find a type to use in place of in_addr_t" "$LINENO" 5
24818
24832
        ;;
24819
24833
      *)
24820
24834
 
24856
24870
#endif
24857
24871
 
24858
24872
"
24859
 
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
 
24873
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
24860
24874
 
24861
24875
$as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
24862
24876
 
24868
24882
  for ac_header in signal.h
24869
24883
do :
24870
24884
  ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
24871
 
if test "x$ac_cv_header_signal_h" = xyes; then :
 
24885
if test "x$ac_cv_header_signal_h" = x""yes; then :
24872
24886
  cat >>confdefs.h <<_ACEOF
24873
24887
#define HAVE_SIGNAL_H 1
24874
24888
_ACEOF
24883
24897
#endif
24884
24898
 
24885
24899
"
24886
 
if test "x$ac_cv_type_sig_atomic_t" = xyes; then :
 
24900
if test "x$ac_cv_type_sig_atomic_t" = x""yes; then :
24887
24901
 
24888
24902
 
24889
24903
$as_echo "#define HAVE_SIG_ATOMIC_T 1" >>confdefs.h
24941
24955
 
24942
24956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
24943
24957
$as_echo_n "checking return type of signal handlers... " >&6; }
24944
 
if ${ac_cv_type_signal+:} false; then :
 
24958
if test "${ac_cv_type_signal+set}" = set; then :
24945
24959
  $as_echo_n "(cached) " >&6
24946
24960
else
24947
24961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24977
24991
do :
24978
24992
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24979
24993
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24980
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
24994
eval as_val=\$$as_ac_Header
 
24995
   if test "x$as_val" = x""yes; then :
24981
24996
  cat >>confdefs.h <<_ACEOF
24982
24997
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24983
24998
_ACEOF
25058
25073
  if test "$curl_cv_select" = "yes"; then
25059
25074
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for select" >&5
25060
25075
$as_echo_n "checking types of args and return type for select... " >&6; }
25061
 
if ${curl_cv_func_select_args+:} false; then :
 
25076
if test "${curl_cv_func_select_args+set}" = set; then :
25062
25077
  $as_echo_n "(cached) " >&6
25063
25078
else
25064
25079
 
25234
25249
do :
25235
25250
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25236
25251
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25237
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
25252
eval as_val=\$$as_ac_Header
 
25253
   if test "x$as_val" = x""yes; then :
25238
25254
  cat >>confdefs.h <<_ACEOF
25239
25255
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25240
25256
_ACEOF
25301
25317
  if test "$curl_cv_recv" = "yes"; then
25302
25318
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recv" >&5
25303
25319
$as_echo_n "checking types of args and return type for recv... " >&6; }
25304
 
if ${curl_cv_func_recv_args+:} false; then :
 
25320
if test "${curl_cv_func_recv_args+set}" = set; then :
25305
25321
  $as_echo_n "(cached) " >&6
25306
25322
else
25307
25323
 
25373
25389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recv_args" >&5
25374
25390
$as_echo "$curl_cv_func_recv_args" >&6; } # AC-CACHE-CHECK
25375
25391
    if test "$curl_cv_func_recv_args" = "unknown"; then
25376
 
      as_fn_error $? "Cannot find proper types to use for recv args" "$LINENO" 5
 
25392
      as_fn_error "Cannot find proper types to use for recv args" "$LINENO" 5
25377
25393
    else
25378
25394
      recv_prev_IFS=$IFS; IFS=','
25379
25395
      set dummy `echo "$curl_cv_func_recv_args" | sed 's/\*/\*/g'`
25414
25430
      ac_cv_func_recv="yes"
25415
25431
    fi
25416
25432
  else
25417
 
    as_fn_error $? "Unable to link function recv" "$LINENO" 5
 
25433
    as_fn_error "Unable to link function recv" "$LINENO" 5
25418
25434
  fi
25419
25435
 
25420
25436
 
25422
25438
do :
25423
25439
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25424
25440
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25425
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
25441
eval as_val=\$$as_ac_Header
 
25442
   if test "x$as_val" = x""yes; then :
25426
25443
  cat >>confdefs.h <<_ACEOF
25427
25444
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25428
25445
_ACEOF
25489
25506
  if test "$curl_cv_recvfrom" = "yes"; then
25490
25507
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recvfrom" >&5
25491
25508
$as_echo_n "checking types of args and return type for recvfrom... " >&6; }
25492
 
if ${curl_cv_func_recvfrom_args+:} false; then :
 
25509
if test "${curl_cv_func_recvfrom_args+set}" = set; then :
25493
25510
  $as_echo_n "(cached) " >&6
25494
25511
else
25495
25512
 
25704
25721
do :
25705
25722
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25706
25723
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25707
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
25724
eval as_val=\$$as_ac_Header
 
25725
   if test "x$as_val" = x""yes; then :
25708
25726
  cat >>confdefs.h <<_ACEOF
25709
25727
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25710
25728
_ACEOF
25771
25789
  if test "$curl_cv_send" = "yes"; then
25772
25790
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for send" >&5
25773
25791
$as_echo_n "checking types of args and return type for send... " >&6; }
25774
 
if ${curl_cv_func_send_args+:} false; then :
 
25792
if test "${curl_cv_func_send_args+set}" = set; then :
25775
25793
  $as_echo_n "(cached) " >&6
25776
25794
else
25777
25795
 
25842
25860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_send_args" >&5
25843
25861
$as_echo "$curl_cv_func_send_args" >&6; } # AC-CACHE-CHECK
25844
25862
    if test "$curl_cv_func_send_args" = "unknown"; then
25845
 
      as_fn_error $? "Cannot find proper types to use for send args" "$LINENO" 5
 
25863
      as_fn_error "Cannot find proper types to use for send args" "$LINENO" 5
25846
25864
    else
25847
25865
      send_prev_IFS=$IFS; IFS=','
25848
25866
      set dummy `echo "$curl_cv_func_send_args" | sed 's/\*/\*/g'`
25920
25938
      ac_cv_func_send="yes"
25921
25939
    fi
25922
25940
  else
25923
 
    as_fn_error $? "Unable to link function send" "$LINENO" 5
 
25941
    as_fn_error "Unable to link function send" "$LINENO" 5
25924
25942
  fi
25925
25943
 
25926
25944
 
25928
25946
do :
25929
25947
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25930
25948
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25931
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
25949
eval as_val=\$$as_ac_Header
 
25950
   if test "x$as_val" = x""yes; then :
25932
25951
  cat >>confdefs.h <<_ACEOF
25933
25952
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25934
25953
_ACEOF
25939
25958
 
25940
25959
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
25941
25960
$as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
25942
 
if ${ac_cv_msg_nosignal+:} false; then :
 
25961
if test "${ac_cv_msg_nosignal+set}" = set; then :
25943
25962
  $as_echo_n "(cached) " >&6
25944
25963
else
25945
25964
 
26019
26038
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26020
26039
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_unistd
26021
26040
"
26022
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26041
eval as_val=\$$as_ac_Header
 
26042
   if test "x$as_val" = x""yes; then :
26023
26043
  cat >>confdefs.h <<_ACEOF
26024
26044
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26025
26045
_ACEOF
26196
26216
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26197
26217
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_string
26198
26218
"
26199
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26219
eval as_val=\$$as_ac_Header
 
26220
   if test "x$as_val" = x""yes; then :
26200
26221
  cat >>confdefs.h <<_ACEOF
26201
26222
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26202
26223
_ACEOF
26221
26242
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26222
26243
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_libgen
26223
26244
"
26224
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26245
eval as_val=\$$as_ac_Header
 
26246
   if test "x$as_val" = x""yes; then :
26225
26247
  cat >>confdefs.h <<_ACEOF
26226
26248
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26227
26249
_ACEOF
26399
26421
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26400
26422
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_socket
26401
26423
"
26402
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26424
eval as_val=\$$as_ac_Header
 
26425
   if test "x$as_val" = x""yes; then :
26403
26426
  cat >>confdefs.h <<_ACEOF
26404
26427
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26405
26428
_ACEOF
26853
26876
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26854
26877
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_fcntl
26855
26878
"
26856
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
26879
eval as_val=\$$as_ac_Header
 
26880
   if test "x$as_val" = x""yes; then :
26857
26881
  cat >>confdefs.h <<_ACEOF
26858
26882
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26859
26883
_ACEOF
27107
27131
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27108
27132
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stdio
27109
27133
"
27110
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
27134
eval as_val=\$$as_ac_Header
 
27135
   if test "x$as_val" = x""yes; then :
27111
27136
  cat >>confdefs.h <<_ACEOF
27112
27137
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27113
27138
_ACEOF
27281
27306
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27282
27307
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_netdb
27283
27308
"
27284
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
27309
eval as_val=\$$as_ac_Header
 
27310
   if test "x$as_val" = x""yes; then :
27285
27311
  cat >>confdefs.h <<_ACEOF
27286
27312
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27287
27313
_ACEOF
27455
27481
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27456
27482
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_ifaddrs
27457
27483
"
27458
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
27484
eval as_val=\$$as_ac_Header
 
27485
   if test "x$as_val" = x""yes; then :
27459
27486
  cat >>confdefs.h <<_ACEOF
27460
27487
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27461
27488
_ACEOF
27628
27655
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27629
27656
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_xattr
27630
27657
"
27631
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
27658
eval as_val=\$$as_ac_Header
 
27659
   if test "x$as_val" = x""yes; then :
27632
27660
  cat >>confdefs.h <<_ACEOF
27633
27661
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27634
27662
_ACEOF
28011
28039
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28012
28040
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stdlib
28013
28041
"
28014
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
28042
eval as_val=\$$as_ac_Header
 
28043
   if test "x$as_val" = x""yes; then :
28015
28044
  cat >>confdefs.h <<_ACEOF
28016
28045
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28017
28046
_ACEOF
28141
28170
    if test "$cross_compiling" = yes; then :
28142
28171
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28143
28172
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28144
 
as_fn_error $? "cannot run test program while cross compiling
28145
 
See \`config.log' for more details" "$LINENO" 5; }
 
28173
as_fn_error "cannot run test program while cross compiling
 
28174
See \`config.log' for more details." "$LINENO" 5; }
28146
28175
else
28147
28176
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28148
28177
/* end confdefs.h.  */
29523
29552
    if test "$cross_compiling" = yes; then :
29524
29553
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29525
29554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29526
 
as_fn_error $? "cannot run test program while cross compiling
29527
 
See \`config.log' for more details" "$LINENO" 5; }
 
29555
as_fn_error "cannot run test program while cross compiling
 
29556
See \`config.log' for more details." "$LINENO" 5; }
29528
29557
else
29529
29558
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29530
29559
/* end confdefs.h.  */
29875
29904
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
29876
29905
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_time
29877
29906
"
29878
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
29907
eval as_val=\$$as_ac_Header
 
29908
   if test "x$as_val" = x""yes; then :
29879
29909
  cat >>confdefs.h <<_ACEOF
29880
29910
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
29881
29911
_ACEOF
30008
30038
    if test "$cross_compiling" = yes; then :
30009
30039
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30010
30040
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30011
 
as_fn_error $? "cannot run test program while cross compiling
30012
 
See \`config.log' for more details" "$LINENO" 5; }
 
30041
as_fn_error "cannot run test program while cross compiling
 
30042
See \`config.log' for more details." "$LINENO" 5; }
30013
30043
else
30014
30044
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30015
30045
/* end confdefs.h.  */
30111
30141
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30112
30142
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_arpa_inet
30113
30143
"
30114
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
30144
eval as_val=\$$as_ac_Header
 
30145
   if test "x$as_val" = x""yes; then :
30115
30146
  cat >>confdefs.h <<_ACEOF
30116
30147
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30117
30148
_ACEOF
30455
30486
    if test "$cross_compiling" = yes; then :
30456
30487
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30457
30488
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30458
 
as_fn_error $? "cannot run test program while cross compiling
30459
 
See \`config.log' for more details" "$LINENO" 5; }
 
30489
as_fn_error "cannot run test program while cross compiling
 
30490
See \`config.log' for more details." "$LINENO" 5; }
30460
30491
else
30461
30492
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30462
30493
/* end confdefs.h.  */
30702
30733
    if test "$cross_compiling" = yes; then :
30703
30734
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30704
30735
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
30705
 
as_fn_error $? "cannot run test program while cross compiling
30706
 
See \`config.log' for more details" "$LINENO" 5; }
 
30736
as_fn_error "cannot run test program while cross compiling
 
30737
See \`config.log' for more details." "$LINENO" 5; }
30707
30738
else
30708
30739
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709
30740
/* end confdefs.h.  */
30843
30874
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30844
30875
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_stropts
30845
30876
"
30846
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
30877
eval as_val=\$$as_ac_Header
 
30878
   if test "x$as_val" = x""yes; then :
30847
30879
  cat >>confdefs.h <<_ACEOF
30848
30880
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30849
30881
_ACEOF
31710
31742
    if test "$cross_compiling" = yes; then :
31711
31743
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31712
31744
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31713
 
as_fn_error $? "cannot run test program while cross compiling
31714
 
See \`config.log' for more details" "$LINENO" 5; }
 
31745
as_fn_error "cannot run test program while cross compiling
 
31746
See \`config.log' for more details." "$LINENO" 5; }
31715
31747
else
31716
31748
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31717
31749
/* end confdefs.h.  */
31998
32030
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
31999
32031
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_poll
32000
32032
"
32001
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
32033
eval as_val=\$$as_ac_Header
 
32034
   if test "x$as_val" = x""yes; then :
32002
32035
  cat >>confdefs.h <<_ACEOF
32003
32036
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32004
32037
_ACEOF
32127
32160
    if test "$cross_compiling" = yes; then :
32128
32161
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32129
32162
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32130
 
as_fn_error $? "cannot run test program while cross compiling
32131
 
See \`config.log' for more details" "$LINENO" 5; }
 
32163
as_fn_error "cannot run test program while cross compiling
 
32164
See \`config.log' for more details." "$LINENO" 5; }
32132
32165
else
32133
32166
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32134
32167
/* end confdefs.h.  */
32441
32474
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32442
32475
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_signal
32443
32476
"
32444
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
32477
eval as_val=\$$as_ac_Header
 
32478
   if test "x$as_val" = x""yes; then :
32445
32479
  cat >>confdefs.h <<_ACEOF
32446
32480
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32447
32481
_ACEOF
32913
32947
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32914
32948
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_setjmp
32915
32949
"
32916
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
32950
eval as_val=\$$as_ac_Header
 
32951
   if test "x$as_val" = x""yes; then :
32917
32952
  cat >>confdefs.h <<_ACEOF
32918
32953
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32919
32954
_ACEOF
33259
33294
  fi
33260
33295
 
33261
33296
 
 
33297
      #
 
33298
  tst_links_socketpair="unknown"
 
33299
  tst_proto_socketpair="unknown"
 
33300
  tst_compi_socketpair="unknown"
 
33301
  tst_allow_socketpair="unknown"
 
33302
  #
 
33303
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
 
33304
$as_echo_n "checking if socketpair can be linked... " >&6; }
 
33305
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
33306
/* end confdefs.h.  */
 
33307
 
 
33308
 
 
33309
#define socketpair innocuous_socketpair
 
33310
#ifdef __STDC__
 
33311
# include <limits.h>
 
33312
#else
 
33313
# include <assert.h>
 
33314
#endif
 
33315
#undef socketpair
 
33316
#ifdef __cplusplus
 
33317
extern "C"
 
33318
#endif
 
33319
char socketpair ();
 
33320
#if defined __stub_socketpair || defined __stub___socketpair
 
33321
choke me
 
33322
#endif
 
33323
 
 
33324
int main (void)
 
33325
{
 
33326
return socketpair ();
 
33327
 ;
 
33328
 return 0;
 
33329
}
 
33330
 
 
33331
_ACEOF
 
33332
if ac_fn_c_try_link "$LINENO"; then :
 
33333
 
 
33334
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
33335
$as_echo "yes" >&6; }
 
33336
    tst_links_socketpair="yes"
 
33337
 
 
33338
else
 
33339
 
 
33340
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
33341
$as_echo "no" >&6; }
 
33342
    tst_links_socketpair="no"
 
33343
 
 
33344
fi
 
33345
rm -f core conftest.err conftest.$ac_objext \
 
33346
    conftest$ac_exeext conftest.$ac_ext
 
33347
  #
 
33348
  if test "$tst_links_socketpair" = "yes"; then
 
33349
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
 
33350
$as_echo_n "checking if socketpair is prototyped... " >&6; }
 
33351
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
33352
/* end confdefs.h.  */
 
33353
 
 
33354
      $curl_includes_sys_socket
 
33355
      $curl_includes_socket
 
33356
 
 
33357
_ACEOF
 
33358
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
33359
  $EGREP "socketpair" >/dev/null 2>&1; then :
 
33360
 
 
33361
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
33362
$as_echo "yes" >&6; }
 
33363
      tst_proto_socketpair="yes"
 
33364
 
 
33365
else
 
33366
 
 
33367
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
33368
$as_echo "no" >&6; }
 
33369
      tst_proto_socketpair="no"
 
33370
 
 
33371
fi
 
33372
rm -f conftest*
 
33373
 
 
33374
  fi
 
33375
  #
 
33376
  if test "$tst_proto_socketpair" = "yes"; then
 
33377
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
 
33378
$as_echo_n "checking if socketpair is compilable... " >&6; }
 
33379
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
33380
/* end confdefs.h.  */
 
33381
 
 
33382
 
 
33383
        $curl_includes_sys_socket
 
33384
        $curl_includes_socket
 
33385
 
 
33386
int main (void)
 
33387
{
 
33388
 
 
33389
        int sv[2];
 
33390
        if(0 != socketpair(0, 0, 0, sv))
 
33391
          return 1;
 
33392
 
 
33393
 ;
 
33394
 return 0;
 
33395
}
 
33396
 
 
33397
_ACEOF
 
33398
if ac_fn_c_try_compile "$LINENO"; then :
 
33399
 
 
33400
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
33401
$as_echo "yes" >&6; }
 
33402
      tst_compi_socketpair="yes"
 
33403
 
 
33404
else
 
33405
 
 
33406
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
33407
$as_echo "no" >&6; }
 
33408
      tst_compi_socketpair="no"
 
33409
 
 
33410
fi
 
33411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
33412
  fi
 
33413
  #
 
33414
  if test "$tst_compi_socketpair" = "yes"; then
 
33415
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
 
33416
$as_echo_n "checking if socketpair usage allowed... " >&6; }
 
33417
    if test "x$curl_disallow_socketpair" != "xyes"; then
 
33418
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
33419
$as_echo "yes" >&6; }
 
33420
      tst_allow_socketpair="yes"
 
33421
    else
 
33422
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
33423
$as_echo "no" >&6; }
 
33424
      tst_allow_socketpair="no"
 
33425
    fi
 
33426
  fi
 
33427
  #
 
33428
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
 
33429
$as_echo_n "checking if socketpair might be used... " >&6; }
 
33430
  if test "$tst_links_socketpair" = "yes" &&
 
33431
     test "$tst_proto_socketpair" = "yes" &&
 
33432
     test "$tst_compi_socketpair" = "yes" &&
 
33433
     test "$tst_allow_socketpair" = "yes"; then
 
33434
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
33435
$as_echo "yes" >&6; }
 
33436
 
 
33437
cat >>confdefs.h <<_ACEOF
 
33438
#define HAVE_SOCKETPAIR 1
 
33439
_ACEOF
 
33440
 
 
33441
    ac_cv_func_socketpair="yes"
 
33442
  else
 
33443
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
33444
$as_echo "no" >&6; }
 
33445
    ac_cv_func_socketpair="no"
 
33446
  fi
 
33447
 
 
33448
 
33262
33449
    #
33263
33450
  tst_links_strcasecmp="unknown"
33264
33451
  tst_proto_strcasecmp="unknown"
34028
34215
    if test "$cross_compiling" = yes; then :
34029
34216
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34030
34217
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
34031
 
as_fn_error $? "cannot run test program while cross compiling
34032
 
See \`config.log' for more details" "$LINENO" 5; }
 
34218
as_fn_error "cannot run test program while cross compiling
 
34219
See \`config.log' for more details." "$LINENO" 5; }
34033
34220
else
34034
34221
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34035
34222
/* end confdefs.h.  */
34131
34318
    if test "$cross_compiling" = yes; then :
34132
34319
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34133
34320
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
34134
 
as_fn_error $? "cannot run test program while cross compiling
34135
 
See \`config.log' for more details" "$LINENO" 5; }
 
34321
as_fn_error "cannot run test program while cross compiling
 
34322
See \`config.log' for more details." "$LINENO" 5; }
34136
34323
else
34137
34324
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138
34325
/* end confdefs.h.  */
35473
35660
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
35474
35661
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$curl_includes_sys_uio
35475
35662
"
35476
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
35663
eval as_val=\$$as_ac_Header
 
35664
   if test "x$as_val" = x""yes; then :
35477
35665
  cat >>confdefs.h <<_ACEOF
35478
35666
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35479
35667
_ACEOF
35662
35850
do :
35663
35851
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664
35852
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35665
 
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
35853
eval as_val=\$$as_ac_var
 
35854
   if test "x$as_val" = x""yes; then :
35666
35855
  cat >>confdefs.h <<_ACEOF
35667
35856
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35668
35857
_ACEOF
35720
35909
do :
35721
35910
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
35722
35911
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
35723
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
35912
eval as_val=\$$as_ac_Header
 
35913
   if test "x$as_val" = x""yes; then :
35724
35914
  cat >>confdefs.h <<_ACEOF
35725
35915
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
35726
35916
_ACEOF
35871
36061
  if test "$curl_cv_getnameinfo" = "yes"; then
35872
36062
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for getnameinfo" >&5
35873
36063
$as_echo_n "checking types of arguments for getnameinfo... " >&6; }
35874
 
if ${curl_cv_func_getnameinfo_args+:} false; then :
 
36064
if test "${curl_cv_func_getnameinfo_args+set}" = set; then :
35875
36065
  $as_echo_n "(cached) " >&6
35876
36066
else
35877
36067
 
36041
36231
do :
36042
36232
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36043
36233
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
36044
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
36234
eval as_val=\$$as_ac_Header
 
36235
   if test "x$as_val" = x""yes; then :
36045
36236
  cat >>confdefs.h <<_ACEOF
36046
36237
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36047
36238
_ACEOF
36053
36244
  #
36054
36245
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working NI_WITHSCOPEID" >&5
36055
36246
$as_echo_n "checking for working NI_WITHSCOPEID... " >&6; }
36056
 
if ${ac_cv_working_ni_withscopeid+:} false; then :
 
36247
if test "${ac_cv_working_ni_withscopeid+set}" = set; then :
36057
36248
  $as_echo_n "(cached) " >&6
36058
36249
else
36059
36250
 
36248
36439
set dummy perl; ac_word=$2
36249
36440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36250
36441
$as_echo_n "checking for $ac_word... " >&6; }
36251
 
if ${ac_cv_path_PERL+:} false; then :
 
36442
if test "${ac_cv_path_PERL+set}" = set; then :
36252
36443
  $as_echo_n "(cached) " >&6
36253
36444
else
36254
36445
  case $PERL in
36293
36484
set dummy $ac_prog; ac_word=$2
36294
36485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36295
36486
$as_echo_n "checking for $ac_word... " >&6; }
36296
 
if ${ac_cv_path_NROFF+:} false; then :
 
36487
if test "${ac_cv_path_NROFF+set}" = set; then :
36297
36488
  $as_echo_n "(cached) " >&6
36298
36489
else
36299
36490
  case $NROFF in
36458
36649
 
36459
36650
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36460
36651
$as_echo "no" >&6; }
36461
 
        as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
 
36652
        as_fn_error "c-ares library defective or too old" "$LINENO" 5
36462
36653
                CPPFLAGS="$clean_CPPFLAGS"
36463
36654
        LDFLAGS="$clean_LDFLAGS"
36464
36655
        LIBS="$clean_LIBS"
36529
36720
 
36530
36721
 
36531
36722
if test "x$want_thres" = xyes && test "x$want_ares" = xyes; then
36532
 
  as_fn_error $? "Options --enable-threaded-resolver and --enable-ares are mutually exclusive" "$LINENO" 5
 
36723
  as_fn_error "Options --enable-threaded-resolver and --enable-ares are mutually exclusive" "$LINENO" 5
36533
36724
fi
36534
36725
 
36535
36726
if test "$want_thres" = "yes"; then
36536
36727
  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
36537
 
if test "x$ac_cv_header_pthread_h" = xyes; then :
 
36728
if test "x$ac_cv_header_pthread_h" = x""yes; then :
36538
36729
 
36539
36730
$as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h
36540
36731
 
36542
36733
      CFLAGS="$CFLAGS -pthread"
36543
36734
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
36544
36735
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
36545
 
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
 
36736
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
36546
36737
  $as_echo_n "(cached) " >&6
36547
36738
else
36548
36739
  ac_check_lib_save_LIBS=$LIBS
36573
36764
fi
36574
36765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
36575
36766
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
36576
 
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
 
36767
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
36577
36768
   { $as_echo "$as_me:${as_lineno-$LINENO}: using POSIX threaded DNS lookup" >&5
36578
36769
$as_echo "$as_me: using POSIX threaded DNS lookup" >&6;}
36579
36770
 
36673
36864
fi
36674
36865
 
36675
36866
 
 
36867
 
 
36868
    OPT_NTLM_WB="default"
 
36869
  # Check whether --enable-ntlm-wb was given.
 
36870
if test "${enable_ntlm_wb+set}" = set; then :
 
36871
  enableval=$enable_ntlm_wb; OPT_NTLM_WB=$enableval
 
36872
fi
 
36873
 
 
36874
  want_ntlm_wb_file="/usr/bin/ntlm_auth"
 
36875
  case "$OPT_NTLM_WB" in
 
36876
    no)
 
36877
            want_ntlm_wb="no"
 
36878
      ;;
 
36879
    default)
 
36880
            want_ntlm_wb="yes"
 
36881
      ;;
 
36882
    *)
 
36883
            want_ntlm_wb="yes"
 
36884
      if test -n "$enableval" && test "$enableval" != "yes"; then
 
36885
        want_ntlm_wb_file="$enableval"
 
36886
      fi
 
36887
      ;;
 
36888
  esac
 
36889
 
 
36890
 
 
36891
 
 
36892
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbind's helper" >&5
 
36893
$as_echo_n "checking whether to enable NTLM delegation to winbind's helper... " >&6; }
 
36894
  if test "$ac_cv_native_windows" = "yes" ||
 
36895
    test "x$SSL_ENABLED" = "x"; then
 
36896
    want_ntlm_wb_file=""
 
36897
    want_ntlm_wb="no"
 
36898
  fi
 
36899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
 
36900
$as_echo "$want_ntlm_wb" >&6; }
 
36901
  if test "$want_ntlm_wb" = "yes"; then
 
36902
 
 
36903
$as_echo "#define NTLM_WB_ENABLED 1" >>confdefs.h
 
36904
 
 
36905
 
 
36906
cat >>confdefs.h <<_ACEOF
 
36907
#define NTLM_WB_FILE "$want_ntlm_wb_file"
 
36908
_ACEOF
 
36909
 
 
36910
    NTLM_WB_ENABLED=1
 
36911
  fi
 
36912
 
 
36913
 
36676
36914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
36677
36915
$as_echo_n "checking whether to enable TLS-SRP authentication... " >&6; }
36678
36916
# Check whether --enable-tls-srp was given.
36874
37112
  if test "x$USE_SSLEAY" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
36875
37113
      -o "x$GNUTLS_ENABLED" = "x1" -o "x$NSS_ENABLED" = "x1"; then
36876
37114
    SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM"
 
37115
    if test "x$NTLM_WB_ENABLED" = "x1"; then
 
37116
      SUPPORT_FEATURES="$SUPPORT_FEATURES NTLM_WB"
 
37117
    fi
36877
37118
  fi
36878
37119
fi
36879
37120
if test "x$USE_TLS_SRP" = "x1"; then
37037
37278
     :end' >>confcache
37038
37279
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37039
37280
  if test -w "$cache_file"; then
37040
 
    if test "x$cache_file" != "x/dev/null"; then
 
37281
    test "x$cache_file" != "x/dev/null" &&
37041
37282
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
37042
37283
$as_echo "$as_me: updating cache $cache_file" >&6;}
37043
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
37044
 
        cat confcache >"$cache_file"
37045
 
      else
37046
 
        case $cache_file in #(
37047
 
        */* | ?:*)
37048
 
          mv -f confcache "$cache_file"$$ &&
37049
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
37050
 
        *)
37051
 
          mv -f confcache "$cache_file" ;;
37052
 
        esac
37053
 
      fi
37054
 
    fi
 
37284
    cat confcache >$cache_file
37055
37285
  else
37056
37286
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
37057
37287
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37067
37297
 
37068
37298
ac_libobjs=
37069
37299
ac_ltlibobjs=
37070
 
U=
37071
37300
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37072
37301
  # 1. Remove the extension, and $U if already installed.
37073
37302
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
37083
37312
 
37084
37313
 
37085
37314
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
37086
 
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
37315
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
37087
37316
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37088
37317
fi
37089
37318
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
37090
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
37319
  as_fn_error "conditional \"AMDEP\" was never defined.
37091
37320
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37092
37321
fi
37093
37322
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
37094
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
37323
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
37095
37324
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37096
37325
fi
37097
37326
if test -z "${MIMPURE_TRUE}" && test -z "${MIMPURE_FALSE}"; then
37098
 
  as_fn_error $? "conditional \"MIMPURE\" was never defined.
37099
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37100
 
fi
37101
 
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
37102
 
  as_fn_error $? "conditional \"STATICLIB\" was never defined.
37103
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37104
 
fi
37105
 
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
37106
 
  as_fn_error $? "conditional \"STATICLIB\" was never defined.
 
37327
  as_fn_error "conditional \"MIMPURE\" was never defined.
 
37328
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
37329
fi
 
37330
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
 
37331
  as_fn_error "conditional \"STATICLIB\" was never defined.
 
37332
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
37333
fi
 
37334
if test -z "${STATICLIB_TRUE}" && test -z "${STATICLIB_FALSE}"; then
 
37335
  as_fn_error "conditional \"STATICLIB\" was never defined.
37107
37336
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37108
37337
fi
37109
37338
if test -z "${NO_UNDEFINED_TRUE}" && test -z "${NO_UNDEFINED_FALSE}"; then
37110
 
  as_fn_error $? "conditional \"NO_UNDEFINED\" was never defined.
 
37339
  as_fn_error "conditional \"NO_UNDEFINED\" was never defined.
37111
37340
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37112
37341
fi
37113
37342
if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
37114
 
  as_fn_error $? "conditional \"CURLDEBUG\" was never defined.
 
37343
  as_fn_error "conditional \"CURLDEBUG\" was never defined.
37115
37344
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37116
37345
fi
37117
37346
if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
37118
 
  as_fn_error $? "conditional \"BUILD_UNITTESTS\" was never defined.
 
37347
  as_fn_error "conditional \"BUILD_UNITTESTS\" was never defined.
37119
37348
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37120
37349
fi
37121
37350
if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
37122
 
  as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined.
 
37351
  as_fn_error "conditional \"HAVE_LIBZ\" was never defined.
37123
37352
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37124
37353
fi
37125
37354
if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
37126
 
  as_fn_error $? "conditional \"USE_MANUAL\" was never defined.
 
37355
  as_fn_error "conditional \"USE_MANUAL\" was never defined.
37127
37356
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37128
37357
fi
37129
37358
if test -z "${USE_EMBEDDED_ARES_TRUE}" && test -z "${USE_EMBEDDED_ARES_FALSE}"; then
37130
 
  as_fn_error $? "conditional \"USE_EMBEDDED_ARES\" was never defined.
 
37359
  as_fn_error "conditional \"USE_EMBEDDED_ARES\" was never defined.
37131
37360
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37132
37361
fi
37133
37362
if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
37134
 
  as_fn_error $? "conditional \"BUILD_LIBHOSTNAME\" was never defined.
 
37363
  as_fn_error "conditional \"BUILD_LIBHOSTNAME\" was never defined.
37135
37364
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37136
37365
fi
37137
37366
if test -z "${SONAME_BUMP_TRUE}" && test -z "${SONAME_BUMP_FALSE}"; then
37138
 
  as_fn_error $? "conditional \"SONAME_BUMP\" was never defined.
 
37367
  as_fn_error "conditional \"SONAME_BUMP\" was never defined.
37139
37368
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37140
37369
fi
37141
37370
if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
37142
 
  as_fn_error $? "conditional \"CROSSCOMPILING\" was never defined.
 
37371
  as_fn_error "conditional \"CROSSCOMPILING\" was never defined.
37143
37372
Usually this means the macro was only invoked conditionally." "$LINENO" 5
37144
37373
fi
37145
37374
 
37146
 
: "${CONFIG_STATUS=./config.status}"
 
37375
: ${CONFIG_STATUS=./config.status}
37147
37376
ac_write_fail=0
37148
37377
ac_clean_files_save=$ac_clean_files
37149
37378
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37236
37465
IFS=" ""        $as_nl"
37237
37466
 
37238
37467
# Find who we are.  Look in the path if we contain no directory separator.
37239
 
as_myself=
37240
37468
case $0 in #((
37241
37469
  *[\\/]* ) as_myself=$0 ;;
37242
37470
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37282
37510
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
37283
37511
 
37284
37512
 
37285
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
37286
 
# ----------------------------------------
 
37513
# as_fn_error ERROR [LINENO LOG_FD]
 
37514
# ---------------------------------
37287
37515
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
37288
37516
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
37289
 
# script with STATUS, using 1 if that was 0.
 
37517
# script with status $?, using 1 if that was 0.
37290
37518
as_fn_error ()
37291
37519
{
37292
 
  as_status=$1; test $as_status -eq 0 && as_status=1
37293
 
  if test "$4"; then
37294
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
37295
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
37520
  as_status=$?; test $as_status -eq 0 && as_status=1
 
37521
  if test "$3"; then
 
37522
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
37523
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
37296
37524
  fi
37297
 
  $as_echo "$as_me: error: $2" >&2
 
37525
  $as_echo "$as_me: error: $1" >&2
37298
37526
  as_fn_exit $as_status
37299
37527
} # as_fn_error
37300
37528
 
37490
37718
      test -d "$as_dir" && break
37491
37719
    done
37492
37720
    test -z "$as_dirs" || eval "mkdir $as_dirs"
37493
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
37721
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
37494
37722
 
37495
37723
 
37496
37724
} # as_fn_mkdir_p
37544
37772
# values after options handling.
37545
37773
ac_log="
37546
37774
This file was extended by curl $as_me -, which was
37547
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
37775
generated by GNU Autoconf 2.64.  Invocation command line was
37548
37776
 
37549
37777
  CONFIG_FILES    = $CONFIG_FILES
37550
37778
  CONFIG_HEADERS  = $CONFIG_HEADERS
37584
37812
 
37585
37813
  -h, --help       print this help, then exit
37586
37814
  -V, --version    print version number and configuration settings, then exit
37587
 
      --config     print configuration, then exit
37588
37815
  -q, --quiet, --silent
37589
37816
                   do not print progress messages
37590
37817
  -d, --debug      don't remove temporary files
37607
37834
 
37608
37835
_ACEOF
37609
37836
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37610
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
37611
37837
ac_cs_version="\\
37612
37838
curl config.status -
37613
 
configured by $0, generated by GNU Autoconf 2.68,
37614
 
  with options \\"\$ac_cs_config\\"
 
37839
configured by $0, generated by GNU Autoconf 2.64,
 
37840
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
37615
37841
 
37616
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
37842
Copyright (C) 2009 Free Software Foundation, Inc.
37617
37843
This config.status script is free software; the Free Software Foundation
37618
37844
gives unlimited permission to copy, distribute and modify it."
37619
37845
 
37630
37856
while test $# != 0
37631
37857
do
37632
37858
  case $1 in
37633
 
  --*=?*)
 
37859
  --*=*)
37634
37860
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
37635
37861
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
37636
37862
    ac_shift=:
37637
37863
    ;;
37638
 
  --*=)
37639
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
37640
 
    ac_optarg=
37641
 
    ac_shift=:
37642
 
    ;;
37643
37864
  *)
37644
37865
    ac_option=$1
37645
37866
    ac_optarg=$2
37653
37874
    ac_cs_recheck=: ;;
37654
37875
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
37655
37876
    $as_echo "$ac_cs_version"; exit ;;
37656
 
  --config | --confi | --conf | --con | --co | --c )
37657
 
    $as_echo "$ac_cs_config"; exit ;;
37658
37877
  --debug | --debu | --deb | --de | --d | -d )
37659
37878
    debug=: ;;
37660
37879
  --file | --fil | --fi | --f )
37661
37880
    $ac_shift
37662
37881
    case $ac_optarg in
37663
37882
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
37664
 
    '') as_fn_error $? "missing file argument" ;;
37665
37883
    esac
37666
37884
    as_fn_append CONFIG_FILES " '$ac_optarg'"
37667
37885
    ac_need_defaults=false;;
37674
37892
    ac_need_defaults=false;;
37675
37893
  --he | --h)
37676
37894
    # Conflict between --help and --header
37677
 
    as_fn_error $? "ambiguous option: \`$1'
 
37895
    as_fn_error "ambiguous option: \`$1'
37678
37896
Try \`$0 --help' for more information.";;
37679
37897
  --help | --hel | -h )
37680
37898
    $as_echo "$ac_cs_usage"; exit ;;
37683
37901
    ac_cs_silent=: ;;
37684
37902
 
37685
37903
  # This is an error.
37686
 
  -*) as_fn_error $? "unrecognized option: \`$1'
 
37904
  -*) as_fn_error "unrecognized option: \`$1'
37687
37905
Try \`$0 --help' for more information." ;;
37688
37906
 
37689
37907
  *) as_fn_append ac_config_targets " $1"
38051
38269
    "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
38052
38270
    "libcurl.pc") CONFIG_FILES="$CONFIG_FILES libcurl.pc" ;;
38053
38271
 
38054
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
38272
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
38055
38273
  esac
38056
38274
done
38057
38275
 
38074
38292
# after its creation but before its name has been assigned to `$tmp'.
38075
38293
$debug ||
38076
38294
{
38077
 
  tmp= ac_tmp=
 
38295
  tmp=
38078
38296
  trap 'exit_status=$?
38079
 
  : "${ac_tmp:=$tmp}"
38080
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
38297
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
38081
38298
' 0
38082
38299
  trap 'as_fn_exit 1' 1 2 13 15
38083
38300
}
38085
38302
 
38086
38303
{
38087
38304
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
38088
 
  test -d "$tmp"
 
38305
  test -n "$tmp" && test -d "$tmp"
38089
38306
}  ||
38090
38307
{
38091
38308
  tmp=./conf$$-$RANDOM
38092
38309
  (umask 077 && mkdir "$tmp")
38093
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
38094
 
ac_tmp=$tmp
 
38310
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
38095
38311
 
38096
38312
# Set up the scripts for CONFIG_FILES section.
38097
38313
# No need to generate them if there are no CONFIG_FILES.
38108
38324
fi
38109
38325
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
38110
38326
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
38111
 
  ac_cs_awk_cr='\\r'
 
38327
  ac_cs_awk_cr='\r'
38112
38328
else
38113
38329
  ac_cs_awk_cr=$ac_cr
38114
38330
fi
38115
38331
 
38116
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
38332
echo 'BEGIN {' >"$tmp/subs1.awk" &&
38117
38333
_ACEOF
38118
38334
 
38119
38335
 
38122
38338
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
38123
38339
  echo "_ACEOF"
38124
38340
} >conf$$subs.sh ||
38125
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38126
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
38341
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
38342
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
38127
38343
ac_delim='%!_!# '
38128
38344
for ac_last_try in false false false false false :; do
38129
38345
  . ./conf$$subs.sh ||
38130
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
38346
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
38131
38347
 
38132
38348
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
38133
38349
  if test $ac_delim_n = $ac_delim_num; then
38134
38350
    break
38135
38351
  elif $ac_last_try; then
38136
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
38352
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
38137
38353
  else
38138
38354
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38139
38355
  fi
38141
38357
rm -f conf$$subs.sh
38142
38358
 
38143
38359
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38144
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
38360
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
38145
38361
_ACEOF
38146
38362
sed -n '
38147
38363
h
38155
38371
t delim
38156
38372
:nl
38157
38373
h
38158
 
s/\(.\{148\}\)..*/\1/
 
38374
s/\(.\{148\}\).*/\1/
38159
38375
t more1
38160
38376
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
38161
38377
p
38169
38385
t nl
38170
38386
:delim
38171
38387
h
38172
 
s/\(.\{148\}\)..*/\1/
 
38388
s/\(.\{148\}\).*/\1/
38173
38389
t more2
38174
38390
s/["\\]/\\&/g; s/^/"/; s/$/"/
38175
38391
p
38189
38405
rm -f conf$$subs.awk
38190
38406
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38191
38407
_ACAWK
38192
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
38408
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
38193
38409
  for (key in S) S_is_set[key] = 1
38194
38410
  FS = ""
38195
38411
 
38221
38437
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
38222
38438
else
38223
38439
  cat
38224
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
38225
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
38440
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
38441
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
38226
38442
_ACEOF
38227
38443
 
38228
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
38229
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
38444
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
38445
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38230
38446
# trailing colons and then remove the whole line if VPATH becomes empty
38231
38447
# (actually we leave an empty line to preserve line numbers).
38232
38448
if test "x$srcdir" = x.; then
38233
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
38234
 
h
38235
 
s///
38236
 
s/^/:/
38237
 
s/[      ]*$/:/
38238
 
s/:\$(srcdir):/:/g
38239
 
s/:\${srcdir}:/:/g
38240
 
s/:@srcdir@:/:/g
38241
 
s/^:*//
 
38449
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
38450
s/:*\$(srcdir):*/:/
 
38451
s/:*\${srcdir}:*/:/
 
38452
s/:*@srcdir@:*/:/
 
38453
s/^\([^=]*=[     ]*\):*/\1/
38242
38454
s/:*$//
38243
 
x
38244
 
s/\(=[   ]*\).*/\1/
38245
 
G
38246
 
s/\n//
38247
38455
s/^[^=]*=[       ]*$//
38248
38456
}'
38249
38457
fi
38255
38463
# No need to generate them if there are no CONFIG_HEADERS.
38256
38464
# This happens for instance with `./config.status Makefile'.
38257
38465
if test -n "$CONFIG_HEADERS"; then
38258
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
38466
cat >"$tmp/defines.awk" <<\_ACAWK ||
38259
38467
BEGIN {
38260
38468
_ACEOF
38261
38469
 
38267
38475
# handling of long lines.
38268
38476
ac_delim='%!_!# '
38269
38477
for ac_last_try in false false :; do
38270
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
38271
 
  if test -z "$ac_tt"; then
 
38478
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
38479
  if test -z "$ac_t"; then
38272
38480
    break
38273
38481
  elif $ac_last_try; then
38274
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
38482
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
38275
38483
  else
38276
38484
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38277
38485
  fi
38356
38564
_ACAWK
38357
38565
_ACEOF
38358
38566
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38359
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
38567
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
38360
38568
fi # test -n "$CONFIG_HEADERS"
38361
38569
 
38362
38570
 
38369
38577
  esac
38370
38578
  case $ac_mode$ac_tag in
38371
38579
  :[FHL]*:*);;
38372
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
38580
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
38373
38581
  :[FH]-) ac_tag=-:-;;
38374
38582
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
38375
38583
  esac
38388
38596
    for ac_f
38389
38597
    do
38390
38598
      case $ac_f in
38391
 
      -) ac_f="$ac_tmp/stdin";;
 
38599
      -) ac_f="$tmp/stdin";;
38392
38600
      *) # Look for the file first in the build tree, then in the source tree
38393
38601
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
38394
38602
         # because $ac_f cannot contain `:'.
38397
38605
           [\\/$]*) false;;
38398
38606
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
38399
38607
           esac ||
38400
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
38608
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
38401
38609
      esac
38402
38610
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
38403
38611
      as_fn_append ac_file_inputs " '$ac_f'"
38423
38631
    esac
38424
38632
 
38425
38633
    case $ac_tag in
38426
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
38427
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
38634
    *:-:* | *:-) cat >"$tmp/stdin" \
 
38635
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
38428
38636
    esac
38429
38637
    ;;
38430
38638
  esac
38554
38762
s&@INSTALL@&$ac_INSTALL&;t t
38555
38763
$ac_datarootdir_hack
38556
38764
"
38557
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
38558
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
38765
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
38766
  || as_fn_error "could not create $ac_file" "$LINENO" 5
38559
38767
 
38560
38768
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
38561
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
38562
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
38563
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
38769
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
38770
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
38564
38771
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38565
 
which seems to be undefined.  Please make sure it is defined" >&5
 
38772
which seems to be undefined.  Please make sure it is defined." >&5
38566
38773
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38567
 
which seems to be undefined.  Please make sure it is defined" >&2;}
 
38774
which seems to be undefined.  Please make sure it is defined." >&2;}
38568
38775
 
38569
 
  rm -f "$ac_tmp/stdin"
 
38776
  rm -f "$tmp/stdin"
38570
38777
  case $ac_file in
38571
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
38572
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
38778
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
38779
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
38573
38780
  esac \
38574
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
38781
  || as_fn_error "could not create $ac_file" "$LINENO" 5
38575
38782
 ;;
38576
38783
  :H)
38577
38784
  #
38580
38787
  if test x"$ac_file" != x-; then
38581
38788
    {
38582
38789
      $as_echo "/* $configure_input  */" \
38583
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
38584
 
    } >"$ac_tmp/config.h" \
38585
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
38586
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
38790
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
38791
    } >"$tmp/config.h" \
 
38792
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
38793
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
38587
38794
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
38588
38795
$as_echo "$as_me: $ac_file is unchanged" >&6;}
38589
38796
    else
38590
38797
      rm -f "$ac_file"
38591
 
      mv "$ac_tmp/config.h" "$ac_file" \
38592
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
38798
      mv "$tmp/config.h" "$ac_file" \
 
38799
        || as_fn_error "could not create $ac_file" "$LINENO" 5
38593
38800
    fi
38594
38801
  else
38595
38802
    $as_echo "/* $configure_input  */" \
38596
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
38597
 
      || as_fn_error $? "could not create -" "$LINENO" 5
 
38803
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
38804
      || as_fn_error "could not create -" "$LINENO" 5
38598
38805
  fi
38599
38806
# Compute "$ac_file"'s index in $config_headers.
38600
38807
_am_stamp_count=1
39365
39572
ac_clean_files=$ac_clean_files_save
39366
39573
 
39367
39574
test $ac_write_fail = 0 ||
39368
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
39575
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
39369
39576
 
39370
39577
 
39371
39578
# configure is writing to config.log, and then calls config.status.
39386
39593
  exec 5>>config.log
39387
39594
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
39388
39595
  # would make configure fail if this is the last instruction.
39389
 
  $ac_cs_success || as_fn_exit 1
 
39596
  $ac_cs_success || as_fn_exit $?
39390
39597
fi
39391
39598
 
39392
39599
#
39527
39734
      # The eval makes quoting arguments work.
39528
39735
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
39529
39736
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
39530
 
        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
 
39737
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
39531
39738
    fi
39532
39739
 
39533
39740
    cd "$ac_popdir"