~ubuntu-branches/ubuntu/quantal/aria2/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2011-05-26 22:22:12 UTC
  • mfrom: (2.5.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110526222212-8ck4ia81l227m44l
Tags: 1.11.2-1
* New upstream release
* debian/control:
  + Updated Standards-Version to 3.9.2
* debian/copyright:
  + Updated as per latest DEP-5 specification

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.67 for aria2 1.11.1.
 
3
# Generated by GNU Autoconf 2.68 for aria2 1.11.2.
4
4
#
5
5
# Report bugs to <t-tujikawa@users.sourceforge.net>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216
217
  # We cannot yet assume a decent shell, so we have to provide a
217
218
        # neutralization value for shells without unset; and this also
218
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
219
221
        BASH_ENV=/dev/null
220
222
        ENV=/dev/null
221
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
224
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
fi
225
233
 
226
234
    if test x$as_have_required = xno; then :
552
560
# Identity of this package.
553
561
PACKAGE_NAME='aria2'
554
562
PACKAGE_TARNAME='aria2'
555
 
PACKAGE_VERSION='1.11.1'
556
 
PACKAGE_STRING='aria2 1.11.1'
 
563
PACKAGE_VERSION='1.11.2'
 
564
PACKAGE_STRING='aria2 1.11.2'
557
565
PACKAGE_BUGREPORT='t-tujikawa@users.sourceforge.net'
558
566
PACKAGE_URL='http://aria2.sourceforge.net/'
559
567
 
1314
1322
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315
1323
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316
1324
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1325
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1318
1326
    ;;
1319
1327
 
1320
1328
  esac
1452
1460
  # Omit some internal or obsolete options to make the list less imposing.
1453
1461
  # This message is too long to be a string in the A/UX 3.1 sh.
1454
1462
  cat <<_ACEOF
1455
 
\`configure' configures aria2 1.11.1 to adapt to many kinds of systems.
 
1463
\`configure' configures aria2 1.11.2 to adapt to many kinds of systems.
1456
1464
 
1457
1465
Usage: $0 [OPTION]... [VAR=VALUE]...
1458
1466
 
1523
1531
 
1524
1532
if test -n "$ac_init_help"; then
1525
1533
  case $ac_init_help in
1526
 
     short | recursive ) echo "Configuration of aria2 1.11.1:";;
 
1534
     short | recursive ) echo "Configuration of aria2 1.11.2:";;
1527
1535
   esac
1528
1536
  cat <<\_ACEOF
1529
1537
 
1585
1593
              you have headers in a nonstandard directory <include dir>
1586
1594
  CC          C compiler command
1587
1595
  CFLAGS      C compiler flags
1588
 
  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
1589
 
              the first program found out of: `bison -y', `byacc', `yacc'.
 
1596
  YACC        The `Yet Another Compiler Compiler' implementation to use.
 
1597
              Defaults to the first program found out of: `bison -y', `byacc',
 
1598
              `yacc'.
1590
1599
  YFLAGS      The list of arguments that will be passed by default to $YACC.
1591
1600
              This script will default YFLAGS to the empty string to avoid a
1592
1601
              default value of `-d' given by some make applications.
1682
1691
test -n "$ac_init_help" && exit $ac_status
1683
1692
if $ac_init_version; then
1684
1693
  cat <<\_ACEOF
1685
 
aria2 configure 1.11.1
1686
 
generated by GNU Autoconf 2.67
 
1694
aria2 configure 1.11.2
 
1695
generated by GNU Autoconf 2.68
1687
1696
 
1688
1697
Copyright (C) 2010 Free Software Foundation, Inc.
1689
1698
This configure script is free software; the Free Software Foundation
1729
1738
 
1730
1739
        ac_retval=1
1731
1740
fi
1732
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1741
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733
1742
  as_fn_set_status $ac_retval
1734
1743
 
1735
1744
} # ac_fn_cxx_try_compile
1767
1776
 
1768
1777
        ac_retval=1
1769
1778
fi
1770
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1779
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771
1780
  as_fn_set_status $ac_retval
1772
1781
 
1773
1782
} # ac_fn_c_try_compile
1804
1813
 
1805
1814
    ac_retval=1
1806
1815
fi
1807
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1816
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808
1817
  as_fn_set_status $ac_retval
1809
1818
 
1810
1819
} # ac_fn_cxx_try_cpp
1817
1826
ac_fn_cxx_check_header_mongrel ()
1818
1827
{
1819
1828
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1829
  if eval \${$3+:} false; then :
1821
1830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822
1831
$as_echo_n "checking for $2... " >&6; }
1823
 
if eval "test \"\${$3+set}\"" = set; then :
 
1832
if eval \${$3+:} false; then :
1824
1833
  $as_echo_n "(cached) " >&6
1825
1834
fi
1826
1835
eval ac_res=\$$3
1887
1896
esac
1888
1897
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889
1898
$as_echo_n "checking for $2... " >&6; }
1890
 
if eval "test \"\${$3+set}\"" = set; then :
 
1899
if eval \${$3+:} false; then :
1891
1900
  $as_echo_n "(cached) " >&6
1892
1901
else
1893
1902
  eval "$3=\$ac_header_compiler"
1896
1905
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897
1906
$as_echo "$ac_res" >&6; }
1898
1907
fi
1899
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1908
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1909
 
1901
1910
} # ac_fn_cxx_check_header_mongrel
1902
1911
 
1937
1946
       ac_retval=$ac_status
1938
1947
fi
1939
1948
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1940
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1949
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941
1950
  as_fn_set_status $ac_retval
1942
1951
 
1943
1952
} # ac_fn_cxx_try_run
1951
1960
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
1961
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953
1962
$as_echo_n "checking for $2... " >&6; }
1954
 
if eval "test \"\${$3+set}\"" = set; then :
 
1963
if eval \${$3+:} false; then :
1955
1964
  $as_echo_n "(cached) " >&6
1956
1965
else
1957
1966
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969
1978
eval ac_res=\$$3
1970
1979
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971
1980
$as_echo "$ac_res" >&6; }
1972
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1981
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1982
 
1974
1983
} # ac_fn_cxx_check_header_compile
1975
1984
 
2014
2023
  # interfere with the next link command; also delete a directory that is
2015
2024
  # left behind by Apple's compiler.  We do this before executing the actions.
2016
2025
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2026
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018
2027
  as_fn_set_status $ac_retval
2019
2028
 
2020
2029
} # ac_fn_cxx_try_link
2027
2036
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028
2037
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029
2038
$as_echo_n "checking for $2... " >&6; }
2030
 
if eval "test \"\${$3+set}\"" = set; then :
 
2039
if eval \${$3+:} false; then :
2031
2040
  $as_echo_n "(cached) " >&6
2032
2041
else
2033
2042
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082
2091
eval ac_res=\$$3
2083
2092
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084
2093
$as_echo "$ac_res" >&6; }
2085
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2094
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2086
2095
 
2087
2096
} # ac_fn_cxx_check_func
2088
2097
 
2095
2104
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096
2105
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097
2106
$as_echo_n "checking for $2... " >&6; }
2098
 
if eval "test \"\${$3+set}\"" = set; then :
 
2107
if eval \${$3+:} false; then :
2099
2108
  $as_echo_n "(cached) " >&6
2100
2109
else
2101
2110
  eval "$3=no"
2136
2145
eval ac_res=\$$3
2137
2146
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138
2147
$as_echo "$ac_res" >&6; }
2139
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2148
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2140
2149
 
2141
2150
} # ac_fn_cxx_check_type
2142
2151
 
2149
2158
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2150
2159
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2151
2160
$as_echo_n "checking for int$2_t... " >&6; }
2152
 
if eval "test \"\${$3+set}\"" = set; then :
 
2161
if eval \${$3+:} false; then :
2153
2162
  $as_echo_n "(cached) " >&6
2154
2163
else
2155
2164
  eval "$3=no"
2210
2219
eval ac_res=\$$3
2211
2220
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212
2221
$as_echo "$ac_res" >&6; }
2213
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2222
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2214
2223
 
2215
2224
} # ac_fn_c_find_intX_t
2216
2225
 
2223
2232
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2224
2233
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2225
2234
$as_echo_n "checking for uint$2_t... " >&6; }
2226
 
if eval "test \"\${$3+set}\"" = set; then :
 
2235
if eval \${$3+:} false; then :
2227
2236
  $as_echo_n "(cached) " >&6
2228
2237
else
2229
2238
  eval "$3=no"
2263
2272
eval ac_res=\$$3
2264
2273
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265
2274
$as_echo "$ac_res" >&6; }
2266
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2275
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2267
2276
 
2268
2277
} # ac_fn_c_find_uintX_t
2269
2278
 
2440
2449
rm -f conftest.val
2441
2450
 
2442
2451
  fi
2443
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2452
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2444
2453
  as_fn_set_status $ac_retval
2445
2454
 
2446
2455
} # ac_fn_cxx_compute_int
2454
2463
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455
2464
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2456
2465
$as_echo_n "checking for $2.$3... " >&6; }
2457
 
if eval "test \"\${$4+set}\"" = set; then :
 
2466
if eval \${$4+:} false; then :
2458
2467
  $as_echo_n "(cached) " >&6
2459
2468
else
2460
2469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2498
2507
eval ac_res=\$$4
2499
2508
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500
2509
$as_echo "$ac_res" >&6; }
2501
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2510
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2502
2511
 
2503
2512
} # ac_fn_cxx_check_member
2504
2513
cat >config.log <<_ACEOF
2505
2514
This file contains any messages produced by compilers while
2506
2515
running configure, to aid debugging if configure makes a mistake.
2507
2516
 
2508
 
It was created by aria2 $as_me 1.11.1, which was
2509
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2517
It was created by aria2 $as_me 1.11.2, which was
 
2518
generated by GNU Autoconf 2.68.  Invocation command line was
2510
2519
 
2511
2520
  $ $0 $@
2512
2521
 
2764
2773
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2765
2774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2766
2775
as_fn_error $? "failed to load site script $ac_site_file
2767
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2776
See \`config.log' for more details" "$LINENO" 5; }
2768
2777
  fi
2769
2778
done
2770
2779
 
2894
2903
 
2895
2904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2896
2905
$as_echo_n "checking build system type... " >&6; }
2897
 
if test "${ac_cv_build+set}" = set; then :
 
2906
if ${ac_cv_build+:} false; then :
2898
2907
  $as_echo_n "(cached) " >&6
2899
2908
else
2900
2909
  ac_build_alias=$build_alias
2910
2919
$as_echo "$ac_cv_build" >&6; }
2911
2920
case $ac_cv_build in
2912
2921
*-*-*) ;;
2913
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2922
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2914
2923
esac
2915
2924
build=$ac_cv_build
2916
2925
ac_save_IFS=$IFS; IFS='-'
2928
2937
 
2929
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2930
2939
$as_echo_n "checking host system type... " >&6; }
2931
 
if test "${ac_cv_host+set}" = set; then :
 
2940
if ${ac_cv_host+:} false; then :
2932
2941
  $as_echo_n "(cached) " >&6
2933
2942
else
2934
2943
  if test "x$host_alias" = x; then
2943
2952
$as_echo "$ac_cv_host" >&6; }
2944
2953
case $ac_cv_host in
2945
2954
*-*-*) ;;
2946
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2955
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2947
2956
esac
2948
2957
host=$ac_cv_host
2949
2958
ac_save_IFS=$IFS; IFS='-'
2961
2970
 
2962
2971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2963
2972
$as_echo_n "checking target system type... " >&6; }
2964
 
if test "${ac_cv_target+set}" = set; then :
 
2973
if ${ac_cv_target+:} false; then :
2965
2974
  $as_echo_n "(cached) " >&6
2966
2975
else
2967
2976
  if test "x$target_alias" = x; then
2976
2985
$as_echo "$ac_cv_target" >&6; }
2977
2986
case $ac_cv_target in
2978
2987
*-*-*) ;;
2979
 
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 
2988
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2980
2989
esac
2981
2990
target=$ac_cv_target
2982
2991
ac_save_IFS=$IFS; IFS='-'
3017
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3018
3027
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3019
3028
if test -z "$INSTALL"; then
3020
 
if test "${ac_cv_path_install+set}" = set; then :
 
3029
if ${ac_cv_path_install+:} false; then :
3021
3030
  $as_echo_n "(cached) " >&6
3022
3031
else
3023
3032
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104
3113
'
3105
3114
case `pwd` in
3106
3115
  *[\\\"\#\$\&\'\`$am_lf]*)
3107
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3116
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3108
3117
esac
3109
3118
case $srcdir in
3110
3119
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3111
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3120
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3112
3121
esac
3113
3122
 
3114
3123
# Do `set' in a subshell so we don't clobber the current shell's
3194
3203
set dummy ${ac_tool_prefix}strip; ac_word=$2
3195
3204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196
3205
$as_echo_n "checking for $ac_word... " >&6; }
3197
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3206
if ${ac_cv_prog_STRIP+:} false; then :
3198
3207
  $as_echo_n "(cached) " >&6
