2158
2190
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2161
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2162
# We used to keeping the `.' as first argument, in order to
2163
# allow $(mkdir_p) to be used without argument. As in
2164
# $(mkdir_p) $(somedir)
2165
# where $(somedir) is conditionally defined. However this is wrong
2167
# 1. if the package is installed by a user who cannot write `.'
2168
# make install will fail,
2169
# 2. the above comment should most certainly read
2170
# $(mkdir_p) $(DESTDIR)$(somedir)
2171
# so it does not work when $(somedir) is undefined and
2172
# $(DESTDIR) is not.
2173
# To support the latter case, we have to write
2174
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2175
# so the `.' trick is pointless.
2176
mkdir_p='mkdir -p --'
2193
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2194
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2195
if test -z "$MKDIR_P"; then
2196
if test "${ac_cv_path_mkdir+set}" = set; then
2197
echo $ECHO_N "(cached) $ECHO_C" >&6
2178
# On NextStep and OpenStep, the `mkdir' command does not
2179
# recognize any option. It will interpret all options as
2180
# directories to create, and then abort because `.' already
2182
for d in ./-p ./--version;
2184
test -d $d && rmdir $d
2186
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2187
if test -f "$ac_aux_dir/mkinstalldirs"; then
2188
mkdir_p='$(mkinstalldirs)'
2199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2203
test -z "$as_dir" && as_dir=.
2204
for ac_prog in mkdir gmkdir; do
2205
for ac_exec_ext in '' $ac_executable_extensions; do
2206
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2207
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2208
'mkdir (GNU coreutils) '* | \
2209
'mkdir (coreutils) '* | \
2210
'mkdir (fileutils) '4.1*)
2211
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2221
if test "${ac_cv_path_mkdir+set}" = set; then
2222
MKDIR_P="$ac_cv_path_mkdir -p"
2190
mkdir_p='$(install_sh) -d'
2224
# As a last resort, use the slow shell script. Don't cache a
2225
# value for MKDIR_P within a source directory, because that will
2226
# break other packages using the cache if that directory is
2227
# removed, or if the value is a relative name.
2228
test -d ./--version && rmdir ./--version
2229
MKDIR_P="$ac_install_sh -d"
2232
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2233
echo "${ECHO_T}$MKDIR_P" >&6; }
2237
[\\/$]* | ?:[\\/]*) ;;
2238
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2194
2241
for ac_prog in gawk mawk nawk awk
3375
# Find a good install program. We prefer a C program (faster),
3376
# so one script is as good as another. But avoid the broken or
3377
# incompatible versions:
3378
# SysV /etc/install, /usr/sbin/install
3379
# SunOS /usr/etc/install
3380
# IRIX /sbin/install
3382
# AmigaOS /C/install, which installs bootblocks on floppy discs
3383
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3384
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3385
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3386
# OS/2's system install, which has a completely different semantic
3387
# ./install, which can be erroneously created by make from ./install.sh.
3388
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3389
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3390
if test -z "$INSTALL"; then
3391
if test "${ac_cv_path_install+set}" = set; then
3392
echo $ECHO_N "(cached) $ECHO_C" >&6
3394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398
test -z "$as_dir" && as_dir=.
3399
# Account for people who put trailing slashes in PATH elements.
3401
./ | .// | /cC/* | \
3402
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3403
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3406
# OSF1 and SCO ODT 3.0 have their own names for install.
3407
# Don't use installbsd from OSF since it installs stuff as root
3409
for ac_prog in ginstall scoinst install; do
3410
for ac_exec_ext in '' $ac_executable_extensions; do
3411
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3412
if test $ac_prog = install &&
3413
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3414
# AIX install. It has an incompatible calling convention.
3416
elif test $ac_prog = install &&
3417
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3418
# program-specific install script used by HP pwplus--don't use.
3421
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3434
if test "${ac_cv_path_install+set}" = set; then
3435
INSTALL=$ac_cv_path_install
3437
# As a last resort, use the slow shell script. Don't cache a
3438
# value for INSTALL within a source directory, because that will
3439
# break other packages using the cache if that directory is
3440
# removed, or if the value is a relative name.
3441
INSTALL=$ac_install_sh
3444
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3445
echo "${ECHO_T}$INSTALL" >&6; }
3447
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3448
# It thinks the first close brace ends the variable substitution.
3449
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3451
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3453
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3455
# Check whether --enable-shared was given.
3456
if test "${enable_shared+set}" = set; then
3457
enableval=$enable_shared; p=${PACKAGE-default}
3459
yes) enable_shared=yes ;;
3460
no) enable_shared=no ;;
3463
# Look at the argument we got. We use all the common list separators.
3464
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3465
for pkg in $enableval; do
3467
if test "X$pkg" = "X$p"; then
3479
# Check whether --enable-static was given.
3480
if test "${enable_static+set}" = set; then
3481
enableval=$enable_static; p=${PACKAGE-default}
3483
yes) enable_static=yes ;;
3484
no) enable_static=no ;;
3487
# Look at the argument we got. We use all the common list separators.
3488
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3489
for pkg in $enableval; do
3491
if test "X$pkg" = "X$p"; then
3503
# Check whether --enable-fast-install was given.
3504
if test "${enable_fast_install+set}" = set; then
3505
enableval=$enable_fast_install; p=${PACKAGE-default}
3507
yes) enable_fast_install=yes ;;
3508
no) enable_fast_install=no ;;
3510
enable_fast_install=no
3511
# Look at the argument we got. We use all the common list separators.
3512
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3513
for pkg in $enableval; do
3515
if test "X$pkg" = "X$p"; then
3516
enable_fast_install=yes
3523
enable_fast_install=yes
3528
3355
ac_cpp='$CPP $CPPFLAGS'
3529
3356
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138
if test "x$CC" != xcc; then
4139
{ echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4140
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
4142
{ echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4143
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
4145
set dummy $CC; ac_cc=`echo $2 |
4146
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4147
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4148
echo $ECHO_N "(cached) $ECHO_C" >&6
4150
cat >conftest.$ac_ext <<_ACEOF
4153
cat confdefs.h >>conftest.$ac_ext
4154
cat >>conftest.$ac_ext <<_ACEOF
4155
/* end confdefs.h. */
4165
# Make sure it works both with $CC and with simple cc.
4166
# We do the test twice because some compilers refuse to overwrite an
4167
# existing .o file with -o, though they will create one.
4168
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4170
if { (case "(($ac_try" in
4171
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172
*) ac_try_echo=$ac_try;;
4174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175
(eval "$ac_try") 2>&5
4177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178
(exit $ac_status); } &&
4179
test -f conftest2.$ac_objext && { (case "(($ac_try" in
4180
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4181
*) ac_try_echo=$ac_try;;
4183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4184
(eval "$ac_try") 2>&5
4186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187
(exit $ac_status); };
4189
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4190
if test "x$CC" != xcc; then
4191
# Test first that cc exists at all.
4192
if { ac_try='cc -c conftest.$ac_ext >&5'
4193
{ (case "(($ac_try" in
4194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
*) ac_try_echo=$ac_try;;
4197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198
(eval "$ac_try") 2>&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); }; }; then
4202
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4204
if { (case "(($ac_try" in
4205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206
*) ac_try_echo=$ac_try;;
4208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209
(eval "$ac_try") 2>&5
4211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
(exit $ac_status); } &&
4213
test -f conftest2.$ac_objext && { (case "(($ac_try" in
4214
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215
*) ac_try_echo=$ac_try;;
4217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218
(eval "$ac_try") 2>&5
4220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
(exit $ac_status); };
4226
# cc exists but doesn't like -o.
4227
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4232
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4234
rm -f core conftest*
4237
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4238
{ echo "$as_me:$LINENO: result: yes" >&5
4239
echo "${ECHO_T}yes" >&6; }
4241
{ echo "$as_me:$LINENO: result: no" >&5
4242
echo "${ECHO_T}no" >&6; }
4244
cat >>confdefs.h <<\_ACEOF
4245
#define NO_MINUS_C_MINUS_O 1
4250
# FIXME: we rely on the cache variable name because
4251
# there is no other way.
4253
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4254
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4255
# Losing compiler, so override with the script.
4256
# FIXME: It is wrong to rewrite CC.
4257
# But if we don't then we get into trouble of one sort or another.
4258
# A longer-term fix would be to have automake use am__CC in this case,
4259
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4260
CC="$am_aux_dir/compile $CC"
4264
# Find a good install program. We prefer a C program (faster),
4265
# so one script is as good as another. But avoid the broken or
4266
# incompatible versions:
4267
# SysV /etc/install, /usr/sbin/install
4268
# SunOS /usr/etc/install
4269
# IRIX /sbin/install
4271
# AmigaOS /C/install, which installs bootblocks on floppy discs
4272
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4273
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4274
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4275
# OS/2's system install, which has a completely different semantic
4276
# ./install, which can be erroneously created by make from ./install.sh.
4277
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4278
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4279
if test -z "$INSTALL"; then
4280
if test "${ac_cv_path_install+set}" = set; then
4281
echo $ECHO_N "(cached) $ECHO_C" >&6
4283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287
test -z "$as_dir" && as_dir=.
4288
# Account for people who put trailing slashes in PATH elements.
4290
./ | .// | /cC/* | \
4291
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4292
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4295
# OSF1 and SCO ODT 3.0 have their own names for install.
4296
# Don't use installbsd from OSF since it installs stuff as root
4298
for ac_prog in ginstall scoinst install; do
4299
for ac_exec_ext in '' $ac_executable_extensions; do
4300
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4301
if test $ac_prog = install &&
4302
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4303
# AIX install. It has an incompatible calling convention.
4305
elif test $ac_prog = install &&
4306
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4307
# program-specific install script used by HP pwplus--don't use.
4310
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4323
if test "${ac_cv_path_install+set}" = set; then
4324
INSTALL=$ac_cv_path_install
4326
# As a last resort, use the slow shell script. Don't cache a
4327
# value for INSTALL within a source directory, because that will
4328
# break other packages using the cache if that directory is
4329
# removed, or if the value is a relative name.
4330
INSTALL=$ac_install_sh
4333
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4334
echo "${ECHO_T}$INSTALL" >&6; }
4336
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4337
# It thinks the first close brace ends the variable substitution.
4338
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4340
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4342
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4344
# Check whether --enable-shared was given.
4345
if test "${enable_shared+set}" = set; then
4346
enableval=$enable_shared; p=${PACKAGE-default}
4348
yes) enable_shared=yes ;;
4349
no) enable_shared=no ;;
4352
# Look at the argument we got. We use all the common list separators.
4353
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4354
for pkg in $enableval; do
4356
if test "X$pkg" = "X$p"; then
4368
# Check whether --enable-static was given.
4369
if test "${enable_static+set}" = set; then
4370
enableval=$enable_static; p=${PACKAGE-default}
4372
yes) enable_static=yes ;;
4373
no) enable_static=no ;;
4376
# Look at the argument we got. We use all the common list separators.
4377
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4378
for pkg in $enableval; do
4380
if test "X$pkg" = "X$p"; then
4392
# Check whether --enable-fast-install was given.
4393
if test "${enable_fast_install+set}" = set; then
4394
enableval=$enable_fast_install; p=${PACKAGE-default}
4396
yes) enable_fast_install=yes ;;
4397
no) enable_fast_install=no ;;
4399
enable_fast_install=no
4400
# Look at the argument we got. We use all the common list separators.
4401
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4402
for pkg in $enableval; do
4404
if test "X$pkg" = "X$p"; then
4405
enable_fast_install=yes
4412
enable_fast_install=yes
4397
4416
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4398
4417
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4399
4418
if test "${lt_cv_path_SED+set}" = set; then
8951
8845
version_type=none
8952
8846
dynamic_linker="$host_os ld.so"
8953
8847
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8954
8849
if test "$GCC" = yes; then
8955
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8956
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8851
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8852
*) lt_awk_arg="/^libraries:/" ;;
8854
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8855
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8957
8856
# if the path contains ";" then we assume it to be the separator
8958
8857
# otherwise default to the standard path separator (i.e. ":") - it is
8959
8858
# assumed that no part of a normal pathname contains ";" but that should
8960
8859
# okay in the real world where ";" in dirpaths is itself problematic.
8961
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8860
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8963
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8862
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8864
# Ok, now we have the path, separated by spaces, we can step through it
8865
# and add multilib dir if necessary.
8866
lt_tmp_lt_search_path_spec=
8867
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8868
for lt_sys_path in $lt_search_path_spec; do
8869
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8870
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8872
test -d "$lt_sys_path" && \
8873
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8876
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
8877
BEGIN {RS=" "; FS="/|\n";} {
8880
for (lt_i = NF; lt_i > 0; lt_i--) {
8881
if ($lt_i != "" && $lt_i != ".") {
8882
if ($lt_i == "..") {
8885
if (lt_count == 0) {
8886
lt_foo="/" $lt_i lt_foo;
8893
if (lt_foo != "") { lt_freq[lt_foo]++; }
8894
if (lt_freq[lt_foo] == 1) { print lt_foo; }
8896
sys_lib_search_path_spec=`echo $lt_search_path_spec`
8966
8898
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20352
{ echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5
20353
echo $ECHO_N "checking for library containing getaddrinfo... $ECHO_C" >&6; }
20354
if test "${ac_cv_search_getaddrinfo+set}" = set; then
20355
echo $ECHO_N "(cached) $ECHO_C" >&6
20357
ac_func_search_save_LIBS=$LIBS
20358
cat >conftest.$ac_ext <<_ACEOF
20361
cat confdefs.h >>conftest.$ac_ext
20362
cat >>conftest.$ac_ext <<_ACEOF
20363
/* end confdefs.h. */
20365
/* Override any GCC internal prototype to avoid an error.
20366
Use char because int might match the return type of a GCC
20367
builtin and then its argument prototype would still apply. */
20371
char getaddrinfo ();
20375
return getaddrinfo ();
20380
for ac_lib in '' xnet; do
20381
if test -z "$ac_lib"; then
20382
ac_res="none required"
20385
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20387
rm -f conftest.$ac_objext conftest$ac_exeext
20388
if { (ac_try="$ac_link"
20389
case "(($ac_try" in
20390
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20391
*) ac_try_echo=$ac_try;;
20393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394
(eval "$ac_link") 2>conftest.er1
20396
grep -v '^ *+' conftest.er1 >conftest.err
20398
cat conftest.err >&5
20399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400
(exit $ac_status); } && {
20401
test -z "$ac_c_werror_flag" ||
20402
test ! -s conftest.err
20403
} && test -s conftest$ac_exeext &&
20404
$as_test_x conftest$ac_exeext; then
20405
ac_cv_search_getaddrinfo=$ac_res
20407
echo "$as_me: failed program was:" >&5
20408
sed 's/^/| /' conftest.$ac_ext >&5
20413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20415
if test "${ac_cv_search_getaddrinfo+set}" = set; then
20419
if test "${ac_cv_search_getaddrinfo+set}" = set; then
20422
ac_cv_search_getaddrinfo=no
20424
rm conftest.$ac_ext
20425
LIBS=$ac_func_search_save_LIBS
20427
{ echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5
20428
echo "${ECHO_T}$ac_cv_search_getaddrinfo" >&6; }
20429
ac_res=$ac_cv_search_getaddrinfo
20430
if test "$ac_res" != no; then
20431
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20435
{ echo "$as_me:$LINENO: checking for library containing in6addr_loopback" >&5
20436
echo $ECHO_N "checking for library containing in6addr_loopback... $ECHO_C" >&6; }
20437
if test "${ac_cv_search_in6addr_loopback+set}" = set; then
20438
echo $ECHO_N "(cached) $ECHO_C" >&6
20440
ac_func_search_save_LIBS=$LIBS
20441
cat >conftest.$ac_ext <<_ACEOF
20444
cat confdefs.h >>conftest.$ac_ext
20445
cat >>conftest.$ac_ext <<_ACEOF
20446
/* end confdefs.h. */
20448
/* Override any GCC internal prototype to avoid an error.
20449
Use char because int might match the return type of a GCC
20450
builtin and then its argument prototype would still apply. */
20454
char in6addr_loopback ();
20458
return in6addr_loopback ();
20463
for ac_lib in '' socket; do
20464
if test -z "$ac_lib"; then
20465
ac_res="none required"
20468
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20470
rm -f conftest.$ac_objext conftest$ac_exeext
20471
if { (ac_try="$ac_link"
20472
case "(($ac_try" in
20473
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474
*) ac_try_echo=$ac_try;;
20476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477
(eval "$ac_link") 2>conftest.er1
20479
grep -v '^ *+' conftest.er1 >conftest.err
20481
cat conftest.err >&5
20482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483
(exit $ac_status); } && {
20484
test -z "$ac_c_werror_flag" ||
20485
test ! -s conftest.err
20486
} && test -s conftest$ac_exeext &&
20487
$as_test_x conftest$ac_exeext; then
20488
ac_cv_search_in6addr_loopback=$ac_res
20490
echo "$as_me: failed program was:" >&5
20491
sed 's/^/| /' conftest.$ac_ext >&5
20496
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20498
if test "${ac_cv_search_in6addr_loopback+set}" = set; then
20502
if test "${ac_cv_search_in6addr_loopback+set}" = set; then
20505
ac_cv_search_in6addr_loopback=no
20507
rm conftest.$ac_ext
20508
LIBS=$ac_func_search_save_LIBS
20510
{ echo "$as_me:$LINENO: result: $ac_cv_search_in6addr_loopback" >&5
20511
echo "${ECHO_T}$ac_cv_search_in6addr_loopback" >&6; }
20512
ac_res=$ac_cv_search_in6addr_loopback
20513
if test "$ac_res" != no; then
20514
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20685
20682
rm -f conftest.er1
20686
20683
cat conftest.err >&5
20687
20684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688
(exit $ac_status); } &&
20689
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20690
{ (case "(($ac_try" in
20691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692
*) ac_try_echo=$ac_try;;
20694
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695
(eval "$ac_try") 2>&5
20697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698
(exit $ac_status); }; } &&
20699
{ ac_try='test -s conftest$ac_exeext'
20700
{ (case "(($ac_try" in
20701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702
*) ac_try_echo=$ac_try;;
20704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705
(eval "$ac_try") 2>&5
20707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708
(exit $ac_status); }; }; then
20685
(exit $ac_status); } && {
20686
test -z "$ac_c_werror_flag" ||
20687
test ! -s conftest.err
20688
} && test -s conftest$ac_exeext &&
20689
$as_test_x conftest$ac_exeext; then
20690
eval "$as_ac_var=yes"
20692
echo "$as_me: failed program was:" >&5
20693
sed 's/^/| /' conftest.$ac_ext >&5
20695
eval "$as_ac_var=no"
20698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20699
conftest$ac_exeext conftest.$ac_ext
20701
ac_res=`eval echo '${'$as_ac_var'}'`
20702
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20703
echo "${ECHO_T}$ac_res" >&6; }
20704
if test `eval echo '${'$as_ac_var'}'` = yes; then
20705
cat >>confdefs.h <<_ACEOF
20706
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20714
for ac_func in in6addr_loopback in6addr_any
20716
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20717
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20718
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20719
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20720
echo $ECHO_N "(cached) $ECHO_C" >&6
20722
cat >conftest.$ac_ext <<_ACEOF
20725
cat confdefs.h >>conftest.$ac_ext
20726
cat >>conftest.$ac_ext <<_ACEOF
20727
/* end confdefs.h. */
20728
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20729
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20730
#define $ac_func innocuous_$ac_func
20732
/* System header to define __stub macros and hopefully few prototypes,
20733
which can conflict with char $ac_func (); below.
20734
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20735
<limits.h> exists even on freestanding compilers. */
20738
# include <limits.h>
20740
# include <assert.h>
20745
/* Override any GCC internal prototype to avoid an error.
20746
Use char because int might match the return type of a GCC
20747
builtin and then its argument prototype would still apply. */
20752
/* The GNU C library defines this for functions which it implements
20753
to always fail with ENOSYS. Some functions are actually named
20754
something starting with __ and the normal name is an alias. */
20755
#if defined __stub_$ac_func || defined __stub___$ac_func
20762
return $ac_func ();
20767
rm -f conftest.$ac_objext conftest$ac_exeext
20768
if { (ac_try="$ac_link"
20769
case "(($ac_try" in
20770
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771
*) ac_try_echo=$ac_try;;
20773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774
(eval "$ac_link") 2>conftest.er1
20776
grep -v '^ *+' conftest.er1 >conftest.err
20778
cat conftest.err >&5
20779
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780
(exit $ac_status); } && {
20781
test -z "$ac_c_werror_flag" ||
20782
test ! -s conftest.err
20783
} && test -s conftest$ac_exeext &&
20784
$as_test_x conftest$ac_exeext; then
20709
20785
eval "$as_ac_var=yes"
20711
20787
echo "$as_me: failed program was:" >&5
21401
# Updatecheck related flags
21402
# -------------------------
21404
# Check whether --enable-manualupdatecheck was given.
21405
if test "${enable_manualupdatecheck+set}" = set; then
21406
enableval=$enable_manualupdatecheck; manualupdatecheck=$enableval
21408
manualupdatecheck="yes"
21412
if test "$manualupdatecheck" = "no"; then
21413
manualupdatecheck="0"
21415
manualupdatecheck="1"
21418
cat >>confdefs.h <<_ACEOF
21419
#define FZ_MANUALUPDATECHECK $manualupdatecheck
21423
# Check whether --enable-autoupdatecheck was given.
21424
if test "${enable_autoupdatecheck+set}" = set; then
21425
enableval=$enable_autoupdatecheck; autoupdatecheck=$enableval
21427
autoupdatecheck="yes"
21431
if test "$manualupdatecheck" = "1" -a "$autoupdatecheck" != "no"; then
21432
autoupdatecheck="1"
21434
autoupdatecheck="0"
21437
cat >>confdefs.h <<_ACEOF
21438
#define FZ_AUTOUPDATECHECK $autoupdatecheck
21446
# Check whether --with-libgnutls-prefix was given.
21447
if test "${with_libgnutls_prefix+set}" = set; then
21448
withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
21450
libgnutls_config_prefix=""
21454
if test x$libgnutls_config_prefix != x ; then
21455
if test x${LIBGNUTLS_CONFIG+set} != xset ; then
21456
LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
21460
# Extract the first word of "libgnutls-config", so it can be a program name with args.
21461
set dummy libgnutls-config; ac_word=$2
21462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21464
if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
21465
echo $ECHO_N "(cached) $ECHO_C" >&6
21467
case $LIBGNUTLS_CONFIG in
21469
ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
21472
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21473
for as_dir in $PATH
21476
test -z "$as_dir" && as_dir=.
21477
for ac_exec_ext in '' $ac_executable_extensions; do
21478
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21479
ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21480
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21487
test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
21491
LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
21492
if test -n "$LIBGNUTLS_CONFIG"; then
21493
{ echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
21494
echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
21496
{ echo "$as_me:$LINENO: result: no" >&5
21497
echo "${ECHO_T}no" >&6; }
21501
min_libgnutls_version=2.0.4
21502
{ echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
21503
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
21505
if test "$LIBGNUTLS_CONFIG" = "no" ; then
21508
LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
21509
LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
21510
libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
21513
ac_save_CFLAGS="$CFLAGS"
21514
ac_save_LIBS="$LIBS"
21515
CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
21516
LIBS="$LIBS $LIBGNUTLS_LIBS"
21517
rm -f conf.libgnutlstest
21518
if test "$cross_compiling" = yes; then
21519
echo $ac_n "cross compiling; assumed OK... $ac_c"
21521
cat >conftest.$ac_ext <<_ACEOF
21524
cat confdefs.h >>conftest.$ac_ext
21525
cat >>conftest.$ac_ext <<_ACEOF
21526
/* end confdefs.h. */
21529
#include <stdlib.h>
21530
#include <string.h>
21531
#include <gnutls/gnutls.h>
21536
system ("touch conf.libgnutlstest");
21538
if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
21540
printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
21541
"$libgnutls_config_version", gnutls_check_version(NULL) );
21542
printf("*** was found! If libgnutls-config was correct, then it is best\n");
21543
printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
21544
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21545
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21546
printf("*** required on your system.\n");
21547
printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
21548
printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
21549
printf("*** before re-running configure\n");
21551
else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
21553
printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
21554
printf("*** library (version %s)\n", gnutls_check_version(NULL) );
21558
if ( gnutls_check_version( "$min_libgnutls_version" ) )
21564
printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
21565
gnutls_check_version(NULL) );
21566
printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
21567
"$min_libgnutls_version" );
21568
printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
21570
printf("*** If you have already installed a sufficiently new version, this error\n");
21571
printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
21572
printf("*** being found. The easiest way to fix this is to remove the old version\n");
21573
printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
21574
printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
21575
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21576
printf("*** so that the correct libraries are found at run-time))\n");
21583
rm -f conftest$ac_exeext
21584
if { (ac_try="$ac_link"
21585
case "(($ac_try" in
21586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21587
*) ac_try_echo=$ac_try;;
21589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590
(eval "$ac_link") 2>&5
21592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21594
{ (case "(($ac_try" in
21595
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596
*) ac_try_echo=$ac_try;;
21598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599
(eval "$ac_try") 2>&5
21601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602
(exit $ac_status); }; }; then
21605
echo "$as_me: program exited with status $ac_status" >&5
21606
echo "$as_me: failed program was:" >&5
21607
sed 's/^/| /' conftest.$ac_ext >&5
21609
( exit $ac_status )
21612
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21616
CFLAGS="$ac_save_CFLAGS"
21617
LIBS="$ac_save_LIBS"
21620
if test "x$no_libgnutls" = x ; then
21621
{ echo "$as_me:$LINENO: result: yes" >&5
21622
echo "${ECHO_T}yes" >&6; }
21625
if test -f conf.libgnutlstest ; then
21628
{ echo "$as_me:$LINENO: result: no" >&5
21629
echo "${ECHO_T}no" >&6; }
21631
if test "$LIBGNUTLS_CONFIG" = "no" ; then
21632
echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
21633
echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
21634
echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
21635
echo "*** full path to libgnutls-config."
21637
if test -f conf.libgnutlstest ; then
21640
echo "*** Could not run libgnutls test program, checking why..."
21641
CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
21642
LIBS="$LIBS $LIBGNUTLS_LIBS"
21643
cat >conftest.$ac_ext <<_ACEOF
21646
cat confdefs.h >>conftest.$ac_ext
21647
cat >>conftest.$ac_ext <<_ACEOF
21648
/* end confdefs.h. */
21651
#include <stdlib.h>
21652
#include <string.h>
21653
#include <gnutls/gnutls.h>
21658
return !!gnutls_check_version(NULL);
21663
rm -f conftest.$ac_objext conftest$ac_exeext
21664
if { (ac_try="$ac_link"
21665
case "(($ac_try" in
21666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667
*) ac_try_echo=$ac_try;;
21669
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670
(eval "$ac_link") 2>conftest.er1
21672
grep -v '^ *+' conftest.er1 >conftest.err
21674
cat conftest.err >&5
21675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676
(exit $ac_status); } && {
21677
test -z "$ac_c_werror_flag" ||
21678
test ! -s conftest.err
21679
} && test -s conftest$ac_exeext &&
21680
$as_test_x conftest$ac_exeext; then
21681
echo "*** The test program compiled, but did not run. This usually means"
21682
echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
21683
echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
21684
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21685
echo "*** to the installed location Also, make sure you have run ldconfig if that"
21686
echo "*** is required on your system"
21688
echo "*** If you have an old version installed, it is best to remove it, although"
21689
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21692
echo "$as_me: failed program was:" >&5
21693
sed 's/^/| /' conftest.$ac_ext >&5
21695
echo "*** The test program failed to compile or link. See the file config.log for the"
21696
echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
21697
echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
21698
echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
21701
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21702
conftest$ac_exeext conftest.$ac_ext
21703
CFLAGS="$ac_save_CFLAGS"
21704
LIBS="$ac_save_LIBS"
21707
LIBGNUTLS_CFLAGS=""
21709
{ { echo "$as_me:$LINENO: error:
21711
*** libgnutls 2.0.4 or greater was not found. You may want to get it from
21712
*** ftp://ftp.gnutls.org/pub/gnutls/" >&5
21713
echo "$as_me: error:
21715
*** libgnutls 2.0.4 or greater was not found. You may want to get it from
21716
*** ftp://ftp.gnutls.org/pub/gnutls/" >&2;}
21717
{ (exit 1); exit 1; }; }
21719
rm -f conf.libgnutlstest
21348
21729
# Everything translation related
22548
22945
AR!$AR$ac_delim
22549
22946
RANLIB!$RANLIB$ac_delim
22550
22947
CPP!$CPP$ac_delim
22950
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22952
elif $ac_last_try; then
22953
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22954
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22955
{ (exit 1); exit 1; }; }
22957
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22961
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22962
if test -n "$ac_eof"; then
22963
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22964
ac_eof=`expr $ac_eof + 1`
22967
cat >>$CONFIG_STATUS <<_ACEOF
22968
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22969
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22972
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22973
s/^/s,@/; s/!/@,|#_!!_#|/
22976
s/'"$ac_delim"'$/,g/; t
22978
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22979
' >>$CONFIG_STATUS <conf$$subs.sed
22980
rm -f conf$$subs.sed
22981
cat >>$CONFIG_STATUS <<_ACEOF
22987
for ac_last_try in false false false false false :; do
22988
cat >conf$$subs.sed <<_ACEOF
22551
22989
CXXCPP!$CXXCPP$ac_delim
22552
22990
F77!$F77$ac_delim
22555
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22557
elif $ac_last_try; then
22558
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22559
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22560
{ (exit 1); exit 1; }; }
22562
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22566
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22567
if test -n "$ac_eof"; then
22568
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22569
ac_eof=`expr $ac_eof + 1`
22572
cat >>$CONFIG_STATUS <<_ACEOF
22573
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22574
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22577
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22578
s/^/s,@/; s/!/@,|#_!!_#|/
22581
s/'"$ac_delim"'$/,g/; t
22583
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22584
' >>$CONFIG_STATUS <conf$$subs.sed
22585
rm -f conf$$subs.sed
22586
cat >>$CONFIG_STATUS <<_ACEOF
22592
for ac_last_try in false false false false false :; do
22593
cat >conf$$subs.sed <<_ACEOF
22594
22991
FFLAGS!$FFLAGS$ac_delim
22595
22992
ac_ct_F77!$ac_ct_F77$ac_delim
22596
22993
LIBTOOL!$LIBTOOL$ac_delim