37
37
as_cr_digits='0123456789'
38
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
53
81
# Support unset when possible.
1013
1059
ac_init_version=: ;;
1015
1061
-with-* | --with-*)
1016
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017
1063
# Reject names that are not valid shell variable names.
1018
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1064
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1020
1066
{ (exit 1); exit 1; }; }
1021
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1022
eval with_$ac_package=\$ac_optarg ;;
1067
ac_useropt_orig=$ac_useropt
1068
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069
case $ac_user_opts in
1073
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1074
ac_unrecognized_sep=', ';;
1076
eval with_$ac_useropt=\$ac_optarg ;;
1024
1078
-without-* | --without-*)
1025
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026
1080
# Reject names that are not valid shell variable names.
1027
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1081
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1029
1083
{ (exit 1); exit 1; }; }
1030
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1031
eval with_$ac_package=no ;;
1084
ac_useropt_orig=$ac_useropt
1085
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086
case $ac_user_opts in
1090
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091
ac_unrecognized_sep=', ';;
1093
eval with_$ac_useropt=no ;;
1034
1096
# Obsolete; use --with-x.
1076
1138
if test -n "$ac_prev"; then
1077
1139
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078
{ echo "$as_me: error: missing argument to $ac_option" >&2
1140
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1079
1141
{ (exit 1); exit 1; }; }
1082
# Be sure to have absolute directory names.
1144
if test -n "$ac_unrecognized_opts"; then
1145
case $enable_option_checking in
1147
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1148
{ (exit 1); exit 1; }; } ;;
1149
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1153
# Check all directory arguments for consistency.
1083
1154
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084
1155
datadir sysconfdir sharedstatedir localstatedir includedir \
1085
1156
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086
1157
libdir localedir mandir
1088
1159
eval ac_val=\$$ac_var
1160
# Remove trailing slashes.
1163
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1164
eval $ac_var=\$ac_val;;
1166
# Be sure to have absolute directory names.
1089
1167
case $ac_val in
1090
1168
[\\/$]* | ?:[\\/]* ) continue;;
1091
1169
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1093
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1171
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1094
1172
{ (exit 1); exit 1; }; }
1230
1308
For better control, use the options below.
1232
1310
Fine tuning of the installation directories:
1233
--bindir=DIR user executables [EPREFIX/bin]
1234
--sbindir=DIR system admin executables [EPREFIX/sbin]
1235
--libexecdir=DIR program executables [EPREFIX/libexec]
1236
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1237
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1238
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1239
--libdir=DIR object code libraries [EPREFIX/lib]
1240
--includedir=DIR C header files [PREFIX/include]
1241
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1242
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1243
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1244
--infodir=DIR info documentation [DATAROOTDIR/info]
1245
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1246
--mandir=DIR man documentation [DATAROOTDIR/man]
1247
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1248
--htmldir=DIR html documentation [DOCDIR]
1249
--dvidir=DIR dvi documentation [DOCDIR]
1250
--pdfdir=DIR pdf documentation [DOCDIR]
1251
--psdir=DIR ps documentation [DOCDIR]
1311
--bindir=DIR user executables [EPREFIX/bin]
1312
--sbindir=DIR system admin executables [EPREFIX/sbin]
1313
--libexecdir=DIR program executables [EPREFIX/libexec]
1314
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1315
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1316
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1317
--libdir=DIR object code libraries [EPREFIX/lib]
1318
--includedir=DIR C header files [PREFIX/include]
1319
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1320
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1321
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1322
--infodir=DIR info documentation [DATAROOTDIR/info]
1323
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1324
--mandir=DIR man documentation [DATAROOTDIR/man]
1325
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1326
--htmldir=DIR html documentation [DOCDIR]
1327
--dvidir=DIR dvi documentation [DOCDIR]
1328
--pdfdir=DIR pdf documentation [DOCDIR]
1329
--psdir=DIR ps documentation [DOCDIR]
1600
1681
# Let the site file select an alternate cache file if it wants to.
1601
# Prefer explicitly selected file to automatically selected ones.
1682
# Prefer an explicitly selected file to automatically selected ones.
1602
1685
if test -n "$CONFIG_SITE"; then
1603
set x "$CONFIG_SITE"
1686
ac_site_file1=$CONFIG_SITE
1604
1687
elif test "x$prefix" != xNONE; then
1605
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1688
ac_site_file1=$prefix/share/config.site
1689
ac_site_file2=$prefix/etc/config.site
1607
set x "$ac_default_prefix/share/config.site" \
1608
"$ac_default_prefix/etc/config.site"
1691
ac_site_file1=$ac_default_prefix/share/config.site
1692
ac_site_file2=$ac_default_prefix/etc/config.site
1694
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1696
test "x$ac_site_file" = xNONE && continue
1613
1697
if test -r "$ac_site_file"; then
1614
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615
echo "$as_me: loading site script $ac_site_file" >&6;}
1698
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1699
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1616
1700
sed 's/^/| /' "$ac_site_file" >&5
1617
1701
. "$ac_site_file"
1645
1729
eval ac_new_val=\$ac_env_${ac_var}_value
1646
1730
case $ac_old_set,$ac_new_set in
1648
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1649
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1732
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1733
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1650
1734
ac_cache_corrupted=: ;;
1652
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1653
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1736
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1737
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1654
1738
ac_cache_corrupted=: ;;
1657
1741
if test "x$ac_old_val" != "x$ac_new_val"; then
1658
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1659
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1660
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1661
echo "$as_me: former value: $ac_old_val" >&2;}
1662
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1663
echo "$as_me: current value: $ac_new_val" >&2;}
1664
ac_cache_corrupted=:
1742
# differences in whitespace do not lead to failure.
1743
ac_old_val_w=`echo x $ac_old_val`
1744
ac_new_val_w=`echo x $ac_new_val`
1745
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1746
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1747
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748
ac_cache_corrupted=:
1750
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1751
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1752
eval $ac_var=\$ac_old_val
1754
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1755
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1756
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1757
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1667
1760
# Pass precious variables to config.status.
1668
1761
if test "$ac_new_set" = set; then
1669
1762
case $ac_new_val in
1670
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1763
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1671
1764
*) ac_arg=$ac_var=$ac_new_val ;;
1673
1766
case " $ac_configure_args " in
1855
1950
# Make sure we can run config.sub.
1856
1951
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1857
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1858
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1952
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1953
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1859
1954
{ (exit 1); exit 1; }; }
1861
{ echo "$as_me:$LINENO: checking build system type" >&5
1862
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1956
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1957
$as_echo_n "checking build system type... " >&6; }
1863
1958
if test "${ac_cv_build+set}" = set; then
1864
echo $ECHO_N "(cached) $ECHO_C" >&6
1959
$as_echo_n "(cached) " >&6
1866
1961
ac_build_alias=$build_alias
1867
1962
test "x$ac_build_alias" = x &&
1868
1963
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1869
1964
test "x$ac_build_alias" = x &&
1870
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1871
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1965
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1966
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1872
1967
{ (exit 1); exit 1; }; }
1873
1968
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1874
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1875
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1969
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1970
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1876
1971
{ (exit 1); exit 1; }; }
1879
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1880
echo "${ECHO_T}$ac_cv_build" >&6; }
1974
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1975
$as_echo "$ac_cv_build" >&6; }
1881
1976
case $ac_cv_build in
1883
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1884
echo "$as_me: error: invalid value of canonical build" >&2;}
1978
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1979
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1885
1980
{ (exit 1); exit 1; }; };;
1887
1982
build=$ac_cv_build
1898
1993
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1901
{ echo "$as_me:$LINENO: checking host system type" >&5
1902
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1996
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1997
$as_echo_n "checking host system type... " >&6; }
1903
1998
if test "${ac_cv_host+set}" = set; then
1904
echo $ECHO_N "(cached) $ECHO_C" >&6
1999
$as_echo_n "(cached) " >&6
1906
2001
if test "x$host_alias" = x; then
1907
2002
ac_cv_host=$ac_cv_build
1909
2004
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1910
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1911
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2005
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2006
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1912
2007
{ (exit 1); exit 1; }; }
1916
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1917
echo "${ECHO_T}$ac_cv_host" >&6; }
2011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2012
$as_echo "$ac_cv_host" >&6; }
1918
2013
case $ac_cv_host in
1920
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1921
echo "$as_me: error: invalid value of canonical host" >&2;}
2015
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2016
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1922
2017
{ (exit 1); exit 1; }; };;
1924
2019
host=$ac_cv_host
2245
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2333
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2334
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2246
2335
See \`config.log' for more details." >&5
2247
echo "$as_me: error: no acceptable C compiler found in \$PATH
2336
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2248
2337
See \`config.log' for more details." >&2;}
2249
{ (exit 1); exit 1; }; }
2338
{ (exit 1); exit 1; }; }; }
2251
2340
# Provide some information about the compiler.
2252
echo "$as_me:$LINENO: checking for C compiler version" >&5
2253
ac_compiler=`set X $ac_compile; echo $2`
2341
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2254
2344
{ (ac_try="$ac_compiler --version >&5"
2255
2345
case "(($ac_try" in
2256
2346
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257
2347
*) ac_try_echo=$ac_try;;
2259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2350
$as_echo "$ac_try_echo") >&5
2260
2351
(eval "$ac_compiler --version >&5") 2>&5
2262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
2354
(exit $ac_status); }
2264
2355
{ (ac_try="$ac_compiler -v >&5"
2265
2356
case "(($ac_try" in
2266
2357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267
2358
*) ac_try_echo=$ac_try;;
2269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2361
$as_echo "$ac_try_echo") >&5
2270
2362
(eval "$ac_compiler -v >&5") 2>&5
2272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273
2365
(exit $ac_status); }
2274
2366
{ (ac_try="$ac_compiler -V >&5"
2275
2367
case "(($ac_try" in
2276
2368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277
2369
*) ac_try_echo=$ac_try;;
2279
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2371
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2372
$as_echo "$ac_try_echo") >&5
2280
2373
(eval "$ac_compiler -V >&5") 2>&5
2282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283
2376
(exit $ac_status); }
2285
2378
cat >conftest.$ac_ext <<_ACEOF
2300
2393
ac_clean_files_save=$ac_clean_files
2301
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2394
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2302
2395
# Try to create an executable without -o first, disregard a.out.
2303
2396
# It will help us diagnose broken compilers, and finding out an intuition
2305
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2306
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2307
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2309
# List of possible output files, starting from the most likely.
2310
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2311
# only as a last resort. b.out is created by i960 compilers.
2312
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2314
# The IRIX 6 linker writes into existing files which may not be
2315
# executable, retaining their permissions. Remove them first so a
2316
# subsequent execution test works.
2398
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2399
$as_echo_n "checking for C compiler default output file name... " >&6; }
2400
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2402
# The possible output files:
2403
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2318
2406
for ac_file in $ac_files
2320
2408
case $ac_file in
2321
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2409
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2322
2410
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2373
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2374
echo "${ECHO_T}$ac_file" >&6; }
2462
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2463
$as_echo "$ac_file" >&6; }
2375
2464
if test -z "$ac_file"; then
2376
echo "$as_me: failed program was:" >&5
2465
$as_echo "$as_me: failed program was:" >&5
2377
2466
sed 's/^/| /' conftest.$ac_ext >&5
2379
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2468
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2469
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2380
2471
See \`config.log' for more details." >&5
2381
echo "$as_me: error: C compiler cannot create executables
2472
$as_echo "$as_me: error: C compiler cannot create executables
2382
2473
See \`config.log' for more details." >&2;}
2383
{ (exit 77); exit 77; }; }
2474
{ (exit 77); exit 77; }; }; }
2386
2477
ac_exeext=$ac_cv_exeext
2388
2479
# Check that the compiler produces executables we can run. If not, either
2389
2480
# the compiler is broken, or we cross compile.
2390
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2391
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2481
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482
$as_echo_n "checking whether the C compiler works... " >&6; }
2392
2483
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2393
2484
# If not cross compiling, check that we can run a simple program.
2394
2485
if test "$cross_compiling" != yes; then
2397
2488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398
2489
*) ac_try_echo=$ac_try;;
2400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2492
$as_echo "$ac_try_echo") >&5
2401
2493
(eval "$ac_try") 2>&5
2403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404
2496
(exit $ac_status); }; }; then
2405
2497
cross_compiling=no
2407
2499
if test "$cross_compiling" = maybe; then
2408
2500
cross_compiling=yes
2410
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2502
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2503
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2411
2505
If you meant to cross compile, use \`--host'.
2412
2506
See \`config.log' for more details." >&5
2413
echo "$as_me: error: cannot run C compiled programs.
2507
$as_echo "$as_me: error: cannot run C compiled programs.
2414
2508
If you meant to cross compile, use \`--host'.
2415
2509
See \`config.log' for more details." >&2;}
2416
{ (exit 1); exit 1; }; }
2510
{ (exit 1); exit 1; }; }; }
2420
{ echo "$as_me:$LINENO: result: yes" >&5
2421
echo "${ECHO_T}yes" >&6; }
2514
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2515
$as_echo "yes" >&6; }
2423
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2517
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2424
2518
ac_clean_files=$ac_clean_files_save
2425
2519
# Check that the compiler produces executables we can run. If not, either
2426
2520
# the compiler is broken, or we cross compile.
2427
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2428
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2429
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2430
echo "${ECHO_T}$cross_compiling" >&6; }
2521
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2522
$as_echo_n "checking whether we are cross compiling... " >&6; }
2523
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2524
$as_echo "$cross_compiling" >&6; }
2432
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2433
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2526
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2527
$as_echo_n "checking for suffix of executables... " >&6; }
2434
2528
if { (ac_try="$ac_link"
2435
2529
case "(($ac_try" in
2436
2530
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437
2531
*) ac_try_echo=$ac_try;;
2439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2534
$as_echo "$ac_try_echo") >&5
2440
2535
(eval "$ac_link") 2>&5
2442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443
2538
(exit $ac_status); }; then
2444
2539
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2445
2540
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2448
2543
for ac_file in conftest.exe conftest conftest.*; do
2449
2544
test -f "$ac_file" || continue
2450
2545
case $ac_file in
2451
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2546
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2452
2547
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2553
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2459
2556
See \`config.log' for more details." >&5
2460
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2557
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2461
2558
See \`config.log' for more details." >&2;}
2462
{ (exit 1); exit 1; }; }
2559
{ (exit 1); exit 1; }; }; }
2465
2562
rm -f conftest$ac_cv_exeext
2466
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2563
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2564
$as_echo "$ac_cv_exeext" >&6; }
2469
2566
rm -f conftest.$ac_ext
2470
2567
EXEEXT=$ac_cv_exeext
2471
2568
ac_exeext=$EXEEXT
2472
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2569
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2570
$as_echo_n "checking for suffix of object files... " >&6; }
2474
2571
if test "${ac_cv_objext+set}" = set; then
2475
echo $ECHO_N "(cached) $ECHO_C" >&6
2572
$as_echo_n "(cached) " >&6
2477
2574
cat >conftest.$ac_ext <<_ACEOF
2478
2575
/* confdefs.h. */
2495
2592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496
2593
*) ac_try_echo=$ac_try;;
2498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2596
$as_echo "$ac_try_echo") >&5
2499
2597
(eval "$ac_compile") 2>&5
2501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
2600
(exit $ac_status); }; then
2503
2601
for ac_file in conftest.o conftest.obj conftest.*; do
2504
2602
test -f "$ac_file" || continue;
2505
2603
case $ac_file in
2506
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2604
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2507
2605
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2512
echo "$as_me: failed program was:" >&5
2610
$as_echo "$as_me: failed program was:" >&5
2513
2611
sed 's/^/| /' conftest.$ac_ext >&5
2515
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2614
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2615
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2516
2616
See \`config.log' for more details." >&5
2517
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2518
2618
See \`config.log' for more details." >&2;}
2519
{ (exit 1); exit 1; }; }
2619
{ (exit 1); exit 1; }; }; }
2522
2622
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2524
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2525
echo "${ECHO_T}$ac_cv_objext" >&6; }
2624
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625
$as_echo "$ac_cv_objext" >&6; }
2526
2626
OBJEXT=$ac_cv_objext
2527
2627
ac_objext=$OBJEXT
2528
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2529
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2628
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2530
2630
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2531
echo $ECHO_N "(cached) $ECHO_C" >&6
2631
$as_echo_n "(cached) " >&6
2533
2633
cat >conftest.$ac_ext <<_ACEOF
2534
2634
/* confdefs.h. */
2859
2968
if test -z "$GCC"; then
2860
{ echo "$as_me:$LINENO: checking how to request ANSI compilation" >&5
2861
echo $ECHO_N "checking how to request ANSI compilation... $ECHO_C" >&6; }
2969
{ $as_echo "$as_me:$LINENO: checking how to request ANSI compilation" >&5
2970
$as_echo_n "checking how to request ANSI compilation... " >&6; }
2862
2971
case "$host" in
2864
{ echo "$as_me:$LINENO: result: HPUX: adding -Ae" >&5
2865
echo "${ECHO_T}HPUX: adding -Ae" >&6; }
2973
{ $as_echo "$as_me:$LINENO: result: HPUX: adding -Ae" >&5
2974
$as_echo "HPUX: adding -Ae" >&6; }
2869
{ echo "$as_me:$LINENO: result: AIX: adding -qlanglvl=ansi -qhalt=e" >&5
2870
echo "${ECHO_T}AIX: adding -qlanglvl=ansi -qhalt=e" >&6; }
2978
{ $as_echo "$as_me:$LINENO: result: AIX: adding -qlanglvl=ansi -qhalt=e" >&5
2979
$as_echo "AIX: adding -qlanglvl=ansi -qhalt=e" >&6; }
2871
2980
CC="$CC -qlanglvl=ansi -qhalt=e"
2875
{ echo "$as_me:$LINENO: result: DEC: adding -std1 -ieee" >&5
2876
echo "${ECHO_T}DEC: adding -std1 -ieee" >&6; }
2984
{ $as_echo "$as_me:$LINENO: result: DEC: adding -std1 -ieee" >&5
2985
$as_echo "DEC: adding -std1 -ieee" >&6; }
2881
{ echo "$as_me:$LINENO: result: no idea" >&5
2882
echo "${ECHO_T}no idea" >&6; }
2990
{ $as_echo "$as_me:$LINENO: result: no idea" >&5
2991
$as_echo "no idea" >&6; }
2887
{ echo "$as_me:$LINENO: checking whether the compiler works on ANSI C" >&5
2888
echo $ECHO_N "checking whether the compiler works on ANSI C... $ECHO_C" >&6; }
2996
{ $as_echo "$as_me:$LINENO: checking whether the compiler works on ANSI C" >&5
2997
$as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
2889
2998
if test "$cross_compiling" = yes; then
2890
{ { echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
2891
echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
2999
{ { $as_echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
3000
$as_echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
2892
3001
{ (exit 1); exit 1; }; }
2894
3003
cat >conftest.$ac_ext <<_ACEOF
2905
3014
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906
3015
*) ac_try_echo=$ac_try;;
2908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3018
$as_echo "$ac_try_echo") >&5
2909
3019
(eval "$ac_link") 2>&5
2911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
3022
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2913
3023
{ (case "(($ac_try" in
2914
3024
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915
3025
*) ac_try_echo=$ac_try;;
2917
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3028
$as_echo "$ac_try_echo") >&5
2918
3029
(eval "$ac_try") 2>&5
2920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
3032
(exit $ac_status); }; }; then
2922
{ echo "$as_me:$LINENO: result: yes" >&5
2923
echo "${ECHO_T}yes" >&6; }
3033
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3034
$as_echo "yes" >&6; }
2925
echo "$as_me: program exited with status $ac_status" >&5
2926
echo "$as_me: failed program was:" >&5
3036
$as_echo "$as_me: program exited with status $ac_status" >&5
3037
$as_echo "$as_me: failed program was:" >&5
2927
3038
sed 's/^/| /' conftest.$ac_ext >&5
2929
3040
( exit $ac_status )
2930
{ echo "$as_me:$LINENO: result: no" >&5
2931
echo "${ECHO_T}no" >&6; }
2932
{ { echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
2933
echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
3041
{ $as_echo "$as_me:$LINENO: result: no" >&5
3042
$as_echo "no" >&6; }
3043
{ { $as_echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
3044
$as_echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
2934
3045
{ (exit 1); exit 1; }; }
3047
rm -rf conftest.dSYM
2936
3048
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2941
3053
if test -n "$GCC"; then
2942
{ echo "$as_me:$LINENO: result: Turning on gcc compiler warnings." >&5
2943
echo "${ECHO_T}Turning on gcc compiler warnings." >&6; }
3054
{ $as_echo "$as_me:$LINENO: result: Turning on gcc compiler warnings." >&5
3055
$as_echo "Turning on gcc compiler warnings." >&6; }
2944
3056
CC="$CC -pedantic -Wall -Wnested-externs"
2945
3057
# supposedly gcc 3.4 will have "-Wdeclaration-after-statement"
2946
3058
# and then perhaps we can do without -pedantic?
2948
3060
case "$host" in
2949
3061
*-irix5* |*-irix6.0-3* )
2950
{ echo "$as_me:$LINENO: result: Turning on SGI compiler warnings." >&5
2951
echo "${ECHO_T}Turning on SGI compiler warnings." >&6; }
3062
{ $as_echo "$as_me:$LINENO: result: Turning on SGI compiler warnings." >&5
3063
$as_echo "Turning on SGI compiler warnings." >&6; }
2952
3064
CC="$CC -fullwarn -use_readonly_const -rdata_shared -g3"
3536
3670
# random libc stuff
3538
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3539
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3540
if test "${ac_cv_path_GREP+set}" = set; then
3541
echo $ECHO_N "(cached) $ECHO_C" >&6
3543
# Extract the first word of "grep ggrep" to use in msg output
3544
if test -z "$GREP"; then
3545
set dummy grep ggrep; ac_prog_name=$2
3546
if test "${ac_cv_path_GREP+set}" = set; then
3547
echo $ECHO_N "(cached) $ECHO_C" >&6
3672
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3673
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3674
if test "${ac_cv_path_GREP+set}" = set; then
3675
$as_echo_n "(cached) " >&6
3677
if test -z "$GREP"; then
3549
3678
ac_path_GREP_found=false
3550
# Loop through the user's path and test for each of PROGNAME-LIST
3551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679
# Loop through the user's path and test for each of PROGNAME-LIST
3680
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552
3681
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3554
3683
IFS=$as_save_IFS
3555
3684
test -z "$as_dir" && as_dir=.
3556
3685
for ac_prog in grep ggrep; do
3557
for ac_exec_ext in '' $ac_executable_extensions; do
3558
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3559
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3560
# Check for GNU ac_path_GREP and select it if it is found.
3686
for ac_exec_ext in '' $ac_executable_extensions; do
3687
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3688
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3689
# Check for GNU ac_path_GREP and select it if it is found.
3561
3690
# Check for GNU $ac_path_GREP
3562
3691
case `"$ac_path_GREP" --version 2>&1` in
3564
3693
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3567
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3696
$as_echo_n 0123456789 >"conftest.in"
3570
3699
cat "conftest.in" "conftest.in" >"conftest.tmp"
3571
3700
mv "conftest.tmp" "conftest.in"
3572
3701
cp "conftest.in" "conftest.nl"
3573
echo 'GREP' >> "conftest.nl"
3702
$as_echo 'GREP' >> "conftest.nl"
3574
3703
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3575
3704
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3576
3705
ac_count=`expr $ac_count + 1`
3585
3714
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3589
$ac_path_GREP_found && break 3
3717
$ac_path_GREP_found && break 3
3594
3721
IFS=$as_save_IFS
3599
GREP="$ac_cv_path_GREP"
3600
if test -z "$GREP"; then
3601
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3602
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3722
if test -z "$ac_cv_path_GREP"; then
3723
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3724
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3603
3725
{ (exit 1); exit 1; }; }
3607
3728
ac_cv_path_GREP=$GREP
3612
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3613
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3732
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3733
$as_echo "$ac_cv_path_GREP" >&6; }
3614
3734
GREP="$ac_cv_path_GREP"
3617
{ echo "$as_me:$LINENO: checking for egrep" >&5
3618
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3737
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3738
$as_echo_n "checking for egrep... " >&6; }
3619
3739
if test "${ac_cv_path_EGREP+set}" = set; then
3620
echo $ECHO_N "(cached) $ECHO_C" >&6
3740
$as_echo_n "(cached) " >&6
3622
3742
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3623
3743
then ac_cv_path_EGREP="$GREP -E"
3625
# Extract the first word of "egrep" to use in msg output
3626
if test -z "$EGREP"; then
3627
set dummy egrep; ac_prog_name=$2
3628
if test "${ac_cv_path_EGREP+set}" = set; then
3629
echo $ECHO_N "(cached) $ECHO_C" >&6
3745
if test -z "$EGREP"; then
3631
3746
ac_path_EGREP_found=false
3632
# Loop through the user's path and test for each of PROGNAME-LIST
3633
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747
# Loop through the user's path and test for each of PROGNAME-LIST
3748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634
3749
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3636
3751
IFS=$as_save_IFS
3637
3752
test -z "$as_dir" && as_dir=.
3638
3753
for ac_prog in egrep; do
3639
for ac_exec_ext in '' $ac_executable_extensions; do
3640
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3641
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3642
# Check for GNU ac_path_EGREP and select it if it is found.
3754
for ac_exec_ext in '' $ac_executable_extensions; do
3755
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3756
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3757
# Check for GNU ac_path_EGREP and select it if it is found.
3643
3758
# Check for GNU $ac_path_EGREP
3644
3759
case `"$ac_path_EGREP" --version 2>&1` in
3646
3761
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3649
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3764
$as_echo_n 0123456789 >"conftest.in"
3652
3767
cat "conftest.in" "conftest.in" >"conftest.tmp"
3653
3768
mv "conftest.tmp" "conftest.in"
3654
3769
cp "conftest.in" "conftest.nl"
3655
echo 'EGREP' >> "conftest.nl"
3770
$as_echo 'EGREP' >> "conftest.nl"
3656
3771
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3657
3772
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3658
3773
ac_count=`expr $ac_count + 1`
3667
3782
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3671
$ac_path_EGREP_found && break 3
3785
$ac_path_EGREP_found && break 3
3676
3789
IFS=$as_save_IFS
3681
EGREP="$ac_cv_path_EGREP"
3682
if test -z "$EGREP"; then
3683
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3684
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3790
if test -z "$ac_cv_path_EGREP"; then
3791
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3792
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3685
3793
{ (exit 1); exit 1; }; }
3689
3796
ac_cv_path_EGREP=$EGREP
3695
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3696
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3801
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3802
$as_echo "$ac_cv_path_EGREP" >&6; }
3697
3803
EGREP="$ac_cv_path_EGREP"
3700
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3701
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3806
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3807
$as_echo_n "checking for ANSI C header files... " >&6; }
3702
3808
if test "${ac_cv_header_stdc+set}" = set; then
3703
echo $ECHO_N "(cached) $ECHO_C" >&6
3809
$as_echo_n "(cached) " >&6
3705
3811
cat >conftest.$ac_ext <<_ACEOF
3706
3812
/* confdefs.h. */
3832
3939
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
3940
*) ac_try_echo=$ac_try;;
3835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3943
$as_echo "$ac_try_echo") >&5
3836
3944
(eval "$ac_link") 2>&5
3838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
3947
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3840
3948
{ (case "(($ac_try" in
3841
3949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842
3950
*) ac_try_echo=$ac_try;;
3844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3953
$as_echo "$ac_try_echo") >&5
3845
3954
(eval "$ac_try") 2>&5
3847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848
3957
(exit $ac_status); }; }; then
3851
echo "$as_me: program exited with status $ac_status" >&5
3852
echo "$as_me: failed program was:" >&5
3960
$as_echo "$as_me: program exited with status $ac_status" >&5
3961
$as_echo "$as_me: failed program was:" >&5
3853
3962
sed 's/^/| /' conftest.$ac_ext >&5
3855
3964
( exit $ac_status )
3856
3965
ac_cv_header_stdc=no
3967
rm -rf conftest.dSYM
3858
3968
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3864
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3865
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3974
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3975
$as_echo "$ac_cv_header_stdc" >&6; }
3866
3976
if test $ac_cv_header_stdc = yes; then
3868
3978
cat >>confdefs.h <<\_ACEOF
3944
4058
for ac_header in unistd.h
3946
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3947
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3948
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3949
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3950
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3951
echo $ECHO_N "(cached) $ECHO_C" >&6
4060
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4061
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4062
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4063
$as_echo_n "checking for $ac_header... " >&6; }
4064
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4065
$as_echo_n "(cached) " >&6
3953
ac_res=`eval echo '${'$as_ac_Header'}'`
3954
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3955
echo "${ECHO_T}$ac_res" >&6; }
4067
ac_res=`eval 'as_val=${'$as_ac_Header'}
4068
$as_echo "$as_val"'`
4069
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4070
$as_echo "$ac_res" >&6; }
3957
4072
# Is the header compilable?
3958
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3959
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4073
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4074
$as_echo_n "checking $ac_header usability... " >&6; }
3960
4075
cat >conftest.$ac_ext <<_ACEOF
3961
4076
/* confdefs.h. */
3972
4087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973
4088
*) ac_try_echo=$ac_try;;
3975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4091
$as_echo "$ac_try_echo") >&5
3976
4092
(eval "$ac_compile") 2>conftest.er1
3978
4094
grep -v '^ *+' conftest.er1 >conftest.err
3979
4095
rm -f conftest.er1
3980
4096
cat conftest.err >&5
3981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982
4098
(exit $ac_status); } && {
3983
4099
test -z "$ac_c_werror_flag" ||
3984
4100
test ! -s conftest.err
3985
4101
} && test -s conftest.$ac_objext; then
3986
4102
ac_header_compiler=yes
3988
echo "$as_me: failed program was:" >&5
4104
$as_echo "$as_me: failed program was:" >&5
3989
4105
sed 's/^/| /' conftest.$ac_ext >&5
3991
4107
ac_header_compiler=no
3994
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3996
echo "${ECHO_T}$ac_header_compiler" >&6; }
4111
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4112
$as_echo "$ac_header_compiler" >&6; }
3998
4114
# Is the header present?
3999
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4000
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4115
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4116
$as_echo_n "checking $ac_header presence... " >&6; }
4001
4117
cat >conftest.$ac_ext <<_ACEOF
4002
4118
/* confdefs.h. */
4011
4127
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012
4128
*) ac_try_echo=$ac_try;;
4014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4131
$as_echo "$ac_try_echo") >&5
4015
4132
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4017
4134
grep -v '^ *+' conftest.er1 >conftest.err
4018
4135
rm -f conftest.er1
4019
4136
cat conftest.err >&5
4020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021
4138
(exit $ac_status); } >/dev/null && {
4022
4139
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4023
4140
test ! -s conftest.err
4025
4142
ac_header_preproc=yes
4027
echo "$as_me: failed program was:" >&5
4144
$as_echo "$as_me: failed program was:" >&5
4028
4145
sed 's/^/| /' conftest.$ac_ext >&5
4030
4147
ac_header_preproc=no
4033
4150
rm -f conftest.err conftest.$ac_ext
4034
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4035
echo "${ECHO_T}$ac_header_preproc" >&6; }
4151
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4152
$as_echo "$ac_header_preproc" >&6; }
4037
4154
# So? What about this header?
4038
4155
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4040
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4041
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4042
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4043
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4157
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4158
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4159
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4160
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4044
4161
ac_header_preproc=yes
4047
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4048
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4049
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4050
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4051
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4052
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4053
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4054
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4055
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4056
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4057
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4058
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4164
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4165
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4166
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4167
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4168
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4169
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4170
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4171
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4172
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4173
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4174
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4175
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4062
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4063
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4179
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4180
$as_echo_n "checking for $ac_header... " >&6; }
4064
4181
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4065
echo $ECHO_N "(cached) $ECHO_C" >&6
4182
$as_echo_n "(cached) " >&6
4067
4184
eval "$as_ac_Header=\$ac_header_preproc"
4069
ac_res=`eval echo '${'$as_ac_Header'}'`
4070
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4071
echo "${ECHO_T}$ac_res" >&6; }
4186
ac_res=`eval 'as_val=${'$as_ac_Header'}
4187
$as_echo "$as_val"'`
4188
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4189
$as_echo "$ac_res" >&6; }
4074
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4192
as_val=`eval 'as_val=${'$as_ac_Header'}
4193
$as_echo "$as_val"'`
4194
if test "x$as_val" = x""yes; then
4075
4195
cat >>confdefs.h <<_ACEOF
4076
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4196
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4083
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4084
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
4203
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4204
$as_echo_n "checking return type of signal handlers... " >&6; }
4085
4205
if test "${ac_cv_type_signal+set}" = set; then
4086
echo $ECHO_N "(cached) $ECHO_C" >&6
4206
$as_echo_n "(cached) " >&6
4088
4208
cat >conftest.$ac_ext <<_ACEOF
4089
4209
/* confdefs.h. */
4325
4448
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326
4449
*) ac_try_echo=$ac_try;;
4328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4451
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4452
$as_echo "$ac_try_echo") >&5
4329
4453
(eval "$ac_link") 2>conftest.er1
4331
4455
grep -v '^ *+' conftest.er1 >conftest.err
4332
4456
rm -f conftest.er1
4333
4457
cat conftest.err >&5
4334
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
4459
(exit $ac_status); } && {
4336
4460
test -z "$ac_c_werror_flag" ||
4337
4461
test ! -s conftest.err
4338
} && test -s conftest$ac_exeext &&
4339
$as_test_x conftest$ac_exeext; then
4462
} && test -s conftest$ac_exeext && {
4463
test "$cross_compiling" = yes ||
4464
$as_test_x conftest$ac_exeext
4340
4466
eval "$as_ac_var=yes"
4342
echo "$as_me: failed program was:" >&5
4468
$as_echo "$as_me: failed program was:" >&5
4343
4469
sed 's/^/| /' conftest.$ac_ext >&5
4345
4471
eval "$as_ac_var=no"
4474
rm -rf conftest.dSYM
4348
4475
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4349
4476
conftest$ac_exeext conftest.$ac_ext
4351
ac_res=`eval echo '${'$as_ac_var'}'`
4352
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4353
echo "${ECHO_T}$ac_res" >&6; }
4354
if test `eval echo '${'$as_ac_var'}'` = yes; then
4478
ac_res=`eval 'as_val=${'$as_ac_var'}
4479
$as_echo "$as_val"'`
4480
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4481
$as_echo "$ac_res" >&6; }
4482
as_val=`eval 'as_val=${'$as_ac_var'}
4483
$as_echo "$as_val"'`
4484
if test "x$as_val" = x""yes; then
4355
4485
cat >>confdefs.h <<_ACEOF
4356
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4486
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4363
4493
for ac_header in sys/select.h
4365
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4366
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4367
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4368
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4369
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4370
echo $ECHO_N "(cached) $ECHO_C" >&6
4495
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4496
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4497
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4498
$as_echo_n "checking for $ac_header... " >&6; }
4499
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4500
$as_echo_n "(cached) " >&6
4372
ac_res=`eval echo '${'$as_ac_Header'}'`
4373
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4374
echo "${ECHO_T}$ac_res" >&6; }
4502
ac_res=`eval 'as_val=${'$as_ac_Header'}
4503
$as_echo "$as_val"'`
4504
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4505
$as_echo "$ac_res" >&6; }
4376
4507
# Is the header compilable?
4377
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4378
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4508
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4509
$as_echo_n "checking $ac_header usability... " >&6; }
4379
4510
cat >conftest.$ac_ext <<_ACEOF
4380
4511
/* confdefs.h. */
4391
4522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392
4523
*) ac_try_echo=$ac_try;;
4394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4526
$as_echo "$ac_try_echo") >&5
4395
4527
(eval "$ac_compile") 2>conftest.er1
4397
4529
grep -v '^ *+' conftest.er1 >conftest.err
4398
4530
rm -f conftest.er1
4399
4531
cat conftest.err >&5
4400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401
4533
(exit $ac_status); } && {
4402
4534
test -z "$ac_c_werror_flag" ||
4403
4535
test ! -s conftest.err
4404
4536
} && test -s conftest.$ac_objext; then
4405
4537
ac_header_compiler=yes
4407
echo "$as_me: failed program was:" >&5
4539
$as_echo "$as_me: failed program was:" >&5
4408
4540
sed 's/^/| /' conftest.$ac_ext >&5
4410
4542
ac_header_compiler=no
4413
4545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4415
echo "${ECHO_T}$ac_header_compiler" >&6; }
4546
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4547
$as_echo "$ac_header_compiler" >&6; }
4417
4549
# Is the header present?
4418
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4419
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4550
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4551
$as_echo_n "checking $ac_header presence... " >&6; }
4420
4552
cat >conftest.$ac_ext <<_ACEOF
4421
4553
/* confdefs.h. */
4430
4562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431
4563
*) ac_try_echo=$ac_try;;
4433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4566
$as_echo "$ac_try_echo") >&5
4434
4567
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4436
4569
grep -v '^ *+' conftest.er1 >conftest.err
4437
4570
rm -f conftest.er1
4438
4571
cat conftest.err >&5
4439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440
4573
(exit $ac_status); } >/dev/null && {
4441
4574
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4442
4575
test ! -s conftest.err
4444
4577
ac_header_preproc=yes
4446
echo "$as_me: failed program was:" >&5
4579
$as_echo "$as_me: failed program was:" >&5
4447
4580
sed 's/^/| /' conftest.$ac_ext >&5
4449
4582
ac_header_preproc=no
4452
4585
rm -f conftest.err conftest.$ac_ext
4453
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4454
echo "${ECHO_T}$ac_header_preproc" >&6; }
4586
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4587
$as_echo "$ac_header_preproc" >&6; }
4456
4589
# So? What about this header?
4457
4590
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4459
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4460
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4461
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4462
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4592
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4593
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4594
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4595
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4463
4596
ac_header_preproc=yes
4466
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4467
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4468
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4469
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4470
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4471
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4472
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4473
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4474
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4475
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4476
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4477
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4599
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4600
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4601
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4602
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4603
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4604
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4605
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4606
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4607
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4608
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4609
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4610
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4481
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4482
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4614
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4615
$as_echo_n "checking for $ac_header... " >&6; }
4483
4616
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4484
echo $ECHO_N "(cached) $ECHO_C" >&6
4617
$as_echo_n "(cached) " >&6
4486
4619
eval "$as_ac_Header=\$ac_header_preproc"
4488
ac_res=`eval echo '${'$as_ac_Header'}'`
4489
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4490
echo "${ECHO_T}$ac_res" >&6; }
4621
ac_res=`eval 'as_val=${'$as_ac_Header'}
4622
$as_echo "$as_val"'`
4623
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4624
$as_echo "$ac_res" >&6; }
4493
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4627
as_val=`eval 'as_val=${'$as_ac_Header'}
4628
$as_echo "$as_val"'`
4629
if test "x$as_val" = x""yes; then
4494
4630
cat >>confdefs.h <<_ACEOF
4495
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4631
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4502
{ echo "$as_me:$LINENO: checking how to call gettimeofday" >&5
4503
echo $ECHO_N "checking how to call gettimeofday... $ECHO_C" >&6; }
4638
{ $as_echo "$as_me:$LINENO: checking how to call gettimeofday" >&5
4639
$as_echo_n "checking how to call gettimeofday... " >&6; }
4504
4640
if test "${ac_cv_gettimeofday_args+set}" = set; then
4505
echo $ECHO_N "(cached) $ECHO_C" >&6
4641
$as_echo_n "(cached) " >&6
4507
4643
cat >conftest.$ac_ext <<_ACEOF
4508
4644
/* confdefs.h. */
4785
4924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786
4925
*) ac_try_echo=$ac_try;;
4788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928
$as_echo "$ac_try_echo") >&5
4789
4929
(eval "$ac_link") 2>conftest.er1
4791
4931
grep -v '^ *+' conftest.er1 >conftest.err
4792
4932
rm -f conftest.er1
4793
4933
cat conftest.err >&5
4794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795
4935
(exit $ac_status); } && {
4796
4936
test -z "$ac_c_werror_flag" ||
4797
4937
test ! -s conftest.err
4798
} && test -s conftest$ac_exeext &&
4799
$as_test_x conftest$ac_exeext; then
4938
} && test -s conftest$ac_exeext && {
4939
test "$cross_compiling" = yes ||
4940
$as_test_x conftest$ac_exeext
4800
4942
LIBS=$ac_save_LIBS
4801
4943
# We can link X programs with no special library path.
4802
4944
ac_x_libraries=
4804
echo "$as_me: failed program was:" >&5
4946
$as_echo "$as_me: failed program was:" >&5
4805
4947
sed 's/^/| /' conftest.$ac_ext >&5
4807
4949
LIBS=$ac_save_LIBS
4808
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4950
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4810
4952
# Don't even attempt the hair of trying to link an X program!
4811
for ac_extension in a so sl; do
4953
for ac_extension in a so sl dylib la dll; do
4812
4954
if test -r "$ac_dir/libX11.$ac_extension"; then
4813
4955
ac_x_libraries=$ac_dir
4898
5041
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899
5042
*) ac_try_echo=$ac_try;;
4901
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5045
$as_echo "$ac_try_echo") >&5
4902
5046
(eval "$ac_link") 2>conftest.er1
4904
5048
grep -v '^ *+' conftest.er1 >conftest.err
4905
5049
rm -f conftest.er1
4906
5050
cat conftest.err >&5
4907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908
5052
(exit $ac_status); } && {
4909
5053
test -z "$ac_c_werror_flag" ||
4910
5054
test ! -s conftest.err
4911
} && test -s conftest$ac_exeext &&
4912
$as_test_x conftest$ac_exeext; then
4913
{ echo "$as_me:$LINENO: result: no" >&5
4914
echo "${ECHO_T}no" >&6; }
5055
} && test -s conftest$ac_exeext && {
5056
test "$cross_compiling" = yes ||
5057
$as_test_x conftest$ac_exeext
5059
{ $as_echo "$as_me:$LINENO: result: no" >&5
5060
$as_echo "no" >&6; }
4915
5061
X_LIBS="$X_LIBS -R$x_libraries"
4917
echo "$as_me: failed program was:" >&5
5063
$as_echo "$as_me: failed program was:" >&5
4918
5064
sed 's/^/| /' conftest.$ac_ext >&5
4920
5066
LIBS="$ac_xsave_LIBS -R $x_libraries"
4939
5085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940
5086
*) ac_try_echo=$ac_try;;
4942
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5089
$as_echo "$ac_try_echo") >&5
4943
5090
(eval "$ac_link") 2>conftest.er1
4945
5092
grep -v '^ *+' conftest.er1 >conftest.err
4946
5093
rm -f conftest.er1
4947
5094
cat conftest.err >&5
4948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
5096
(exit $ac_status); } && {
4950
5097
test -z "$ac_c_werror_flag" ||
4951
5098
test ! -s conftest.err
4952
} && test -s conftest$ac_exeext &&
4953
$as_test_x conftest$ac_exeext; then
4954
{ echo "$as_me:$LINENO: result: yes" >&5
4955
echo "${ECHO_T}yes" >&6; }
5099
} && test -s conftest$ac_exeext && {
5100
test "$cross_compiling" = yes ||
5101
$as_test_x conftest$ac_exeext
5103
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5104
$as_echo "yes" >&6; }
4956
5105
X_LIBS="$X_LIBS -R $x_libraries"
4958
echo "$as_me: failed program was:" >&5
5107
$as_echo "$as_me: failed program was:" >&5
4959
5108
sed 's/^/| /' conftest.$ac_ext >&5
4961
{ echo "$as_me:$LINENO: result: neither works" >&5
4962
echo "${ECHO_T}neither works" >&6; }
5110
{ $as_echo "$as_me:$LINENO: result: neither works" >&5
5111
$as_echo "neither works" >&6; }
5114
rm -rf conftest.dSYM
4965
5115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4966
5116
conftest$ac_exeext conftest.$ac_ext
5119
rm -rf conftest.dSYM
4969
5120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4970
5121
conftest$ac_exeext conftest.$ac_ext
4971
5122
ac_c_werror_flag=$ac_xsave_c_werror_flag
5011
5162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
5163
*) ac_try_echo=$ac_try;;
5014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5166
$as_echo "$ac_try_echo") >&5
5015
5167
(eval "$ac_link") 2>conftest.er1
5017
5169
grep -v '^ *+' conftest.er1 >conftest.err
5018
5170
rm -f conftest.er1
5019
5171
cat conftest.err >&5
5020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
5173
(exit $ac_status); } && {
5022
5174
test -z "$ac_c_werror_flag" ||
5023
5175
test ! -s conftest.err
5024
} && test -s conftest$ac_exeext &&
5025
$as_test_x conftest$ac_exeext; then
5176
} && test -s conftest$ac_exeext && {
5177
test "$cross_compiling" = yes ||
5178
$as_test_x conftest$ac_exeext
5028
echo "$as_me: failed program was:" >&5
5182
$as_echo "$as_me: failed program was:" >&5
5029
5183
sed 's/^/| /' conftest.$ac_ext >&5
5031
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5032
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
5185
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5186
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5033
5187
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5034
echo $ECHO_N "(cached) $ECHO_C" >&6
5188
$as_echo_n "(cached) " >&6
5036
5190
ac_check_lib_save_LIBS=$LIBS
5037
5191
LIBS="-ldnet $LIBS"
5063
5217
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064
5218
*) ac_try_echo=$ac_try;;
5066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5221
$as_echo "$ac_try_echo") >&5
5067
5222
(eval "$ac_link") 2>conftest.er1
5069
5224
grep -v '^ *+' conftest.er1 >conftest.err
5070
5225
rm -f conftest.er1
5071
5226
cat conftest.err >&5
5072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073
5228
(exit $ac_status); } && {
5074
5229
test -z "$ac_c_werror_flag" ||
5075
5230
test ! -s conftest.err
5076
} && test -s conftest$ac_exeext &&
5077
$as_test_x conftest$ac_exeext; then
5231
} && test -s conftest$ac_exeext && {
5232
test "$cross_compiling" = yes ||
5233
$as_test_x conftest$ac_exeext
5078
5235
ac_cv_lib_dnet_dnet_ntoa=yes
5080
echo "$as_me: failed program was:" >&5
5237
$as_echo "$as_me: failed program was:" >&5
5081
5238
sed 's/^/| /' conftest.$ac_ext >&5
5083
5240
ac_cv_lib_dnet_dnet_ntoa=no
5243
rm -rf conftest.dSYM
5086
5244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087
5245
conftest$ac_exeext conftest.$ac_ext
5088
5246
LIBS=$ac_check_lib_save_LIBS
5090
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5091
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5092
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5248
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5249
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5250
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
5093
5251
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5096
5254
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5097
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5098
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
5255
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5256
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5099
5257
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5100
echo $ECHO_N "(cached) $ECHO_C" >&6
5258
$as_echo_n "(cached) " >&6
5102
5260
ac_check_lib_save_LIBS=$LIBS
5103
5261
LIBS="-ldnet_stub $LIBS"
5129
5287
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5130
5288
*) ac_try_echo=$ac_try;;
5132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5290
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5291
$as_echo "$ac_try_echo") >&5
5133
5292
(eval "$ac_link") 2>conftest.er1
5135
5294
grep -v '^ *+' conftest.er1 >conftest.err
5136
5295
rm -f conftest.er1
5137
5296
cat conftest.err >&5
5138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139
5298
(exit $ac_status); } && {
5140
5299
test -z "$ac_c_werror_flag" ||
5141
5300
test ! -s conftest.err
5142
} && test -s conftest$ac_exeext &&
5143
$as_test_x conftest$ac_exeext; then
5301
} && test -s conftest$ac_exeext && {
5302
test "$cross_compiling" = yes ||
5303
$as_test_x conftest$ac_exeext
5144
5305
ac_cv_lib_dnet_stub_dnet_ntoa=yes
5146
echo "$as_me: failed program was:" >&5
5307
$as_echo "$as_me: failed program was:" >&5
5147
5308
sed 's/^/| /' conftest.$ac_ext >&5
5149
5310
ac_cv_lib_dnet_stub_dnet_ntoa=no
5313
rm -rf conftest.dSYM
5152
5314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153
5315
conftest$ac_exeext conftest.$ac_ext
5154
5316
LIBS=$ac_check_lib_save_LIBS
5156
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5157
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5158
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5318
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5319
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5320
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
5159
5321
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5327
rm -rf conftest.dSYM
5165
5328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5166
5329
conftest$ac_exeext conftest.$ac_ext
5167
5330
LIBS="$ac_xsave_LIBS"
5230
5393
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231
5394
*) ac_try_echo=$ac_try;;
5233
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5397
$as_echo "$ac_try_echo") >&5
5234
5398
(eval "$ac_link") 2>conftest.er1
5236
5400
grep -v '^ *+' conftest.er1 >conftest.err
5237
5401
rm -f conftest.er1
5238
5402
cat conftest.err >&5
5239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240
5404
(exit $ac_status); } && {
5241
5405
test -z "$ac_c_werror_flag" ||
5242
5406
test ! -s conftest.err
5243
} && test -s conftest$ac_exeext &&
5244
$as_test_x conftest$ac_exeext; then
5407
} && test -s conftest$ac_exeext && {
5408
test "$cross_compiling" = yes ||
5409
$as_test_x conftest$ac_exeext
5245
5411
ac_cv_func_gethostbyname=yes
5247
echo "$as_me: failed program was:" >&5
5413
$as_echo "$as_me: failed program was:" >&5
5248
5414
sed 's/^/| /' conftest.$ac_ext >&5
5250
5416
ac_cv_func_gethostbyname=no
5419
rm -rf conftest.dSYM
5253
5420
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5254
5421
conftest$ac_exeext conftest.$ac_ext
5256
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5257
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
5423
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5424
$as_echo "$ac_cv_func_gethostbyname" >&6; }
5259
5426
if test $ac_cv_func_gethostbyname = no; then
5260
{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5261
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5427
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5428
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5262
5429
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5263
echo $ECHO_N "(cached) $ECHO_C" >&6
5430
$as_echo_n "(cached) " >&6
5265
5432
ac_check_lib_save_LIBS=$LIBS
5266
5433
LIBS="-lnsl $LIBS"
5292
5459
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293
5460
*) ac_try_echo=$ac_try;;
5295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5462
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5463
$as_echo "$ac_try_echo") >&5
5296
5464
(eval "$ac_link") 2>conftest.er1
5298
5466
grep -v '^ *+' conftest.er1 >conftest.err
5299
5467
rm -f conftest.er1
5300
5468
cat conftest.err >&5
5301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302
5470
(exit $ac_status); } && {
5303
5471
test -z "$ac_c_werror_flag" ||
5304
5472
test ! -s conftest.err
5305
} && test -s conftest$ac_exeext &&
5306
$as_test_x conftest$ac_exeext; then
5473
} && test -s conftest$ac_exeext && {
5474
test "$cross_compiling" = yes ||
5475
$as_test_x conftest$ac_exeext
5307
5477
ac_cv_lib_nsl_gethostbyname=yes
5309
echo "$as_me: failed program was:" >&5
5479
$as_echo "$as_me: failed program was:" >&5
5310
5480
sed 's/^/| /' conftest.$ac_ext >&5
5312
5482
ac_cv_lib_nsl_gethostbyname=no
5485
rm -rf conftest.dSYM
5315
5486
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5316
5487
conftest$ac_exeext conftest.$ac_ext
5317
5488
LIBS=$ac_check_lib_save_LIBS
5319
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5320
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5321
if test $ac_cv_lib_nsl_gethostbyname = yes; then
5490
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5491
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5492
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
5322
5493
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5325
5496
if test $ac_cv_lib_nsl_gethostbyname = no; then
5326
{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5327
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
5497
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5498
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5328
5499
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5329
echo $ECHO_N "(cached) $ECHO_C" >&6
5500
$as_echo_n "(cached) " >&6
5331
5502
ac_check_lib_save_LIBS=$LIBS
5332
5503
LIBS="-lbsd $LIBS"
5358
5529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359
5530
*) ac_try_echo=$ac_try;;
5361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5533
$as_echo "$ac_try_echo") >&5
5362
5534
(eval "$ac_link") 2>conftest.er1
5364
5536
grep -v '^ *+' conftest.er1 >conftest.err
5365
5537
rm -f conftest.er1
5366
5538
cat conftest.err >&5
5367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368
5540
(exit $ac_status); } && {
5369
5541
test -z "$ac_c_werror_flag" ||
5370
5542
test ! -s conftest.err
5371
} && test -s conftest$ac_exeext &&
5372
$as_test_x conftest$ac_exeext; then
5543
} && test -s conftest$ac_exeext && {
5544
test "$cross_compiling" = yes ||
5545
$as_test_x conftest$ac_exeext
5373
5547
ac_cv_lib_bsd_gethostbyname=yes
5375
echo "$as_me: failed program was:" >&5
5549
$as_echo "$as_me: failed program was:" >&5
5376
5550
sed 's/^/| /' conftest.$ac_ext >&5
5378
5552
ac_cv_lib_bsd_gethostbyname=no
5555
rm -rf conftest.dSYM
5381
5556
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5382
5557
conftest$ac_exeext conftest.$ac_ext
5383
5558
LIBS=$ac_check_lib_save_LIBS
5385
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5386
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
5387
if test $ac_cv_lib_bsd_gethostbyname = yes; then
5560
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5561
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5562
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
5388
5563
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5454
5629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455
5630
*) ac_try_echo=$ac_try;;
5457
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5633
$as_echo "$ac_try_echo") >&5
5458
5634
(eval "$ac_link") 2>conftest.er1
5460
5636
grep -v '^ *+' conftest.er1 >conftest.err
5461
5637
rm -f conftest.er1
5462
5638
cat conftest.err >&5
5463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464
5640
(exit $ac_status); } && {
5465
5641
test -z "$ac_c_werror_flag" ||
5466
5642
test ! -s conftest.err
5467
} && test -s conftest$ac_exeext &&
5468
$as_test_x conftest$ac_exeext; then
5643
} && test -s conftest$ac_exeext && {
5644
test "$cross_compiling" = yes ||
5645
$as_test_x conftest$ac_exeext
5469
5647
ac_cv_func_connect=yes
5471
echo "$as_me: failed program was:" >&5
5649
$as_echo "$as_me: failed program was:" >&5
5472
5650
sed 's/^/| /' conftest.$ac_ext >&5
5474
5652
ac_cv_func_connect=no
5655
rm -rf conftest.dSYM
5477
5656
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5478
5657
conftest$ac_exeext conftest.$ac_ext
5480
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5481
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
5659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5660
$as_echo "$ac_cv_func_connect" >&6; }
5483
5662
if test $ac_cv_func_connect = no; then
5484
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5485
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
5663
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5664
$as_echo_n "checking for connect in -lsocket... " >&6; }
5486
5665
if test "${ac_cv_lib_socket_connect+set}" = set; then
5487
echo $ECHO_N "(cached) $ECHO_C" >&6
5666
$as_echo_n "(cached) " >&6
5489
5668
ac_check_lib_save_LIBS=$LIBS
5490
5669
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5516
5695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5517
5696
*) ac_try_echo=$ac_try;;
5519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5699
$as_echo "$ac_try_echo") >&5
5520
5700
(eval "$ac_link") 2>conftest.er1
5522
5702
grep -v '^ *+' conftest.er1 >conftest.err
5523
5703
rm -f conftest.er1
5524
5704
cat conftest.err >&5
5525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526
5706
(exit $ac_status); } && {
5527
5707
test -z "$ac_c_werror_flag" ||
5528
5708
test ! -s conftest.err
5529
} && test -s conftest$ac_exeext &&
5530
$as_test_x conftest$ac_exeext; then
5709
} && test -s conftest$ac_exeext && {
5710
test "$cross_compiling" = yes ||
5711
$as_test_x conftest$ac_exeext
5531
5713
ac_cv_lib_socket_connect=yes
5533
echo "$as_me: failed program was:" >&5
5715
$as_echo "$as_me: failed program was:" >&5
5534
5716
sed 's/^/| /' conftest.$ac_ext >&5
5536
5718
ac_cv_lib_socket_connect=no
5721
rm -rf conftest.dSYM
5539
5722
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5540
5723
conftest$ac_exeext conftest.$ac_ext
5541
5724
LIBS=$ac_check_lib_save_LIBS
5543
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5544
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
5545
if test $ac_cv_lib_socket_connect = yes; then
5726
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5727
$as_echo "$ac_cv_lib_socket_connect" >&6; }
5728
if test "x$ac_cv_lib_socket_connect" = x""yes; then
5546
5729
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5551
5734
# Guillermo Gomez says -lposix is necessary on A/UX.
5552
{ echo "$as_me:$LINENO: checking for remove" >&5
5553
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
5735
{ $as_echo "$as_me:$LINENO: checking for remove" >&5
5736
$as_echo_n "checking for remove... " >&6; }
5554
5737
if test "${ac_cv_func_remove+set}" = set; then
5555
echo $ECHO_N "(cached) $ECHO_C" >&6
5738
$as_echo_n "(cached) " >&6
5557
5740
cat >conftest.$ac_ext <<_ACEOF
5558
5741
/* confdefs.h. */
5605
5788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606
5789
*) ac_try_echo=$ac_try;;
5608
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5792
$as_echo "$ac_try_echo") >&5
5609
5793
(eval "$ac_link") 2>conftest.er1
5611
5795
grep -v '^ *+' conftest.er1 >conftest.err
5612
5796
rm -f conftest.er1
5613
5797
cat conftest.err >&5
5614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615
5799
(exit $ac_status); } && {
5616
5800
test -z "$ac_c_werror_flag" ||
5617
5801
test ! -s conftest.err
5618
} && test -s conftest$ac_exeext &&
5619
$as_test_x conftest$ac_exeext; then
5802
} && test -s conftest$ac_exeext && {
5803
test "$cross_compiling" = yes ||
5804
$as_test_x conftest$ac_exeext
5620
5806
ac_cv_func_remove=yes
5622
echo "$as_me: failed program was:" >&5
5808
$as_echo "$as_me: failed program was:" >&5
5623
5809
sed 's/^/| /' conftest.$ac_ext >&5
5625
5811
ac_cv_func_remove=no
5814
rm -rf conftest.dSYM
5628
5815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5629
5816
conftest$ac_exeext conftest.$ac_ext
5631
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5632
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5818
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5819
$as_echo "$ac_cv_func_remove" >&6; }
5634
5821
if test $ac_cv_func_remove = no; then
5635
{ echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5636
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5822
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5823
$as_echo_n "checking for remove in -lposix... " >&6; }
5637
5824
if test "${ac_cv_lib_posix_remove+set}" = set; then
5638
echo $ECHO_N "(cached) $ECHO_C" >&6
5825
$as_echo_n "(cached) " >&6
5640
5827
ac_check_lib_save_LIBS=$LIBS
5641
5828
LIBS="-lposix $LIBS"
5667
5854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668
5855
*) ac_try_echo=$ac_try;;
5670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5858
$as_echo "$ac_try_echo") >&5
5671
5859
(eval "$ac_link") 2>conftest.er1
5673
5861
grep -v '^ *+' conftest.er1 >conftest.err
5674
5862
rm -f conftest.er1
5675
5863
cat conftest.err >&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
5865
(exit $ac_status); } && {
5678
5866
test -z "$ac_c_werror_flag" ||
5679
5867
test ! -s conftest.err
5680
} && test -s conftest$ac_exeext &&
5681
$as_test_x conftest$ac_exeext; then
5868
} && test -s conftest$ac_exeext && {
5869
test "$cross_compiling" = yes ||
5870
$as_test_x conftest$ac_exeext
5682
5872
ac_cv_lib_posix_remove=yes
5684
echo "$as_me: failed program was:" >&5
5874
$as_echo "$as_me: failed program was:" >&5
5685
5875
sed 's/^/| /' conftest.$ac_ext >&5
5687
5877
ac_cv_lib_posix_remove=no
5880
rm -rf conftest.dSYM
5690
5881
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5691
5882
conftest$ac_exeext conftest.$ac_ext
5692
5883
LIBS=$ac_check_lib_save_LIBS
5694
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5695
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5696
if test $ac_cv_lib_posix_remove = yes; then
5885
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5886
$as_echo "$ac_cv_lib_posix_remove" >&6; }
5887
if test "x$ac_cv_lib_posix_remove" = x""yes; then
5697
5888
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5702
5893
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5703
{ echo "$as_me:$LINENO: checking for shmat" >&5
5704
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5894
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5
5895
$as_echo_n "checking for shmat... " >&6; }
5705
5896
if test "${ac_cv_func_shmat+set}" = set; then
5706
echo $ECHO_N "(cached) $ECHO_C" >&6
5897
$as_echo_n "(cached) " >&6
5708
5899
cat >conftest.$ac_ext <<_ACEOF
5709
5900
/* confdefs.h. */
5756
5947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757
5948
*) ac_try_echo=$ac_try;;
5759
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5951
$as_echo "$ac_try_echo") >&5
5760
5952
(eval "$ac_link") 2>conftest.er1
5762
5954
grep -v '^ *+' conftest.er1 >conftest.err
5763
5955
rm -f conftest.er1
5764
5956
cat conftest.err >&5
5765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766
5958
(exit $ac_status); } && {
5767
5959
test -z "$ac_c_werror_flag" ||
5768
5960
test ! -s conftest.err
5769
} && test -s conftest$ac_exeext &&
5770
$as_test_x conftest$ac_exeext; then
5961
} && test -s conftest$ac_exeext && {
5962
test "$cross_compiling" = yes ||
5963
$as_test_x conftest$ac_exeext
5771
5965
ac_cv_func_shmat=yes
5773
echo "$as_me: failed program was:" >&5
5967
$as_echo "$as_me: failed program was:" >&5
5774
5968
sed 's/^/| /' conftest.$ac_ext >&5
5776
5970
ac_cv_func_shmat=no
5973
rm -rf conftest.dSYM
5779
5974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5780
5975
conftest$ac_exeext conftest.$ac_ext
5782
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5783
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5977
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5978
$as_echo "$ac_cv_func_shmat" >&6; }
5785
5980
if test $ac_cv_func_shmat = no; then
5786
{ echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5787
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5981
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5982
$as_echo_n "checking for shmat in -lipc... " >&6; }
5788
5983
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5789
echo $ECHO_N "(cached) $ECHO_C" >&6
5984
$as_echo_n "(cached) " >&6
5791
5986
ac_check_lib_save_LIBS=$LIBS
5792
5987
LIBS="-lipc $LIBS"
5818
6013
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
6014
*) ac_try_echo=$ac_try;;
5821
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6017
$as_echo "$ac_try_echo") >&5
5822
6018
(eval "$ac_link") 2>conftest.er1
5824
6020
grep -v '^ *+' conftest.er1 >conftest.err
5825
6021
rm -f conftest.er1
5826
6022
cat conftest.err >&5
5827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
6024
(exit $ac_status); } && {
5829
6025
test -z "$ac_c_werror_flag" ||
5830
6026
test ! -s conftest.err
5831
} && test -s conftest$ac_exeext &&
5832
$as_test_x conftest$ac_exeext; then
6027
} && test -s conftest$ac_exeext && {
6028
test "$cross_compiling" = yes ||
6029
$as_test_x conftest$ac_exeext
5833
6031
ac_cv_lib_ipc_shmat=yes
5835
echo "$as_me: failed program was:" >&5
6033
$as_echo "$as_me: failed program was:" >&5
5836
6034
sed 's/^/| /' conftest.$ac_ext >&5
5838
6036
ac_cv_lib_ipc_shmat=no
6039
rm -rf conftest.dSYM
5841
6040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5842
6041
conftest$ac_exeext conftest.$ac_ext
5843
6042
LIBS=$ac_check_lib_save_LIBS
5845
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5846
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5847
if test $ac_cv_lib_ipc_shmat = yes; then
6044
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6045
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6046
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
5848
6047
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5895
6094
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
6095
*) ac_try_echo=$ac_try;;
5898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6098
$as_echo "$ac_try_echo") >&5
5899
6099
(eval "$ac_link") 2>conftest.er1
5901
6101
grep -v '^ *+' conftest.er1 >conftest.err
5902
6102
rm -f conftest.er1
5903
6103
cat conftest.err >&5
5904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
6105
(exit $ac_status); } && {
5906
6106
test -z "$ac_c_werror_flag" ||
5907
6107
test ! -s conftest.err
5908
} && test -s conftest$ac_exeext &&
5909
$as_test_x conftest$ac_exeext; then
6108
} && test -s conftest$ac_exeext && {
6109
test "$cross_compiling" = yes ||
6110
$as_test_x conftest$ac_exeext
5910
6112
ac_cv_lib_ICE_IceConnectionNumber=yes
5912
echo "$as_me: failed program was:" >&5
6114
$as_echo "$as_me: failed program was:" >&5
5913
6115
sed 's/^/| /' conftest.$ac_ext >&5
5915
6117
ac_cv_lib_ICE_IceConnectionNumber=no
6120
rm -rf conftest.dSYM
5918
6121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5919
6122
conftest$ac_exeext conftest.$ac_ext
5920
6123
LIBS=$ac_check_lib_save_LIBS
5922
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5923
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5924
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6125
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6126
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6127
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
5925
6128
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5933
{ echo "$as_me:$LINENO: checking whether this is MacOS X" >&5
5934
echo $ECHO_N "checking whether this is MacOS X... $ECHO_C" >&6; }
6136
{ $as_echo "$as_me:$LINENO: checking whether this is MacOS X" >&5
6137
$as_echo_n "checking whether this is MacOS X... " >&6; }
5936
6139
case "$host" in
5937
6140
*-apple-darwin* )
5941
{ echo "$as_me:$LINENO: result: $ac_macosx" >&5
5942
echo "${ECHO_T}$ac_macosx" >&6; }
6144
{ $as_echo "$as_me:$LINENO: result: $ac_macosx" >&5
6145
$as_echo "$ac_macosx" >&6; }
5945
6148
if test "$ac_macosx" = yes; then
5946
6149
if test -n "$GCC"; then
5947
6150
# Without these, every link against libGL gets a bunch of useless warnings.
5948
6151
osx_crud="-bind_at_load -multiply_defined suppress"
5949
{ echo "$as_me:$LINENO: result: adding \"$osx_crud\" to LDFLAGS" >&5
5950
echo "${ECHO_T}adding \"$osx_crud\" to LDFLAGS" >&6; }
6152
{ $as_echo "$as_me:$LINENO: result: adding \"$osx_crud\" to LDFLAGS" >&5
6153
$as_echo "adding \"$osx_crud\" to LDFLAGS" >&6; }
5951
6154
LDFLAGS="$LDFLAGS $osx_crud"
5956
6159
if test "$have_x" != yes; then
5957
{ { echo "$as_me:$LINENO: error: Couldn't find X11 headers/libs. Try \`$0 --help'." >&5
5958
echo "$as_me: error: Couldn't find X11 headers/libs. Try \`$0 --help'." >&2;}
6160
{ { $as_echo "$as_me:$LINENO: error: Couldn't find X11 headers/libs. Try \`$0 --help'." >&5
6161
$as_echo "$as_me: error: Couldn't find X11 headers/libs. Try \`$0 --help'." >&2;}
5959
6162
{ (exit 1); exit 1; }; }
5999
{ echo "$as_me:$LINENO: checking for Gtk headers" >&5
6000
echo $ECHO_N "checking for Gtk headers... $ECHO_C" >&6; }
6202
{ $as_echo "$as_me:$LINENO: checking for Gtk headers" >&5
6203
$as_echo_n "checking for Gtk headers... " >&6; }
6001
6204
d=$with_gtk/include
6002
6205
if test -d $d; then
6003
6206
X_CFLAGS="-I$d $X_CFLAGS"
6004
{ echo "$as_me:$LINENO: result: $d" >&5
6005
echo "${ECHO_T}$d" >&6; }
6207
{ $as_echo "$as_me:$LINENO: result: $d" >&5
6208
$as_echo "$d" >&6; }
6007
{ echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6008
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
6210
{ $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6211
$as_echo "not found ($d: no such directory)" >&6; }
6011
{ echo "$as_me:$LINENO: checking for Gtk libs" >&5
6012
echo $ECHO_N "checking for Gtk libs... $ECHO_C" >&6; }
6214
{ $as_echo "$as_me:$LINENO: checking for Gtk libs" >&5
6215
$as_echo_n "checking for Gtk libs... " >&6; }
6013
6216
d=$with_gtk/lib
6014
6217
if test -d $d; then
6015
6218
X_LIBS="-L$d $X_LIBS"
6016
{ echo "$as_me:$LINENO: result: $d" >&5
6017
echo "${ECHO_T}$d" >&6; }
6219
{ $as_echo "$as_me:$LINENO: result: $d" >&5
6220
$as_echo "$d" >&6; }
6019
{ echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6020
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
6222
{ $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6223
$as_echo "not found ($d: no such directory)" >&6; }
6023
6226
# replace the directory string with "yes".
6071
{ echo "$as_me:$LINENO: checking for Gnome headers" >&5
6072
echo $ECHO_N "checking for Gnome headers... $ECHO_C" >&6; }
6274
{ $as_echo "$as_me:$LINENO: checking for Gnome headers" >&5
6275
$as_echo_n "checking for Gnome headers... " >&6; }
6073
6276
d=$with_gnome/include
6074
6277
if test -d $d; then
6075
6278
X_CFLAGS="-I$d $X_CFLAGS"
6076
{ echo "$as_me:$LINENO: result: $d" >&5
6077
echo "${ECHO_T}$d" >&6; }
6279
{ $as_echo "$as_me:$LINENO: result: $d" >&5
6280
$as_echo "$d" >&6; }
6079
{ echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6080
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
6282
{ $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6283
$as_echo "not found ($d: no such directory)" >&6; }
6083
{ echo "$as_me:$LINENO: checking for Gnome libs" >&5
6084
echo $ECHO_N "checking for Gnome libs... $ECHO_C" >&6; }
6286
{ $as_echo "$as_me:$LINENO: checking for Gnome libs" >&5
6287
$as_echo_n "checking for Gnome libs... " >&6; }
6085
6288
d=$with_gnome/lib
6086
6289
if test -d $d; then
6087
6290
X_LIBS="-L$d $X_LIBS"
6088
{ echo "$as_me:$LINENO: result: $d" >&5
6089
echo "${ECHO_T}$d" >&6; }
6291
{ $as_echo "$as_me:$LINENO: result: $d" >&5
6292
$as_echo "$d" >&6; }
6091
{ echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6092
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
6294
{ $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6295
$as_echo "not found ($d: no such directory)" >&6; }
6095
6298
# replace the directory string with "yes".
6190
6393
if test "$ok" = yes ; then
6193
{ echo "$as_me:$LINENO: checking for $req" >&5
6194
echo $ECHO_N "checking for $req... $ECHO_C" >&6; }
6396
{ $as_echo "$as_me:$LINENO: checking for $req" >&5
6397
$as_echo_n "checking for $req... " >&6; }
6195
6398
if $pkg_config --exists "$req" ; then
6196
6399
vers=`$pkg_config --modversion "$req"`
6197
6400
if $pkg_config --exists "$req >= $min" ; then
6198
{ echo "$as_me:$LINENO: result: $vers" >&5
6199
echo "${ECHO_T}$vers" >&6; }
6401
{ $as_echo "$as_me:$LINENO: result: $vers" >&5
6402
$as_echo "$vers" >&6; }
6200
6403
pkgs="$pkgs $req"
6203
{ echo "$as_me:$LINENO: result: $vers (wanted >= $min)" >&5
6204
echo "${ECHO_T}$vers (wanted >= $min)" >&6; }
6406
{ $as_echo "$as_me:$LINENO: result: $vers (wanted >= $min)" >&5
6407
$as_echo "$vers (wanted >= $min)" >&6; }
6209
{ echo "$as_me:$LINENO: result: no" >&5
6210
echo "${ECHO_T}no" >&6; }
6412
{ $as_echo "$as_me:$LINENO: result: no" >&5
6413
$as_echo "no" >&6; }
6217
{ echo "$as_me:$LINENO: result: checking for GTK 2.x with pkg-config based tests..." >&5
6218
echo "${ECHO_T}checking for GTK 2.x with pkg-config based tests..." >&6; }
6420
{ $as_echo "$as_me:$LINENO: result: checking for GTK 2.x with pkg-config based tests..." >&5
6421
$as_echo "checking for GTK 2.x with pkg-config based tests..." >&6; }
6221
6424
pkg_check_version gtk+-2.0 2.0.1 ; ac_gtk_version_string="$vers"
6229
6432
if test "$have_gtk" = no; then
6230
{ { echo "$as_me:$LINENO: error: required GTK stuff is missing." >&5
6231
echo "$as_me: error: required GTK stuff is missing." >&2;}
6433
{ { $as_echo "$as_me:$LINENO: error: required GTK stuff is missing." >&5
6434
$as_echo "$as_me: error: required GTK stuff is missing." >&2;}
6232
6435
{ (exit 1); exit 1; }; }
6235
{ echo "$as_me:$LINENO: checking for Gtk includes" >&5
6236
echo $ECHO_N "checking for Gtk includes... $ECHO_C" >&6; }
6438
{ $as_echo "$as_me:$LINENO: checking for Gtk includes" >&5
6439
$as_echo_n "checking for Gtk includes... " >&6; }
6237
6440
if test "${ac_cv_gtk_config_cflags+set}" = set; then
6238
echo $ECHO_N "(cached) $ECHO_C" >&6
6441
$as_echo_n "(cached) " >&6
6240
6443
ac_cv_gtk_config_cflags=`$pkg_config --cflags $pkgs`
6242
{ echo "$as_me:$LINENO: result: $ac_cv_gtk_config_cflags" >&5
6243
echo "${ECHO_T}$ac_cv_gtk_config_cflags" >&6; }
6244
{ echo "$as_me:$LINENO: checking for Gtk libs" >&5
6245
echo $ECHO_N "checking for Gtk libs... $ECHO_C" >&6; }
6445
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gtk_config_cflags" >&5
6446
$as_echo "$ac_cv_gtk_config_cflags" >&6; }
6447
{ $as_echo "$as_me:$LINENO: checking for Gtk libs" >&5
6448
$as_echo_n "checking for Gtk libs... " >&6; }
6246
6449
if test "${ac_cv_gtk_config_libs+set}" = set; then
6247
echo $ECHO_N "(cached) $ECHO_C" >&6
6450
$as_echo_n "(cached) " >&6
6249
6452
ac_cv_gtk_config_libs=`$pkg_config --libs $pkgs`
6251
{ echo "$as_me:$LINENO: result: $ac_cv_gtk_config_libs" >&5
6252
echo "${ECHO_T}$ac_cv_gtk_config_libs" >&6; }
6454
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gtk_config_libs" >&5
6455
$as_echo "$ac_cv_gtk_config_libs" >&6; }
6253
6456
ac_gtk_config_cflags=$ac_cv_gtk_config_cflags
6254
6457
ac_gtk_config_libs=$ac_cv_gtk_config_libs
6490
6695
as_cr_digits='0123456789'
6491
6696
as_cr_alnum=$as_cr_Letters$as_cr_digits
6701
# Printing a long string crashes Solaris 7 /usr/bin/printf.
6702
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6703
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6704
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6705
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6706
as_echo='printf %s\n'
6707
as_echo_n='printf %s'
6709
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6710
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6711
as_echo_n='/usr/ucb/echo -n'
6713
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6714
as_echo_n_body='eval
6718
expr "X$arg" : "X\\(.*\\)$as_nl";
6719
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6721
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6723
export as_echo_n_body
6724
as_echo_n='sh -c $as_echo_n_body as_echo'
6727
as_echo='sh -c $as_echo_body as_echo'
6493
6730
# The user is always right.
6494
6731
if test "${PATH_SEPARATOR+set}" != set; then
6495
echo "#! /bin/sh" >conf$$.sh
6496
echo "exit 0" >>conf$$.sh
6498
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6733
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6734
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6506
6739
# Support unset when possible.
6756
cat >>$CONFIG_STATUS <<_ACEOF
6982
case $ac_config_files in *"
6983
"*) set x $ac_config_files; shift; ac_config_files=$*;;
6986
case $ac_config_headers in *"
6987
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6757
6992
# Files that config.status was made for.
6758
6993
config_files="$ac_config_files"
6759
6994
config_headers="$ac_config_headers"
6763
cat >>$CONFIG_STATUS <<\_ACEOF
6998
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6765
7000
\`$as_me' instantiates files from templates according to the
6766
7001
current configuration.
6768
Usage: $0 [OPTIONS] [FILE]...
7003
Usage: $0 [OPTION]... [FILE]...
6770
7005
-h, --help print this help, then exit
6771
7006
-V, --version print version number and configuration settings, then exit
6772
-q, --quiet do not print progress messages
7007
-q, --quiet, --silent
7008
do not print progress messages
6773
7009
-d, --debug don't remove temporary files
6774
7010
--recheck update $as_me by reconfiguring in the same conditions
6775
--file=FILE[:TEMPLATE]
6776
instantiate the configuration file FILE
6777
--header=FILE[:TEMPLATE]
6778
instantiate the configuration header FILE
7011
--file=FILE[:TEMPLATE]
7012
instantiate the configuration file FILE
7013
--header=FILE[:TEMPLATE]
7014
instantiate the configuration header FILE
6780
7016
Configuration files:
6786
7022
Report bugs to <bug-autoconf@gnu.org>."
6789
cat >>$CONFIG_STATUS <<_ACEOF
7025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6790
7026
ac_cs_version="\\
6792
configured by $0, generated by GNU Autoconf 2.61,
6793
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7028
configured by $0, generated by GNU Autoconf 2.63,
7029
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6795
Copyright (C) 2006 Free Software Foundation, Inc.
7031
Copyright (C) 2008 Free Software Foundation, Inc.
6796
7032
This config.status script is free software; the Free Software Foundation
6797
7033
gives unlimited permission to copy, distribute and modify it."
6799
7035
ac_pwd='$ac_pwd'
6800
7036
srcdir='$srcdir'
6801
7037
INSTALL='$INSTALL'
7038
test -n "\$AWK" || AWK=awk
6804
cat >>$CONFIG_STATUS <<\_ACEOF
6805
# If no file are specified by the user, then we need to provide default
6806
# value. By we need to know if files were specified by the user.
7041
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7042
# The default lists apply if the user does not specify any file.
6807
7043
ac_need_defaults=:
6808
7044
while test $# != 0
6825
7061
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6826
7062
ac_cs_recheck=: ;;
6827
7063
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6828
echo "$ac_cs_version"; exit ;;
7064
$as_echo "$ac_cs_version"; exit ;;
6829
7065
--debug | --debu | --deb | --de | --d | -d )
6831
7067
--file | --fil | --fi | --f )
6833
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7070
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7072
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6834
7073
ac_need_defaults=false;;
6835
7074
--header | --heade | --head | --hea )
6837
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7077
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7079
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6838
7080
ac_need_defaults=false;;
6840
7082
# Conflict between --help and --header
6841
{ echo "$as_me: error: ambiguous option: $1
7083
{ $as_echo "$as_me: error: ambiguous option: $1
6842
7084
Try \`$0 --help' for more information." >&2
6843
7085
{ (exit 1); exit 1; }; };;
6844
7086
--help | --hel | -h )
6845
echo "$ac_cs_usage"; exit ;;
7087
$as_echo "$ac_cs_usage"; exit ;;
6846
7088
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
6847
7089
| -silent | --silent | --silen | --sile | --sil | --si | --s)
6848
7090
ac_cs_silent=: ;;
6850
7092
# This is an error.
6851
-*) { echo "$as_me: error: unrecognized option: $1
7093
-*) { $as_echo "$as_me: error: unrecognized option: $1
6852
7094
Try \`$0 --help' for more information." >&2
6853
7095
{ (exit 1); exit 1; }; } ;;
6940
7184
(umask 077 && mkdir "$tmp")
6943
echo "$me: cannot create a temporary directory in ." >&2
7187
$as_echo "$as_me: cannot create a temporary directory in ." >&2
6944
7188
{ (exit 1); exit 1; }
6948
# Set up the sed scripts for CONFIG_FILES section.
6951
# No need to generate the scripts if there are no CONFIG_FILES.
6952
# This happens for instance when ./config.status config.h
7191
# Set up the scripts for CONFIG_FILES section.
7192
# No need to generate them if there are no CONFIG_FILES.
7193
# This happens for instance with `./config.status config.h'.
6953
7194
if test -n "$CONFIG_FILES"; then
7198
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7199
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7205
echo 'BEGIN {' >"$tmp/subs1.awk" &&
7210
echo "cat >conf$$subs.awk <<_ACEOF" &&
7211
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7214
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7215
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7216
{ (exit 1); exit 1; }; }
7217
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6959
7218
ac_delim='%!_!# '
6960
7219
for ac_last_try in false false false false false :; do
6961
cat >conf$$subs.sed <<_ACEOF
6962
SHELL!$SHELL$ac_delim
6963
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6964
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6965
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6966
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6967
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6968
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6969
exec_prefix!$exec_prefix$ac_delim
6970
prefix!$prefix$ac_delim
6971
program_transform_name!$program_transform_name$ac_delim
6972
bindir!$bindir$ac_delim
6973
sbindir!$sbindir$ac_delim
6974
libexecdir!$libexecdir$ac_delim
6975
datarootdir!$datarootdir$ac_delim
6976
datadir!$datadir$ac_delim
6977
sysconfdir!$sysconfdir$ac_delim
6978
sharedstatedir!$sharedstatedir$ac_delim
6979
localstatedir!$localstatedir$ac_delim
6980
includedir!$includedir$ac_delim
6981
oldincludedir!$oldincludedir$ac_delim
6982
docdir!$docdir$ac_delim
6983
infodir!$infodir$ac_delim
6984
htmldir!$htmldir$ac_delim
6985
dvidir!$dvidir$ac_delim
6986
pdfdir!$pdfdir$ac_delim
6987
psdir!$psdir$ac_delim
6988
libdir!$libdir$ac_delim
6989
localedir!$localedir$ac_delim
6990
mandir!$mandir$ac_delim
6992
ECHO_C!$ECHO_C$ac_delim
6993
ECHO_N!$ECHO_N$ac_delim
6994
ECHO_T!$ECHO_T$ac_delim
6996
build_alias!$build_alias$ac_delim
6997
host_alias!$host_alias$ac_delim
6998
target_alias!$target_alias$ac_delim
6999
build!$build$ac_delim
7000
build_cpu!$build_cpu$ac_delim
7001
build_vendor!$build_vendor$ac_delim
7002
build_os!$build_os$ac_delim
7004
host_cpu!$host_cpu$ac_delim
7005
host_vendor!$host_vendor$ac_delim
7006
host_os!$host_os$ac_delim
7008
CFLAGS!$CFLAGS$ac_delim
7009
LDFLAGS!$LDFLAGS$ac_delim
7010
CPPFLAGS!$CPPFLAGS$ac_delim
7011
ac_ct_CC!$ac_ct_CC$ac_delim
7012
EXEEXT!$EXEEXT$ac_delim
7013
OBJEXT!$OBJEXT$ac_delim
7015
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7016
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7017
INSTALL_DATA!$INSTALL_DATA$ac_delim
7018
SET_MAKE!$SET_MAKE$ac_delim
7020
EGREP!$EGREP$ac_delim
7021
XMKMF!$XMKMF$ac_delim
7022
X_CFLAGS!$X_CFLAGS$ac_delim
7023
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
7024
X_LIBS!$X_LIBS$ac_delim
7025
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
7026
pkg_config!$pkg_config$ac_delim
7027
have_gnome_help!$have_gnome_help$ac_delim
7028
INCLUDES!$INCLUDES$ac_delim
7029
GTK_LIBS!$GTK_LIBS$ac_delim
7030
LIBOBJS!$LIBOBJS$ac_delim
7031
LTLIBOBJS!$LTLIBOBJS$ac_delim
7220
. ./conf$$subs.sh ||
7221
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7222
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7223
{ (exit 1); exit 1; }; }
7034
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
7225
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7226
if test $ac_delim_n = $ac_delim_num; then
7036
7228
elif $ac_last_try; then
7037
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7038
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7229
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7230
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7039
7231
{ (exit 1); exit 1; }; }
7041
7233
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7045
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7046
if test -n "$ac_eof"; then
7047
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7048
ac_eof=`expr $ac_eof + 1`
7051
cat >>$CONFIG_STATUS <<_ACEOF
7052
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7053
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7056
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7057
s/^/s,@/; s/!/@,|#_!!_#|/
7060
s/'"$ac_delim"'$/,g/; t
7062
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7063
' >>$CONFIG_STATUS <conf$$subs.sed
7064
rm -f conf$$subs.sed
7065
cat >>$CONFIG_STATUS <<_ACEOF
7238
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7239
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7243
s/^/S["/; s/!.*/"]=/
7253
s/\(.\{148\}\).*/\1/
7255
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7260
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7267
s/\(.\{148\}\).*/\1/
7269
s/["\\]/\\&/g; s/^/"/; s/$/"/
7273
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7278
' <conf$$subs.awk | sed '
7283
' >>$CONFIG_STATUS || ac_write_fail=1
7284
rm -f conf$$subs.awk
7285
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7287
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7288
for (key in S) S_is_set[key] = 1
7294
nfields = split(line, field, "@")
7296
len = length(field[1])
7297
for (i = 2; i < nfields; i++) {
7299
keylen = length(key)
7300
if (S_is_set[key]) {
7302
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7303
len += length(value) + length(field[++i])
7314
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7315
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7316
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7319
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7320
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7321
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
7322
{ (exit 1); exit 1; }; }
7072
7325
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7073
7326
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7087
cat >>$CONFIG_STATUS <<\_ACEOF
7340
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7088
7341
fi # test -n "$CONFIG_FILES"
7091
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
7343
# Set up the scripts for CONFIG_HEADERS section.
7344
# No need to generate them if there are no CONFIG_HEADERS.
7345
# This happens for instance with `./config.status Makefile'.
7346
if test -n "$CONFIG_HEADERS"; then
7347
cat >"$tmp/defines.awk" <<\_ACAWK ||
7351
# Transform confdefs.h into an awk script `defines.awk', embedded as
7352
# here-document in config.status, that substitutes the proper values into
7353
# config.h.in to produce config.h.
7355
# Create a delimiter string that does not exist in confdefs.h, to ease
7356
# handling of long lines.
7358
for ac_last_try in false false :; do
7359
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7360
if test -z "$ac_t"; then
7362
elif $ac_last_try; then
7363
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
7364
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
7365
{ (exit 1); exit 1; }; }
7367
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7371
# For the awk script, D is an array of macro values keyed by name,
7372
# likewise P contains macro parameters if any. Preserve backslash
7373
# newline sequences.
7375
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7377
s/.\{148\}/&'"$ac_delim"'/g
7380
s/^[ ]*#[ ]*define[ ][ ]*/ /
7387
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7389
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7393
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7394
D["\1"]=" \3\\\\\\n"\\/p
7396
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7401
s/.\{148\}/&'"$ac_delim"'/g
7406
s/["\\]/\\&/g; s/^/"/; s/$/"/p
7409
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7411
' <confdefs.h | sed '
7412
s/'"$ac_delim"'/"\\\
7413
"/g' >>$CONFIG_STATUS || ac_write_fail=1
7415
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7416
for (key in D) D_is_set[key] = 1
7419
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7421
split(line, arg, " ")
7422
if (arg[1] == "#") {
7426
defundef = substr(arg[1], 2)
7429
split(mac1, mac2, "(") #)
7431
prefix = substr(line, 1, index(line, defundef) - 1)
7432
if (D_is_set[macro]) {
7433
# Preserve the white space surrounding the "#".
7434
print prefix "define", macro P[macro] D[macro]
7437
# Replace #undef with comments. This is necessary, for example,
7438
# in the case of _POSIX_SOURCE, which is predefined and required
7439
# on some systems where configure will not decide to define it.
7440
if (defundef == "undef") {
7441
print "/*", prefix defundef, macro, "*/"
7449
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7450
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7451
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7452
{ (exit 1); exit 1; }; }
7453
fi # test -n "$CONFIG_HEADERS"
7456
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7093
7460
case $ac_tag in
7094
7461
:[FHLC]) ac_mode=$ac_tag; continue;;
7096
7463
case $ac_mode$ac_tag in
7098
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7099
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7465
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7466
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7100
7467
{ (exit 1); exit 1; }; };;
7101
7468
:[FH]-) ac_tag=-:-;;
7102
7469
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7125
7492
[\\/$]*) false;;
7126
7493
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7128
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7129
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7495
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7496
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7130
7497
{ (exit 1); exit 1; }; };;
7132
ac_file_inputs="$ac_file_inputs $ac_f"
7499
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7500
ac_file_inputs="$ac_file_inputs '$ac_f'"
7135
7503
# Let's still pretend it is `configure' which instantiates (i.e., don't
7136
7504
# use $as_me), people would be surprised to read:
7137
7505
# /* config.h. Generated by config.status. */
7138
configure_input="Generated from "`IFS=:
7139
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7506
configure_input='Generated from '`
7507
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7140
7509
if test x"$ac_file" != x-; then
7141
7510
configure_input="$ac_file. $configure_input"
7142
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7143
echo "$as_me: creating $ac_file" >&6;}
7511
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7512
$as_echo "$as_me: creating $ac_file" >&6;}
7514
# Neutralize special characters interpreted by sed in replacement strings.
7515
case $configure_input in #(
7516
*\&* | *\|* | *\\* )
7517
ac_sed_conf_input=`$as_echo "$configure_input" |
7518
sed 's/[\\\\&|]/\\\\&/g'`;; #(
7519
*) ac_sed_conf_input=$configure_input;;
7146
7522
case $ac_tag in
7147
*:-:* | *:-) cat >"$tmp/stdin";;
7523
*:-:* | *:-) cat >"$tmp/stdin" \
7524
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7525
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7526
{ (exit 1); exit 1; }; } ;;
7210
7589
test -d "$as_dir" && break
7212
7591
test -z "$as_dirs" || eval "mkdir $as_dirs"
7213
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7214
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7592
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7593
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7215
7594
{ (exit 1); exit 1; }; }; }
7218
7597
case "$ac_dir" in
7219
7598
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7221
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7600
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7222
7601
# A ".." for each directory in $ac_dir_suffix.
7223
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7602
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7224
7603
case $ac_top_builddir_sub in
7225
7604
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7226
7605
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7312
7694
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7313
7695
s&@INSTALL@&$ac_INSTALL&;t t
7314
7696
$ac_datarootdir_hack
7315
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7698
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7699
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7700
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7701
{ (exit 1); exit 1; }; }
7317
7703
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7318
7704
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7319
7705
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7320
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7706
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7321
7707
which seems to be undefined. Please make sure it is defined." >&5
7322
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7708
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7323
7709
which seems to be undefined. Please make sure it is defined." >&2;}
7325
7711
rm -f "$tmp/stdin"
7326
7712
case $ac_file in
7327
-) cat "$tmp/out"; rm -f "$tmp/out";;
7328
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7713
-) cat "$tmp/out" && rm -f "$tmp/out";;
7714
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7716
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7717
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7718
{ (exit 1); exit 1; }; }
7333
7722
# CONFIG_HEADER
7337
# Transform confdefs.h into a sed script `conftest.defines', that
7338
# substitutes the proper values into config.h.in to produce config.h.
7339
rm -f conftest.defines conftest.tail
7340
# First, append a space to every undef/define line, to ease matching.
7341
echo 's/$/ /' >conftest.defines
7342
# Then, protect against being on the right side of a sed subst, or in
7343
# an unquoted here document, in config.status. If some macros were
7344
# called several times there might be several #defines for the same
7345
# symbol, which is useless. But do not sort them, since the last
7346
# AC_DEFINE must be honored.
7347
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7348
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7349
# NAME is the cpp macro being defined, VALUE is the value it is being given.
7350
# PARAMS is the parameter list in the macro definition--in most cases, it's
7351
# just an empty string.
7352
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7353
ac_dB='\\)[ (].*,\\1define\\2'
7361
s/^[ ]*#[ ]*define[ ][ ]*//
7366
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7367
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7368
' >>conftest.defines
7370
# Remove the space that was appended to ease matching.
7371
# Then replace #undef with comments. This is necessary, for
7372
# example, in the case of _POSIX_SOURCE, which is predefined and required
7373
# on some systems where configure will not decide to define it.
7374
# (The regexp can be short, since the line contains either #define or #undef.)
7376
s,^[ #]*u.*,/* & */,' >>conftest.defines
7378
# Break up conftest.defines:
7381
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7382
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7383
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7385
ac_in='$ac_file_inputs'
7386
ac_out='"$tmp/out1"'
7387
ac_nxt='"$tmp/out2"'
7391
# Write a here document:
7392
cat >>$CONFIG_STATUS <<_ACEOF
7393
# First, check the format of the line:
7394
cat >"\$tmp/defines.sed" <<\\CEOF
7395
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7396
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7400
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7402
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7403
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7404
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7405
grep . conftest.tail >/dev/null || break
7406
rm -f conftest.defines
7407
mv conftest.tail conftest.defines
7409
rm -f conftest.defines conftest.tail
7411
echo "ac_result=$ac_in" >>$CONFIG_STATUS
7412
cat >>$CONFIG_STATUS <<\_ACEOF
7413
7724
if test x"$ac_file" != x-; then
7414
echo "/* $configure_input */" >"$tmp/config.h"
7415
cat "$ac_result" >>"$tmp/config.h"
7416
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7417
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7418
echo "$as_me: $ac_file is unchanged" >&6;}
7726
$as_echo "/* $configure_input */" \
7727
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7728
} >"$tmp/config.h" \
7729
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7730
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7731
{ (exit 1); exit 1; }; }
7732
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7733
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7734
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7421
mv "$tmp/config.h" $ac_file
7737
mv "$tmp/config.h" "$ac_file" \
7738
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7739
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7740
{ (exit 1); exit 1; }; }
7424
echo "/* $configure_input */"
7743
$as_echo "/* $configure_input */" \
7744
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7745
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7746
$as_echo "$as_me: error: could not create -" >&2;}
7747
{ (exit 1); exit 1; }; }