3199
3208
else
3200
3209
  if test -n "$STRIP"; then
3234
3243
set dummy strip; ac_word=$2
3235
3244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236
3245
$as_echo_n "checking for $ac_word... " >&6; }
3237
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3246
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3238
3247
  $as_echo_n "(cached) " >&6
3239
3248
else
3240
3249
  if test -n "$ac_ct_STRIP"; then
3287
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3288
3297
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3289
3298
if test -z "$MKDIR_P"; then
3290
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3299
  if ${ac_cv_path_mkdir+:} false; then :
3291
3300
  $as_echo_n "(cached) " >&6
3292
3301
else
3293
3302
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338
3347
set dummy $ac_prog; ac_word=$2
3339
3348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3340
3349
$as_echo_n "checking for $ac_word... " >&6; }
3341
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3350
if ${ac_cv_prog_AWK+:} false; then :
3342
3351
  $as_echo_n "(cached) " >&6
3343
3352
else
3344
3353
  if test -n "$AWK"; then
3378
3387
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3379
3388
set x ${MAKE-make}
3380
3389
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3381
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3390
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3382
3391
  $as_echo_n "(cached) " >&6
3383
3392
else
3384
3393
  cat >conftest.make <<\_ACEOF
3436
3445
 
3437
3446
# Define the identity of the package.
3438
3447
 PACKAGE='aria2'
3439
 
 VERSION='1.11.1'
 
3448
 VERSION='1.11.2'
3440
3449
 
3441
3450
 
3442
3451
cat >>confdefs.h <<_ACEOF
3512
3521
set dummy cppunit-config; ac_word=$2
3513
3522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514
3523
$as_echo_n "checking for $ac_word... " >&6; }
3515
 
if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
 
3524
if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
3516
3525
  $as_echo_n "(cached) " >&6
3517
3526
else
3518
3527
  case $CPPUNIT_CONFIG in
3749
3758
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3750
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751
3760
$as_echo_n "checking for $ac_word... " >&6; }
3752
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3761
if ${ac_cv_prog_CXX+:} false; then :
3753
3762
  $as_echo_n "(cached) " >&6
3754
3763
else
3755
3764
  if test -n "$CXX"; then
3793
3802
set dummy $ac_prog; ac_word=$2
3794
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3795
3804
$as_echo_n "checking for $ac_word... " >&6; }
3796
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3805
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3797
3806
  $as_echo_n "(cached) " >&6
3798
3807
else
3799
3808
  if test -n "$ac_ct_CXX"; then
3957
3966
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3958
3967
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3959
3968
as_fn_error 77 "C++ compiler cannot create executables
3960
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3969
See \`config.log' for more details" "$LINENO" 5; }
3961
3970
else
3962
3971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3963
3972
$as_echo "yes" >&6; }
4000
4009
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001
4010
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002
4011
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4003
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4012
See \`config.log' for more details" "$LINENO" 5; }
4004
4013
fi
4005
4014
rm -f conftest conftest$ac_cv_exeext
4006
4015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059
4068
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4060
4069
as_fn_error $? "cannot run C++ compiled programs.
4061
4070
If you meant to cross compile, use \`--host'.
4062
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4071
See \`config.log' for more details" "$LINENO" 5; }
4063
4072
    fi
4064
4073
  fi
4065
4074
fi
4070
4079
ac_clean_files=$ac_clean_files_save
4071
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4072
4081
$as_echo_n "checking for suffix of object files... " >&6; }
4073
 
if test "${ac_cv_objext+set}" = set; then :
 
4082
if ${ac_cv_objext+:} false; then :
4074
4083
  $as_echo_n "(cached) " >&6
4075
4084
else
4076
4085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111
4120
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112
4121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113
4122
as_fn_error $? "cannot compute suffix of object files: cannot compile
4114
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4123
See \`config.log' for more details" "$LINENO" 5; }
4115
4124
fi
4116
4125
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117
4126
fi
4121
4130
ac_objext=$OBJEXT
4122
4131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4123
4132
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4124
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4133
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4125
4134
  $as_echo_n "(cached) " >&6
4126
4135
else
4127
4136
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158
4167
ac_save_CXXFLAGS=$CXXFLAGS
4159
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4160
4169
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4161
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4170
if ${ac_cv_prog_cxx_g+:} false; then :
4162
4171
  $as_echo_n "(cached) " >&6
4163
4172
else
4164
4173
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4306
4315
 
4307
4316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4308
4317
$as_echo_n "checking dependency style of $depcc... " >&6; }
4309
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4318
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4310
4319
  $as_echo_n "(cached) " >&6
4311
4320
else
4312
4321
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4439
4448
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4440
4449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441
4450
$as_echo_n "checking for $ac_word... " >&6; }
4442
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4451
if ${ac_cv_prog_CC+:} false; then :
4443
4452
  $as_echo_n "(cached) " >&6
4444
4453
else
4445
4454
  if test -n "$CC"; then
4479
4488
set dummy gcc; ac_word=$2
4480
4489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481
4490
$as_echo_n "checking for $ac_word... " >&6; }
4482
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4491
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4483
4492
  $as_echo_n "(cached) " >&6
4484
4493
else
4485
4494
  if test -n "$ac_ct_CC"; then
4532
4541
set dummy ${ac_tool_prefix}cc; ac_word=$2
4533
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534
4543
$as_echo_n "checking for $ac_word... " >&6; }
4535
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4544
if ${ac_cv_prog_CC+:} false; then :
4536
4545
  $as_echo_n "(cached) " >&6
4537
4546
else
4538
4547
  if test -n "$CC"; then
4572
4581
set dummy cc; ac_word=$2
4573
4582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574
4583
$as_echo_n "checking for $ac_word... " >&6; }
4575
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4584
if ${ac_cv_prog_CC+:} false; then :
4576
4585
  $as_echo_n "(cached) " >&6
4577
4586
else
4578
4587
  if test -n "$CC"; then
4631
4640
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4632
4641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633
4642
$as_echo_n "checking for $ac_word... " >&6; }
4634
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4643
if ${ac_cv_prog_CC+:} false; then :
4635
4644
  $as_echo_n "(cached) " >&6
4636
4645
else
4637
4646
  if test -n "$CC"; then
4675
4684
set dummy $ac_prog; ac_word=$2
4676
4685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677
4686
$as_echo_n "checking for $ac_word... " >&6; }
4678
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4687
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4679
4688
  $as_echo_n "(cached) " >&6
4680
4689
else
4681
4690
  if test -n "$ac_ct_CC"; then
4730
4739
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4731
4740
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4732
4741
as_fn_error $? "no acceptable C compiler found in \$PATH
4733
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4742
See \`config.log' for more details" "$LINENO" 5; }
4734
4743
 
4735
4744
# Provide some information about the compiler.
4736
4745
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4759
4768
 
4760
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4761
4770
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4762
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4771
if ${ac_cv_c_compiler_gnu+:} false; then :
4763
4772
  $as_echo_n "(cached) " >&6
4764
4773
else
4765
4774
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796
4805
ac_save_CFLAGS=$CFLAGS
4797
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4798
4807
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4799
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4808
if ${ac_cv_prog_cc_g+:} false; then :
4800
4809
  $as_echo_n "(cached) " >&6
4801
4810
else
4802
4811
  ac_save_c_werror_flag=$ac_c_werror_flag
4874
4883
fi
4875
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4876
4885
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4877
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4886
if ${ac_cv_prog_cc_c89+:} false; then :
4878
4887
  $as_echo_n "(cached) " >&6
4879
4888
else
4880
4889
  ac_cv_prog_cc_c89=no
4973
4982
 
4974
4983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4975
4984
$as_echo_n "checking dependency style of $depcc... " >&6; }
4976
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4985
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4977
4986
  $as_echo_n "(cached) " >&6
4978
4987
else
4979
4988
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5103
5112
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5104
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5105
5114
$as_echo_n "checking for $ac_word... " >&6; }
5106
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5115
if ${ac_cv_prog_RANLIB+:} false; then :
5107
5116
  $as_echo_n "(cached) " >&6
5108
5117
else
5109
5118
  if test -n "$RANLIB"; then
5143
5152
set dummy ranlib; ac_word=$2
5144
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145
5154
$as_echo_n "checking for $ac_word... " >&6; }
5146
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5155
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5147
5156
  $as_echo_n "(cached) " >&6
5148
5157
else
5149
5158
  if test -n "$ac_ct_RANLIB"; then
5196
5205
set dummy $ac_prog; ac_word=$2
5197
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198
5207
$as_echo_n "checking for $ac_word... " >&6; }
5199
 
if test "${ac_cv_prog_YACC+set}" = set; then :
 
5208
if ${ac_cv_prog_YACC+:} false; then :
5200
5209
  $as_echo_n "(cached) " >&6
5201
5210
else
5202
5211
  if test -n "$YACC"; then
5239
5248
set dummy ${ac_tool_prefix}ar; ac_word=$2
5240
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241
5250
$as_echo_n "checking for $ac_word... " >&6; }
5242
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5251
if ${ac_cv_prog_AR+:} false; then :
5243
5252
  $as_echo_n "(cached) " >&6
5244
5253
else
5245
5254
  if test -n "$AR"; then
5279
5288
set dummy ar; ac_word=$2
5280
5289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281
5290
$as_echo_n "checking for $ac_word... " >&6; }
5282
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5291
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5283
5292
  $as_echo_n "(cached) " >&6
5284
5293
else
5285
5294
  if test -n "$ac_ct_AR"; then
5330
5339
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5331
5340
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5332
5341
as_fn_error $? "ar is not found in the system.
5333
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5342
See \`config.log' for more details" "$LINENO" 5; }
5334
5343
fi
5335
5344
 
5336
5345
 
5338
5347
set dummy a2x; ac_word=$2
5339
5348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340
5349
$as_echo_n "checking for $ac_word... " >&6; }
5341
 
if test "${ac_cv_path_A2X+set}" = set; then :
 
5350
if ${ac_cv_path_A2X+:} false; then :
5342
5351
  $as_echo_n "(cached) " >&6
5343
5352
else
5344
5353
  case $A2X in
5388
5397
set dummy asciidoc; ac_word=$2
5389
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5390
5399
$as_echo_n "checking for $ac_word... " >&6; }
5391
 
if test "${ac_cv_path_ASCIIDOC+set}" = set; then :
 
5400
if ${ac_cv_path_ASCIIDOC+:} false; then :
5392
5401
  $as_echo_n "(cached) " >&6
5393
5402
else
5394
5403
  case $ASCIIDOC in
5452
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5453
5462
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5454
5463
if test -z "$CXXCPP"; then
5455
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
5464
  if ${ac_cv_prog_CXXCPP+:} false; then :
5456
5465
  $as_echo_n "(cached) " >&6
5457
5466
else
5458
5467
      # Double quotes because CXXCPP needs to be expanded
5568
5577
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5569
5578
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5570
5579
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5571
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5580
See \`config.log' for more details" "$LINENO" 5; }
5572
5581
fi
5573
5582
 
5574
5583
ac_ext=cpp
5580
5589
 
5581
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5582
5591
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5583
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5592
if ${ac_cv_path_GREP+:} false; then :
5584
5593
  $as_echo_n "(cached) " >&6
5585
5594
else
5586
5595
  if test -z "$GREP"; then
5643
5652
 
5644
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5645
5654
$as_echo_n "checking for egrep... " >&6; }
5646
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5655
if ${ac_cv_path_EGREP+:} false; then :
5647
5656
  $as_echo_n "(cached) " >&6
5648
5657
else
5649
5658
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5710
5719
 
5711
5720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5712
5721
$as_echo_n "checking for ANSI C header files... " >&6; }
5713
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5722
if ${ac_cv_header_stdc+:} false; then :
5714
5723
  $as_echo_n "(cached) " >&6
5715
5724
else
5716
5725
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839
5848
 
5840
5849
 
5841
5850
  ac_fn_cxx_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5842
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5851
if test "x$ac_cv_header_minix_config_h" = xyes; then :
5843
5852
  MINIX=yes
5844
5853
else
5845
5854
  MINIX=
5861
5870
 
5862
5871
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5863
5872
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5864
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5873
if ${ac_cv_safe_to_define___extensions__+:} false; then :
5865
5874
  $as_echo_n "(cached) " >&6
5866
5875
else
5867
5876
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906
5915
 
5907
5916
 
5908
5917
 
 
5918
 
5909
5919
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5910
5920
        if test -n "$ac_tool_prefix"; then
5911
5921
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5912
5922
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5913
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914
5924
$as_echo_n "checking for $ac_word... " >&6; }
5915
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
5925
if ${ac_cv_path_PKG_CONFIG+:} false; then :
5916
5926
  $as_echo_n "(cached) " >&6
5917
5927
else
5918
5928
  case $PKG_CONFIG in
5955
5965
set dummy pkg-config; ac_word=$2
5956
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957
5967
$as_echo_n "checking for $ac_word... " >&6; }
5958
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
5968
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5959
5969
  $as_echo_n "(cached) " >&6
5960
5970
else
5961
5971
  case $ac_pt_PKG_CONFIG in
6064
6074
set dummy xml2-config; ac_word=$2
6065
6075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066
6076
$as_echo_n "checking for $ac_word... " >&6; }
6067
 
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then :
 
6077
if ${ac_cv_path_XML2_CONFIG+:} false; then :
6068
6078
  $as_echo_n "(cached) " >&6
6069
6079
else
6070
6080
  case $XML2_CONFIG in
6292
6302
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6293
6303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6294
6304
as_fn_error $? "libxml2 is requested but not found in the system.
6295
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6305
See \`config.log' for more details" "$LINENO" 5; }
6296
6306
  fi
6297
6307
fi
6298
6308
 
6322
6332
 
6323
6333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
6324
6334
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
6325
 
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
 
6335
if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
6326
6336
  $as_echo_n "(cached) " >&6
6327
6337
else
6328
6338
  ac_check_lib_save_LIBS=$LIBS
6356
6366
fi
6357
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
6358
6368
$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
6359
 
if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
 
6369
if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
6360
6370
  have_libexpat=yes
6361
6371
fi
6362
6372
 
6381
6391
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6382
6392
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6383
6393
as_fn_error $? "libexpat is requested but not found in the system.
6384
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6394
See \`config.log' for more details" "$LINENO" 5; }
6385
6395
  fi
6386
6396
fi
6387
6397
 
6417
6427
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6418
6428
  test $ac_status = 0; }; then
6419
6429
  pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
 
6430
                      test "x$?" != "x0" && pkg_failed=yes
6420
6431
else
6421
6432
  pkg_failed=yes
6422
6433
fi
6433
6444
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6434
6445
  test $ac_status = 0; }; then
6435
6446
  pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
 
6447
                      test "x$?" != "x0" && pkg_failed=yes
6436
6448
else
6437
6449
  pkg_failed=yes
6438
6450
fi
6452
6464
        _pkg_short_errors_supported=no
6453
6465
fi
6454
6466
        if test $_pkg_short_errors_supported = yes; then
6455
 
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sqlite3" 2>&1`
 
