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.
5
5
# Report bugs to <t-tujikawa@users.sourceforge.net>.
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
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+"$@"}
226
*v*x* | *x*v* ) as_opts=-vx ;;
231
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
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/'
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}"
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.
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.
1457
1465
Usage: $0 [OPTION]... [VAR=VALUE]...
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',
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
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
1688
1697
Copyright (C) 2010 Free Software Foundation, Inc.
1689
1698
This configure script is free software; the Free Software Foundation
1817
1826
ac_fn_cxx_check_header_mongrel ()
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
1826
1835
eval ac_res=\$$3
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
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; }
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
1901
1910
} # ac_fn_cxx_check_header_mongrel
1937
1946
ac_retval=$ac_status
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
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
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
1974
1983
} # ac_fn_cxx_check_header_compile
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
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
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
2087
2096
} # ac_fn_cxx_check_func
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
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
2141
2150
} # ac_fn_cxx_check_type
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
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
2215
2224
} # ac_fn_c_find_intX_t
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
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
2268
2277
} # ac_fn_c_find_uintX_t
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
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
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.
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
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; }
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
2900
2909
ac_build_alias=$build_alias
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
2934
2943
if test "x$host_alias" = x; then
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
2967
2976
if test "x$target_alias" = x; then
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
3023
3032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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;;
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;;
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
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
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
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
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
3384
3393
cat >conftest.make <<\_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
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
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
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; }
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; }
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; }
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
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; }
4116
4125
rm -f conftest.$ac_cv_objext conftest.$ac_ext
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
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
4164
4173
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
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
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
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
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
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
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
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
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; }
4735
4744
# Provide some information about the compiler.
4736
4745
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
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
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
4802
4811
ac_save_c_werror_flag=$ac_c_werror_flag
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
4880
4889
ac_cv_prog_cc_c89=no
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
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
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
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
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
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
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; }
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
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
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
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; }
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
5586
5595
if test -z "$GREP"; then
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
5649
5658
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
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
5716
5725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
5867
5876
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
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
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; }
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
6328
6338
ac_check_lib_save_LIBS=$LIBS
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
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; }
6452
6464
_pkg_short_errors_supported=no
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`
6457
SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors "sqlite3" 2>&1`
6469
SQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
6459
6471
# Put the nasty error message in config.log where it belongs
6460
6472
echo "$SQLITE3_PKG_ERRORS" >&5
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
6490
6502
ac_check_lib_save_LIBS=$LIBS
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
6533
6545
for ac_func in sqlite3_open_v2
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
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; }
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()
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
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
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
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
6615
6630
_pkg_short_errors_supported=no
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`
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`
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; }
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
6673
6688
case $LIBGCRYPT_CONFIG in
6863
6880
_pkg_short_errors_supported=no
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`
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`
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
6899
6916
ac_check_lib_save_LIBS=$LIBS
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"
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
6935
6952
ac_check_lib_save_LIBS=$LIBS
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"
6984
7001
for ac_func in EVP_DigestInit_ex
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
7001
7018
for ac_func in EVP_sha224
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
7013
7030
for ac_func in EVP_sha256
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
7025
7042
for ac_func in EVP_sha384
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
7037
7054
for ac_func in EVP_sha512
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
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; }
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
7135
7154
_pkg_short_errors_supported=no
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`
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`
7142
7161
# Put the nasty error message in config.log where it belongs
7143
7162
echo "$LIBCARES_PKG_ERRORS" >&5
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
7172
7191
ac_check_lib_save_LIBS=$LIBS
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
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
7214
7233
ac_check_lib_save_LIBS=$LIBS
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
7266
7285
ac_fn_cxx_check_type "$LINENO" "ares_addr_node" "ac_cv_type_ares_addr_node" "#include <ares.h>
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 :
7270
7289
cat >>confdefs.h <<_ACEOF
7271
7290
#define HAVE_ARES_ADDR_NODE 1
7277
7296
for ac_func in ares_set_servers
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
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; }
7373
7394
_pkg_short_errors_supported=no
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`
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`
7380
7401
# Put the nasty error message in config.log where it belongs
7381
7402
echo "$ZLIB_PKG_ERRORS" >&5
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
7408
7429
ac_check_lib_save_LIBS=$LIBS
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 :
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; }
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
7704
7725
ac_func_search_save_LIBS=$LIBS
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 :
7739
if test "${ac_cv_search_clock_gettime+set}" = set; then :
7760
if ${ac_cv_search_clock_gettime+:} false; then :
7742
7763
ac_cv_search_clock_gettime=no
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
7763
7784
ac_func_search_save_LIBS=$LIBS
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 :
7798
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
7819
if ${ac_cv_search_getaddrinfo+:} false; then :
7801
7822
ac_cv_search_getaddrinfo=no
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
7819
7840
ac_func_search_save_LIBS=$LIBS
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 :
7854
if test "${ac_cv_search_inet_aton+set}" = set; then :
7875
if ${ac_cv_search_inet_aton+:} false; then :
7857
7878
ac_cv_search_inet_aton=no
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 :
7900
cat >>confdefs.h <<_ACEOF
7901
#define size_t unsigned int
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
7881
7913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
7914
7946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
7977
8009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
8018
8050
if test "$cross_compiling" = yes; then :
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
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
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];
8311
/* See body of main program for 'e'. */
8280
8312
char f[(_Bool) 0.0 == false ? 1 : -1];
8282
8314
char h[sizeof (_Bool)];
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
8306
char digs[] = "0123456789";
8307
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
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
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 :
8342
8356
cat >>confdefs.h <<_ACEOF
8343
8357
#define HAVE__BOOL 1
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
8360
8374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
8440
8454
ac_cv_c_inline=no
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
8570
8584
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
8605
8619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
8705
8719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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 :
8737
8751
cat >>confdefs.h <<_ACEOF
8738
8752
#define HAVE_PTRDIFF_T 1
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 :
8746
8760
cat >>confdefs.h <<_ACEOF
8747
8761
#define HAVE_STRUCT_TIMESPEC 1
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
8758
8772
ac_cv_c_bigendian=unknown
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 ;;
8977
8991
# Check whether --enable-largefile was given.
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
8989
9003
ac_cv_sys_largefile_CC=no
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
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
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
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
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
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
9434
9448
case "$MSGMERGE" in
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
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
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
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
9602
9616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655
9669
for ac_func in getpagesize
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
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
9671
9685
if test "$cross_compiling" = yes; then :
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
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
9930
9944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
9965
9979
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033
10047
for ac_header in inttypes.h
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
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
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; }
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
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
10257
10271
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
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
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
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
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
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
10487
10501
ac_check_lib_save_LIBS=$LIBS
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
10540
10554
ac_check_lib_save_LIBS=$LIBS
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
10584
10598
ac_check_lib_save_LIBS=$LIBS
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
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
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>
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 :
11277
11291
$as_echo "#define HAVE_PTHREAD_RWLOCK 1" >>confdefs.h
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
11831
11845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
11872
11886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
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
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
12190
12204
if test -n "$INTLBISON"; then
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
12248
12262
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12339
12353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12372
12386
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12415
12429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
12521
12535
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550
12564
for ac_header in stdint.h
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
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
12647
12661
for ac_header in stdint.h
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
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
12667
12681
if test "$cross_compiling" = yes; then :
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
12763
12777
gt_save_LIBS="$LIBS"
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
12797
12811
gt_save_LIBS="$LIBS"
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
12887
12901
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12928
12942
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12970
12984
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
13042
13056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
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
13170
13184
if test -n "$ac_ct_WINDRES"; then
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
13252
13266
gt_save_LIBS="$LIBS"
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
13286
13300
gt_save_LIBS="$LIBS"
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
13381
13395
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
13876
13890
gt_save_CPPFLAGS="$CPPFLAGS"
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
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
14138
14152
ac_pattern="Autoconf.*'x'"
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
14180
14194
if test "$cross_compiling" = yes; then :
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
14263
14277
if test "$cross_compiling" = yes; then :
14482
14496
for ac_func in getpagesize
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
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
14498
14512
if test "$cross_compiling" = yes; then :
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
14677
14691
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
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 *}"
14711
14725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
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
14739
14753
rm -f conftest.sym conftest.file
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
14801
14815
if test "$cross_compiling" = yes; then :
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
14857
14871
ac_check_lib_save_LIBS=$LIBS
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
14891
14905
LIBS="-lintl $LIBS"
14897
14911
for ac_func in vprintf
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
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 :
14908
14922
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
14916
14930
for ac_header in vfork.h
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
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
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
14999
15013
if test "$cross_compiling" = yes; then :
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
15134
15148
if test "$cross_compiling" = yes; then :
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 :
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
15200
15214
ac_check_lib_save_LIBS=$LIBS
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 :
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
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
15323
15337
for ac_func in posix_fallocate
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
15436
15450
for ac_func in gai_strerror
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
15463
15477
for ac_func in getaddrinfo
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
15490
15504
for ac_func in gettimeofday
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
15544
15558
for ac_func in localtime_r
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
15645
15659
for ac_func in clock_gettime
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
15658
15672
for ac_func in mach_absolute_time
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
15740
15754
for ac_func in port_associate
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
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>
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 :
15819
15833
$as_echo "#define HAVE_SOCKADDR_IN_SIN_LEN 1" >>confdefs.h
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"
15947
case $cache_file in #(
15949
mv -f confcache "$cache_file"$$ &&
15950
mv -f "$cache_file"$$ "$cache_file" ;; #(
15952
mv -f confcache "$cache_file" ;;
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
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"
16587
16613
# report actual input values of CONFIG_FILES etc. instead of their
16588
16614
# values after options handling.
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
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\\"
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" ;;
16804
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16830
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16824
16850
# after its creation but before its name has been assigned to `$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
16831
16858
trap 'as_fn_exit 1' 1 2 13 15
16836
16863
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16837
test -n "$tmp" && test -d "$tmp"
16840
16867
tmp=./conf$$-$RANDOM
16841
16868
(umask 077 && mkdir "$tmp")
16842
16869
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16844
16872
# Set up the scripts for CONFIG_FILES section.
16845
16873
# No need to generate them if there are no CONFIG_FILES.
16969
16997
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
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
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 ||
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
17021
17049
elif $ac_last_try; then
17022
17050
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
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";;
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;;
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'"
17308
17336
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17309
17337
$ac_datarootdir_hack
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
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;}
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";;
17327
17356
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17333
17362
if test x"$ac_file" != x-; then
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;}
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
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
17352
17381
# Compute "$ac_file"'s index in $config_headers.