6467
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
6456
6468
        else
6457
 
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3" 2>&1`
 
6469
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
6458
6470
        fi
6459
6471
        # Put the nasty error message in config.log where it belongs
6460
6472
        echo "$SQLITE3_PKG_ERRORS" >&5
6484
6496
 
6485
6497
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
6486
6498
$as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
6487
 
if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then :
 
6499
if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
6488
6500
  $as_echo_n "(cached) " >&6
6489
6501
else
6490
6502
  ac_check_lib_save_LIBS=$LIBS
6518
6530
fi
6519
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
6520
6532
$as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
6521
 
if test "x$ac_cv_lib_sqlite3_sqlite3_open" = x""yes; then :
 
6533
if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
6522
6534
  have_sqlite3=yes
6523
6535
fi
6524
6536
 
6533
6545
    for ac_func in sqlite3_open_v2
6534
6546
do :
6535
6547
  ac_fn_cxx_check_func "$LINENO" "sqlite3_open_v2" "ac_cv_func_sqlite3_open_v2"
6536
 
if test "x$ac_cv_func_sqlite3_open_v2" = x""yes; then :
 
6548
if test "x$ac_cv_func_sqlite3_open_v2" = xyes; then :
6537
6549
  cat >>confdefs.h <<_ACEOF
6538
6550
#define HAVE_SQLITE3_OPEN_V2 1
6539
6551
_ACEOF
6559
6571
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6560
6572
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6561
6573
as_fn_error $? "sqlite3 is requested but not found in the system.
6562
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6574
See \`config.log' for more details" "$LINENO" 5; }
6563
6575
  fi
6564
6576
fi
6565
6577
 
6566
6578
if test "x$with_gnutls" = "xyes"; then
6567
 
  # gnutls >= 2.8 doesn't have libgnutls-config anymore.
 
6579
  # gnutls >= 2.8 doesn't have libgnutls-config anymore. We require
 
6580
  # 2.2.0 because we use gnutls_priority_set_direct()
6568
6581
 
6569
6582
pkg_failed=no
6570
6583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNUTLS" >&5
6574
6587
    pkg_cv_LIBGNUTLS_CFLAGS="$LIBGNUTLS_CFLAGS"
6575
6588
 elif test -n "$PKG_CONFIG"; then
6576
6589
    if test -n "$PKG_CONFIG" && \
6577
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.2.9\""; } >&5
6578
 
  ($PKG_CONFIG --exists --print-errors "gnutls >= 1.2.9") 2>&5
 
6590
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.2.0\""; } >&5
 
6591
  ($PKG_CONFIG --exists --print-errors "gnutls >= 2.2.0") 2>&5
6579
6592
  ac_status=$?
6580
6593
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6581
6594
  test $ac_status = 0; }; then
6582
 
  pkg_cv_LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 1.2.9" 2>/dev/null`
 
6595
  pkg_cv_LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.2.0" 2>/dev/null`
 
6596
                      test "x$?" != "x0" && pkg_failed=yes
6583
6597
else
6584
6598
  pkg_failed=yes
6585
6599
fi
6590
6604
    pkg_cv_LIBGNUTLS_LIBS="$LIBGNUTLS_LIBS"
6591
6605
 elif test -n "$PKG_CONFIG"; then
6592
6606
    if test -n "$PKG_CONFIG" && \
6593
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 1.2.9\""; } >&5
6594
 
  ($PKG_CONFIG --exists --print-errors "gnutls >= 1.2.9") 2>&5
 
6607
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.2.0\""; } >&5
 
6608
  ($PKG_CONFIG --exists --print-errors "gnutls >= 2.2.0") 2>&5
6595
6609
  ac_status=$?
6596
6610
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597
6611
  test $ac_status = 0; }; then
6598
 
  pkg_cv_LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 1.2.9" 2>/dev/null`
 
6612
  pkg_cv_LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.2.0" 2>/dev/null`
 
6613
                      test "x$?" != "x0" && pkg_failed=yes
6599
6614
else
6600
6615
  pkg_failed=yes
6601
6616
fi
6615
6630
        _pkg_short_errors_supported=no
6616
6631
fi
6617
6632
        if test $_pkg_short_errors_supported = yes; then
6618
 
                LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 1.2.9" 2>&1`
 
6633
                LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls >= 2.2.0" 2>&1`
6619
6634
        else
6620
 
                LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 1.2.9" 2>&1`
 
6635
                LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls >= 2.2.0" 2>&1`
6621
6636
        fi
6622
6637
        # Put the nasty error message in config.log where it belongs
6623
6638
        echo "$LIBGNUTLS_PKG_ERRORS" >&5
6644
6659
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6645
6660
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6646
6661
as_fn_error $? "gnutls is requested but not found in the system.
6647
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6662
See \`config.log' for more details" "$LINENO" 5; }
6648
6663
  fi
6649
6664
fi
6650
6665
 
6667
6682
set dummy libgcrypt-config; ac_word=$2
6668
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669
6684
$as_echo_n "checking for $ac_word... " >&6; }
6670
 
if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then :
 
6685
if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
6671
6686
  $as_echo_n "(cached) " >&6
6672
6687
else
6673
6688
  case $LIBGCRYPT_CONFIG in
6828
6843
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6829
6844
  test $ac_status = 0; }; then
6830
6845
  pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.8" 2>/dev/null`
 
6846
                      test "x$?" != "x0" && pkg_failed=yes
6831
6847
else
6832
6848
  pkg_failed=yes
6833
6849
fi
6844
6860
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6845
6861
  test $ac_status = 0; }; then
6846
6862
  pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.8" 2>/dev/null`
 
6863
                      test "x$?" != "x0" && pkg_failed=yes
6847
6864
else
6848
6865
  pkg_failed=yes
6849
6866
fi
6863
6880
        _pkg_short_errors_supported=no
6864
6881
fi
6865
6882
        if test $_pkg_short_errors_supported = yes; then
6866
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl >= 0.9.8" 2>&1`
 
6883
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.8" 2>&1`
6867
6884
        else
6868
 
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl >= 0.9.8" 2>&1`
 
6885
                OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.8" 2>&1`
6869
6886
        fi
6870
6887
        # Put the nasty error message in config.log where it belongs
6871
6888
        echo "$OPENSSL_PKG_ERRORS" >&5
6893
6910
  # First check libcrypto, because libssl may depend on it
6894
6911
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypto" >&5
6895
6912
$as_echo_n "checking for main in -lcrypto... " >&6; }
6896
 
if test "${ac_cv_lib_crypto_main+set}" = set; then :
 
6913
if ${ac_cv_lib_crypto_main+:} false; then :
6897
6914
  $as_echo_n "(cached) " >&6
6898
6915
else
6899
6916
  ac_check_lib_save_LIBS=$LIBS
6921
6938
fi
6922
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_main" >&5
6923
6940
$as_echo "$ac_cv_lib_crypto_main" >&6; }
6924
 
if test "x$ac_cv_lib_crypto_main" = x""yes; then :
 
6941
if test "x$ac_cv_lib_crypto_main" = xyes; then :
6925
6942
  have_openssl=yes; LIBS="-lcrypto $LIBS"
6926
6943
fi
6927
6944
 
6929
6946
    have_openssl=no
6930
6947
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
6931
6948
$as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
6932
 
if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :
 
6949
if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
6933
6950
  $as_echo_n "(cached) " >&6
6934
6951
else
6935
6952
  ac_check_lib_save_LIBS=$LIBS
6963
6980
fi
6964
6981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
6965
6982
$as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
6966
 
if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :
 
6983
if test "x$ac_cv_lib_ssl_SSL_library_init" = xyes; then :
6967
6984
  have_openssl=yes LIBS="-lssl $LIBS"
6968
6985
fi
6969
6986
 
6984
7001
  for ac_func in EVP_DigestInit_ex
6985
7002
do :
6986
7003
  ac_fn_cxx_check_func "$LINENO" "EVP_DigestInit_ex" "ac_cv_func_EVP_DigestInit_ex"
6987
 
if test "x$ac_cv_func_EVP_DigestInit_ex" = x""yes; then :
 
7004
if test "x$ac_cv_func_EVP_DigestInit_ex" = xyes; then :
6988
7005
  cat >>confdefs.h <<_ACEOF
6989
7006
#define HAVE_EVP_DIGESTINIT_EX 1
6990
7007
_ACEOF
7001
7018
  for ac_func in EVP_sha224
7002
7019
do :
7003
7020
  ac_fn_cxx_check_func "$LINENO" "EVP_sha224" "ac_cv_func_EVP_sha224"
7004
 
if test "x$ac_cv_func_EVP_sha224" = x""yes; then :
 
7021
if test "x$ac_cv_func_EVP_sha224" = xyes; then :
7005
7022
  cat >>confdefs.h <<_ACEOF
7006
7023
#define HAVE_EVP_SHA224 1
7007
7024
_ACEOF
7013
7030
  for ac_func in EVP_sha256
7014
7031
do :
7015
7032
  ac_fn_cxx_check_func "$LINENO" "EVP_sha256" "ac_cv_func_EVP_sha256"
7016
 
if test "x$ac_cv_func_EVP_sha256" = x""yes; then :
 
7033
if test "x$ac_cv_func_EVP_sha256" = xyes; then :
7017
7034
  cat >>confdefs.h <<_ACEOF
7018
7035
#define HAVE_EVP_SHA256 1
7019
7036
_ACEOF
7025
7042
  for ac_func in EVP_sha384
7026
7043
do :
7027
7044
  ac_fn_cxx_check_func "$LINENO" "EVP_sha384" "ac_cv_func_EVP_sha384"
7028
 
if test "x$ac_cv_func_EVP_sha384" = x""yes; then :
 
7045
if test "x$ac_cv_func_EVP_sha384" = xyes; then :
7029
7046
  cat >>confdefs.h <<_ACEOF
7030
7047
#define HAVE_EVP_SHA384 1
7031
7048
_ACEOF
7037
7054
  for ac_func in EVP_sha512
7038
7055
do :
7039
7056
  ac_fn_cxx_check_func "$LINENO" "EVP_sha512" "ac_cv_func_EVP_sha512"
7040
 
if test "x$ac_cv_func_EVP_sha512" = x""yes; then :
 
7057
if test "x$ac_cv_func_EVP_sha512" = xyes; then :
7041
7058
  cat >>confdefs.h <<_ACEOF
7042
7059
#define HAVE_EVP_SHA512 1
7043
7060
_ACEOF
7058
7075
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7059
7076
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7060
7077
as_fn_error $? "openssl is requested but not found in the system.
7061
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7078
See \`config.log' for more details" "$LINENO" 5; }
7062
7079
  fi
7063
7080
fi
7064
7081
 
7100
7117
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7101
7118
  test $ac_status = 0; }; then
7102
7119
  pkg_cv_LIBCARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.7.0" 2>/dev/null`
 
7120
                      test "x$?" != "x0" && pkg_failed=yes
7103
7121
else
7104
7122
  pkg_failed=yes
7105
7123
fi
7116
7134
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117
7135
  test $ac_status = 0; }; then
7118
7136
  pkg_cv_LIBCARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.7.0" 2>/dev/null`
 
7137
                      test "x$?" != "x0" && pkg_failed=yes
7119
7138
else
7120
7139
  pkg_failed=yes
7121
7140
fi
7135
7154
        _pkg_short_errors_supported=no
7136
7155
fi
7137
7156
        if test $_pkg_short_errors_supported = yes; then
7138
 
                LIBCARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcares >= 1.7.0" 2>&1`
 
7157
                LIBCARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcares >= 1.7.0" 2>&1`
7139
7158
        else
7140
 
                LIBCARES_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcares >= 1.7.0" 2>&1`
 
7159
                LIBCARES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcares >= 1.7.0" 2>&1`
7141
7160
        fi
7142
7161
        # Put the nasty error message in config.log where it belongs
7143
7162
        echo "$LIBCARES_PKG_ERRORS" >&5
7166
7185
 
7167
7186
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ares_init in -lcares" >&5
7168
7187
$as_echo_n "checking for ares_init in -lcares... " >&6; }
7169
 
if test "${ac_cv_lib_cares_ares_init+set}" = set; then :
 
7188
if ${ac_cv_lib_cares_ares_init+:} false; then :
7170
7189
  $as_echo_n "(cached) " >&6
7171
7190
else
7172
7191
  ac_check_lib_save_LIBS=$LIBS
7200
7219
fi
7201
7220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cares_ares_init" >&5
7202
7221
$as_echo "$ac_cv_lib_cares_ares_init" >&6; }
7203
 
if test "x$ac_cv_lib_cares_ares_init" = x""yes; then :
 
7222
if test "x$ac_cv_lib_cares_ares_init" = xyes; then :
7204
7223
  have_libcares=yes
7205
7224
fi
7206
7225
 
7208
7227
  if test "x$have_libcares" != "xyes"; then
7209
7228
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ares_init in -lcares" >&5
7210
7229
$as_echo_n "checking for ares_init in -lcares... " >&6; }
7211
 
if test "${ac_cv_lib_cares_ares_init+set}" = set; then :
 
7230
if ${ac_cv_lib_cares_ares_init+:} false; then :
7212
7231
  $as_echo_n "(cached) " >&6
7213
7232
else
7214
7233
  ac_check_lib_save_LIBS=$LIBS
7242
7261
fi
7243
7262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cares_ares_init" >&5
7244
7263
$as_echo "$ac_cv_lib_cares_ares_init" >&6; }
7245
 
if test "x$ac_cv_lib_cares_ares_init" = x""yes; then :
 
7264
if test "x$ac_cv_lib_cares_ares_init" = xyes; then :
7246
7265
  have_libcares=yes need_librt=yes
7247
7266
fi
7248
7267
 
7265
7284
 
7266
7285
  ac_fn_cxx_check_type "$LINENO" "ares_addr_node" "ac_cv_type_ares_addr_node" "#include <ares.h>
7267
7286
"
7268
 
if test "x$ac_cv_type_ares_addr_node" = x""yes; then :
 
7287
if test "x$ac_cv_type_ares_addr_node" = xyes; then :
7269
7288
 
7270
7289
cat >>confdefs.h <<_ACEOF
7271
7290
#define HAVE_ARES_ADDR_NODE 1
7277
7296
  for ac_func in ares_set_servers
7278
7297
do :
7279
7298
  ac_fn_cxx_check_func "$LINENO" "ares_set_servers" "ac_cv_func_ares_set_servers"
7280
 
if test "x$ac_cv_func_ares_set_servers" = x""yes; then :
 
7299
if test "x$ac_cv_func_ares_set_servers" = xyes; then :
7281
7300
  cat >>confdefs.h <<_ACEOF
7282
7301
#define HAVE_ARES_SET_SERVERS 1
7283
7302
_ACEOF
7298
7317
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7299
7318
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7300
7319
as_fn_error $? "libcares is requested but not found in the system.
7301
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7320
See \`config.log' for more details" "$LINENO" 5; }
7302
7321
  fi
7303
7322
fi
7304
7323
 
7338
7357
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7339
7358
  test $ac_status = 0; }; then
7340
7359
  pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.3" 2>/dev/null`
 
7360
                      test "x$?" != "x0" && pkg_failed=yes
7341
7361
else
7342
7362
  pkg_failed=yes
7343
7363
fi
7354
7374
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7355
7375
  test $ac_status = 0; }; then
7356
7376
  pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.3" 2>/dev/null`
 
7377
                      test "x$?" != "x0" && pkg_failed=yes
7357
7378
else
7358
7379
  pkg_failed=yes
7359
7380
fi
7373
7394
        _pkg_short_errors_supported=no
7374
7395
fi
7375
7396
        if test $_pkg_short_errors_supported = yes; then
7376
 
                ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zlib >= 1.2.3" 2>&1`
 
7397
                ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
7377
7398
        else
7378
 
                ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "zlib >= 1.2.3" 2>&1`
 
7399
                ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.3" 2>&1`
7379
7400
        fi
7380
7401
        # Put the nasty error message in config.log where it belongs
7381
7402
        echo "$ZLIB_PKG_ERRORS" >&5
7402
7423
 
7403
7424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5
7404
7425
$as_echo_n "checking for zlibVersion in -lz... " >&6; }
7405
 
if test "${ac_cv_lib_z_zlibVersion+set}" = set; then :
 
7426
if ${ac_cv_lib_z_zlibVersion+:} false; then :
7406
7427
  $as_echo_n "(cached) " >&6
7407
7428
else
7408
7429
  ac_check_lib_save_LIBS=$LIBS
7436
7457
fi
7437
7458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_zlibVersion" >&5
7438
7459
$as_echo "$ac_cv_lib_z_zlibVersion" >&6; }
7439
 
if test "x$ac_cv_lib_z_zlibVersion" = x""yes; then :
 
7460
if test "x$ac_cv_lib_z_zlibVersion" = xyes; then :
7440
7461
  have_zlib=yes
7441
7462
fi
7442
7463
 
7463
7484
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7464
7485
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7465
7486
as_fn_error $? "libz is requested but not found in the system.
7466
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7487
See \`config.log' for more details" "$LINENO" 5; }
7467
7488
  fi
7468
7489
fi
7469
7490
 
7554
7575
 configuration.\
7555
7576
 Make sure that dependent libraries are installed and configure script options\
7556
7577
 are correct.
7557
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7578
See \`config.log' for more details" "$LINENO" 5; }
7558
7579
  fi
7559
7580
  enable_bittorrent=no
7560
7581
   if false; then
7588
7609
 configuration.\
7589
7610
 Make sure that dependent libraries are installed and configure script options\
7590
7611
 are correct.
7591
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7612
See \`config.log' for more details" "$LINENO" 5; }
7592
7613
  fi
7593
7614
  enable_metalink=no
7594
7615
   if false; then
7698
7719
 
7699
7720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
7700
7721
$as_echo_n "checking for library containing clock_gettime... " >&6; }
7701
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
7722
if ${ac_cv_search_clock_gettime+:} false; then :
7702
7723
  $as_echo_n "(cached) " >&6
7703
7724
else
7704
7725
  ac_func_search_save_LIBS=$LIBS
7732
7753
fi
7733
7754
rm -f core conftest.err conftest.$ac_objext \
7734
7755
    conftest$ac_exeext
7735
 
  if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
7756
  if ${ac_cv_search_clock_gettime+:} false; then :
7736
7757
  break
7737
7758
fi
7738
7759
done
7739
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
7760
if ${ac_cv_search_clock_gettime+:} false; then :
7740
7761
 
7741
7762
else
7742
7763
  ac_cv_search_clock_gettime=no
7757
7778
        *solaris*)
7758
7779
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
7759
7780
$as_echo_n "checking for library containing getaddrinfo... " >&6; }
7760
 
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
7781
if ${ac_cv_search_getaddrinfo+:} false; then :
7761
7782
  $as_echo_n "(cached) " >&6
7762
7783
else
7763
7784
  ac_func_search_save_LIBS=$LIBS
7791
7812
fi
7792
7813
rm -f core conftest.err conftest.$ac_objext \
7793
7814
    conftest$ac_exeext
7794
 
  if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
7815
  if ${ac_cv_search_getaddrinfo+:} false; then :
7795
7816
  break
7796
7817
fi
7797
7818
done
7798
 
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
7819
if ${ac_cv_search_getaddrinfo+:} false; then :
7799
7820
 
7800
7821
else
7801
7822
  ac_cv_search_getaddrinfo=no
7813
7834
 
7814
7835
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
7815
7836
$as_echo_n "checking for library containing inet_aton... " >&6; }
7816
 
if test "${ac_cv_search_inet_aton+set}" = set; then :
 
7837
if ${ac_cv_search_inet_aton+:} false; then :
7817
7838
  $as_echo_n "(cached) " >&6
7818
7839
else
7819
7840
  ac_func_search_save_LIBS=$LIBS
7847
7868
fi
7848
7869
rm -f core conftest.err conftest.$ac_objext \
7849
7870
    conftest$ac_exeext
7850
 
  if test "${ac_cv_search_inet_aton+set}" = set; then :
 
7871
  if ${ac_cv_search_inet_aton+:} false; then :
7851
7872
  break
7852
7873
fi
7853
7874
done
7854
 
if test "${ac_cv_search_inet_aton+set}" = set; then :
 
7875
if ${ac_cv_search_inet_aton+:} false; then :
7855
7876
 
7856
7877
else
7857
7878
  ac_cv_search_inet_aton=no
7871
7892
esac
7872
7893
 
7873
7894
# Checks for header files.
 
7895
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
7896
if test "x$ac_cv_type_size_t" = xyes; then :
 
7897
 
 
7898
else
 
7899
 
 
7900
cat >>confdefs.h <<_ACEOF
 
7901
#define size_t unsigned int
 
7902
_ACEOF
 
7903
 
 
7904
fi
 
7905
 
7874
7906
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7875
7907
# for constant arguments.  Useless!
7876
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7877
7909
$as_echo_n "checking for working alloca.h... " >&6; }
7878
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
7910
if ${ac_cv_working_alloca_h+:} false; then :
7879
7911
  $as_echo_n "(cached) " >&6
7880
7912
else
7881
7913
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7908
7940
 
7909
7941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7910
7942
$as_echo_n "checking for alloca... " >&6; }
7911
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
7943
if ${ac_cv_func_alloca_works+:} false; then :
7912
7944
  $as_echo_n "(cached) " >&6
7913
7945
else
7914
7946
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7927
7959
 #pragma alloca
7928
7960
#   else
7929
7961
#    ifndef alloca /* predefined by HP cc +Olibcalls */
7930
 
char *alloca ();
 
7962
void *alloca (size_t);
7931
7963
#    endif
7932
7964
#   endif
7933
7965
#  endif
7971
8003
 
7972
8004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7973
8005
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7974
 
if test "${ac_cv_os_cray+set}" = set; then :
 
8006
if ${ac_cv_os_cray+:} false; then :
7975
8007
  $as_echo_n "(cached) " >&6
7976
8008
else
7977
8009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012
8044
 
8013
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
8014
8046
$as_echo_n "checking stack direction for C alloca... " >&6; }
8015
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
8047
if ${ac_cv_c_stack_direction+:} false; then :
8016
8048
  $as_echo_n "(cached) " >&6
8017
8049
else
8018
8050
  if test "$cross_compiling" = yes; then :
8062
8094
 
8063
8095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8064
8096
$as_echo_n "checking for ANSI C header files... " >&6; }
8065
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
8097
if ${ac_cv_header_stdc+:} false; then :
8066
8098
  $as_echo_n "(cached) " >&6
8067
8099
else
8068
8100
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244
8276
# Checks for typedefs, structures, and compiler characteristics.
8245
8277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
8246
8278
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
8247
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
8279
if ${ac_cv_header_stdbool_h+:} false; then :
8248
8280
  $as_echo_n "(cached) " >&6
8249
8281
else
8250
8282
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276
8308
        char b[false == 0 ? 1 : -1];
8277
8309
        char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8278
8310
        char d[(bool) 0.5 == true ? 1 : -1];
8279
 
        bool e = &s;
 
8311
        /* See body of main program for 'e'.  */
8280
8312
        char f[(_Bool) 0.0 == false ? 1 : -1];
8281
8313
        char g[true];
8282
8314
        char h[sizeof (_Bool)];
8287
8319
        _Bool n[m];
8288
8320
        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
8289
8321
        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8290
 
#       if defined __xlc__ || defined __GNUC__
8291
 
         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8292
 
            reported by James Lemley on 2005-10-05; see
8293
 
            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8294
 
            This test is not quite right, since xlc is allowed to
8295
 
            reject this program, as the initializer for xlcbug is
8296
 
            not one of the forms that C requires support for.
8297
 
            However, doing the test right would require a runtime
8298
 
            test, and that would make cross-compilation harder.
8299
 
            Let us hope that IBM fixes the xlc bug, and also adds
8300
 
            support for this kind of constant expression.  In the
8301
 
            meantime, this test will reject xlc, which is OK, since
8302
 
            our stdbool.h substitute should suffice.  We also test
8303
 
            this with GCC, where it should work, to detect more
8304
 
            quickly whether someone messes up the test in the
8305
 
            future.  */
8306
 
         char digs[] = "0123456789";
8307
 
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8308
 
#       endif
8309
8322
        /* Catch a bug in an HP-UX C compiler.  See
8310
8323
           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
8311
8324
           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
8317
8330
main ()
8318
8331
{
8319
8332
 
 
8333
        bool e = &s;
8320
8334
        *pq |= q;
8321
8335
        *pq |= ! q;
8322
8336
        /* Refer to every declared value, to avoid compiler optimizations.  */
8337
8351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
8338
8352
$as_echo "$ac_cv_header_stdbool_h" >&6; }
8339
8353
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
8340
 
if test "x$ac_cv_type__Bool" = x""yes; then :
 
8354
if test "x$ac_cv_type__Bool" = xyes; then :
8341
8355
 
8342
8356
cat >>confdefs.h <<_ACEOF
8343
8357
#define HAVE__BOOL 1
8354
8368
 
8355
8369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8356
8370
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8357
 
if test "${ac_cv_c_const+set}" = set; then :
 
8371
if ${ac_cv_c_const+:} false; then :
8358
8372
  $as_echo_n "(cached) " >&6
8359
8373
else
8360
8374
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434
8448
 
8435
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
8436
8450
$as_echo_n "checking for inline... " >&6; }
8437
 
if test "${ac_cv_c_inline+set}" = set; then :
 
8451
if ${ac_cv_c_inline+:} false; then :
8438
8452
  $as_echo_n "(cached) " >&6
8439
8453
else
8440
8454
  ac_cv_c_inline=no
8519
8533
esac
8520
8534
 
8521
8535
ac_fn_cxx_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
8522
 
if test "x$ac_cv_type_mode_t" = x""yes; then :
 
8536
if test "x$ac_cv_type_mode_t" = xyes; then :
8523
8537
 
8524
8538
else
8525
8539
 
8530
8544
fi
8531
8545
 
8532
8546
ac_fn_cxx_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
8533
 
if test "x$ac_cv_type_off_t" = x""yes; then :
 
8547
if test "x$ac_cv_type_off_t" = xyes; then :
8534
8548
 
8535
8549
else
8536
8550
 
8541
8555
fi
8542
8556
 
8543
8557
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
8544
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
8558
if test "x$ac_cv_type_size_t" = xyes; then :
8545
8559
 
8546
8560
else
8547
8561
 
8552
8566
fi
8553
8567
 
8554
8568
ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
8555
 
if test "x$ac_cv_type_ssize_t" = x""yes; then :
 
8569
if test "x$ac_cv_type_ssize_t" = xyes; then :
8556
8570
 
8557
8571
else
8558
8572
 
8564
8578
 
8565
8579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8566
8580
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8567
 
if test "${ac_cv_header_time+set}" = set; then :
 
8581
if ${ac_cv_header_time+:} false; then :
8568
8582
  $as_echo_n "(cached) " >&6
8569
8583
else
8570
8584
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599
8613
 
8600
8614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
8601
8615
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
8602
 
if test "${ac_cv_struct_tm+set}" = set; then :
 
8616
if ${ac_cv_struct_tm+:} false; then :
8603
8617
  $as_echo_n "(cached) " >&6
8604
8618
else
8605
8619
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687
8701
  esac
8688
8702
 
8689
8703
ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
8690
 
if test "x$ac_cv_type_pid_t" = x""yes; then :
 
8704
if test "x$ac_cv_type_pid_t" = xyes; then :
8691
8705
 
8692
8706
else
8693
8707
 
8699
8713
 
8700
8714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
8701
8715
$as_echo_n "checking for working volatile... " >&6; }
8702
 
if test "${ac_cv_c_volatile+set}" = set; then :
 
8716
if ${ac_cv_c_volatile+:} false; then :
8703
8717
  $as_echo_n "(cached) " >&6
8704
8718
else
8705
8719
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732
8746
fi
8733
8747
 
8734
8748
ac_fn_cxx_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
8735
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
8749
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
8736
8750
 
8737
8751
cat >>confdefs.h <<_ACEOF
8738
8752
#define HAVE_PTRDIFF_T 1
8741
8755
 
8742
8756
fi
8743
8757
ac_fn_cxx_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default"
8744
 
if test "x$ac_cv_type_struct_timespec" = x""yes; then :
 
8758
if test "x$ac_cv_type_struct_timespec" = xyes; then :
8745
8759
 
8746
8760
cat >>confdefs.h <<_ACEOF
8747
8761
#define HAVE_STRUCT_TIMESPEC 1
8752
8766
 
8753
8767
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
8754
8768
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
8755
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
8769
if ${ac_cv_c_bigendian+:} false; then :
8756
8770
  $as_echo_n "(cached) " >&6
8757
8771
else
8758
8772
  ac_cv_c_bigendian=unknown
8971
8985
     ;; #(
8972
8986
   *)
8973
8987
     as_fn_error $? "unknown endianness
8974
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
8988
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
8975
8989
 esac
8976
8990
 
8977
8991
# Check whether --enable-largefile was given.
8983
8997
 
8984
8998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8985
8999
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8986
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
9000
if ${ac_cv_sys_largefile_CC+:} false; then :
8987
9001
  $as_echo_n "(cached) " >&6
8988
9002
else
8989
9003
  ac_cv_sys_largefile_CC=no
9034
9048
 
9035
9049
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9036
9050
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
9037
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
9051
if ${ac_cv_sys_file_offset_bits+:} false; then :
9038
9052
  $as_echo_n "(cached) " >&6
9039
9053
else
9040
9054
  while :; do
9103
9117
  if test $ac_cv_sys_file_offset_bits = unknown; then
9104
9118
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
9105
9119
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
9106
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
9120
if ${ac_cv_sys_large_files+:} false; then :
9107
9121
  $as_echo_n "(cached) " >&6
9108
9122
else
9109
9123
  while :; do
9227
9241
set dummy msgfmt; ac_word=$2
9228
9242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9229
9243
$as_echo_n "checking for $ac_word... " >&6; }
9230
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
9244
if ${ac_cv_path_MSGFMT+:} false; then :
9231
9245
  $as_echo_n "(cached) " >&6
9232
9246
else
9233
9247
  case "$MSGFMT" in
9268
9282
set dummy gmsgfmt; ac_word=$2
9269
9283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9270
9284
$as_echo_n "checking for $ac_word... " >&6; }
9271
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
9285
if ${ac_cv_path_GMSGFMT+:} false; then :
9272
9286
  $as_echo_n "(cached) " >&6
9273
9287
else
9274
9288
  case $GMSGFMT in
9350
9364
set dummy xgettext; ac_word=$2
9351
9365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352
9366
$as_echo_n "checking for $ac_word... " >&6; }
9353
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
9367
if ${ac_cv_path_XGETTEXT+:} false; then :
9354
9368
  $as_echo_n "(cached) " >&6
9355
9369
else
9356
9370
  case "$XGETTEXT" in
9428
9442
set dummy msgmerge; ac_word=$2
9429
9443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9430
9444
$as_echo_n "checking for $ac_word... " >&6; }
9431
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
9445
if ${ac_cv_path_MSGMERGE+:} false; then :
9432
9446
  $as_echo_n "(cached) " >&6
9433
9447
else
9434
9448
  case "$MSGMERGE" in
9477
9491
 
9478
9492
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2 or newer" >&5
9479
9493
$as_echo_n "checking whether we are using the GNU C Library 2 or newer... " >&6; }
9480
 
if test "${ac_cv_gnu_library_2+set}" = set; then :
 
9494
if ${ac_cv_gnu_library_2+:} false; then :
9481
9495
  $as_echo_n "(cached) " >&6
9482
9496
else
9483
9497
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515
9529
  if test -n "$GCC"; then
9516
9530
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5
9517
9531
$as_echo_n "checking whether the -Werror option is usable... " >&6; }
9518
 
    if test "${gl_cv_cc_vis_werror+set}" = set; then :
 
9532
    if ${gl_cv_cc_vis_werror+:} false; then :
9519
9533
  $as_echo_n "(cached) " >&6
9520
9534
else
9521
9535
 
9545
9559
$as_echo "$gl_cv_cc_vis_werror" >&6; }
9546
9560
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
9547
9561
$as_echo_n "checking for simple visibility declarations... " >&6; }
9548
 
    if test "${gl_cv_cc_visibility+set}" = set; then :
 
9562
    if ${gl_cv_cc_visibility+:} false; then :
9549
9563
  $as_echo_n "(cached) " >&6
9550
9564
else
9551
9565
 
9596
9610
 
9597
9611
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
9598
9612
$as_echo_n "checking for stdint.h... " >&6; }
9599
 
if test "${gl_cv_header_stdint_h+set}" = set; then :
 
9613
if ${gl_cv_header_stdint_h+:} false; then :
9600
9614
  $as_echo_n "(cached) " >&6
9601
9615
else
9602
9616
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655
9669
for ac_func in getpagesize
9656
9670
do :
9657
9671
  ac_fn_cxx_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
9658
 
if test "x$ac_cv_func_getpagesize" = x""yes; then :
 
9672
if test "x$ac_cv_func_getpagesize" = xyes; then :
9659
9673
  cat >>confdefs.h <<_ACEOF
9660
9674
#define HAVE_GETPAGESIZE 1
9661
9675
_ACEOF
9665
9679
 
9666
9680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
9667
9681
$as_echo_n "checking for working mmap... " >&6; }
9668
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
 
9682
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
9669
9683
  $as_echo_n "(cached) " >&6
9670
9684
else
9671
9685
  if test "$cross_compiling" = yes; then :
9833
9847
 
9834
9848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
9835
9849
$as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
9836
 
if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then :
 
9850
if ${gt_cv_int_divbyzero_sigfpe+:} false; then :
9837
9851
  $as_echo_n "(cached) " >&6
9838
9852
else
9839
9853
 
9924
9938
 
9925
9939
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
9926
9940
$as_echo_n "checking for inttypes.h... " >&6; }
9927
 
if test "${gl_cv_header_inttypes_h+set}" = set; then :
 
9941
if ${gl_cv_header_inttypes_h+:} false; then :
9928
9942
  $as_echo_n "(cached) " >&6
9929
9943
else
9930
9944
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959
9973
 
9960
9974
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
9961
9975
$as_echo_n "checking for unsigned long long int... " >&6; }
9962
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
9976
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
9963
9977
  $as_echo_n "(cached) " >&6
9964
9978
else
9965
9979
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033
10047
  for ac_header in inttypes.h
10034
10048
do :
10035
10049
  ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
10036
 
if test "x$ac_cv_header_inttypes_h" = x""yes; then :
 
10050
if test "x$ac_cv_header_inttypes_h" = xyes; then :
10037
10051
  cat >>confdefs.h <<_ACEOF
10038
10052
#define HAVE_INTTYPES_H 1
10039
10053
_ACEOF
10045
10059
  if test $ac_cv_header_inttypes_h = yes; then
10046
10060
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
10047
10061
$as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
10048
 
if test "${gt_cv_inttypes_pri_broken+set}" = set; then :
 
10062
if ${gt_cv_inttypes_pri_broken+:} false; then :
10049
10063
  $as_echo_n "(cached) " >&6
10050
10064
else
10051
10065
 
10214
10228
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10215
10229
$as_echo_n "checking for non-GNU ld... " >&6; }
10216
10230
fi
10217
 
if test "${acl_cv_path_LD+set}" = set; then :
 
10231
if ${acl_cv_path_LD+:} false; then :
10218
10232
  $as_echo_n "(cached) " >&6
10219
10233
else
10220
10234
  if test -z "$LD"; then
10251
10265
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10252
10266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10253
10267
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10254
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
10268
if ${acl_cv_prog_gnu_ld+:} false; then :
10255
10269
  $as_echo_n "(cached) " >&6
10256
10270
else
10257
10271
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10271
10285
 
10272
10286
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
10273
10287
$as_echo_n "checking for shared library run path origin... " >&6; }
10274
 
if test "${acl_cv_rpath+set}" = set; then :
 
10288
if ${acl_cv_rpath+:} false; then :
10275
10289
  $as_echo_n "(cached) " >&6
10276
10290
else
10277
10291
 
10309
10323
    solaris*)
10310
10324
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
10311
10325
$as_echo_n "checking for 64-bit host... " >&6; }
10312
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
10326
if ${gl_cv_solaris_64bit+:} false; then :
10313
10327
  $as_echo_n "(cached) " >&6
10314
10328
else
10315
10329
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374
10388
  if test "$gl_use_threads" != no; then
10375
10389
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether imported symbols can be declared weak" >&5
10376
10390
$as_echo_n "checking whether imported symbols can be declared weak... " >&6; }
10377
 
if test "${gl_cv_have_weak+set}" = set; then :
 
10391
if ${gl_cv_have_weak+:} false; then :
10378
10392
  $as_echo_n "(cached) " >&6
10379
10393
else
10380
10394
  gl_cv_have_weak=no
10442
10456
      # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
10443
10457
      # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
10444
10458
      ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
10445
 
if test "x$ac_cv_header_pthread_h" = x""yes; then :
 
10459
if test "x$ac_cv_header_pthread_h" = xyes; then :
10446
10460
  gl_have_pthread_h=yes
10447
10461
else
10448
10462
  gl_have_pthread_h=no
10481
10495
          # need to link with libpthread in order to create multiple threads.
10482
10496
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
10483
10497
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
10484
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
 
10498
if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
10485
10499
  $as_echo_n "(cached) " >&6
10486
10500
else
10487
10501
  ac_check_lib_save_LIBS=$LIBS
10515
10529
fi
10516
10530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
10517
10531
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
10518
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
 
10532
if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
10519
10533
  LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
10520
10534
             # On Solaris and HP-UX, most pthread functions exist also in libc.
10521
10535
             # Therefore pthread_in_use() needs to actually try to create a
10534
10548
          # Some library is needed. Try libpthread and libc_r.
10535
10549
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
10536
10550
$as_echo_n "checking for pthread_kill in -lpthread... " >&6; }
10537
 
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then :
 
10551
if ${ac_cv_lib_pthread_pthread_kill+:} false; then :
10538
10552
  $as_echo_n "(cached) " >&6
10539
10553
else
10540
10554
  ac_check_lib_save_LIBS=$LIBS
10568
10582
fi
10569
10583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5
10570
10584
$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; }
10571
 
if test "x$ac_cv_lib_pthread_pthread_kill" = x""yes; then :
 
10585
if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then :
10572
10586
  gl_have_pthread=yes
10573
10587
             LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
10574
10588
             LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
10578
10592
            # For FreeBSD 4.
10579
10593
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lc_r" >&5
10580
10594
$as_echo_n "checking for pthread_kill in -lc_r... " >&6; }
10581
 
if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then :
 
10595
if ${ac_cv_lib_c_r_pthread_kill+:} false; then :
10582
10596
  $as_echo_n "(cached) " >&6
10583
10597
else
10584
10598
  ac_check_lib_save_LIBS=$LIBS
10612
10626
fi
10613
10627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_kill" >&5
10614
10628
$as_echo "$ac_cv_lib_c_r_pthread_kill" >&6; }
10615
 
if test "x$ac_cv_lib_c_r_pthread_kill" = x""yes; then :
 
10629
if test "x$ac_cv_lib_c_r_pthread_kill" = xyes; then :
10616
10630
  gl_have_pthread=yes
10617
10631
               LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
10618
10632
               LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
10688
10702
 
10689
10703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libpth" >&5
10690
10704
$as_echo_n "checking how to link with libpth... " >&6; }
10691
 
if test "${ac_cv_libpth_libs+set}" = set; then :
 
10705
if ${ac_cv_libpth_libs+:} false; then :
10692
10706
  $as_echo_n "(cached) " >&6
10693
10707
else
10694
10708
 
11272
11286
    # pthread_rwlock_* functions.
11273
11287
    ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include <pthread.h>
11274
11288
"
11275
 
if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
 
11289
if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
11276
11290
 
11277
11291
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
11278
11292
 
11825
11839
 
11826
11840
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether feof_unlocked is declared" >&5
11827
11841
$as_echo_n "checking whether feof_unlocked is declared... " >&6; }
11828
 
if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then :
 
11842
if ${ac_cv_have_decl_feof_unlocked+:} false; then :
11829
11843
  $as_echo_n "(cached) " >&6
11830
11844
else
11831
11845
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866
11880
 
11867
11881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fgets_unlocked is declared" >&5
11868
11882
$as_echo_n "checking whether fgets_unlocked is declared... " >&6; }
11869
 
if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then :
 
11883
if ${ac_cv_have_decl_fgets_unlocked+:} false; then :
11870
11884
  $as_echo_n "(cached) " >&6
11871
11885
else
11872
11886
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11937
11951
 
11938
11952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
11939
11953
$as_echo_n "checking for iconv... " >&6; }
11940
 
if test "${am_cv_func_iconv+set}" = set; then :
 
11954
if ${am_cv_func_iconv+:} false; then :
11941
11955
  $as_echo_n "(cached) " >&6
11942
11956
else
11943
11957
 
11994
12008
  if test "$am_cv_func_iconv" = yes; then
11995
12009
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
11996
12010
$as_echo_n "checking for working iconv... " >&6; }
11997
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
12011
if ${am_cv_func_iconv_works+:} false; then :
11998
12012
  $as_echo_n "(cached) " >&6
11999
12013
else
12000
12014
 
12129
12143
  if test "$am_cv_func_iconv" = yes; then
12130
12144
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12131
12145
$as_echo_n "checking for iconv declaration... " >&6; }
12132
 
    if test "${am_cv_proto_iconv+set}" = set; then :
 
12146
    if ${am_cv_proto_iconv+:} false; then :
12133
12147
  $as_echo_n "(cached) " >&6
12134
12148
else
12135
12149
 
12184
12198
set dummy $ac_prog; ac_word=$2
12185
12199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12186
12200
$as_echo_n "checking for $ac_word... " >&6; }
12187
 
if test "${ac_cv_prog_INTLBISON+set}" = set; then :
 
12201
if ${ac_cv_prog_INTLBISON+:} false; then :
12188
12202
  $as_echo_n "(cached) " >&6
12189
12203
else
12190
12204
  if test -n "$INTLBISON"; then
12242
12256
 
12243
12257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
12244
12258
$as_echo_n "checking for long long int... " >&6; }
12245
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
12259
if ${ac_cv_type_long_long_int+:} false; then :
12246
12260
  $as_echo_n "(cached) " >&6
12247
12261
else
12248
12262
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333
12347
 
12334
12348
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
12335
12349
$as_echo_n "checking for wchar_t... " >&6; }
12336
 
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
12350
if ${gt_cv_c_wchar_t+:} false; then :
12337
12351
  $as_echo_n "(cached) " >&6
12338
12352
else
12339
12353
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366
12380
 
12367
12381
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
12368
12382
$as_echo_n "checking for wint_t... " >&6; }
12369
 
if test "${gt_cv_c_wint_t+set}" = set; then :
 
12383
if ${gt_cv_c_wint_t+:} false; then :
12370
12384
  $as_echo_n "(cached) " >&6
12371
12385
else
12372
12386
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409
12423
 
12410
12424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
12411
12425
$as_echo_n "checking for intmax_t... " >&6; }
12412
 
if test "${gt_cv_c_intmax_t+set}" = set; then :
 
12426
if ${gt_cv_c_intmax_t+:} false; then :
12413
12427
  $as_echo_n "(cached) " >&6
12414
12428
else
12415
12429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452
12466
 
12453
12467
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf() supports POSIX/XSI format strings" >&5
12454
12468
$as_echo_n "checking whether printf() supports POSIX/XSI format strings... " >&6; }
12455
 
if test "${gt_cv_func_printf_posix+set}" = set; then :
 
12469
if ${gt_cv_func_printf_posix+:} false; then :
12456
12470
  $as_echo_n "(cached) " >&6
12457
12471
else
12458
12472
 
12515
12529
 
12516
12530
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
12517
12531
$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
12518
 
if test "${ac_cv_gnu_library_2_1+set}" = set; then :
 
12532
if ${ac_cv_gnu_library_2_1+:} false; then :
12519
12533
  $as_echo_n "(cached) " >&6
12520
12534
else
12521
12535
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550
12564
  for ac_header in stdint.h
12551
12565
do :
12552
12566
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12553
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
12567
if test "x$ac_cv_header_stdint_h" = xyes; then :
12554
12568
  cat >>confdefs.h <<_ACEOF
12555
12569
#define HAVE_STDINT_H 1
12556
12570
_ACEOF
12561
12575
 
12562
12576
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
12563
12577
$as_echo_n "checking for SIZE_MAX... " >&6; }
12564
 
if test "${gl_cv_size_max+set}" = set; then :
 
12578
if ${gl_cv_size_max+:} false; then :
12565
12579
  $as_echo_n "(cached) " >&6
12566
12580
else
12567
12581
 
12647
12661
  for ac_header in stdint.h
12648
12662
do :
12649
12663
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12650
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
12664
if test "x$ac_cv_header_stdint_h" = xyes; then :
12651
12665
  cat >>confdefs.h <<_ACEOF
12652
12666
#define HAVE_STDINT_H 1
12653
12667
_ACEOF
12661
12675
 
12662
12676
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
12663
12677
$as_echo_n "checking for working fcntl.h... " >&6; }
12664
 
if test "${gl_cv_header_working_fcntl_h+set}" = set; then :
 
12678
if ${gl_cv_header_working_fcntl_h+:} false; then :
12665
12679
  $as_echo_n "(cached) " >&6
12666
12680
else
12667
12681
  if test "$cross_compiling" = yes; then :
12757
12771
 
12758
12772
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12759
12773
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12760
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
12774
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12761
12775
  $as_echo_n "(cached) " >&6
12762
12776
else
12763
12777
  gt_save_LIBS="$LIBS"
12791
12805
  fi
12792
12806
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12793
12807
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12794
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
12808
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12795
12809
  $as_echo_n "(cached) " >&6
12796
12810
else
12797
12811
  gt_save_LIBS="$LIBS"
12842
12856
 
12843
12857
 
12844
12858
  ac_fn_cxx_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
12845
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
12859
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
12846
12860
 
12847
12861
else
12848
12862
 
12881
12895
 
12882
12896
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snprintf is declared" >&5
12883
12897
$as_echo_n "checking whether _snprintf is declared... " >&6; }
12884
 
if test "${ac_cv_have_decl__snprintf+set}" = set; then :
 
12898
if ${ac_cv_have_decl__snprintf+:} false; then :
12885
12899
  $as_echo_n "(cached) " >&6
12886
12900
else
12887
12901
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12922
12936
 
12923
12937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _snwprintf is declared" >&5
12924
12938
$as_echo_n "checking whether _snwprintf is declared... " >&6; }
12925
 
if test "${ac_cv_have_decl__snwprintf+set}" = set; then :
 
12939
if ${ac_cv_have_decl__snwprintf+:} false; then :
12926
12940
  $as_echo_n "(cached) " >&6
12927
12941
else
12928
12942
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12964
12978
 
12965
12979
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getc_unlocked is declared" >&5
12966
12980
$as_echo_n "checking whether getc_unlocked is declared... " >&6; }
12967
 
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then :
 
12981
if ${ac_cv_have_decl_getc_unlocked+:} false; then :
12968
12982
  $as_echo_n "(cached) " >&6
12969
12983
else
12970
12984
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13036
13050
 
13037
13051
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
13038
13052
$as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
13039
 
if test "${am_cv_langinfo_codeset+set}" = set; then :
 
13053
if ${am_cv_langinfo_codeset+:} false; then :
13040
13054
  $as_echo_n "(cached) " >&6
13041
13055
else
13042
13056
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070
13084
 
13071
13085
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13072
13086
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13073
 
if test "${gt_cv_val_LC_MESSAGES+set}" = set; then :
 
13087
if ${gt_cv_val_LC_MESSAGES+:} false; then :
13074
13088
  $as_echo_n "(cached) " >&6
13075
13089
else
13076
13090
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124
13138
set dummy ${ac_tool_prefix}windres; ac_word=$2
13125
13139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13126
13140
$as_echo_n "checking for $ac_word... " >&6; }
13127
 
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
13141
if ${ac_cv_prog_WINDRES+:} false; then :
13128
13142
  $as_echo_n "(cached) " >&6
13129
13143
else
13130
13144
  if test -n "$WINDRES"; then
13164
13178
set dummy windres; ac_word=$2
13165
13179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13166
13180
$as_echo_n "checking for $ac_word... " >&6; }
13167
 
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
 
13181
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
13168
13182
  $as_echo_n "(cached) " >&6
13169
13183
else
13170
13184
  if test -n "$ac_ct_WINDRES"; then
13246
13260
 
13247
13261
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13248
13262
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13249
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
13263
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13250
13264
  $as_echo_n "(cached) " >&6
13251
13265
else
13252
13266
  gt_save_LIBS="$LIBS"
13280
13294
  fi
13281
13295
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13282
13296
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13283
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
13297
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13284
13298
  $as_echo_n "(cached) " >&6
13285
13299
else
13286
13300
  gt_save_LIBS="$LIBS"
13375
13389
 
13376
13390
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13377
13391
$as_echo_n "checking for GNU gettext in libc... " >&6; }
13378
 
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
13392
if eval \${$gt_func_gnugettext_libc+:} false; then :
13379
13393
  $as_echo_n "(cached) " >&6
13380
13394
else
13381
13395
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870
13884
 
13871
13885
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13872
13886
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13873
 
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
13887
if eval \${$gt_func_gnugettext_libintl+:} false; then :
13874
13888
  $as_echo_n "(cached) " >&6
13875
13889
else
13876
13890
  gt_save_CPPFLAGS="$CPPFLAGS"
14096
14110
 
14097
14111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
14098
14112
$as_echo_n "checking for error_at_line... " >&6; }
14099
 
if test "${ac_cv_lib_error_at_line+set}" = set; then :
 
14113
if ${ac_cv_lib_error_at_line+:} false; then :
14100
14114
  $as_echo_n "(cached) " >&6
14101
14115
else
14102
14116
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132
14146
if test $ac_cv_c_compiler_gnu = yes; then
14133
14147
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
14134
14148
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
14135
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
 
14149
if ${ac_cv_prog_gcc_traditional+:} false; then :
14136
14150
  $as_echo_n "(cached) " >&6
14137
14151
else
14138
14152
    ac_pattern="Autoconf.*'x'"
14174
14188
 
14175
14189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
14176
14190
$as_echo_n "checking for working memcmp... " >&6; }
14177
 
if test "${ac_cv_func_memcmp_working+set}" = set; then :
 
14191
if ${ac_cv_func_memcmp_working+:} false; then :
14178
14192
  $as_echo_n "(cached) " >&6
14179
14193
else
14180
14194
  if test "$cross_compiling" = yes; then :
14257
14271
 
14258
14272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
14259
14273
$as_echo_n "checking for working mktime... " >&6; }
14260
 
if test "${ac_cv_func_working_mktime+set}" = set; then :
 
14274
if ${ac_cv_func_working_mktime+:} false; then :
14261
14275
  $as_echo_n "(cached) " >&6
14262
14276
else
14263
14277
  if test "$cross_compiling" = yes; then :
14482
14496
for ac_func in getpagesize
14483
14497
do :
14484
14498
  ac_fn_cxx_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14485
 
if test "x$ac_cv_func_getpagesize" = x""yes; then :
 
14499
if test "x$ac_cv_func_getpagesize" = xyes; then :
14486
14500
  cat >>confdefs.h <<_ACEOF
14487
14501
#define HAVE_GETPAGESIZE 1
14488
14502
_ACEOF
14492
14506
 
14493
14507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14494
14508
$as_echo_n "checking for working mmap... " >&6; }
14495
 
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
 
14509
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
14496
14510
  $as_echo_n "(cached) " >&6
14497
14511
else
14498
14512
  if test "$cross_compiling" = yes; then :
14671
14685
 
14672
14686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
14673
14687
$as_echo_n "checking types of arguments for select... " >&6; }
14674
 
if test "${ac_cv_func_select_args+set}" = set; then :
 
14688
if ${ac_cv_func_select_args+:} false; then :
14675
14689
  $as_echo_n "(cached) " >&6
14676
14690
else
14677
14691
  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
14705
14719
 done
14706
14720
done
14707
14721
# Provide a safe default value.
14708
 
: ${ac_cv_func_select_args='int,int *,struct timeval *'}
 
14722
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
14709
14723
 
14710
14724
fi
14711
14725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
14733
14747
 
14734
14748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
14735
14749
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
14736
 
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then :
 
14750
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
14737
14751
  $as_echo_n "(cached) " >&6
14738
14752
else
14739
14753
  rm -f conftest.sym conftest.file
14795
14809
 
14796
14810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
14797
14811
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
14798
 
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then :
 
14812
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
14799
14813
  $as_echo_n "(cached) " >&6
14800
14814
else
14801
14815
  if test "$cross_compiling" = yes; then :
14842
14856
for ac_func in strftime
14843
14857
do :
14844
14858
  ac_fn_cxx_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
14845
 
if test "x$ac_cv_func_strftime" = x""yes; then :
 
14859
if test "x$ac_cv_func_strftime" = xyes; then :
14846
14860
  cat >>confdefs.h <<_ACEOF
14847
14861
#define HAVE_STRFTIME 1
14848
14862
_ACEOF
14851
14865
  # strftime is in -lintl on SCO UNIX.
14852
14866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
14853
14867
$as_echo_n "checking for strftime in -lintl... " >&6; }
14854
 
if test "${ac_cv_lib_intl_strftime+set}" = set; then :
 
14868
if ${ac_cv_lib_intl_strftime+:} false; then :
14855
14869
  $as_echo_n "(cached) " >&6
14856
14870
else
14857
14871
  ac_check_lib_save_LIBS=$LIBS
14885
14899
fi
14886
14900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
14887
14901
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
14888
 
if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
 
14902
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
14889
14903
  $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
14890
14904
 
14891
14905
LIBS="-lintl $LIBS"
14897
14911
for ac_func in vprintf
14898
14912
do :
14899
14913
  ac_fn_cxx_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
14900
 
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
14914
if test "x$ac_cv_func_vprintf" = xyes; then :
14901
14915
  cat >>confdefs.h <<_ACEOF
14902
14916
#define HAVE_VPRINTF 1
14903
14917
_ACEOF
14904
14918
 
14905
14919
ac_fn_cxx_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
14906
 
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
14920
if test "x$ac_cv_func__doprnt" = xyes; then :
14907
14921
 
14908
14922
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14909
14923
 
14916
14930
for ac_header in vfork.h
14917
14931
do :
14918
14932
  ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
14919
 
if test "x$ac_cv_header_vfork_h" = x""yes; then :
 
14933
if test "x$ac_cv_header_vfork_h" = xyes; then :
14920
14934
  cat >>confdefs.h <<_ACEOF
14921
14935
#define HAVE_VFORK_H 1
14922
14936
_ACEOF
14940
14954
if test "x$ac_cv_func_fork" = xyes; then
14941
14955
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
14942
14956
$as_echo_n "checking for working fork... " >&6; }
14943
 
if test "${ac_cv_func_fork_works+set}" = set; then :
 
14957
if ${ac_cv_func_fork_works+:} false; then :
14944
14958
  $as_echo_n "(cached) " >&6
14945
14959
else
14946
14960
  if test "$cross_compiling" = yes; then :
14993
15007
if test "x$ac_cv_func_vfork" = xyes; then
14994
15008
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
14995
15009
$as_echo_n "checking for working vfork... " >&6; }
14996
 
if test "${ac_cv_func_vfork_works+set}" = set; then :
 
15010
if ${ac_cv_func_vfork_works+:} false; then :
14997
15011
  $as_echo_n "(cached) " >&6
14998
15012
else
14999
15013
  if test "$cross_compiling" = yes; then :
15128
15142
 
15129
15143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
15130
15144
$as_echo_n "checking for working strtod... " >&6; }
15131
 
if test "${ac_cv_func_strtod+set}" = set; then :
 
15145
if ${ac_cv_func_strtod+:} false; then :
15132
15146
  $as_echo_n "(cached) " >&6
15133
15147
else
15134
15148
  if test "$cross_compiling" = yes; then :
15187
15201
esac
15188
15202
 
15189
15203
ac_fn_cxx_check_func "$LINENO" "pow" "ac_cv_func_pow"
15190
 
if test "x$ac_cv_func_pow" = x""yes; then :
 
15204
if test "x$ac_cv_func_pow" = xyes; then :
15191
15205
 
15192
15206
fi
15193
15207
 
15194
15208
if test $ac_cv_func_pow = no; then
15195
15209
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
15196
15210
$as_echo_n "checking for pow in -lm... " >&6; }
15197
 
if test "${ac_cv_lib_m_pow+set}" = set; then :
 
15211
if ${ac_cv_lib_m_pow+:} false; then :
15198
15212
  $as_echo_n "(cached) " >&6
15199
15213
else
15200
15214
  ac_check_lib_save_LIBS=$LIBS
15228
15242
fi
15229
15243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
15230
15244
$as_echo "$ac_cv_lib_m_pow" >&6; }
15231
 
if test "x$ac_cv_lib_m_pow" = x""yes; then :
 
15245
if test "x$ac_cv_lib_m_pow" = xyes; then :
15232
15246
  POW_LIB=-lm
15233
15247
else
15234
15248
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
15297
15311
  for ac_func in epoll_create
15298
15312
do :
15299
15313
  ac_fn_cxx_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
15300
 
if test "x$ac_cv_func_epoll_create" = x""yes; then :
 
15314
if test "x$ac_cv_func_epoll_create" = xyes; then :
15301
15315
  cat >>confdefs.h <<_ACEOF
15302
15316
#define HAVE_EPOLL_CREATE 1
15303
15317
_ACEOF
15323
15337
for ac_func in posix_fallocate
15324
15338
do :
15325
15339
  ac_fn_cxx_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
15326
 
if test "x$ac_cv_func_posix_fallocate" = x""yes; then :
 
15340
if test "x$ac_cv_func_posix_fallocate" = xyes; then :
15327
15341
  cat >>confdefs.h <<_ACEOF
15328
15342
#define HAVE_POSIX_FALLOCATE 1
15329
15343
_ACEOF
15382
15396
for ac_func in asctime_r
15383
15397
do :
15384
15398
  ac_fn_cxx_check_func "$LINENO" "asctime_r" "ac_cv_func_asctime_r"
15385
 
if test "x$ac_cv_func_asctime_r" = x""yes; then :
 
15399
if test "x$ac_cv_func_asctime_r" = xyes; then :
15386
15400
  cat >>confdefs.h <<_ACEOF
15387
15401
#define HAVE_ASCTIME_R 1
15388
15402
_ACEOF
15409
15423
for ac_func in basename
15410
15424
do :
15411
15425
  ac_fn_cxx_check_func "$LINENO" "basename" "ac_cv_func_basename"
15412
 
if test "x$ac_cv_func_basename" = x""yes; then :
 
15426
if test "x$ac_cv_func_basename" = xyes; then :
15413
15427
  cat >>confdefs.h <<_ACEOF
15414
15428
#define HAVE_BASENAME 1
15415
15429
_ACEOF
15436
15450
for ac_func in gai_strerror
15437
15451
do :
15438
15452
  ac_fn_cxx_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror"
15439
 
if test "x$ac_cv_func_gai_strerror" = x""yes; then :
 
15453
if test "x$ac_cv_func_gai_strerror" = xyes; then :
15440
15454
  cat >>confdefs.h <<_ACEOF
15441
15455
#define HAVE_GAI_STRERROR 1
15442
15456
_ACEOF
15463
15477
for ac_func in getaddrinfo
15464
15478
do :
15465
15479
  ac_fn_cxx_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
15466
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
 
15480
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
15467
15481
  cat >>confdefs.h <<_ACEOF
15468
15482
#define HAVE_GETADDRINFO 1
15469
15483
_ACEOF
15490
15504
for ac_func in gettimeofday
15491
15505
do :
15492
15506
  ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
15493
 
if test "x$ac_cv_func_gettimeofday" = x""yes; then :
 
15507
if test "x$ac_cv_func_gettimeofday" = xyes; then :
15494
15508
  cat >>confdefs.h <<_ACEOF
15495
15509
#define HAVE_GETTIMEOFDAY 1
15496
15510
_ACEOF
15517
15531
for ac_func in inet_aton
15518
15532
do :
15519
15533
  ac_fn_cxx_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
15520
 
if test "x$ac_cv_func_inet_aton" = x""yes; then :
 
15534
if test "x$ac_cv_func_inet_aton" = xyes; then :
15521
15535
  cat >>confdefs.h <<_ACEOF
15522
15536
#define HAVE_INET_ATON 1
15523
15537
_ACEOF
15544
15558
for ac_func in localtime_r
15545
15559
do :
15546
15560
  ac_fn_cxx_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
15547
 
if test "x$ac_cv_func_localtime_r" = x""yes; then :
 
15561
if test "x$ac_cv_func_localtime_r" = xyes; then :
15548
15562
  cat >>confdefs.h <<_ACEOF
15549
15563
#define HAVE_LOCALTIME_R 1
15550
15564
_ACEOF
15571
15585
for ac_func in strptime
15572
15586
do :
15573
15587
  ac_fn_cxx_check_func "$LINENO" "strptime" "ac_cv_func_strptime"
15574
 
if test "x$ac_cv_func_strptime" = x""yes; then :
 
15588
if test "x$ac_cv_func_strptime" = xyes; then :
15575
15589
  cat >>confdefs.h <<_ACEOF
15576
15590
#define HAVE_STRPTIME 1
15577
15591
_ACEOF
15598
15612
for ac_func in timegm
15599
15613
do :
15600
15614
  ac_fn_cxx_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
15601
 
if test "x$ac_cv_func_timegm" = x""yes; then :
 
15615
if test "x$ac_cv_func_timegm" = xyes; then :
15602
15616
  cat >>confdefs.h <<_ACEOF
15603
15617
#define HAVE_TIMEGM 1
15604
15618
_ACEOF
15625
15639
for ac_func in daemon
15626
15640
do :
15627
15641
  ac_fn_cxx_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
15628
 
if test "x$ac_cv_func_daemon" = x""yes; then :
 
15642
if test "x$ac_cv_func_daemon" = xyes; then :
15629
15643
  cat >>confdefs.h <<_ACEOF
15630
15644
#define HAVE_DAEMON 1
15631
15645
_ACEOF
15645
15659
for ac_func in clock_gettime
15646
15660
do :
15647
15661
  ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
15648
 
if test "x$ac_cv_func_clock_gettime" = x""yes; then :
 
15662
if test "x$ac_cv_func_clock_gettime" = xyes; then :
15649
15663
  cat >>confdefs.h <<_ACEOF
15650
15664
#define HAVE_CLOCK_GETTIME 1
15651
15665
_ACEOF
15658
15672
   for ac_func in mach_absolute_time
15659
15673
do :
15660
15674
  ac_fn_cxx_check_func "$LINENO" "mach_absolute_time" "ac_cv_func_mach_absolute_time"
15661
 
if test "x$ac_cv_func_mach_absolute_time" = x""yes; then :
 
15675
if test "x$ac_cv_func_mach_absolute_time" = xyes; then :
15662
15676
  cat >>confdefs.h <<_ACEOF
15663
15677
#define HAVE_MACH_ABSOLUTE_TIME 1
15664
15678
_ACEOF
15679
15693
for ac_func in poll
15680
15694
do :
15681
15695
  ac_fn_cxx_check_func "$LINENO" "poll" "ac_cv_func_poll"
15682
 
if test "x$ac_cv_func_poll" = x""yes; then :
 
15696
if test "x$ac_cv_func_poll" = xyes; then :
15683
15697
  cat >>confdefs.h <<_ACEOF
15684
15698
#define HAVE_POLL 1
15685
15699
_ACEOF
15740
15754
for ac_func in port_associate
15741
15755
do :
15742
15756
  ac_fn_cxx_check_func "$LINENO" "port_associate" "ac_cv_func_port_associate"
15743
 
if test "x$ac_cv_func_port_associate" = x""yes; then :
 
15757
if test "x$ac_cv_func_port_associate" = xyes; then :
15744
15758
  cat >>confdefs.h <<_ACEOF
15745
15759
#define HAVE_PORT_ASSOCIATE 1
15746
15760
_ACEOF
15760
15774
for ac_func in kqueue
15761
15775
do :
15762
15776
  ac_fn_cxx_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
15763
 
if test "x$ac_cv_func_kqueue" = x""yes; then :
 
15777
if test "x$ac_cv_func_kqueue" = xyes; then :
15764
15778
  cat >>confdefs.h <<_ACEOF
15765
15779
#define HAVE_KQUEUE 1
15766
15780
_ACEOF
15814
15828
 
15815
15829
ac_fn_cxx_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <netinet/in.h>
15816
15830
"
15817
 
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then :
 
15831
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
15818
15832
 
15819
15833
$as_echo "#define HAVE_SOCKADDR_IN_SIN_LEN 1" >>confdefs.h
15820
15834
 
15924
15938
     :end' >>confcache
15925
15939
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15926
15940
  if test -w "$cache_file"; then
15927
 
    test "x$cache_file" != "x/dev/null" &&
 
15941
    if test "x$cache_file" != "x/dev/null"; then
15928
15942
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15929
15943
$as_echo "$as_me: updating cache $cache_file" >&6;}
15930
 
    cat confcache >$cache_file
 
15944
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15945
        cat confcache >"$cache_file"
 
15946
      else
 
15947
        case $cache_file in #(
 
15948
        */* | ?:*)
 
15949
          mv -f confcache "$cache_file"$$ &&
 
15950
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15951
        *)
 
15952
          mv -f confcache "$cache_file" ;;
 
15953
        esac
 
15954
      fi
 
15955
    fi
15931
15956
  else
15932
15957
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15933
15958
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16180
16205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16181
16206
fi
16182
16207
 
16183
 
: ${CONFIG_STATUS=./config.status}
 
16208
: "${CONFIG_STATUS=./config.status}"
16184
16209
ac_write_fail=0
16185
16210
ac_clean_files_save=$ac_clean_files
16186
16211
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16281
16306
IFS=" ""        $as_nl"
16282
16307
 
16283
16308
# Find who we are.  Look in the path if we contain no directory separator.
 
16309
as_myself=
16284
16310
case $0 in #((
16285
16311
  *[\\/]* ) as_myself=$0 ;;
16286
16312
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16587
16613
# report actual input values of CONFIG_FILES etc. instead of their
16588
16614
# values after options handling.
16589
16615
ac_log="
16590
 
This file was extended by aria2 $as_me 1.11.1, which was
16591
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
16616
This file was extended by aria2 $as_me 1.11.2, which was
 
16617
generated by GNU Autoconf 2.68.  Invocation command line was
16592
16618
 
16593
16619
  CONFIG_FILES    = $CONFIG_FILES
16594
16620
  CONFIG_HEADERS  = $CONFIG_HEADERS
16654
16680
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16655
16681
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16656
16682
ac_cs_version="\\
16657
 
aria2 config.status 1.11.1
16658
 
configured by $0, generated by GNU Autoconf 2.67,
 
16683
aria2 config.status 1.11.2
 
16684
configured by $0, generated by GNU Autoconf 2.68,
16659
16685
  with options \\"\$ac_cs_config\\"
16660
16686
 
16661
16687
Copyright (C) 2010 Free Software Foundation, Inc.
16801
16827
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
16802
16828
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16803
16829
 
16804
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
16830
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16805
16831
  esac
16806
16832
done
16807
16833
 
16824
16850
# after its creation but before its name has been assigned to `$tmp'.
16825
16851
$debug ||
16826
16852
{
16827
 
  tmp=
 
16853
  tmp= ac_tmp=
16828
16854
  trap 'exit_status=$?
16829
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16855
  : "${ac_tmp:=$tmp}"
 
16856
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16830
16857
' 0
16831
16858
  trap 'as_fn_exit 1' 1 2 13 15
16832
16859
}
16834
16861
 
16835
16862
{
16836
16863
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16837
 
  test -n "$tmp" && test -d "$tmp"
 
16864
  test -d "$tmp"
16838
16865
}  ||
16839
16866
{
16840
16867
  tmp=./conf$$-$RANDOM
16841
16868
  (umask 077 && mkdir "$tmp")
16842
16869
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16870
ac_tmp=$tmp
16843
16871
 
16844
16872
# Set up the scripts for CONFIG_FILES section.
16845
16873
# No need to generate them if there are no CONFIG_FILES.
16861
16889
  ac_cs_awk_cr=$ac_cr
16862
16890
fi
16863
16891
 
16864
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16892
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16865
16893
_ACEOF
16866
16894
 
16867
16895
 
16889
16917
rm -f conf$$subs.sh
16890
16918
 
16891
16919
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16892
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16920
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16893
16921
_ACEOF
16894
16922
sed -n '
16895
16923
h
16937
16965
rm -f conf$$subs.awk
16938
16966
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16939
16967
_ACAWK
16940
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16968
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16941
16969
  for (key in S) S_is_set[key] = 1
16942
16970
  FS = ""
16943
16971
 
16969
16997
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16970
16998
else
16971
16999
  cat
16972
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
17000
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16973
17001
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16974
17002
_ACEOF
16975
17003
 
17003
17031
# No need to generate them if there are no CONFIG_HEADERS.
17004
17032
# This happens for instance with `./config.status Makefile'.
17005
17033
if test -n "$CONFIG_HEADERS"; then
17006
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17034
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17007
17035
BEGIN {
17008
17036
_ACEOF
17009
17037
 
17015
17043
# handling of long lines.
17016
17044
ac_delim='%!_!# '
17017
17045
for ac_last_try in false false :; do
17018
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17019
 
  if test -z "$ac_t"; then
 
17046
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
17047
  if test -z "$ac_tt"; then
17020
17048
    break
17021
17049
  elif $ac_last_try; then
17022
17050
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17117
17145
  esac
17118
17146
  case $ac_mode$ac_tag in
17119
17147
  :[FHL]*:*);;
17120
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
17148
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17121
17149
  :[FH]-) ac_tag=-:-;;
17122
17150
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17123
17151
  esac
17136
17164
    for ac_f
17137
17165
    do
17138
17166
      case $ac_f in
17139
 
      -) ac_f="$tmp/stdin";;
 
17167
      -) ac_f="$ac_tmp/stdin";;
17140
17168
      *) # Look for the file first in the build tree, then in the source tree
17141
17169
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
17142
17170
         # because $ac_f cannot contain `:'.
17145
17173
           [\\/$]*) false;;
17146
17174
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17147
17175
           esac ||
17148
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
17176
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17149
17177
      esac
17150
17178
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17151
17179
      as_fn_append ac_file_inputs " '$ac_f'"
17171
17199
    esac
17172
17200
 
17173
17201
    case $ac_tag in
17174
 
    *:-:* | *:-) cat >"$tmp/stdin" \
17175
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
17202
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17203
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17176
17204
    esac
17177
17205
    ;;
17178
17206
  esac
17308
17336
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17309
17337
$ac_datarootdir_hack
17310
17338
"
17311
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17312
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17339
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
17340
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17313
17341
 
17314
17342
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17315
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17316
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17343
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
17344
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
17345
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17317
17346
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17318
17347
which seems to be undefined.  Please make sure it is defined" >&5
17319
17348
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17320
17349
which seems to be undefined.  Please make sure it is defined" >&2;}
17321
17350
 
17322
 
  rm -f "$tmp/stdin"
 
17351
  rm -f "$ac_tmp/stdin"
17323
17352
  case $ac_file in
17324
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17325
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17353
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
17354
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17326
17355
  esac \
17327
17356
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17328
17357
 ;;
17333
17362
  if test x"$ac_file" != x-; then
17334
17363
    {
17335
17364
      $as_echo "/* $configure_input  */" \
17336
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17337
 
    } >"$tmp/config.h" \
 
17365
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
17366
    } >"$ac_tmp/config.h" \
17338
17367
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17339
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17368
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17340
17369
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17341
17370
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17342
17371
    else
17343
17372
      rm -f "$ac_file"
17344
 
      mv "$tmp/config.h" "$ac_file" \
 
17373
      mv "$ac_tmp/config.h" "$ac_file" \
17345
17374
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17346
17375
    fi
17347
17376
  else
17348
17377
    $as_echo "/* $configure_input  */" \
17349
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17378
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17350
17379
      || as_fn_error $? "could not create -" "$LINENO" 5
17351
17380
  fi
17352
17381
# Compute "$ac_file"'s index in $config_headers.