ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.9 by pcg, Thu Oct 16 21:57:54 2003 UTC vs.
Revision 1.14 by pcg, Tue Jan 27 06:05:02 2004 UTC

1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57. 3# Generated by GNU Autoconf 2.59.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc. 5# Copyright (C) 2003 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ## 8## --------------------- ##
10## M4sh Initialization. ## 9## M4sh Initialization. ##
11## --------------------- ## 10## --------------------- ##
18 # is contrary to our usage. Disable this feature. 17 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"' 18 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix 20 set -o posix
22fi 21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23 23
24# Support unset when possible. 24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset 26 as_unset=unset
27else 27else
28 as_unset=false 28 as_unset=false
29fi 29fi
30 30
39for as_var in \ 39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME 42 LC_TELEPHONE LC_TIME
43do 43do
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var 45 eval $as_var=C; export $as_var
46 else 46 else
47 $as_unset $as_var 47 $as_unset $as_var
48 fi 48 fi
49done 49done
216rm -f conf$$ conf$$.exe conf$$.file 216rm -f conf$$ conf$$.exe conf$$.file
217 217
218if mkdir -p . 2>/dev/null; then 218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 219 as_mkdir_p=:
220else 220else
221 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false 222 as_mkdir_p=false
222fi 223fi
223 224
224as_executable_p="test -f" 225as_executable_p="test -f"
225 226
226# Sed expression to map a string onto a valid CPP name. 227# Sed expression to map a string onto a valid CPP name.
227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228 229
229# Sed expression to map a string onto a valid variable name. 230# Sed expression to map a string onto a valid variable name.
230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231 232
232 233
233# IFS 234# IFS
234# We need space, tab and new line, in precisely that order. 235# We need space, tab and new line, in precisely that order.
235as_nl=' 236as_nl='
665 esac 666 esac
666done 667done
667 668
668# Be sure to have absolute paths. 669# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir 671 localstatedir libdir includedir oldincludedir infodir mandir
671do 672do
672 eval ac_val=$`echo $ac_var` 673 eval ac_val=$`echo $ac_var`
673 case $ac_val in 674 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;; 675 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
705if test -z "$srcdir"; then 706if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes 707 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent. 708 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null || 709 ac_confdir=`(dirname "$0") 2>/dev/null ||
709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \ 713 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null || 714 . : '\(.\)' 2>/dev/null ||
714echo X"$0" | 715echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; }
812_ACEOF 813_ACEOF
813 814
814 cat <<_ACEOF 815 cat <<_ACEOF
815Installation directories: 816Installation directories:
816 --prefix=PREFIX install architecture-independent files in PREFIX 817 --prefix=PREFIX install architecture-independent files in PREFIX
817 [$ac_default_prefix] 818 [$ac_default_prefix]
818 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 819 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 [PREFIX] 820 [PREFIX]
820 821
821By default, \`make install' will install all the files in 822By default, \`make install' will install all the files in
822\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 823\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
823an installation prefix other than \`$ac_default_prefix' using \`--prefix', 824an installation prefix other than \`$ac_default_prefix' using \`--prefix',
824for instance \`--prefix=\$HOME'. 825for instance \`--prefix=\$HOME'.
955 ac_top_srcdir=$srcdir ;; 956 ac_top_srcdir=$srcdir ;;
956 *) # Relative path. 957 *) # Relative path.
957 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
958 ac_top_srcdir=$ac_top_builddir$srcdir ;; 959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
959esac 960esac
960# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 961
961# absolute. 962# Do not use `cd foo && pwd` to compute absolute paths, because
962ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 963# the directories may not exist.
963ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 964case `pwd` in
964ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 965.) ac_abs_builddir="$ac_dir";;
965ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 966*)
967 case "$ac_dir" in
968 .) ac_abs_builddir=`pwd`;;
969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
971 esac;;
972esac
973case $ac_abs_builddir in
974.) ac_abs_top_builddir=${ac_top_builddir}.;;
975*)
976 case ${ac_top_builddir}. in
977 .) ac_abs_top_builddir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980 esac;;
981esac
982case $ac_abs_builddir in
983.) ac_abs_srcdir=$ac_srcdir;;
984*)
985 case $ac_srcdir in
986 .) ac_abs_srcdir=$ac_abs_builddir;;
987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989 esac;;
990esac
991case $ac_abs_builddir in
992.) ac_abs_top_srcdir=$ac_top_srcdir;;
993*)
994 case $ac_top_srcdir in
995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998 esac;;
999esac
966 1000
967 cd $ac_dir 1001 cd $ac_dir
968 # Check for guested configure; otherwise get Cygnus style configure. 1002 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then 1003 if test -f $ac_srcdir/configure.gnu; then
970 echo 1004 echo
971 $SHELL $ac_srcdir/configure.gnu --help=recursive 1005 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then 1006 elif test -f $ac_srcdir/configure; then
973 echo 1007 echo
974 $SHELL $ac_srcdir/configure --help=recursive 1008 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac || 1009 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then 1010 test -f $ac_srcdir/configure.in; then
977 echo 1011 echo
978 $ac_configure --help 1012 $ac_configure --help
979 else 1013 else
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 fi 1015 fi
985 1019
986test -n "$ac_init_help" && exit 0 1020test -n "$ac_init_help" && exit 0
987if $ac_init_version; then 1021if $ac_init_version; then
988 cat <<\_ACEOF 1022 cat <<\_ACEOF
989 1023
990Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
991Free Software Foundation, Inc. 1024Copyright (C) 2003 Free Software Foundation, Inc.
992This configure script is free software; the Free Software Foundation 1025This configure script is free software; the Free Software Foundation
993gives unlimited permission to copy, distribute and modify it. 1026gives unlimited permission to copy, distribute and modify it.
994_ACEOF 1027_ACEOF
995 exit 0 1028 exit 0
996fi 1029fi
998cat >&5 <<_ACEOF 1031cat >&5 <<_ACEOF
999This file contains any messages produced by compilers while 1032This file contains any messages produced by compilers while
1000running configure, to aid debugging if configure makes a mistake. 1033running configure, to aid debugging if configure makes a mistake.
1001 1034
1002It was created by $as_me, which was 1035It was created by $as_me, which was
1003generated by GNU Autoconf 2.57. Invocation command line was 1036generated by GNU Autoconf 2.59. Invocation command line was
1004 1037
1005 $ $0 $@ 1038 $ $0 $@
1006 1039
1007_ACEOF 1040_ACEOF
1008{ 1041{
1075 case $ac_pass in 1108 case $ac_pass in
1076 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1109 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 2) 1110 2)
1078 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1111 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1079 if test $ac_must_keep_next = true; then 1112 if test $ac_must_keep_next = true; then
1080 ac_must_keep_next=false # Got value, back to normal. 1113 ac_must_keep_next=false # Got value, back to normal.
1081 else 1114 else
1082 case $ac_arg in 1115 case $ac_arg in
1083 *=* | --config-cache | -C | -disable-* | --disable-* \ 1116 *=* | --config-cache | -C | -disable-* | --disable-* \
1084 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1085 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1086 | -with-* | --with-* | -without-* | --without-* | --x) 1119 | -with-* | --with-* | -without-* | --without-* | --x)
1087 case "$ac_configure_args0 " in 1120 case "$ac_configure_args0 " in
1088 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 esac 1122 esac
1090 ;; 1123 ;;
1091 -* ) ac_must_keep_next=true ;; 1124 -* ) ac_must_keep_next=true ;;
1092 esac 1125 esac
1093 fi 1126 fi
1094 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1127 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1095 # Get rid of the leading space. 1128 # Get rid of the leading space.
1096 ac_sep=" " 1129 ac_sep=" "
1097 ;; 1130 ;;
1121{ 1154{
1122 (set) 2>&1 | 1155 (set) 2>&1 |
1123 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1156 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 *ac_space=\ *) 1157 *ac_space=\ *)
1125 sed -n \ 1158 sed -n \
1126 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1159 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 ;; 1161 ;;
1129 *) 1162 *)
1130 sed -n \ 1163 sed -n \
1131 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1164 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ;; 1165 ;;
1133 esac; 1166 esac;
1134} 1167}
1135 echo 1168 echo
1136 1169
1155_ASBOX 1188_ASBOX
1156 echo 1189 echo
1157 for ac_var in $ac_subst_files 1190 for ac_var in $ac_subst_files
1158 do 1191 do
1159 eval ac_val=$`echo $ac_var` 1192 eval ac_val=$`echo $ac_var`
1160 echo "$ac_var='"'"'$ac_val'"'"'" 1193 echo "$ac_var='"'"'$ac_val'"'"'"
1161 done | sort 1194 done | sort
1162 echo 1195 echo
1163 fi 1196 fi
1164 1197
1165 if test -s confdefs.h; then 1198 if test -s confdefs.h; then
1254 1287
1255# Check that the precious variables saved in the cache have kept the same 1288# Check that the precious variables saved in the cache have kept the same
1256# value. 1289# value.
1257ac_cache_corrupted=false 1290ac_cache_corrupted=false
1258for ac_var in `(set) 2>&1 | 1291for ac_var in `(set) 2>&1 |
1259 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1292 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1260 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1293 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1261 eval ac_new_set=\$ac_env_${ac_var}_set 1294 eval ac_new_set=\$ac_env_${ac_var}_set
1262 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1295 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1263 eval ac_new_val="\$ac_env_${ac_var}_value" 1296 eval ac_new_val="\$ac_env_${ac_var}_value"
1264 case $ac_old_set,$ac_new_set in 1297 case $ac_old_set,$ac_new_set in
1271echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1304echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1272 ac_cache_corrupted=: ;; 1305 ac_cache_corrupted=: ;;
1273 ,);; 1306 ,);;
1274 *) 1307 *)
1275 if test "x$ac_old_val" != "x$ac_new_val"; then 1308 if test "x$ac_old_val" != "x$ac_new_val"; then
1276 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1309 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1277echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1310echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1278 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1311 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1279echo "$as_me: former value: $ac_old_val" >&2;} 1312echo "$as_me: former value: $ac_old_val" >&2;}
1280 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1313 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1281echo "$as_me: current value: $ac_new_val" >&2;} 1314echo "$as_me: current value: $ac_new_val" >&2;}
1282 ac_cache_corrupted=: 1315 ac_cache_corrupted=:
1283 fi;; 1316 fi;;
1284 esac 1317 esac
1285 # Pass precious variables to config.status. 1318 # Pass precious variables to config.status.
1286 if test "$ac_new_set" = set; then 1319 if test "$ac_new_set" = set; then
1287 case $ac_new_val in 1320 case $ac_new_val in
1444# AIX /bin/install 1477# AIX /bin/install
1445# AmigaOS /C/install, which installs bootblocks on floppy discs 1478# AmigaOS /C/install, which installs bootblocks on floppy discs
1446# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1479# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1447# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1480# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1448# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1481# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1482# OS/2's system install, which has a completely different semantic
1449# ./install, which can be erroneously created by make from ./install.sh. 1483# ./install, which can be erroneously created by make from ./install.sh.
1450echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1484echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1451echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1485echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1452if test -z "$INSTALL"; then 1486if test -z "$INSTALL"; then
1453if test "${ac_cv_path_install+set}" = set; then 1487if test "${ac_cv_path_install+set}" = set; then
1460 test -z "$as_dir" && as_dir=. 1494 test -z "$as_dir" && as_dir=.
1461 # Account for people who put trailing slashes in PATH elements. 1495 # Account for people who put trailing slashes in PATH elements.
1462case $as_dir/ in 1496case $as_dir/ in
1463 ./ | .// | /cC/* | \ 1497 ./ | .// | /cC/* | \
1464 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1498 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1499 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1465 /usr/ucb/* ) ;; 1500 /usr/ucb/* ) ;;
1466 *) 1501 *)
1467 # OSF1 and SCO ODT 3.0 have their own names for install. 1502 # OSF1 and SCO ODT 3.0 have their own names for install.
1468 # Don't use installbsd from OSF since it installs stuff as root 1503 # Don't use installbsd from OSF since it installs stuff as root
1469 # by default. 1504 # by default.
1470 for ac_prog in ginstall scoinst install; do 1505 for ac_prog in ginstall scoinst install; do
1471 for ac_exec_ext in '' $ac_executable_extensions; do 1506 for ac_exec_ext in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1473 if test $ac_prog = install && 1508 if test $ac_prog = install &&
1474 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1509 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1475 # AIX install. It has an incompatible calling convention. 1510 # AIX install. It has an incompatible calling convention.
1476 : 1511 :
1477 elif test $ac_prog = install && 1512 elif test $ac_prog = install &&
1478 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1513 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1479 # program-specific install script used by HP pwplus--don't use. 1514 # program-specific install script used by HP pwplus--don't use.
1480 : 1515 :
1481 else 1516 else
1482 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1517 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1483 break 3 1518 break 3
1484 fi 1519 fi
1485 fi 1520 fi
1486 done 1521 done
1487 done 1522 done
1488 ;; 1523 ;;
1489esac 1524esac
1490done 1525done
1624 test -n "$AWK" && break 1659 test -n "$AWK" && break
1625done 1660done
1626 1661
1627echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1662echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1628echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1663echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1629set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1664set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1630if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1665if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6 1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1632else 1667else
1633 cat >conftest.make <<\_ACEOF 1668 cat >conftest.make <<\_ACEOF
1634all: 1669all:
1680fi 1715fi
1681 1716
1682 1717
1683# Define the identity of the package. 1718# Define the identity of the package.
1684 PACKAGE=vpe 1719 PACKAGE=vpe
1685 VERSION=1.2 1720 VERSION=1.5
1686 1721
1687 1722
1688cat >>confdefs.h <<_ACEOF 1723cat >>confdefs.h <<_ACEOF
1689#define PACKAGE "$PACKAGE" 1724#define PACKAGE "$PACKAGE"
1690_ACEOF 1725_ACEOF
2456 ac_status=$? 2491 ac_status=$?
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } 2493 (exit $ac_status); }
2459 2494
2460cat >conftest.$ac_ext <<_ACEOF 2495cat >conftest.$ac_ext <<_ACEOF
2461#line $LINENO "configure"
2462/* confdefs.h. */ 2496/* confdefs.h. */
2463_ACEOF 2497_ACEOF
2464cat confdefs.h >>conftest.$ac_ext 2498cat confdefs.h >>conftest.$ac_ext
2465cat >>conftest.$ac_ext <<_ACEOF 2499cat >>conftest.$ac_ext <<_ACEOF
2466/* end confdefs.h. */ 2500/* end confdefs.h. */
2476ac_clean_files_save=$ac_clean_files 2510ac_clean_files_save=$ac_clean_files
2477ac_clean_files="$ac_clean_files a.out a.exe b.out" 2511ac_clean_files="$ac_clean_files a.out a.exe b.out"
2478# Try to create an executable without -o first, disregard a.out. 2512# Try to create an executable without -o first, disregard a.out.
2479# It will help us diagnose broken compilers, and finding out an intuition 2513# It will help us diagnose broken compilers, and finding out an intuition
2480# of exeext. 2514# of exeext.
2481echo "$as_me:$LINENO: checking for C compiler default output" >&5 2515echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2482echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 2516echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2483ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2517ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2484if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2518if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2485 (eval $ac_link_default) 2>&5 2519 (eval $ac_link_default) 2>&5
2486 ac_status=$? 2520 ac_status=$?
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2531for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2498do 2532do
2499 test -f "$ac_file" || continue 2533 test -f "$ac_file" || continue
2500 case $ac_file in 2534 case $ac_file in
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2502 ;; 2536 ;;
2503 conftest.$ac_ext ) 2537 conftest.$ac_ext )
2504 # This is the source file. 2538 # This is the source file.
2505 ;; 2539 ;;
2506 [ab].out ) 2540 [ab].out )
2507 # We found the default executable, but exeext='' is most 2541 # We found the default executable, but exeext='' is most
2508 # certainly right. 2542 # certainly right.
2509 break;; 2543 break;;
2510 *.* ) 2544 *.* )
2511 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2545 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2512 # FIXME: I believe we export ac_cv_exeext for Libtool, 2546 # FIXME: I believe we export ac_cv_exeext for Libtool,
2513 # but it would be cool to find out if it's true. Does anybody 2547 # but it would be cool to find out if it's true. Does anybody
2514 # maintain Libtool? --akim. 2548 # maintain Libtool? --akim.
2515 export ac_cv_exeext 2549 export ac_cv_exeext
2516 break;; 2550 break;;
2517 * ) 2551 * )
2518 break;; 2552 break;;
2519 esac 2553 esac
2520done 2554done
2521else 2555else
2522 echo "$as_me: failed program was:" >&5 2556 echo "$as_me: failed program was:" >&5
2523sed 's/^/| /' conftest.$ac_ext >&5 2557sed 's/^/| /' conftest.$ac_ext >&5
2587for ac_file in conftest.exe conftest conftest.*; do 2621for ac_file in conftest.exe conftest conftest.*; do
2588 test -f "$ac_file" || continue 2622 test -f "$ac_file" || continue
2589 case $ac_file in 2623 case $ac_file in
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2591 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2625 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2592 export ac_cv_exeext 2626 export ac_cv_exeext
2593 break;; 2627 break;;
2594 * ) break;; 2628 * ) break;;
2595 esac 2629 esac
2596done 2630done
2597else 2631else
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2632 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2613echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2647echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2614if test "${ac_cv_objext+set}" = set; then 2648if test "${ac_cv_objext+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6 2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2616else 2650else
2617 cat >conftest.$ac_ext <<_ACEOF 2651 cat >conftest.$ac_ext <<_ACEOF
2618#line $LINENO "configure"
2619/* confdefs.h. */ 2652/* confdefs.h. */
2620_ACEOF 2653_ACEOF
2621cat confdefs.h >>conftest.$ac_ext 2654cat confdefs.h >>conftest.$ac_ext
2622cat >>conftest.$ac_ext <<_ACEOF 2655cat >>conftest.$ac_ext <<_ACEOF
2623/* end confdefs.h. */ 2656/* end confdefs.h. */
2664echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2697echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2665if test "${ac_cv_c_compiler_gnu+set}" = set; then 2698if test "${ac_cv_c_compiler_gnu+set}" = set; then
2666 echo $ECHO_N "(cached) $ECHO_C" >&6 2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2667else 2700else
2668 cat >conftest.$ac_ext <<_ACEOF 2701 cat >conftest.$ac_ext <<_ACEOF
2669#line $LINENO "configure"
2670/* confdefs.h. */ 2702/* confdefs.h. */
2671_ACEOF 2703_ACEOF
2672cat confdefs.h >>conftest.$ac_ext 2704cat confdefs.h >>conftest.$ac_ext
2673cat >>conftest.$ac_ext <<_ACEOF 2705cat >>conftest.$ac_ext <<_ACEOF
2674/* end confdefs.h. */ 2706/* end confdefs.h. */
2684 return 0; 2716 return 0;
2685} 2717}
2686_ACEOF 2718_ACEOF
2687rm -f conftest.$ac_objext 2719rm -f conftest.$ac_objext
2688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2720if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>&5 2721 (eval $ac_compile) 2>conftest.er1
2690 ac_status=$? 2722 ac_status=$?
2723 grep -v '^ *+' conftest.er1 >conftest.err
2724 rm -f conftest.er1
2725 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && 2727 (exit $ac_status); } &&
2693 { ac_try='test -s conftest.$ac_objext' 2728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 (eval $ac_try) 2>&5 2730 (eval $ac_try) 2>&5
2696 ac_status=$? 2731 ac_status=$?
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 (eval $ac_try) 2>&5
2737 ac_status=$?
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then 2739 (exit $ac_status); }; }; then
2699 ac_compiler_gnu=yes 2740 ac_compiler_gnu=yes
2700else 2741else
2701 echo "$as_me: failed program was:" >&5 2742 echo "$as_me: failed program was:" >&5
2702sed 's/^/| /' conftest.$ac_ext >&5 2743sed 's/^/| /' conftest.$ac_ext >&5
2703 2744
2704ac_compiler_gnu=no 2745ac_compiler_gnu=no
2705fi 2746fi
2706rm -f conftest.$ac_objext conftest.$ac_ext 2747rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2707ac_cv_c_compiler_gnu=$ac_compiler_gnu 2748ac_cv_c_compiler_gnu=$ac_compiler_gnu
2708 2749
2709fi 2750fi
2710echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2751echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2711echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2752echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2717echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2758echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2718if test "${ac_cv_prog_cc_g+set}" = set; then 2759if test "${ac_cv_prog_cc_g+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6 2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2720else 2761else
2721 cat >conftest.$ac_ext <<_ACEOF 2762 cat >conftest.$ac_ext <<_ACEOF
2722#line $LINENO "configure"
2723/* confdefs.h. */ 2763/* confdefs.h. */
2724_ACEOF 2764_ACEOF
2725cat confdefs.h >>conftest.$ac_ext 2765cat confdefs.h >>conftest.$ac_ext
2726cat >>conftest.$ac_ext <<_ACEOF 2766cat >>conftest.$ac_ext <<_ACEOF
2727/* end confdefs.h. */ 2767/* end confdefs.h. */
2734 return 0; 2774 return 0;
2735} 2775}
2736_ACEOF 2776_ACEOF
2737rm -f conftest.$ac_objext 2777rm -f conftest.$ac_objext
2738if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>&5 2779 (eval $ac_compile) 2>conftest.er1
2740 ac_status=$? 2780 ac_status=$?
2781 grep -v '^ *+' conftest.er1 >conftest.err
2782 rm -f conftest.er1
2783 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && 2785 (exit $ac_status); } &&
2743 { ac_try='test -s conftest.$ac_objext' 2786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 (eval $ac_try) 2>&5 2788 (eval $ac_try) 2>&5
2746 ac_status=$? 2789 ac_status=$?
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; } &&
2792 { ac_try='test -s conftest.$ac_objext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 (eval $ac_try) 2>&5
2795 ac_status=$?
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then 2797 (exit $ac_status); }; }; then
2749 ac_cv_prog_cc_g=yes 2798 ac_cv_prog_cc_g=yes
2750else 2799else
2751 echo "$as_me: failed program was:" >&5 2800 echo "$as_me: failed program was:" >&5
2752sed 's/^/| /' conftest.$ac_ext >&5 2801sed 's/^/| /' conftest.$ac_ext >&5
2753 2802
2754ac_cv_prog_cc_g=no 2803ac_cv_prog_cc_g=no
2755fi 2804fi
2756rm -f conftest.$ac_objext conftest.$ac_ext 2805rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2757fi 2806fi
2758echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2807echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2759echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2808echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2760if test "$ac_test_CFLAGS" = set; then 2809if test "$ac_test_CFLAGS" = set; then
2761 CFLAGS=$ac_save_CFLAGS 2810 CFLAGS=$ac_save_CFLAGS
2778 echo $ECHO_N "(cached) $ECHO_C" >&6 2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2779else 2828else
2780 ac_cv_prog_cc_stdc=no 2829 ac_cv_prog_cc_stdc=no
2781ac_save_CC=$CC 2830ac_save_CC=$CC
2782cat >conftest.$ac_ext <<_ACEOF 2831cat >conftest.$ac_ext <<_ACEOF
2783#line $LINENO "configure"
2784/* confdefs.h. */ 2832/* confdefs.h. */
2785_ACEOF 2833_ACEOF
2786cat confdefs.h >>conftest.$ac_ext 2834cat confdefs.h >>conftest.$ac_ext
2787cat >>conftest.$ac_ext <<_ACEOF 2835cat >>conftest.$ac_ext <<_ACEOF
2788/* end confdefs.h. */ 2836/* end confdefs.h. */
2806 va_start (v,p); 2854 va_start (v,p);
2807 s = g (p, va_arg (v,int)); 2855 s = g (p, va_arg (v,int));
2808 va_end (v); 2856 va_end (v);
2809 return s; 2857 return s;
2810} 2858}
2859
2860/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2861 function prototypes and stuff, but not '\xHH' hex character constants.
2862 These don't provoke an error unfortunately, instead are silently treated
2863 as 'x'. The following induces an error, until -std1 is added to get
2864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2865 array size at least. It's necessary to write '\x00'==0 to get something
2866 that's true only with -std1. */
2867int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2868
2811int test (int i, double x); 2869int test (int i, double x);
2812struct s1 {int (*f) (int a);}; 2870struct s1 {int (*f) (int a);};
2813struct s2 {int (*f) (double a);}; 2871struct s2 {int (*f) (double a);};
2814int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2872int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2815int argc; 2873int argc;
2832for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2890for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2833do 2891do
2834 CC="$ac_save_CC $ac_arg" 2892 CC="$ac_save_CC $ac_arg"
2835 rm -f conftest.$ac_objext 2893 rm -f conftest.$ac_objext
2836if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2894if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2837 (eval $ac_compile) 2>&5 2895 (eval $ac_compile) 2>conftest.er1
2838 ac_status=$? 2896 ac_status=$?
2897 grep -v '^ *+' conftest.er1 >conftest.err
2898 rm -f conftest.er1
2899 cat conftest.err >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); } && 2901 (exit $ac_status); } &&
2902 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 (eval $ac_try) 2>&5
2905 ac_status=$?
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext' 2908 { ac_try='test -s conftest.$ac_objext'
2842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 (eval $ac_try) 2>&5 2910 (eval $ac_try) 2>&5
2844 ac_status=$? 2911 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; }; then 2913 (exit $ac_status); }; }; then
2849else 2916else
2850 echo "$as_me: failed program was:" >&5 2917 echo "$as_me: failed program was:" >&5
2851sed 's/^/| /' conftest.$ac_ext >&5 2918sed 's/^/| /' conftest.$ac_ext >&5
2852 2919
2853fi 2920fi
2854rm -f conftest.$ac_objext 2921rm -f conftest.err conftest.$ac_objext
2855done 2922done
2856rm -f conftest.$ac_ext conftest.$ac_objext 2923rm -f conftest.$ac_ext conftest.$ac_objext
2857CC=$ac_save_CC 2924CC=$ac_save_CC
2858 2925
2859fi 2926fi
2877 choke me 2944 choke me
2878#endif 2945#endif
2879_ACEOF 2946_ACEOF
2880rm -f conftest.$ac_objext 2947rm -f conftest.$ac_objext
2881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2948if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>&5 2949 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$? 2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); } && 2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 (eval $ac_try) 2>&5
2959 ac_status=$?
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; } &&
2886 { ac_try='test -s conftest.$ac_objext' 2962 { ac_try='test -s conftest.$ac_objext'
2887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2888 (eval $ac_try) 2>&5 2964 (eval $ac_try) 2>&5
2889 ac_status=$? 2965 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; }; then 2967 (exit $ac_status); }; }; then
2896 'extern "C" void exit (int) throw ();' \ 2972 'extern "C" void exit (int) throw ();' \
2897 'extern "C" void exit (int);' \ 2973 'extern "C" void exit (int);' \
2898 'void exit (int);' 2974 'void exit (int);'
2899do 2975do
2900 cat >conftest.$ac_ext <<_ACEOF 2976 cat >conftest.$ac_ext <<_ACEOF
2901#line $LINENO "configure"
2902/* confdefs.h. */ 2977/* confdefs.h. */
2903_ACEOF 2978_ACEOF
2904cat confdefs.h >>conftest.$ac_ext 2979cat confdefs.h >>conftest.$ac_ext
2905cat >>conftest.$ac_ext <<_ACEOF 2980cat >>conftest.$ac_ext <<_ACEOF
2906/* end confdefs.h. */ 2981/* end confdefs.h. */
2914 return 0; 2989 return 0;
2915} 2990}
2916_ACEOF 2991_ACEOF
2917rm -f conftest.$ac_objext 2992rm -f conftest.$ac_objext
2918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2993if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>&5 2994 (eval $ac_compile) 2>conftest.er1
2920 ac_status=$? 2995 ac_status=$?
2996 grep -v '^ *+' conftest.er1 >conftest.err
2997 rm -f conftest.er1
2998 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && 3000 (exit $ac_status); } &&
2923 { ac_try='test -s conftest.$ac_objext' 3001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 (eval $ac_try) 2>&5 3003 (eval $ac_try) 2>&5
2926 ac_status=$? 3004 ac_status=$?
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; } &&
3007 { ac_try='test -s conftest.$ac_objext'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 (eval $ac_try) 2>&5
3010 ac_status=$?
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then 3012 (exit $ac_status); }; }; then
2929 : 3013 :
2930else 3014else
2931 echo "$as_me: failed program was:" >&5 3015 echo "$as_me: failed program was:" >&5
2932sed 's/^/| /' conftest.$ac_ext >&5 3016sed 's/^/| /' conftest.$ac_ext >&5
2933 3017
2934continue 3018continue
2935fi 3019fi
2936rm -f conftest.$ac_objext conftest.$ac_ext 3020rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2937 cat >conftest.$ac_ext <<_ACEOF 3021 cat >conftest.$ac_ext <<_ACEOF
2938#line $LINENO "configure"
2939/* confdefs.h. */ 3022/* confdefs.h. */
2940_ACEOF 3023_ACEOF
2941cat confdefs.h >>conftest.$ac_ext 3024cat confdefs.h >>conftest.$ac_ext
2942cat >>conftest.$ac_ext <<_ACEOF 3025cat >>conftest.$ac_ext <<_ACEOF
2943/* end confdefs.h. */ 3026/* end confdefs.h. */
2950 return 0; 3033 return 0;
2951} 3034}
2952_ACEOF 3035_ACEOF
2953rm -f conftest.$ac_objext 3036rm -f conftest.$ac_objext
2954if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3037if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>&5 3038 (eval $ac_compile) 2>conftest.er1
2956 ac_status=$? 3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && 3044 (exit $ac_status); } &&
2959 { ac_try='test -s conftest.$ac_objext' 3045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961 (eval $ac_try) 2>&5 3047 (eval $ac_try) 2>&5
2962 ac_status=$? 3048 ac_status=$?
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; } &&
3051 { ac_try='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 (eval $ac_try) 2>&5
3054 ac_status=$?
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; }; then 3056 (exit $ac_status); }; }; then
2965 break 3057 break
2966else 3058else
2967 echo "$as_me: failed program was:" >&5 3059 echo "$as_me: failed program was:" >&5
2968sed 's/^/| /' conftest.$ac_ext >&5 3060sed 's/^/| /' conftest.$ac_ext >&5
2969 3061
2970fi 3062fi
2971rm -f conftest.$ac_objext conftest.$ac_ext 3063rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2972done 3064done
2973rm -f conftest* 3065rm -f conftest*
2974if test -n "$ac_declaration"; then 3066if test -n "$ac_declaration"; then
2975 echo '#ifdef __cplusplus' >>confdefs.h 3067 echo '#ifdef __cplusplus' >>confdefs.h
2976 echo $ac_declaration >>confdefs.h 3068 echo $ac_declaration >>confdefs.h
2980else 3072else
2981 echo "$as_me: failed program was:" >&5 3073 echo "$as_me: failed program was:" >&5
2982sed 's/^/| /' conftest.$ac_ext >&5 3074sed 's/^/| /' conftest.$ac_ext >&5
2983 3075
2984fi 3076fi
2985rm -f conftest.$ac_objext conftest.$ac_ext 3077rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2986ac_ext=c 3078ac_ext=c
2987ac_cpp='$CPP $CPPFLAGS' 3079ac_cpp='$CPP $CPPFLAGS'
2988ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990ac_compiler_gnu=$ac_cv_c_compiler_gnu 3082ac_compiler_gnu=$ac_cv_c_compiler_gnu
3653echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6 3745echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3654if test "${gt_cv_func_gnugettext1_libc+set}" = set; then 3746if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6 3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3656else 3748else
3657 cat >conftest.$ac_ext <<_ACEOF 3749 cat >conftest.$ac_ext <<_ACEOF
3658#line $LINENO "configure"
3659/* confdefs.h. */ 3750/* confdefs.h. */
3660_ACEOF 3751_ACEOF
3661cat confdefs.h >>conftest.$ac_ext 3752cat confdefs.h >>conftest.$ac_ext
3662cat >>conftest.$ac_ext <<_ACEOF 3753cat >>conftest.$ac_ext <<_ACEOF
3663/* end confdefs.h. */ 3754/* end confdefs.h. */
3673 return 0; 3764 return 0;
3674} 3765}
3675_ACEOF 3766_ACEOF
3676rm -f conftest.$ac_objext conftest$ac_exeext 3767rm -f conftest.$ac_objext conftest$ac_exeext
3677if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3768if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>&5 3769 (eval $ac_link) 2>conftest.er1
3679 ac_status=$? 3770 ac_status=$?
3771 grep -v '^ *+' conftest.er1 >conftest.err
3772 rm -f conftest.er1
3773 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } && 3775 (exit $ac_status); } &&
3682 { ac_try='test -s conftest$ac_exeext' 3776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5 3778 (eval $ac_try) 2>&5
3685 ac_status=$? 3779 ac_status=$?
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; } &&
3782 { ac_try='test -s conftest$ac_exeext'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 (eval $ac_try) 2>&5
3785 ac_status=$?
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then 3787 (exit $ac_status); }; }; then
3688 gt_cv_func_gnugettext1_libc=yes 3788 gt_cv_func_gnugettext1_libc=yes
3689else 3789else
3690 echo "$as_me: failed program was:" >&5 3790 echo "$as_me: failed program was:" >&5
3691sed 's/^/| /' conftest.$ac_ext >&5 3791sed 's/^/| /' conftest.$ac_ext >&5
3692 3792
3693gt_cv_func_gnugettext1_libc=no 3793gt_cv_func_gnugettext1_libc=no
3694fi 3794fi
3695rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3795rm -f conftest.err conftest.$ac_objext \
3796 conftest$ac_exeext conftest.$ac_ext
3696fi 3797fi
3697echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 3798echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
3698echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6 3799echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
3699 3800
3700 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then 3801 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
3735else 3836else
3736 3837
3737 am_cv_func_iconv="no, consider installing GNU libiconv" 3838 am_cv_func_iconv="no, consider installing GNU libiconv"
3738 am_cv_lib_iconv=no 3839 am_cv_lib_iconv=no
3739 cat >conftest.$ac_ext <<_ACEOF 3840 cat >conftest.$ac_ext <<_ACEOF
3740#line $LINENO "configure"
3741/* confdefs.h. */ 3841/* confdefs.h. */
3742_ACEOF 3842_ACEOF
3743cat confdefs.h >>conftest.$ac_ext 3843cat confdefs.h >>conftest.$ac_ext
3744cat >>conftest.$ac_ext <<_ACEOF 3844cat >>conftest.$ac_ext <<_ACEOF
3745/* end confdefs.h. */ 3845/* end confdefs.h. */
3755 return 0; 3855 return 0;
3756} 3856}
3757_ACEOF 3857_ACEOF
3758rm -f conftest.$ac_objext conftest$ac_exeext 3858rm -f conftest.$ac_objext conftest$ac_exeext
3759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3760 (eval $ac_link) 2>&5 3860 (eval $ac_link) 2>conftest.er1
3761 ac_status=$? 3861 ac_status=$?
3862 grep -v '^ *+' conftest.er1 >conftest.err
3863 rm -f conftest.er1
3864 cat conftest.err >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } && 3866 (exit $ac_status); } &&
3764 { ac_try='test -s conftest$ac_exeext' 3867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5 3869 (eval $ac_try) 2>&5
3767 ac_status=$? 3870 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try='test -s conftest$ac_exeext'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 (eval $ac_try) 2>&5
3876 ac_status=$?
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then 3878 (exit $ac_status); }; }; then
3770 am_cv_func_iconv=yes 3879 am_cv_func_iconv=yes
3771else 3880else
3772 echo "$as_me: failed program was:" >&5 3881 echo "$as_me: failed program was:" >&5
3773sed 's/^/| /' conftest.$ac_ext >&5 3882sed 's/^/| /' conftest.$ac_ext >&5
3774 3883
3775fi 3884fi
3776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3885rm -f conftest.err conftest.$ac_objext \
3886 conftest$ac_exeext conftest.$ac_ext
3777 if test "$am_cv_func_iconv" != yes; then 3887 if test "$am_cv_func_iconv" != yes; then
3778 am_save_LIBS="$LIBS" 3888 am_save_LIBS="$LIBS"
3779 LIBS="$LIBS $LIBICONV" 3889 LIBS="$LIBS $LIBICONV"
3780 cat >conftest.$ac_ext <<_ACEOF 3890 cat >conftest.$ac_ext <<_ACEOF
3781#line $LINENO "configure"
3782/* confdefs.h. */ 3891/* confdefs.h. */
3783_ACEOF 3892_ACEOF
3784cat confdefs.h >>conftest.$ac_ext 3893cat confdefs.h >>conftest.$ac_ext
3785cat >>conftest.$ac_ext <<_ACEOF 3894cat >>conftest.$ac_ext <<_ACEOF
3786/* end confdefs.h. */ 3895/* end confdefs.h. */
3796 return 0; 3905 return 0;
3797} 3906}
3798_ACEOF 3907_ACEOF
3799rm -f conftest.$ac_objext conftest$ac_exeext 3908rm -f conftest.$ac_objext conftest$ac_exeext
3800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>&5 3910 (eval $ac_link) 2>conftest.er1
3802 ac_status=$? 3911 ac_status=$?
3912 grep -v '^ *+' conftest.er1 >conftest.err
3913 rm -f conftest.er1
3914 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } && 3916 (exit $ac_status); } &&
3917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 (eval $ac_try) 2>&5
3920 ac_status=$?
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3805 { ac_try='test -s conftest$ac_exeext' 3923 { ac_try='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 (eval $ac_try) 2>&5 3925 (eval $ac_try) 2>&5
3808 ac_status=$? 3926 ac_status=$?
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then 3928 (exit $ac_status); }; }; then
3813else 3931else
3814 echo "$as_me: failed program was:" >&5 3932 echo "$as_me: failed program was:" >&5
3815sed 's/^/| /' conftest.$ac_ext >&5 3933sed 's/^/| /' conftest.$ac_ext >&5
3816 3934
3817fi 3935fi
3818rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3936rm -f conftest.err conftest.$ac_objext \
3937 conftest$ac_exeext conftest.$ac_ext
3819 LIBS="$am_save_LIBS" 3938 LIBS="$am_save_LIBS"
3820 fi 3939 fi
3821 3940
3822fi 3941fi
3823echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 3942echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4229 gt_save_CPPFLAGS="$CPPFLAGS" 4348 gt_save_CPPFLAGS="$CPPFLAGS"
4230 CPPFLAGS="$CPPFLAGS $INCINTL" 4349 CPPFLAGS="$CPPFLAGS $INCINTL"
4231 gt_save_LIBS="$LIBS" 4350 gt_save_LIBS="$LIBS"
4232 LIBS="$LIBS $LIBINTL" 4351 LIBS="$LIBS $LIBINTL"
4233 cat >conftest.$ac_ext <<_ACEOF 4352 cat >conftest.$ac_ext <<_ACEOF
4234#line $LINENO "configure"
4235/* confdefs.h. */ 4353/* confdefs.h. */
4236_ACEOF 4354_ACEOF
4237cat confdefs.h >>conftest.$ac_ext 4355cat confdefs.h >>conftest.$ac_ext
4238cat >>conftest.$ac_ext <<_ACEOF 4356cat >>conftest.$ac_ext <<_ACEOF
4239/* end confdefs.h. */ 4357/* end confdefs.h. */
4253 return 0; 4371 return 0;
4254} 4372}
4255_ACEOF 4373_ACEOF
4256rm -f conftest.$ac_objext conftest$ac_exeext 4374rm -f conftest.$ac_objext conftest$ac_exeext
4257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4375if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>&5 4376 (eval $ac_link) 2>conftest.er1
4259 ac_status=$? 4377 ac_status=$?
4378 grep -v '^ *+' conftest.er1 >conftest.err
4379 rm -f conftest.er1
4380 cat conftest.err >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); } && 4382 (exit $ac_status); } &&
4262 { ac_try='test -s conftest$ac_exeext' 4383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 (eval $ac_try) 2>&5 4385 (eval $ac_try) 2>&5
4265 ac_status=$? 4386 ac_status=$?
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; } &&
4389 { ac_try='test -s conftest$ac_exeext'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 (eval $ac_try) 2>&5
4392 ac_status=$?
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then 4394 (exit $ac_status); }; }; then
4268 gt_cv_func_gnugettext1_libintl=yes 4395 gt_cv_func_gnugettext1_libintl=yes
4269else 4396else
4270 echo "$as_me: failed program was:" >&5 4397 echo "$as_me: failed program was:" >&5
4271sed 's/^/| /' conftest.$ac_ext >&5 4398sed 's/^/| /' conftest.$ac_ext >&5
4272 4399
4273gt_cv_func_gnugettext1_libintl=no 4400gt_cv_func_gnugettext1_libintl=no
4274fi 4401fi
4275rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4402rm -f conftest.err conftest.$ac_objext \
4403 conftest$ac_exeext conftest.$ac_ext
4276 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then 4404 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4277 LIBS="$LIBS $LIBICONV" 4405 LIBS="$LIBS $LIBICONV"
4278 cat >conftest.$ac_ext <<_ACEOF 4406 cat >conftest.$ac_ext <<_ACEOF
4279#line $LINENO "configure"
4280/* confdefs.h. */ 4407/* confdefs.h. */
4281_ACEOF 4408_ACEOF
4282cat confdefs.h >>conftest.$ac_ext 4409cat confdefs.h >>conftest.$ac_ext
4283cat >>conftest.$ac_ext <<_ACEOF 4410cat >>conftest.$ac_ext <<_ACEOF
4284/* end confdefs.h. */ 4411/* end confdefs.h. */
4298 return 0; 4425 return 0;
4299} 4426}
4300_ACEOF 4427_ACEOF
4301rm -f conftest.$ac_objext conftest$ac_exeext 4428rm -f conftest.$ac_objext conftest$ac_exeext
4302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4429if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303 (eval $ac_link) 2>&5 4430 (eval $ac_link) 2>conftest.er1
4304 ac_status=$? 4431 ac_status=$?
4432 grep -v '^ *+' conftest.er1 >conftest.err
4433 rm -f conftest.er1
4434 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } && 4436 (exit $ac_status); } &&
4437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 (eval $ac_try) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; } &&
4307 { ac_try='test -s conftest$ac_exeext' 4443 { ac_try='test -s conftest$ac_exeext'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 (eval $ac_try) 2>&5 4445 (eval $ac_try) 2>&5
4310 ac_status=$? 4446 ac_status=$?
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then 4448 (exit $ac_status); }; }; then
4317else 4453else
4318 echo "$as_me: failed program was:" >&5 4454 echo "$as_me: failed program was:" >&5
4319sed 's/^/| /' conftest.$ac_ext >&5 4455sed 's/^/| /' conftest.$ac_ext >&5
4320 4456
4321fi 4457fi
4322rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4458rm -f conftest.err conftest.$ac_objext \
4459 conftest$ac_exeext conftest.$ac_ext
4323 fi 4460 fi
4324 CPPFLAGS="$gt_save_CPPFLAGS" 4461 CPPFLAGS="$gt_save_CPPFLAGS"
4325 LIBS="$gt_save_LIBS" 4462 LIBS="$gt_save_LIBS"
4326fi 4463fi
4327echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 4464echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4418cat >>confdefs.h <<\_ACEOF 4555cat >>confdefs.h <<\_ACEOF
4419#define _GNU_SOURCE 1 4556#define _GNU_SOURCE 1
4420_ACEOF 4557_ACEOF
4421 4558
4422 4559
4423cat >>confdefs.h <<\_ACEOF 4560# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4424#define __USE_BSD 1
4425_ACEOF
4426
4427 4561
4428ALL_LINGUAS="" 4562ALL_LINGUAS=""
4429 4563
4430ac_ext=c 4564ac_ext=c
4431ac_cpp='$CPP $CPPFLAGS' 4565ac_cpp='$CPP $CPPFLAGS'
4766echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 4900echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4767if test "${ac_cv_c_compiler_gnu+set}" = set; then 4901if test "${ac_cv_c_compiler_gnu+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6 4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4769else 4903else
4770 cat >conftest.$ac_ext <<_ACEOF 4904 cat >conftest.$ac_ext <<_ACEOF
4771#line $LINENO "configure"
4772/* confdefs.h. */ 4905/* confdefs.h. */
4773_ACEOF 4906_ACEOF
4774cat confdefs.h >>conftest.$ac_ext 4907cat confdefs.h >>conftest.$ac_ext
4775cat >>conftest.$ac_ext <<_ACEOF 4908cat >>conftest.$ac_ext <<_ACEOF
4776/* end confdefs.h. */ 4909/* end confdefs.h. */
4786 return 0; 4919 return 0;
4787} 4920}
4788_ACEOF 4921_ACEOF
4789rm -f conftest.$ac_objext 4922rm -f conftest.$ac_objext
4790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4791 (eval $ac_compile) 2>&5 4924 (eval $ac_compile) 2>conftest.er1
4792 ac_status=$? 4925 ac_status=$?
4926 grep -v '^ *+' conftest.er1 >conftest.err
4927 rm -f conftest.er1
4928 cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } && 4930 (exit $ac_status); } &&
4795 { ac_try='test -s conftest.$ac_objext' 4931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 (eval $ac_try) 2>&5 4933 (eval $ac_try) 2>&5
4798 ac_status=$? 4934 ac_status=$?
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest.$ac_objext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 (eval $ac_try) 2>&5
4940 ac_status=$?
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; }; then 4942 (exit $ac_status); }; }; then
4801 ac_compiler_gnu=yes 4943 ac_compiler_gnu=yes
4802else 4944else
4803 echo "$as_me: failed program was:" >&5 4945 echo "$as_me: failed program was:" >&5
4804sed 's/^/| /' conftest.$ac_ext >&5 4946sed 's/^/| /' conftest.$ac_ext >&5
4805 4947
4806ac_compiler_gnu=no 4948ac_compiler_gnu=no
4807fi 4949fi
4808rm -f conftest.$ac_objext conftest.$ac_ext 4950rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4809ac_cv_c_compiler_gnu=$ac_compiler_gnu 4951ac_cv_c_compiler_gnu=$ac_compiler_gnu
4810 4952
4811fi 4953fi
4812echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4954echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4813echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 4955echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4819echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 4961echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4820if test "${ac_cv_prog_cc_g+set}" = set; then 4962if test "${ac_cv_prog_cc_g+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6 4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4822else 4964else
4823 cat >conftest.$ac_ext <<_ACEOF 4965 cat >conftest.$ac_ext <<_ACEOF
4824#line $LINENO "configure"
4825/* confdefs.h. */ 4966/* confdefs.h. */
4826_ACEOF 4967_ACEOF
4827cat confdefs.h >>conftest.$ac_ext 4968cat confdefs.h >>conftest.$ac_ext
4828cat >>conftest.$ac_ext <<_ACEOF 4969cat >>conftest.$ac_ext <<_ACEOF
4829/* end confdefs.h. */ 4970/* end confdefs.h. */
4836 return 0; 4977 return 0;
4837} 4978}
4838_ACEOF 4979_ACEOF
4839rm -f conftest.$ac_objext 4980rm -f conftest.$ac_objext
4840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4981if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>&5 4982 (eval $ac_compile) 2>conftest.er1
4842 ac_status=$? 4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } && 4988 (exit $ac_status); } &&
4845 { ac_try='test -s conftest.$ac_objext' 4989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 (eval $ac_try) 2>&5 4991 (eval $ac_try) 2>&5
4848 ac_status=$? 4992 ac_status=$?
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; } &&
4995 { ac_try='test -s conftest.$ac_objext'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 (eval $ac_try) 2>&5
4998 ac_status=$?
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; }; then 5000 (exit $ac_status); }; }; then
4851 ac_cv_prog_cc_g=yes 5001 ac_cv_prog_cc_g=yes
4852else 5002else
4853 echo "$as_me: failed program was:" >&5 5003 echo "$as_me: failed program was:" >&5
4854sed 's/^/| /' conftest.$ac_ext >&5 5004sed 's/^/| /' conftest.$ac_ext >&5
4855 5005
4856ac_cv_prog_cc_g=no 5006ac_cv_prog_cc_g=no
4857fi 5007fi
4858rm -f conftest.$ac_objext conftest.$ac_ext 5008rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4859fi 5009fi
4860echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5010echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4861echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 5011echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4862if test "$ac_test_CFLAGS" = set; then 5012if test "$ac_test_CFLAGS" = set; then
4863 CFLAGS=$ac_save_CFLAGS 5013 CFLAGS=$ac_save_CFLAGS
4880 echo $ECHO_N "(cached) $ECHO_C" >&6 5030 echo $ECHO_N "(cached) $ECHO_C" >&6
4881else 5031else
4882 ac_cv_prog_cc_stdc=no 5032 ac_cv_prog_cc_stdc=no
4883ac_save_CC=$CC 5033ac_save_CC=$CC
4884cat >conftest.$ac_ext <<_ACEOF 5034cat >conftest.$ac_ext <<_ACEOF
4885#line $LINENO "configure"
4886/* confdefs.h. */ 5035/* confdefs.h. */
4887_ACEOF 5036_ACEOF
4888cat confdefs.h >>conftest.$ac_ext 5037cat confdefs.h >>conftest.$ac_ext
4889cat >>conftest.$ac_ext <<_ACEOF 5038cat >>conftest.$ac_ext <<_ACEOF
4890/* end confdefs.h. */ 5039/* end confdefs.h. */
4908 va_start (v,p); 5057 va_start (v,p);
4909 s = g (p, va_arg (v,int)); 5058 s = g (p, va_arg (v,int));
4910 va_end (v); 5059 va_end (v);
4911 return s; 5060 return s;
4912} 5061}
5062
5063/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5064 function prototypes and stuff, but not '\xHH' hex character constants.
5065 These don't provoke an error unfortunately, instead are silently treated
5066 as 'x'. The following induces an error, until -std1 is added to get
5067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5068 array size at least. It's necessary to write '\x00'==0 to get something
5069 that's true only with -std1. */
5070int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5071
4913int test (int i, double x); 5072int test (int i, double x);
4914struct s1 {int (*f) (int a);}; 5073struct s1 {int (*f) (int a);};
4915struct s2 {int (*f) (double a);}; 5074struct s2 {int (*f) (double a);};
4916int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5075int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4917int argc; 5076int argc;
4934for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5093for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4935do 5094do
4936 CC="$ac_save_CC $ac_arg" 5095 CC="$ac_save_CC $ac_arg"
4937 rm -f conftest.$ac_objext 5096 rm -f conftest.$ac_objext
4938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>&5 5098 (eval $ac_compile) 2>conftest.er1
4940 ac_status=$? 5099 ac_status=$?
5100 grep -v '^ *+' conftest.er1 >conftest.err
5101 rm -f conftest.er1
5102 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } && 5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 (eval $ac_try) 2>&5
5108 ac_status=$?
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); }; } &&
4943 { ac_try='test -s conftest.$ac_objext' 5111 { ac_try='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 (eval $ac_try) 2>&5 5113 (eval $ac_try) 2>&5
4946 ac_status=$? 5114 ac_status=$?
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then 5116 (exit $ac_status); }; }; then
4951else 5119else
4952 echo "$as_me: failed program was:" >&5 5120 echo "$as_me: failed program was:" >&5
4953sed 's/^/| /' conftest.$ac_ext >&5 5121sed 's/^/| /' conftest.$ac_ext >&5
4954 5122
4955fi 5123fi
4956rm -f conftest.$ac_objext 5124rm -f conftest.err conftest.$ac_objext
4957done 5125done
4958rm -f conftest.$ac_ext conftest.$ac_objext 5126rm -f conftest.$ac_ext conftest.$ac_objext
4959CC=$ac_save_CC 5127CC=$ac_save_CC
4960 5128
4961fi 5129fi
4979 choke me 5147 choke me
4980#endif 5148#endif
4981_ACEOF 5149_ACEOF
4982rm -f conftest.$ac_objext 5150rm -f conftest.$ac_objext
4983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5151if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>&5 5152 (eval $ac_compile) 2>conftest.er1
4985 ac_status=$? 5153 ac_status=$?
5154 grep -v '^ *+' conftest.er1 >conftest.err
5155 rm -f conftest.er1
5156 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } && 5158 (exit $ac_status); } &&
5159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 (eval $ac_try) 2>&5
5162 ac_status=$?
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; } &&
4988 { ac_try='test -s conftest.$ac_objext' 5165 { ac_try='test -s conftest.$ac_objext'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 (eval $ac_try) 2>&5 5167 (eval $ac_try) 2>&5
4991 ac_status=$? 5168 ac_status=$?
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; }; then 5170 (exit $ac_status); }; }; then
4998 'extern "C" void exit (int) throw ();' \ 5175 'extern "C" void exit (int) throw ();' \
4999 'extern "C" void exit (int);' \ 5176 'extern "C" void exit (int);' \
5000 'void exit (int);' 5177 'void exit (int);'
5001do 5178do
5002 cat >conftest.$ac_ext <<_ACEOF 5179 cat >conftest.$ac_ext <<_ACEOF
5003#line $LINENO "configure"
5004/* confdefs.h. */ 5180/* confdefs.h. */
5005_ACEOF 5181_ACEOF
5006cat confdefs.h >>conftest.$ac_ext 5182cat confdefs.h >>conftest.$ac_ext
5007cat >>conftest.$ac_ext <<_ACEOF 5183cat >>conftest.$ac_ext <<_ACEOF
5008/* end confdefs.h. */ 5184/* end confdefs.h. */
5016 return 0; 5192 return 0;
5017} 5193}
5018_ACEOF 5194_ACEOF
5019rm -f conftest.$ac_objext 5195rm -f conftest.$ac_objext
5020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5021 (eval $ac_compile) 2>&5 5197 (eval $ac_compile) 2>conftest.er1
5022 ac_status=$? 5198 ac_status=$?
5199 grep -v '^ *+' conftest.er1 >conftest.err
5200 rm -f conftest.er1
5201 cat conftest.err >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } && 5203 (exit $ac_status); } &&
5025 { ac_try='test -s conftest.$ac_objext' 5204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 (eval $ac_try) 2>&5 5206 (eval $ac_try) 2>&5
5028 ac_status=$? 5207 ac_status=$?
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; } &&
5210 { ac_try='test -s conftest.$ac_objext'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 (eval $ac_try) 2>&5
5213 ac_status=$?
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then 5215 (exit $ac_status); }; }; then
5031 : 5216 :
5032else 5217else
5033 echo "$as_me: failed program was:" >&5 5218 echo "$as_me: failed program was:" >&5
5034sed 's/^/| /' conftest.$ac_ext >&5 5219sed 's/^/| /' conftest.$ac_ext >&5
5035 5220
5036continue 5221continue
5037fi 5222fi
5038rm -f conftest.$ac_objext conftest.$ac_ext 5223rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5039 cat >conftest.$ac_ext <<_ACEOF 5224 cat >conftest.$ac_ext <<_ACEOF
5040#line $LINENO "configure"
5041/* confdefs.h. */ 5225/* confdefs.h. */
5042_ACEOF 5226_ACEOF
5043cat confdefs.h >>conftest.$ac_ext 5227cat confdefs.h >>conftest.$ac_ext
5044cat >>conftest.$ac_ext <<_ACEOF 5228cat >>conftest.$ac_ext <<_ACEOF
5045/* end confdefs.h. */ 5229/* end confdefs.h. */
5052 return 0; 5236 return 0;
5053} 5237}
5054_ACEOF 5238_ACEOF
5055rm -f conftest.$ac_objext 5239rm -f conftest.$ac_objext
5056if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5240if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>&5 5241 (eval $ac_compile) 2>conftest.er1
5058 ac_status=$? 5242 ac_status=$?
5243 grep -v '^ *+' conftest.er1 >conftest.err
5244 rm -f conftest.er1
5245 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } && 5247 (exit $ac_status); } &&
5061 { ac_try='test -s conftest.$ac_objext' 5248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 (eval $ac_try) 2>&5 5250 (eval $ac_try) 2>&5
5064 ac_status=$? 5251 ac_status=$?
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; } &&
5254 { ac_try='test -s conftest.$ac_objext'
5255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 (eval $ac_try) 2>&5
5257 ac_status=$?
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then 5259 (exit $ac_status); }; }; then
5067 break 5260 break
5068else 5261else
5069 echo "$as_me: failed program was:" >&5 5262 echo "$as_me: failed program was:" >&5
5070sed 's/^/| /' conftest.$ac_ext >&5 5263sed 's/^/| /' conftest.$ac_ext >&5
5071 5264
5072fi 5265fi
5073rm -f conftest.$ac_objext conftest.$ac_ext 5266rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5074done 5267done
5075rm -f conftest* 5268rm -f conftest*
5076if test -n "$ac_declaration"; then 5269if test -n "$ac_declaration"; then
5077 echo '#ifdef __cplusplus' >>confdefs.h 5270 echo '#ifdef __cplusplus' >>confdefs.h
5078 echo $ac_declaration >>confdefs.h 5271 echo $ac_declaration >>confdefs.h
5082else 5275else
5083 echo "$as_me: failed program was:" >&5 5276 echo "$as_me: failed program was:" >&5
5084sed 's/^/| /' conftest.$ac_ext >&5 5277sed 's/^/| /' conftest.$ac_ext >&5
5085 5278
5086fi 5279fi
5087rm -f conftest.$ac_objext conftest.$ac_ext 5280rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5088ac_ext=c 5281ac_ext=c
5089ac_cpp='$CPP $CPPFLAGS' 5282ac_cpp='$CPP $CPPFLAGS'
5090ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5283ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5284ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092ac_compiler_gnu=$ac_cv_c_compiler_gnu 5285ac_compiler_gnu=$ac_cv_c_compiler_gnu
5219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5220 # <limits.h> exists even on freestanding compilers. 5413 # <limits.h> exists even on freestanding compilers.
5221 # On the NeXT, cc -E runs the code through the compiler's parser, 5414 # On the NeXT, cc -E runs the code through the compiler's parser,
5222 # not just through cpp. "Syntax error" is here to catch this case. 5415 # not just through cpp. "Syntax error" is here to catch this case.
5223 cat >conftest.$ac_ext <<_ACEOF 5416 cat >conftest.$ac_ext <<_ACEOF
5224#line $LINENO "configure"
5225/* confdefs.h. */ 5417/* confdefs.h. */
5226_ACEOF 5418_ACEOF
5227cat confdefs.h >>conftest.$ac_ext 5419cat confdefs.h >>conftest.$ac_ext
5228cat >>conftest.$ac_ext <<_ACEOF 5420cat >>conftest.$ac_ext <<_ACEOF
5229/* end confdefs.h. */ 5421/* end confdefs.h. */
5230#ifdef __STDC__ 5422#ifdef __STDC__
5231# include <limits.h> 5423# include <limits.h>
5232#else 5424#else
5233# include <assert.h> 5425# include <assert.h>
5234#endif 5426#endif
5235 Syntax error 5427 Syntax error
5236_ACEOF 5428_ACEOF
5237if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5429if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5239 ac_status=$? 5431 ac_status=$?
5240 grep -v '^ *+' conftest.er1 >conftest.err 5432 grep -v '^ *+' conftest.er1 >conftest.err
5242 cat conftest.err >&5 5434 cat conftest.err >&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } >/dev/null; then 5436 (exit $ac_status); } >/dev/null; then
5245 if test -s conftest.err; then 5437 if test -s conftest.err; then
5246 ac_cpp_err=$ac_c_preproc_warn_flag 5438 ac_cpp_err=$ac_c_preproc_warn_flag
5439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5247 else 5440 else
5248 ac_cpp_err= 5441 ac_cpp_err=
5249 fi 5442 fi
5250else 5443else
5251 ac_cpp_err=yes 5444 ac_cpp_err=yes
5262rm -f conftest.err conftest.$ac_ext 5455rm -f conftest.err conftest.$ac_ext
5263 5456
5264 # OK, works on sane cases. Now check whether non-existent headers 5457 # OK, works on sane cases. Now check whether non-existent headers
5265 # can be detected and how. 5458 # can be detected and how.
5266 cat >conftest.$ac_ext <<_ACEOF 5459 cat >conftest.$ac_ext <<_ACEOF
5267#line $LINENO "configure"
5268/* confdefs.h. */ 5460/* confdefs.h. */
5269_ACEOF 5461_ACEOF
5270cat confdefs.h >>conftest.$ac_ext 5462cat confdefs.h >>conftest.$ac_ext
5271cat >>conftest.$ac_ext <<_ACEOF 5463cat >>conftest.$ac_ext <<_ACEOF
5272/* end confdefs.h. */ 5464/* end confdefs.h. */
5280 cat conftest.err >&5 5472 cat conftest.err >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } >/dev/null; then 5474 (exit $ac_status); } >/dev/null; then
5283 if test -s conftest.err; then 5475 if test -s conftest.err; then
5284 ac_cpp_err=$ac_c_preproc_warn_flag 5476 ac_cpp_err=$ac_c_preproc_warn_flag
5477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5285 else 5478 else
5286 ac_cpp_err= 5479 ac_cpp_err=
5287 fi 5480 fi
5288else 5481else
5289 ac_cpp_err=yes 5482 ac_cpp_err=yes
5326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5327 # <limits.h> exists even on freestanding compilers. 5520 # <limits.h> exists even on freestanding compilers.
5328 # On the NeXT, cc -E runs the code through the compiler's parser, 5521 # On the NeXT, cc -E runs the code through the compiler's parser,
5329 # not just through cpp. "Syntax error" is here to catch this case. 5522 # not just through cpp. "Syntax error" is here to catch this case.
5330 cat >conftest.$ac_ext <<_ACEOF 5523 cat >conftest.$ac_ext <<_ACEOF
5331#line $LINENO "configure"
5332/* confdefs.h. */ 5524/* confdefs.h. */
5333_ACEOF 5525_ACEOF
5334cat confdefs.h >>conftest.$ac_ext 5526cat confdefs.h >>conftest.$ac_ext
5335cat >>conftest.$ac_ext <<_ACEOF 5527cat >>conftest.$ac_ext <<_ACEOF
5336/* end confdefs.h. */ 5528/* end confdefs.h. */
5337#ifdef __STDC__ 5529#ifdef __STDC__
5338# include <limits.h> 5530# include <limits.h>
5339#else 5531#else
5340# include <assert.h> 5532# include <assert.h>
5341#endif 5533#endif
5342 Syntax error 5534 Syntax error
5343_ACEOF 5535_ACEOF
5344if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5536if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5346 ac_status=$? 5538 ac_status=$?
5347 grep -v '^ *+' conftest.er1 >conftest.err 5539 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5 5541 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } >/dev/null; then 5543 (exit $ac_status); } >/dev/null; then
5352 if test -s conftest.err; then 5544 if test -s conftest.err; then
5353 ac_cpp_err=$ac_c_preproc_warn_flag 5545 ac_cpp_err=$ac_c_preproc_warn_flag
5546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5354 else 5547 else
5355 ac_cpp_err= 5548 ac_cpp_err=
5356 fi 5549 fi
5357else 5550else
5358 ac_cpp_err=yes 5551 ac_cpp_err=yes
5369rm -f conftest.err conftest.$ac_ext 5562rm -f conftest.err conftest.$ac_ext
5370 5563
5371 # OK, works on sane cases. Now check whether non-existent headers 5564 # OK, works on sane cases. Now check whether non-existent headers
5372 # can be detected and how. 5565 # can be detected and how.
5373 cat >conftest.$ac_ext <<_ACEOF 5566 cat >conftest.$ac_ext <<_ACEOF
5374#line $LINENO "configure"
5375/* confdefs.h. */ 5567/* confdefs.h. */
5376_ACEOF 5568_ACEOF
5377cat confdefs.h >>conftest.$ac_ext 5569cat confdefs.h >>conftest.$ac_ext
5378cat >>conftest.$ac_ext <<_ACEOF 5570cat >>conftest.$ac_ext <<_ACEOF
5379/* end confdefs.h. */ 5571/* end confdefs.h. */
5387 cat conftest.err >&5 5579 cat conftest.err >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } >/dev/null; then 5581 (exit $ac_status); } >/dev/null; then
5390 if test -s conftest.err; then 5582 if test -s conftest.err; then
5391 ac_cpp_err=$ac_c_preproc_warn_flag 5583 ac_cpp_err=$ac_c_preproc_warn_flag
5584 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5392 else 5585 else
5393 ac_cpp_err= 5586 ac_cpp_err=
5394 fi 5587 fi
5395else 5588else
5396 ac_cpp_err=yes 5589 ac_cpp_err=yes
5544echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 5737echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5545if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 5738if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6 5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5547else 5740else
5548 cat >conftest.$ac_ext <<_ACEOF 5741 cat >conftest.$ac_ext <<_ACEOF
5549#line $LINENO "configure"
5550/* confdefs.h. */ 5742/* confdefs.h. */
5551_ACEOF 5743_ACEOF
5552cat confdefs.h >>conftest.$ac_ext 5744cat confdefs.h >>conftest.$ac_ext
5553cat >>conftest.$ac_ext <<_ACEOF 5745cat >>conftest.$ac_ext <<_ACEOF
5554/* end confdefs.h. */ 5746/* end confdefs.h. */
5564 return 0; 5756 return 0;
5565} 5757}
5566_ACEOF 5758_ACEOF
5567rm -f conftest.$ac_objext 5759rm -f conftest.$ac_objext
5568if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5760if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569 (eval $ac_compile) 2>&5 5761 (eval $ac_compile) 2>conftest.er1
5570 ac_status=$? 5762 ac_status=$?
5763 grep -v '^ *+' conftest.er1 >conftest.err
5764 rm -f conftest.er1
5765 cat conftest.err >&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } && 5767 (exit $ac_status); } &&
5573 { ac_try='test -s conftest.$ac_objext' 5768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5 5770 (eval $ac_try) 2>&5
5576 ac_status=$? 5771 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try='test -s conftest.$ac_objext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 (eval $ac_try) 2>&5
5777 ac_status=$?
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then 5779 (exit $ac_status); }; }; then
5579 ac_compiler_gnu=yes 5780 ac_compiler_gnu=yes
5580else 5781else
5581 echo "$as_me: failed program was:" >&5 5782 echo "$as_me: failed program was:" >&5
5582sed 's/^/| /' conftest.$ac_ext >&5 5783sed 's/^/| /' conftest.$ac_ext >&5
5583 5784
5584ac_compiler_gnu=no 5785ac_compiler_gnu=no
5585fi 5786fi
5586rm -f conftest.$ac_objext conftest.$ac_ext 5787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5587ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5788ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5588 5789
5589fi 5790fi
5590echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 5791echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5591echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 5792echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5597echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 5798echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5598if test "${ac_cv_prog_cxx_g+set}" = set; then 5799if test "${ac_cv_prog_cxx_g+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6 5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5600else 5801else
5601 cat >conftest.$ac_ext <<_ACEOF 5802 cat >conftest.$ac_ext <<_ACEOF
5602#line $LINENO "configure"
5603/* confdefs.h. */ 5803/* confdefs.h. */
5604_ACEOF 5804_ACEOF
5605cat confdefs.h >>conftest.$ac_ext 5805cat confdefs.h >>conftest.$ac_ext
5606cat >>conftest.$ac_ext <<_ACEOF 5806cat >>conftest.$ac_ext <<_ACEOF
5607/* end confdefs.h. */ 5807/* end confdefs.h. */
5614 return 0; 5814 return 0;
5615} 5815}
5616_ACEOF 5816_ACEOF
5617rm -f conftest.$ac_objext 5817rm -f conftest.$ac_objext
5618if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5818if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619 (eval $ac_compile) 2>&5 5819 (eval $ac_compile) 2>conftest.er1
5620 ac_status=$? 5820 ac_status=$?
5821 grep -v '^ *+' conftest.er1 >conftest.err
5822 rm -f conftest.er1
5823 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && 5825 (exit $ac_status); } &&
5623 { ac_try='test -s conftest.$ac_objext' 5826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 (eval $ac_try) 2>&5 5828 (eval $ac_try) 2>&5
5626 ac_status=$? 5829 ac_status=$?
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; } &&
5832 { ac_try='test -s conftest.$ac_objext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 (eval $ac_try) 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then 5837 (exit $ac_status); }; }; then
5629 ac_cv_prog_cxx_g=yes 5838 ac_cv_prog_cxx_g=yes
5630else 5839else
5631 echo "$as_me: failed program was:" >&5 5840 echo "$as_me: failed program was:" >&5
5632sed 's/^/| /' conftest.$ac_ext >&5 5841sed 's/^/| /' conftest.$ac_ext >&5
5633 5842
5634ac_cv_prog_cxx_g=no 5843ac_cv_prog_cxx_g=no
5635fi 5844fi
5636rm -f conftest.$ac_objext conftest.$ac_ext 5845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5637fi 5846fi
5638echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 5847echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5639echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 5848echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5640if test "$ac_test_CXXFLAGS" = set; then 5849if test "$ac_test_CXXFLAGS" = set; then
5641 CXXFLAGS=$ac_save_CXXFLAGS 5850 CXXFLAGS=$ac_save_CXXFLAGS
5659 'extern "C" void exit (int) throw ();' \ 5868 'extern "C" void exit (int) throw ();' \
5660 'extern "C" void exit (int);' \ 5869 'extern "C" void exit (int);' \
5661 'void exit (int);' 5870 'void exit (int);'
5662do 5871do
5663 cat >conftest.$ac_ext <<_ACEOF 5872 cat >conftest.$ac_ext <<_ACEOF
5664#line $LINENO "configure"
5665/* confdefs.h. */ 5873/* confdefs.h. */
5666_ACEOF 5874_ACEOF
5667cat confdefs.h >>conftest.$ac_ext 5875cat confdefs.h >>conftest.$ac_ext
5668cat >>conftest.$ac_ext <<_ACEOF 5876cat >>conftest.$ac_ext <<_ACEOF
5669/* end confdefs.h. */ 5877/* end confdefs.h. */
5677 return 0; 5885 return 0;
5678} 5886}
5679_ACEOF 5887_ACEOF
5680rm -f conftest.$ac_objext 5888rm -f conftest.$ac_objext
5681if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 (eval $ac_compile) 2>&5 5890 (eval $ac_compile) 2>conftest.er1
5683 ac_status=$? 5891 ac_status=$?
5892 grep -v '^ *+' conftest.er1 >conftest.err
5893 rm -f conftest.er1
5894 cat conftest.err >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } && 5896 (exit $ac_status); } &&
5686 { ac_try='test -s conftest.$ac_objext' 5897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 (eval $ac_try) 2>&5 5899 (eval $ac_try) 2>&5
5689 ac_status=$? 5900 ac_status=$?
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try='test -s conftest.$ac_objext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 (eval $ac_try) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then 5908 (exit $ac_status); }; }; then
5692 : 5909 :
5693else 5910else
5694 echo "$as_me: failed program was:" >&5 5911 echo "$as_me: failed program was:" >&5
5695sed 's/^/| /' conftest.$ac_ext >&5 5912sed 's/^/| /' conftest.$ac_ext >&5
5696 5913
5697continue 5914continue
5698fi 5915fi
5699rm -f conftest.$ac_objext conftest.$ac_ext 5916rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5700 cat >conftest.$ac_ext <<_ACEOF 5917 cat >conftest.$ac_ext <<_ACEOF
5701#line $LINENO "configure"
5702/* confdefs.h. */ 5918/* confdefs.h. */
5703_ACEOF 5919_ACEOF
5704cat confdefs.h >>conftest.$ac_ext 5920cat confdefs.h >>conftest.$ac_ext
5705cat >>conftest.$ac_ext <<_ACEOF 5921cat >>conftest.$ac_ext <<_ACEOF
5706/* end confdefs.h. */ 5922/* end confdefs.h. */
5713 return 0; 5929 return 0;
5714} 5930}
5715_ACEOF 5931_ACEOF
5716rm -f conftest.$ac_objext 5932rm -f conftest.$ac_objext
5717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5933if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5718 (eval $ac_compile) 2>&5 5934 (eval $ac_compile) 2>conftest.er1
5719 ac_status=$? 5935 ac_status=$?
5936 grep -v '^ *+' conftest.er1 >conftest.err
5937 rm -f conftest.er1
5938 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } && 5940 (exit $ac_status); } &&
5722 { ac_try='test -s conftest.$ac_objext' 5941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 (eval $ac_try) 2>&5 5943 (eval $ac_try) 2>&5
5725 ac_status=$? 5944 ac_status=$?
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; } &&
5947 { ac_try='test -s conftest.$ac_objext'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 (eval $ac_try) 2>&5
5950 ac_status=$?
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; }; then 5952 (exit $ac_status); }; }; then
5728 break 5953 break
5729else 5954else
5730 echo "$as_me: failed program was:" >&5 5955 echo "$as_me: failed program was:" >&5
5731sed 's/^/| /' conftest.$ac_ext >&5 5956sed 's/^/| /' conftest.$ac_ext >&5
5732 5957
5733fi 5958fi
5734rm -f conftest.$ac_objext conftest.$ac_ext 5959rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5735done 5960done
5736rm -f conftest* 5961rm -f conftest*
5737if test -n "$ac_declaration"; then 5962if test -n "$ac_declaration"; then
5738 echo '#ifdef __cplusplus' >>confdefs.h 5963 echo '#ifdef __cplusplus' >>confdefs.h
5739 echo $ac_declaration >>confdefs.h 5964 echo $ac_declaration >>confdefs.h
5870if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6095if test "${ac_cv_prog_gcc_traditional+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6 6096 echo $ECHO_N "(cached) $ECHO_C" >&6
5872else 6097else
5873 ac_pattern="Autoconf.*'x'" 6098 ac_pattern="Autoconf.*'x'"
5874 cat >conftest.$ac_ext <<_ACEOF 6099 cat >conftest.$ac_ext <<_ACEOF
5875#line $LINENO "configure"
5876/* confdefs.h. */ 6100/* confdefs.h. */
5877_ACEOF 6101_ACEOF
5878cat confdefs.h >>conftest.$ac_ext 6102cat confdefs.h >>conftest.$ac_ext
5879cat >>conftest.$ac_ext <<_ACEOF 6103cat >>conftest.$ac_ext <<_ACEOF
5880/* end confdefs.h. */ 6104/* end confdefs.h. */
5890rm -f conftest* 6114rm -f conftest*
5891 6115
5892 6116
5893 if test $ac_cv_prog_gcc_traditional = no; then 6117 if test $ac_cv_prog_gcc_traditional = no; then
5894 cat >conftest.$ac_ext <<_ACEOF 6118 cat >conftest.$ac_ext <<_ACEOF
5895#line $LINENO "configure"
5896/* confdefs.h. */ 6119/* confdefs.h. */
5897_ACEOF 6120_ACEOF
5898cat confdefs.h >>conftest.$ac_ext 6121cat confdefs.h >>conftest.$ac_ext
5899cat >>conftest.$ac_ext <<_ACEOF 6122cat >>conftest.$ac_ext <<_ACEOF
5900/* end confdefs.h. */ 6123/* end confdefs.h. */
5965# AIX /bin/install 6188# AIX /bin/install
5966# AmigaOS /C/install, which installs bootblocks on floppy discs 6189# AmigaOS /C/install, which installs bootblocks on floppy discs
5967# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6190# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5968# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6191# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5969# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 6192# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6193# OS/2's system install, which has a completely different semantic
5970# ./install, which can be erroneously created by make from ./install.sh. 6194# ./install, which can be erroneously created by make from ./install.sh.
5971echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6195echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5972echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 6196echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5973if test -z "$INSTALL"; then 6197if test -z "$INSTALL"; then
5974if test "${ac_cv_path_install+set}" = set; then 6198if test "${ac_cv_path_install+set}" = set; then
5981 test -z "$as_dir" && as_dir=. 6205 test -z "$as_dir" && as_dir=.
5982 # Account for people who put trailing slashes in PATH elements. 6206 # Account for people who put trailing slashes in PATH elements.
5983case $as_dir/ in 6207case $as_dir/ in
5984 ./ | .// | /cC/* | \ 6208 ./ | .// | /cC/* | \
5985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 6209 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6210 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5986 /usr/ucb/* ) ;; 6211 /usr/ucb/* ) ;;
5987 *) 6212 *)
5988 # OSF1 and SCO ODT 3.0 have their own names for install. 6213 # OSF1 and SCO ODT 3.0 have their own names for install.
5989 # Don't use installbsd from OSF since it installs stuff as root 6214 # Don't use installbsd from OSF since it installs stuff as root
5990 # by default. 6215 # by default.
5991 for ac_prog in ginstall scoinst install; do 6216 for ac_prog in ginstall scoinst install; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do 6217 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6218 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5994 if test $ac_prog = install && 6219 if test $ac_prog = install &&
5995 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6220 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5996 # AIX install. It has an incompatible calling convention. 6221 # AIX install. It has an incompatible calling convention.
5997 : 6222 :
5998 elif test $ac_prog = install && 6223 elif test $ac_prog = install &&
5999 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6224 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6000 # program-specific install script used by HP pwplus--don't use. 6225 # program-specific install script used by HP pwplus--don't use.
6001 : 6226 :
6002 else 6227 else
6003 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6228 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6004 break 3 6229 break 3
6005 fi 6230 fi
6006 fi 6231 fi
6007 done 6232 done
6008 done 6233 done
6009 ;; 6234 ;;
6010esac 6235esac
6011done 6236done
6044echo "${ECHO_T}no, using $LN_S" >&6 6269echo "${ECHO_T}no, using $LN_S" >&6
6045fi 6270fi
6046 6271
6047echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 6272echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6048echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 6273echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6049set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 6274set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6050if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 6275if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6 6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6052else 6277else
6053 cat >conftest.make <<\_ACEOF 6278 cat >conftest.make <<\_ACEOF
6054all: 6279all:
6152else 6377else
6153 RANLIB="$ac_cv_prog_RANLIB" 6378 RANLIB="$ac_cv_prog_RANLIB"
6154fi 6379fi
6155 6380
6156 6381
6157
6158 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6159echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6160if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6162else
6163 ac_check_lib_save_LIBS=$LIBS
6164LIBS="-lcposix $LIBS"
6165cat >conftest.$ac_ext <<_ACEOF
6166#line $LINENO "configure"
6167/* confdefs.h. */
6168_ACEOF
6169cat confdefs.h >>conftest.$ac_ext
6170cat >>conftest.$ac_ext <<_ACEOF
6171/* end confdefs.h. */
6172
6173/* Override any gcc2 internal prototype to avoid an error. */
6174#ifdef __cplusplus
6175extern "C"
6176#endif
6177/* We use char because int might match the return type of a gcc2
6178 builtin and then its argument prototype would still apply. */
6179char strerror ();
6180int
6181main ()
6182{
6183strerror ();
6184 ;
6185 return 0;
6186}
6187_ACEOF
6188rm -f conftest.$ac_objext conftest$ac_exeext
6189if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6190 (eval $ac_link) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 (eval $ac_try) 2>&5
6197 ac_status=$?
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_cposix_strerror=yes
6201else
6202 echo "$as_me: failed program was:" >&5
6203sed 's/^/| /' conftest.$ac_ext >&5
6204
6205ac_cv_lib_cposix_strerror=no
6206fi
6207rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6208LIBS=$ac_check_lib_save_LIBS
6209fi
6210echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6211echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6212if test $ac_cv_lib_cposix_strerror = yes; then
6213 LIBS="$LIBS -lcposix"
6214fi
6215
6216
6217
6218
6219# Check whether --enable-iftype or --disable-iftype was given. 6382# Check whether --enable-iftype or --disable-iftype was given.
6220if test "${enable_iftype+set}" = set; then 6383if test "${enable_iftype+set}" = set; then
6221 enableval="$enable_iftype" 6384 enableval="$enable_iftype"
6222 6385
6223 IFTYPE=`echo $enableval | sed s%/.*%%` 6386 IFTYPE=`echo $enableval | sed s%/.*%%`
6344 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6507 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6345 *ac_space=\ *) 6508 *ac_space=\ *)
6346 # `set' does not quote correctly, so add quotes (double-quote 6509 # `set' does not quote correctly, so add quotes (double-quote
6347 # substitution turns \\\\ into \\, and sed turns \\ into \). 6510 # substitution turns \\\\ into \\, and sed turns \\ into \).
6348 sed -n \ 6511 sed -n \
6349 "s/'/'\\\\''/g; 6512 "s/'/'\\\\''/g;
6350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6351 ;; 6514 ;;
6352 *) 6515 *)
6353 # `set' quotes correctly as required by POSIX, so do not add quotes. 6516 # `set' quotes correctly as required by POSIX, so do not add quotes.
6354 sed -n \ 6517 sed -n \
6355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6518 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6356 ;; 6519 ;;
6357 esac; 6520 esac;
6358} | 6521} |
6359 sed ' 6522 sed '
6360 t clear 6523 t clear
6403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6404 # <limits.h> exists even on freestanding compilers. 6567 # <limits.h> exists even on freestanding compilers.
6405 # On the NeXT, cc -E runs the code through the compiler's parser, 6568 # On the NeXT, cc -E runs the code through the compiler's parser,
6406 # not just through cpp. "Syntax error" is here to catch this case. 6569 # not just through cpp. "Syntax error" is here to catch this case.
6407 cat >conftest.$ac_ext <<_ACEOF 6570 cat >conftest.$ac_ext <<_ACEOF
6408#line $LINENO "configure"
6409/* confdefs.h. */ 6571/* confdefs.h. */
6410_ACEOF 6572_ACEOF
6411cat confdefs.h >>conftest.$ac_ext 6573cat confdefs.h >>conftest.$ac_ext
6412cat >>conftest.$ac_ext <<_ACEOF 6574cat >>conftest.$ac_ext <<_ACEOF
6413/* end confdefs.h. */ 6575/* end confdefs.h. */
6414#ifdef __STDC__ 6576#ifdef __STDC__
6415# include <limits.h> 6577# include <limits.h>
6416#else 6578#else
6417# include <assert.h> 6579# include <assert.h>
6418#endif 6580#endif
6419 Syntax error 6581 Syntax error
6420_ACEOF 6582_ACEOF
6421if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6583if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6423 ac_status=$? 6585 ac_status=$?
6424 grep -v '^ *+' conftest.er1 >conftest.err 6586 grep -v '^ *+' conftest.er1 >conftest.err
6426 cat conftest.err >&5 6588 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } >/dev/null; then 6590 (exit $ac_status); } >/dev/null; then
6429 if test -s conftest.err; then 6591 if test -s conftest.err; then
6430 ac_cpp_err=$ac_cxx_preproc_warn_flag 6592 ac_cpp_err=$ac_cxx_preproc_warn_flag
6593 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6431 else 6594 else
6432 ac_cpp_err= 6595 ac_cpp_err=
6433 fi 6596 fi
6434else 6597else
6435 ac_cpp_err=yes 6598 ac_cpp_err=yes
6446rm -f conftest.err conftest.$ac_ext 6609rm -f conftest.err conftest.$ac_ext
6447 6610
6448 # OK, works on sane cases. Now check whether non-existent headers 6611 # OK, works on sane cases. Now check whether non-existent headers
6449 # can be detected and how. 6612 # can be detected and how.
6450 cat >conftest.$ac_ext <<_ACEOF 6613 cat >conftest.$ac_ext <<_ACEOF
6451#line $LINENO "configure"
6452/* confdefs.h. */ 6614/* confdefs.h. */
6453_ACEOF 6615_ACEOF
6454cat confdefs.h >>conftest.$ac_ext 6616cat confdefs.h >>conftest.$ac_ext
6455cat >>conftest.$ac_ext <<_ACEOF 6617cat >>conftest.$ac_ext <<_ACEOF
6456/* end confdefs.h. */ 6618/* end confdefs.h. */
6464 cat conftest.err >&5 6626 cat conftest.err >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } >/dev/null; then 6628 (exit $ac_status); } >/dev/null; then
6467 if test -s conftest.err; then 6629 if test -s conftest.err; then
6468 ac_cpp_err=$ac_cxx_preproc_warn_flag 6630 ac_cpp_err=$ac_cxx_preproc_warn_flag
6631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6469 else 6632 else
6470 ac_cpp_err= 6633 ac_cpp_err=
6471 fi 6634 fi
6472else 6635else
6473 ac_cpp_err=yes 6636 ac_cpp_err=yes
6510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6511 # <limits.h> exists even on freestanding compilers. 6674 # <limits.h> exists even on freestanding compilers.
6512 # On the NeXT, cc -E runs the code through the compiler's parser, 6675 # On the NeXT, cc -E runs the code through the compiler's parser,
6513 # not just through cpp. "Syntax error" is here to catch this case. 6676 # not just through cpp. "Syntax error" is here to catch this case.
6514 cat >conftest.$ac_ext <<_ACEOF 6677 cat >conftest.$ac_ext <<_ACEOF
6515#line $LINENO "configure"
6516/* confdefs.h. */ 6678/* confdefs.h. */
6517_ACEOF 6679_ACEOF
6518cat confdefs.h >>conftest.$ac_ext 6680cat confdefs.h >>conftest.$ac_ext
6519cat >>conftest.$ac_ext <<_ACEOF 6681cat >>conftest.$ac_ext <<_ACEOF
6520/* end confdefs.h. */ 6682/* end confdefs.h. */
6521#ifdef __STDC__ 6683#ifdef __STDC__
6522# include <limits.h> 6684# include <limits.h>
6523#else 6685#else
6524# include <assert.h> 6686# include <assert.h>
6525#endif 6687#endif
6526 Syntax error 6688 Syntax error
6527_ACEOF 6689_ACEOF
6528if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6690if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6530 ac_status=$? 6692 ac_status=$?
6531 grep -v '^ *+' conftest.er1 >conftest.err 6693 grep -v '^ *+' conftest.er1 >conftest.err
6533 cat conftest.err >&5 6695 cat conftest.err >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } >/dev/null; then 6697 (exit $ac_status); } >/dev/null; then
6536 if test -s conftest.err; then 6698 if test -s conftest.err; then
6537 ac_cpp_err=$ac_cxx_preproc_warn_flag 6699 ac_cpp_err=$ac_cxx_preproc_warn_flag
6700 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6538 else 6701 else
6539 ac_cpp_err= 6702 ac_cpp_err=
6540 fi 6703 fi
6541else 6704else
6542 ac_cpp_err=yes 6705 ac_cpp_err=yes
6553rm -f conftest.err conftest.$ac_ext 6716rm -f conftest.err conftest.$ac_ext
6554 6717
6555 # OK, works on sane cases. Now check whether non-existent headers 6718 # OK, works on sane cases. Now check whether non-existent headers
6556 # can be detected and how. 6719 # can be detected and how.
6557 cat >conftest.$ac_ext <<_ACEOF 6720 cat >conftest.$ac_ext <<_ACEOF
6558#line $LINENO "configure"
6559/* confdefs.h. */ 6721/* confdefs.h. */
6560_ACEOF 6722_ACEOF
6561cat confdefs.h >>conftest.$ac_ext 6723cat confdefs.h >>conftest.$ac_ext
6562cat >>conftest.$ac_ext <<_ACEOF 6724cat >>conftest.$ac_ext <<_ACEOF
6563/* end confdefs.h. */ 6725/* end confdefs.h. */
6571 cat conftest.err >&5 6733 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } >/dev/null; then 6735 (exit $ac_status); } >/dev/null; then
6574 if test -s conftest.err; then 6736 if test -s conftest.err; then
6575 ac_cpp_err=$ac_cxx_preproc_warn_flag 6737 ac_cpp_err=$ac_cxx_preproc_warn_flag
6738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6576 else 6739 else
6577 ac_cpp_err= 6740 ac_cpp_err=
6578 fi 6741 fi
6579else 6742else
6580 ac_cpp_err=yes 6743 ac_cpp_err=yes
6616echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6779echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6617if test "${ac_cv_header_stdc+set}" = set; then 6780if test "${ac_cv_header_stdc+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6 6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6619else 6782else
6620 cat >conftest.$ac_ext <<_ACEOF 6783 cat >conftest.$ac_ext <<_ACEOF
6621#line $LINENO "configure"
6622/* confdefs.h. */ 6784/* confdefs.h. */
6623_ACEOF 6785_ACEOF
6624cat confdefs.h >>conftest.$ac_ext 6786cat confdefs.h >>conftest.$ac_ext
6625cat >>conftest.$ac_ext <<_ACEOF 6787cat >>conftest.$ac_ext <<_ACEOF
6626/* end confdefs.h. */ 6788/* end confdefs.h. */
6637 return 0; 6799 return 0;
6638} 6800}
6639_ACEOF 6801_ACEOF
6640rm -f conftest.$ac_objext 6802rm -f conftest.$ac_objext
6641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6803if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>&5 6804 (eval $ac_compile) 2>conftest.er1
6643 ac_status=$? 6805 ac_status=$?
6806 grep -v '^ *+' conftest.er1 >conftest.err
6807 rm -f conftest.er1
6808 cat conftest.err >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } && 6810 (exit $ac_status); } &&
6646 { ac_try='test -s conftest.$ac_objext' 6811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
6649 ac_status=$? 6814 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; } &&
6817 { ac_try='test -s conftest.$ac_objext'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 (eval $ac_try) 2>&5
6820 ac_status=$?
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then 6822 (exit $ac_status); }; }; then
6652 ac_cv_header_stdc=yes 6823 ac_cv_header_stdc=yes
6653else 6824else
6654 echo "$as_me: failed program was:" >&5 6825 echo "$as_me: failed program was:" >&5
6655sed 's/^/| /' conftest.$ac_ext >&5 6826sed 's/^/| /' conftest.$ac_ext >&5
6656 6827
6657ac_cv_header_stdc=no 6828ac_cv_header_stdc=no
6658fi 6829fi
6659rm -f conftest.$ac_objext conftest.$ac_ext 6830rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 6831
6661if test $ac_cv_header_stdc = yes; then 6832if test $ac_cv_header_stdc = yes; then
6662 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6833 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6663 cat >conftest.$ac_ext <<_ACEOF 6834 cat >conftest.$ac_ext <<_ACEOF
6664#line $LINENO "configure"
6665/* confdefs.h. */ 6835/* confdefs.h. */
6666_ACEOF 6836_ACEOF
6667cat confdefs.h >>conftest.$ac_ext 6837cat confdefs.h >>conftest.$ac_ext
6668cat >>conftest.$ac_ext <<_ACEOF 6838cat >>conftest.$ac_ext <<_ACEOF
6669/* end confdefs.h. */ 6839/* end confdefs.h. */
6681fi 6851fi
6682 6852
6683if test $ac_cv_header_stdc = yes; then 6853if test $ac_cv_header_stdc = yes; then
6684 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6854 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6685 cat >conftest.$ac_ext <<_ACEOF 6855 cat >conftest.$ac_ext <<_ACEOF
6686#line $LINENO "configure"
6687/* confdefs.h. */ 6856/* confdefs.h. */
6688_ACEOF 6857_ACEOF
6689cat confdefs.h >>conftest.$ac_ext 6858cat confdefs.h >>conftest.$ac_ext
6690cat >>conftest.$ac_ext <<_ACEOF 6859cat >>conftest.$ac_ext <<_ACEOF
6691/* end confdefs.h. */ 6860/* end confdefs.h. */
6706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6707 if test "$cross_compiling" = yes; then 6876 if test "$cross_compiling" = yes; then
6708 : 6877 :
6709else 6878else
6710 cat >conftest.$ac_ext <<_ACEOF 6879 cat >conftest.$ac_ext <<_ACEOF
6711#line $LINENO "configure"
6712/* confdefs.h. */ 6880/* confdefs.h. */
6713_ACEOF 6881_ACEOF
6714cat confdefs.h >>conftest.$ac_ext 6882cat confdefs.h >>conftest.$ac_ext
6715cat >>conftest.$ac_ext <<_ACEOF 6883cat >>conftest.$ac_ext <<_ACEOF
6716/* end confdefs.h. */ 6884/* end confdefs.h. */
6718#if ((' ' & 0x0FF) == 0x020) 6886#if ((' ' & 0x0FF) == 0x020)
6719# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6887# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6720# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6888# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6721#else 6889#else
6722# define ISLOWER(c) \ 6890# define ISLOWER(c) \
6723 (('a' <= (c) && (c) <= 'i') \ 6891 (('a' <= (c) && (c) <= 'i') \
6724 || ('j' <= (c) && (c) <= 'r') \ 6892 || ('j' <= (c) && (c) <= 'r') \
6725 || ('s' <= (c) && (c) <= 'z')) 6893 || ('s' <= (c) && (c) <= 'z'))
6726# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6894# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6727#endif 6895#endif
6728 6896
6729#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6897#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6730int 6898int
6731main () 6899main ()
6732{ 6900{
6733 int i; 6901 int i;
6734 for (i = 0; i < 256; i++) 6902 for (i = 0; i < 256; i++)
6735 if (XOR (islower (i), ISLOWER (i)) 6903 if (XOR (islower (i), ISLOWER (i))
6736 || toupper (i) != TOUPPER (i)) 6904 || toupper (i) != TOUPPER (i))
6737 exit(2); 6905 exit(2);
6738 exit (0); 6906 exit (0);
6739} 6907}
6740_ACEOF 6908_ACEOF
6741rm -f conftest$ac_exeext 6909rm -f conftest$ac_exeext
6781 6949
6782 6950
6783 6951
6784 6952
6785for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6953for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6786 inttypes.h stdint.h unistd.h 6954 inttypes.h stdint.h unistd.h
6787do 6955do
6788as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6956as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6789echo "$as_me:$LINENO: checking for $ac_header" >&5 6957echo "$as_me:$LINENO: checking for $ac_header" >&5
6790echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6958echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6791if eval "test \"\${$as_ac_Header+set}\" = set"; then 6959if eval "test \"\${$as_ac_Header+set}\" = set"; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6 6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6793else 6961else
6794 cat >conftest.$ac_ext <<_ACEOF 6962 cat >conftest.$ac_ext <<_ACEOF
6795#line $LINENO "configure"
6796/* confdefs.h. */ 6963/* confdefs.h. */
6797_ACEOF 6964_ACEOF
6798cat confdefs.h >>conftest.$ac_ext 6965cat confdefs.h >>conftest.$ac_ext
6799cat >>conftest.$ac_ext <<_ACEOF 6966cat >>conftest.$ac_ext <<_ACEOF
6800/* end confdefs.h. */ 6967/* end confdefs.h. */
6802 6969
6803#include <$ac_header> 6970#include <$ac_header>
6804_ACEOF 6971_ACEOF
6805rm -f conftest.$ac_objext 6972rm -f conftest.$ac_objext
6806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6973if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807 (eval $ac_compile) 2>&5 6974 (eval $ac_compile) 2>conftest.er1
6808 ac_status=$? 6975 ac_status=$?
6976 grep -v '^ *+' conftest.er1 >conftest.err
6977 rm -f conftest.er1
6978 cat conftest.err >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } && 6980 (exit $ac_status); } &&
6811 { ac_try='test -s conftest.$ac_objext' 6981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 (eval $ac_try) 2>&5 6983 (eval $ac_try) 2>&5
6814 ac_status=$? 6984 ac_status=$?
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; } &&
6987 { ac_try='test -s conftest.$ac_objext'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 (eval $ac_try) 2>&5
6990 ac_status=$?
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then 6992 (exit $ac_status); }; }; then
6817 eval "$as_ac_Header=yes" 6993 eval "$as_ac_Header=yes"
6818else 6994else
6819 echo "$as_me: failed program was:" >&5 6995 echo "$as_me: failed program was:" >&5
6820sed 's/^/| /' conftest.$ac_ext >&5 6996sed 's/^/| /' conftest.$ac_ext >&5
6821 6997
6822eval "$as_ac_Header=no" 6998eval "$as_ac_Header=no"
6823fi 6999fi
6824rm -f conftest.$ac_objext conftest.$ac_ext 7000rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825fi 7001fi
6826echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7002echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6827echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7003echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828if test `eval echo '${'$as_ac_Header'}'` = yes; then 7004if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h <<_ACEOF 7005 cat >>confdefs.h <<_ACEOF
6850else 7026else
6851 # Is the header compilable? 7027 # Is the header compilable?
6852echo "$as_me:$LINENO: checking $ac_header usability" >&5 7028echo "$as_me:$LINENO: checking $ac_header usability" >&5
6853echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7029echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6854cat >conftest.$ac_ext <<_ACEOF 7030cat >conftest.$ac_ext <<_ACEOF
6855#line $LINENO "configure"
6856/* confdefs.h. */ 7031/* confdefs.h. */
6857_ACEOF 7032_ACEOF
6858cat confdefs.h >>conftest.$ac_ext 7033cat confdefs.h >>conftest.$ac_ext
6859cat >>conftest.$ac_ext <<_ACEOF 7034cat >>conftest.$ac_ext <<_ACEOF
6860/* end confdefs.h. */ 7035/* end confdefs.h. */
6861$ac_includes_default 7036$ac_includes_default
6862#include <$ac_header> 7037#include <$ac_header>
6863_ACEOF 7038_ACEOF
6864rm -f conftest.$ac_objext 7039rm -f conftest.$ac_objext
6865if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7040if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>&5 7041 (eval $ac_compile) 2>conftest.er1
6867 ac_status=$? 7042 ac_status=$?
7043 grep -v '^ *+' conftest.er1 >conftest.err
7044 rm -f conftest.er1
7045 cat conftest.err >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } && 7047 (exit $ac_status); } &&
6870 { ac_try='test -s conftest.$ac_objext' 7048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 (eval $ac_try) 2>&5 7050 (eval $ac_try) 2>&5
6873 ac_status=$? 7051 ac_status=$?
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; } &&
7054 { ac_try='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 (eval $ac_try) 2>&5
7057 ac_status=$?
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); }; }; then 7059 (exit $ac_status); }; }; then
6876 ac_header_compiler=yes 7060 ac_header_compiler=yes
6877else 7061else
6878 echo "$as_me: failed program was:" >&5 7062 echo "$as_me: failed program was:" >&5
6879sed 's/^/| /' conftest.$ac_ext >&5 7063sed 's/^/| /' conftest.$ac_ext >&5
6880 7064
6881ac_header_compiler=no 7065ac_header_compiler=no
6882fi 7066fi
6883rm -f conftest.$ac_objext conftest.$ac_ext 7067rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6884echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7068echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6885echo "${ECHO_T}$ac_header_compiler" >&6 7069echo "${ECHO_T}$ac_header_compiler" >&6
6886 7070
6887# Is the header present? 7071# Is the header present?
6888echo "$as_me:$LINENO: checking $ac_header presence" >&5 7072echo "$as_me:$LINENO: checking $ac_header presence" >&5
6889echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7073echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6890cat >conftest.$ac_ext <<_ACEOF 7074cat >conftest.$ac_ext <<_ACEOF
6891#line $LINENO "configure"
6892/* confdefs.h. */ 7075/* confdefs.h. */
6893_ACEOF 7076_ACEOF
6894cat confdefs.h >>conftest.$ac_ext 7077cat confdefs.h >>conftest.$ac_ext
6895cat >>conftest.$ac_ext <<_ACEOF 7078cat >>conftest.$ac_ext <<_ACEOF
6896/* end confdefs.h. */ 7079/* end confdefs.h. */
6904 cat conftest.err >&5 7087 cat conftest.err >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } >/dev/null; then 7089 (exit $ac_status); } >/dev/null; then
6907 if test -s conftest.err; then 7090 if test -s conftest.err; then
6908 ac_cpp_err=$ac_cxx_preproc_warn_flag 7091 ac_cpp_err=$ac_cxx_preproc_warn_flag
7092 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6909 else 7093 else
6910 ac_cpp_err= 7094 ac_cpp_err=
6911 fi 7095 fi
6912else 7096else
6913 ac_cpp_err=yes 7097 ac_cpp_err=yes
6923rm -f conftest.err conftest.$ac_ext 7107rm -f conftest.err conftest.$ac_ext
6924echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7108echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6925echo "${ECHO_T}$ac_header_preproc" >&6 7109echo "${ECHO_T}$ac_header_preproc" >&6
6926 7110
6927# So? What about this header? 7111# So? What about this header?
6928case $ac_header_compiler:$ac_header_preproc in 7112case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6929 yes:no ) 7113 yes:no: )
6930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6931echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7115echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7117echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7118 ac_header_preproc=yes
7119 ;;
7120 no:yes:* )
7121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7122echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7124echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7126echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7128echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6933echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7130echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7132echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6934 ( 7133 (
6935 cat <<\_ASBOX 7134 cat <<\_ASBOX
6936## ------------------------------------ ## 7135## ------------------------------------------ ##
6937## Report this to bug-autoconf@gnu.org. ## 7136## Report this to the AC_PACKAGE_NAME lists. ##
6938## ------------------------------------ ## 7137## ------------------------------------------ ##
6939_ASBOX
6940 ) |
6941 sed "s/^/$as_me: WARNING: /" >&2
6942 ;;
6943 no:yes )
6944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6945echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6947echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6949echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6950 (
6951 cat <<\_ASBOX
6952## ------------------------------------ ##
6953## Report this to bug-autoconf@gnu.org. ##
6954## ------------------------------------ ##
6955_ASBOX 7138_ASBOX
6956 ) | 7139 ) |
6957 sed "s/^/$as_me: WARNING: /" >&2 7140 sed "s/^/$as_me: WARNING: /" >&2
6958 ;; 7141 ;;
6959esac 7142esac
6960echo "$as_me:$LINENO: checking for $ac_header" >&5 7143echo "$as_me:$LINENO: checking for $ac_header" >&5
6961echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7144echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6962if eval "test \"\${$as_ac_Header+set}\" = set"; then 7145if eval "test \"\${$as_ac_Header+set}\" = set"; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6 7146 echo $ECHO_N "(cached) $ECHO_C" >&6
6964else 7147else
6965 eval "$as_ac_Header=$ac_header_preproc" 7148 eval "$as_ac_Header=\$ac_header_preproc"
6966fi 7149fi
6967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7150echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6968echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7151echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6969 7152
6970fi 7153fi
6992 7175
6993 7176
6994 7177
6995 7178
6996 7179
6997
6998
6999for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7180for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
7000 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ 7181 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
7001 sys/poll.h sys/mman.h netinet/in.h 7182 sys/mman.h netinet/in.h
7002do 7183do
7003as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7184as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004if eval "test \"\${$as_ac_Header+set}\" = set"; then 7185if eval "test \"\${$as_ac_Header+set}\" = set"; then
7005 echo "$as_me:$LINENO: checking for $ac_header" >&5 7186 echo "$as_me:$LINENO: checking for $ac_header" >&5
7006echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7012else 7193else
7013 # Is the header compilable? 7194 # Is the header compilable?
7014echo "$as_me:$LINENO: checking $ac_header usability" >&5 7195echo "$as_me:$LINENO: checking $ac_header usability" >&5
7015echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7196echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7016cat >conftest.$ac_ext <<_ACEOF 7197cat >conftest.$ac_ext <<_ACEOF
7017#line $LINENO "configure"
7018/* confdefs.h. */ 7198/* confdefs.h. */
7019_ACEOF 7199_ACEOF
7020cat confdefs.h >>conftest.$ac_ext 7200cat confdefs.h >>conftest.$ac_ext
7021cat >>conftest.$ac_ext <<_ACEOF 7201cat >>conftest.$ac_ext <<_ACEOF
7022/* end confdefs.h. */ 7202/* end confdefs.h. */
7023$ac_includes_default 7203$ac_includes_default
7024#include <$ac_header> 7204#include <$ac_header>
7025_ACEOF 7205_ACEOF
7026rm -f conftest.$ac_objext 7206rm -f conftest.$ac_objext
7027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7207if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7028 (eval $ac_compile) 2>&5 7208 (eval $ac_compile) 2>conftest.er1
7029 ac_status=$? 7209 ac_status=$?
7210 grep -v '^ *+' conftest.er1 >conftest.err
7211 rm -f conftest.er1
7212 cat conftest.err >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } && 7214 (exit $ac_status); } &&
7032 { ac_try='test -s conftest.$ac_objext' 7215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 (eval $ac_try) 2>&5 7217 (eval $ac_try) 2>&5
7035 ac_status=$? 7218 ac_status=$?
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); }; } &&
7221 { ac_try='test -s conftest.$ac_objext'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; }; then 7226 (exit $ac_status); }; }; then
7038 ac_header_compiler=yes 7227 ac_header_compiler=yes
7039else 7228else
7040 echo "$as_me: failed program was:" >&5 7229 echo "$as_me: failed program was:" >&5
7041sed 's/^/| /' conftest.$ac_ext >&5 7230sed 's/^/| /' conftest.$ac_ext >&5
7042 7231
7043ac_header_compiler=no 7232ac_header_compiler=no
7044fi 7233fi
7045rm -f conftest.$ac_objext conftest.$ac_ext 7234rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7046echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7235echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7047echo "${ECHO_T}$ac_header_compiler" >&6 7236echo "${ECHO_T}$ac_header_compiler" >&6
7048 7237
7049# Is the header present? 7238# Is the header present?
7050echo "$as_me:$LINENO: checking $ac_header presence" >&5 7239echo "$as_me:$LINENO: checking $ac_header presence" >&5
7051echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7240echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7052cat >conftest.$ac_ext <<_ACEOF 7241cat >conftest.$ac_ext <<_ACEOF
7053#line $LINENO "configure"
7054/* confdefs.h. */ 7242/* confdefs.h. */
7055_ACEOF 7243_ACEOF
7056cat confdefs.h >>conftest.$ac_ext 7244cat confdefs.h >>conftest.$ac_ext
7057cat >>conftest.$ac_ext <<_ACEOF 7245cat >>conftest.$ac_ext <<_ACEOF
7058/* end confdefs.h. */ 7246/* end confdefs.h. */
7066 cat conftest.err >&5 7254 cat conftest.err >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); } >/dev/null; then 7256 (exit $ac_status); } >/dev/null; then
7069 if test -s conftest.err; then 7257 if test -s conftest.err; then
7070 ac_cpp_err=$ac_cxx_preproc_warn_flag 7258 ac_cpp_err=$ac_cxx_preproc_warn_flag
7259 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7071 else 7260 else
7072 ac_cpp_err= 7261 ac_cpp_err=
7073 fi 7262 fi
7074else 7263else
7075 ac_cpp_err=yes 7264 ac_cpp_err=yes
7085rm -f conftest.err conftest.$ac_ext 7274rm -f conftest.err conftest.$ac_ext
7086echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7275echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7087echo "${ECHO_T}$ac_header_preproc" >&6 7276echo "${ECHO_T}$ac_header_preproc" >&6
7088 7277
7089# So? What about this header? 7278# So? What about this header?
7090case $ac_header_compiler:$ac_header_preproc in 7279case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7091 yes:no ) 7280 yes:no: )
7092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7093echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7282echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7284echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7285 ac_header_preproc=yes
7286 ;;
7287 no:yes:* )
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7289echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7291echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7293echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7295echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7095echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7297echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7299echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7096 ( 7300 (
7097 cat <<\_ASBOX 7301 cat <<\_ASBOX
7098## ------------------------------------ ## 7302## ------------------------------------------ ##
7099## Report this to bug-autoconf@gnu.org. ## 7303## Report this to the AC_PACKAGE_NAME lists. ##
7100## ------------------------------------ ## 7304## ------------------------------------------ ##
7101_ASBOX
7102 ) |
7103 sed "s/^/$as_me: WARNING: /" >&2
7104 ;;
7105 no:yes )
7106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7107echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7109echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7111echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7112 (
7113 cat <<\_ASBOX
7114## ------------------------------------ ##
7115## Report this to bug-autoconf@gnu.org. ##
7116## ------------------------------------ ##
7117_ASBOX 7305_ASBOX
7118 ) | 7306 ) |
7119 sed "s/^/$as_me: WARNING: /" >&2 7307 sed "s/^/$as_me: WARNING: /" >&2
7120 ;; 7308 ;;
7121esac 7309esac
7122echo "$as_me:$LINENO: checking for $ac_header" >&5 7310echo "$as_me:$LINENO: checking for $ac_header" >&5
7123echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7311echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7124if eval "test \"\${$as_ac_Header+set}\" = set"; then 7312if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6 7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7126else 7314else
7127 eval "$as_ac_Header=$ac_header_preproc" 7315 eval "$as_ac_Header=\$ac_header_preproc"
7128fi 7316fi
7129echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7317echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7130echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7318echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7131 7319
7132fi 7320fi
7142 7330
7143 7331
7144 7332
7145 7333
7146 7334
7335
7147for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7336for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7148do 7337do
7149as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7338as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150echo "$as_me:$LINENO: checking for $ac_header" >&5 7339echo "$as_me:$LINENO: checking for $ac_header" >&5
7151echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7340echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7152if eval "test \"\${$as_ac_Header+set}\" = set"; then 7341if eval "test \"\${$as_ac_Header+set}\" = set"; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6 7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7154else 7343else
7155 cat >conftest.$ac_ext <<_ACEOF 7344 cat >conftest.$ac_ext <<_ACEOF
7156#line $LINENO "configure"
7157/* confdefs.h. */ 7345/* confdefs.h. */
7158_ACEOF 7346_ACEOF
7159cat confdefs.h >>conftest.$ac_ext 7347cat confdefs.h >>conftest.$ac_ext
7160cat >>conftest.$ac_ext <<_ACEOF 7348cat >>conftest.$ac_ext <<_ACEOF
7161/* end confdefs.h. */ 7349/* end confdefs.h. */
7175 7363
7176#include <$ac_header> 7364#include <$ac_header>
7177_ACEOF 7365_ACEOF
7178rm -f conftest.$ac_objext 7366rm -f conftest.$ac_objext
7179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7367if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 (eval $ac_compile) 2>&5 7368 (eval $ac_compile) 2>conftest.er1
7181 ac_status=$? 7369 ac_status=$?
7370 grep -v '^ *+' conftest.er1 >conftest.err
7371 rm -f conftest.er1
7372 cat conftest.err >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); } && 7374 (exit $ac_status); } &&
7184 { ac_try='test -s conftest.$ac_objext' 7375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 (eval $ac_try) 2>&5 7377 (eval $ac_try) 2>&5
7187 ac_status=$? 7378 ac_status=$?
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; } &&
7381 { ac_try='test -s conftest.$ac_objext'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 (eval $ac_try) 2>&5
7384 ac_status=$?
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; }; then 7386 (exit $ac_status); }; }; then
7190 eval "$as_ac_Header=yes" 7387 eval "$as_ac_Header=yes"
7191else 7388else
7192 echo "$as_me: failed program was:" >&5 7389 echo "$as_me: failed program was:" >&5
7193sed 's/^/| /' conftest.$ac_ext >&5 7390sed 's/^/| /' conftest.$ac_ext >&5
7194 7391
7195eval "$as_ac_Header=no" 7392eval "$as_ac_Header=no"
7196fi 7393fi
7197rm -f conftest.$ac_objext conftest.$ac_ext 7394rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7198fi 7395fi
7199echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7396echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7200echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7397echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7201if test `eval echo '${'$as_ac_Header'}'` = yes; then 7398if test `eval echo '${'$as_ac_Header'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF 7399 cat >>confdefs.h <<_ACEOF
7212echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7409echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7213if test "${ac_cv_c_const+set}" = set; then 7410if test "${ac_cv_c_const+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6 7411 echo $ECHO_N "(cached) $ECHO_C" >&6
7215else 7412else
7216 cat >conftest.$ac_ext <<_ACEOF 7413 cat >conftest.$ac_ext <<_ACEOF
7217#line $LINENO "configure"
7218/* confdefs.h. */ 7414/* confdefs.h. */
7219_ACEOF 7415_ACEOF
7220cat confdefs.h >>conftest.$ac_ext 7416cat confdefs.h >>conftest.$ac_ext
7221cat >>conftest.$ac_ext <<_ACEOF 7417cat >>conftest.$ac_ext <<_ACEOF
7222/* end confdefs.h. */ 7418/* end confdefs.h. */
7275 return 0; 7471 return 0;
7276} 7472}
7277_ACEOF 7473_ACEOF
7278rm -f conftest.$ac_objext 7474rm -f conftest.$ac_objext
7279if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7475if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7280 (eval $ac_compile) 2>&5 7476 (eval $ac_compile) 2>conftest.er1
7281 ac_status=$? 7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && 7482 (exit $ac_status); } &&
7284 { ac_try='test -s conftest.$ac_objext' 7483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 (eval $ac_try) 2>&5 7485 (eval $ac_try) 2>&5
7287 ac_status=$? 7486 ac_status=$?
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); }; } &&
7489 { ac_try='test -s conftest.$ac_objext'
7490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 (eval $ac_try) 2>&5
7492 ac_status=$?
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then 7494 (exit $ac_status); }; }; then
7290 ac_cv_c_const=yes 7495 ac_cv_c_const=yes
7291else 7496else
7292 echo "$as_me: failed program was:" >&5 7497 echo "$as_me: failed program was:" >&5
7293sed 's/^/| /' conftest.$ac_ext >&5 7498sed 's/^/| /' conftest.$ac_ext >&5
7294 7499
7295ac_cv_c_const=no 7500ac_cv_c_const=no
7296fi 7501fi
7297rm -f conftest.$ac_objext conftest.$ac_ext 7502rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7298fi 7503fi
7299echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 7504echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7300echo "${ECHO_T}$ac_cv_c_const" >&6 7505echo "${ECHO_T}$ac_cv_c_const" >&6
7301if test $ac_cv_c_const = no; then 7506if test $ac_cv_c_const = no; then
7302 7507
7310echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 7515echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7311if test "${ac_cv_type_pid_t+set}" = set; then 7516if test "${ac_cv_type_pid_t+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6 7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7313else 7518else
7314 cat >conftest.$ac_ext <<_ACEOF 7519 cat >conftest.$ac_ext <<_ACEOF
7315#line $LINENO "configure"
7316/* confdefs.h. */ 7520/* confdefs.h. */
7317_ACEOF 7521_ACEOF
7318cat confdefs.h >>conftest.$ac_ext 7522cat confdefs.h >>conftest.$ac_ext
7319cat >>conftest.$ac_ext <<_ACEOF 7523cat >>conftest.$ac_ext <<_ACEOF
7320/* end confdefs.h. */ 7524/* end confdefs.h. */
7330 return 0; 7534 return 0;
7331} 7535}
7332_ACEOF 7536_ACEOF
7333rm -f conftest.$ac_objext 7537rm -f conftest.$ac_objext
7334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7335 (eval $ac_compile) 2>&5 7539 (eval $ac_compile) 2>conftest.er1
7336 ac_status=$? 7540 ac_status=$?
7541 grep -v '^ *+' conftest.er1 >conftest.err
7542 rm -f conftest.er1
7543 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && 7545 (exit $ac_status); } &&
7339 { ac_try='test -s conftest.$ac_objext' 7546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7341 (eval $ac_try) 2>&5 7548 (eval $ac_try) 2>&5
7342 ac_status=$? 7549 ac_status=$?
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; } &&
7552 { ac_try='test -s conftest.$ac_objext'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 (eval $ac_try) 2>&5
7555 ac_status=$?
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; }; then 7557 (exit $ac_status); }; }; then
7345 ac_cv_type_pid_t=yes 7558 ac_cv_type_pid_t=yes
7346else 7559else
7347 echo "$as_me: failed program was:" >&5 7560 echo "$as_me: failed program was:" >&5
7348sed 's/^/| /' conftest.$ac_ext >&5 7561sed 's/^/| /' conftest.$ac_ext >&5
7349 7562
7350ac_cv_type_pid_t=no 7563ac_cv_type_pid_t=no
7351fi 7564fi
7352rm -f conftest.$ac_objext conftest.$ac_ext 7565rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7353fi 7566fi
7354echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 7567echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7355echo "${ECHO_T}$ac_cv_type_pid_t" >&6 7568echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7356if test $ac_cv_type_pid_t = yes; then 7569if test $ac_cv_type_pid_t = yes; then
7357 : 7570 :
7367echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7580echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7368if test "${ac_cv_type_size_t+set}" = set; then 7581if test "${ac_cv_type_size_t+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6 7582 echo $ECHO_N "(cached) $ECHO_C" >&6
7370else 7583else
7371 cat >conftest.$ac_ext <<_ACEOF 7584 cat >conftest.$ac_ext <<_ACEOF
7372#line $LINENO "configure"
7373/* confdefs.h. */ 7585/* confdefs.h. */
7374_ACEOF 7586_ACEOF
7375cat confdefs.h >>conftest.$ac_ext 7587cat confdefs.h >>conftest.$ac_ext
7376cat >>conftest.$ac_ext <<_ACEOF 7588cat >>conftest.$ac_ext <<_ACEOF
7377/* end confdefs.h. */ 7589/* end confdefs.h. */
7387 return 0; 7599 return 0;
7388} 7600}
7389_ACEOF 7601_ACEOF
7390rm -f conftest.$ac_objext 7602rm -f conftest.$ac_objext
7391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7603if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7392 (eval $ac_compile) 2>&5 7604 (eval $ac_compile) 2>conftest.er1
7393 ac_status=$? 7605 ac_status=$?
7606 grep -v '^ *+' conftest.er1 >conftest.err
7607 rm -f conftest.er1
7608 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && 7610 (exit $ac_status); } &&
7396 { ac_try='test -s conftest.$ac_objext' 7611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 (eval $ac_try) 2>&5 7613 (eval $ac_try) 2>&5
7399 ac_status=$? 7614 ac_status=$?
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; } &&
7617 { ac_try='test -s conftest.$ac_objext'
7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 (eval $ac_try) 2>&5
7620 ac_status=$?
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); }; }; then 7622 (exit $ac_status); }; }; then
7402 ac_cv_type_size_t=yes 7623 ac_cv_type_size_t=yes
7403else 7624else
7404 echo "$as_me: failed program was:" >&5 7625 echo "$as_me: failed program was:" >&5
7405sed 's/^/| /' conftest.$ac_ext >&5 7626sed 's/^/| /' conftest.$ac_ext >&5
7406 7627
7407ac_cv_type_size_t=no 7628ac_cv_type_size_t=no
7408fi 7629fi
7409rm -f conftest.$ac_objext conftest.$ac_ext 7630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7410fi 7631fi
7411echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7632echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7412echo "${ECHO_T}$ac_cv_type_size_t" >&6 7633echo "${ECHO_T}$ac_cv_type_size_t" >&6
7413if test $ac_cv_type_size_t = yes; then 7634if test $ac_cv_type_size_t = yes; then
7414 : 7635 :
7424echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 7645echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7425if test "${ac_cv_header_time+set}" = set; then 7646if test "${ac_cv_header_time+set}" = set; then
7426 echo $ECHO_N "(cached) $ECHO_C" >&6 7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7427else 7648else
7428 cat >conftest.$ac_ext <<_ACEOF 7649 cat >conftest.$ac_ext <<_ACEOF
7429#line $LINENO "configure"
7430/* confdefs.h. */ 7650/* confdefs.h. */
7431_ACEOF 7651_ACEOF
7432cat confdefs.h >>conftest.$ac_ext 7652cat confdefs.h >>conftest.$ac_ext
7433cat >>conftest.$ac_ext <<_ACEOF 7653cat >>conftest.$ac_ext <<_ACEOF
7434/* end confdefs.h. */ 7654/* end confdefs.h. */
7445 return 0; 7665 return 0;
7446} 7666}
7447_ACEOF 7667_ACEOF
7448rm -f conftest.$ac_objext 7668rm -f conftest.$ac_objext
7449if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7450 (eval $ac_compile) 2>&5 7670 (eval $ac_compile) 2>conftest.er1
7451 ac_status=$? 7671 ac_status=$?
7672 grep -v '^ *+' conftest.er1 >conftest.err
7673 rm -f conftest.er1
7674 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } && 7676 (exit $ac_status); } &&
7454 { ac_try='test -s conftest.$ac_objext' 7677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5 7679 (eval $ac_try) 2>&5
7457 ac_status=$? 7680 ac_status=$?
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest.$ac_objext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 (eval $ac_try) 2>&5
7686 ac_status=$?
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; }; then 7688 (exit $ac_status); }; }; then
7460 ac_cv_header_time=yes 7689 ac_cv_header_time=yes
7461else 7690else
7462 echo "$as_me: failed program was:" >&5 7691 echo "$as_me: failed program was:" >&5
7463sed 's/^/| /' conftest.$ac_ext >&5 7692sed 's/^/| /' conftest.$ac_ext >&5
7464 7693
7465ac_cv_header_time=no 7694ac_cv_header_time=no
7466fi 7695fi
7467rm -f conftest.$ac_objext conftest.$ac_ext 7696rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7468fi 7697fi
7469echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 7698echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7470echo "${ECHO_T}$ac_cv_header_time" >&6 7699echo "${ECHO_T}$ac_cv_header_time" >&6
7471if test $ac_cv_header_time = yes; then 7700if test $ac_cv_header_time = yes; then
7472 7701
7480echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 7709echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
7481if test "${ac_cv_struct_tm+set}" = set; then 7710if test "${ac_cv_struct_tm+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6 7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7483else 7712else
7484 cat >conftest.$ac_ext <<_ACEOF 7713 cat >conftest.$ac_ext <<_ACEOF
7485#line $LINENO "configure"
7486/* confdefs.h. */ 7714/* confdefs.h. */
7487_ACEOF 7715_ACEOF
7488cat confdefs.h >>conftest.$ac_ext 7716cat confdefs.h >>conftest.$ac_ext
7489cat >>conftest.$ac_ext <<_ACEOF 7717cat >>conftest.$ac_ext <<_ACEOF
7490/* end confdefs.h. */ 7718/* end confdefs.h. */
7499 return 0; 7727 return 0;
7500} 7728}
7501_ACEOF 7729_ACEOF
7502rm -f conftest.$ac_objext 7730rm -f conftest.$ac_objext
7503if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7731if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7504 (eval $ac_compile) 2>&5 7732 (eval $ac_compile) 2>conftest.er1
7505 ac_status=$? 7733 ac_status=$?
7734 grep -v '^ *+' conftest.er1 >conftest.err
7735 rm -f conftest.er1
7736 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && 7738 (exit $ac_status); } &&
7508 { ac_try='test -s conftest.$ac_objext' 7739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 (eval $ac_try) 2>&5 7741 (eval $ac_try) 2>&5
7511 ac_status=$? 7742 ac_status=$?
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; } &&
7745 { ac_try='test -s conftest.$ac_objext'
7746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 (eval $ac_try) 2>&5
7748 ac_status=$?
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; }; then 7750 (exit $ac_status); }; }; then
7514 ac_cv_struct_tm=time.h 7751 ac_cv_struct_tm=time.h
7515else 7752else
7516 echo "$as_me: failed program was:" >&5 7753 echo "$as_me: failed program was:" >&5
7517sed 's/^/| /' conftest.$ac_ext >&5 7754sed 's/^/| /' conftest.$ac_ext >&5
7518 7755
7519ac_cv_struct_tm=sys/time.h 7756ac_cv_struct_tm=sys/time.h
7520fi 7757fi
7521rm -f conftest.$ac_objext conftest.$ac_ext 7758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7522fi 7759fi
7523echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 7760echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7524echo "${ECHO_T}$ac_cv_struct_tm" >&6 7761echo "${ECHO_T}$ac_cv_struct_tm" >&6
7525if test $ac_cv_struct_tm = sys/time.h; then 7762if test $ac_cv_struct_tm = sys/time.h; then
7526 7763
7536if test "${ac_cv_type_socklen_t+set}" = set; then 7773if test "${ac_cv_type_socklen_t+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6 7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7538else 7775else
7539 7776
7540 cat >conftest.$ac_ext <<_ACEOF 7777 cat >conftest.$ac_ext <<_ACEOF
7541#line $LINENO "configure"
7542/* confdefs.h. */ 7778/* confdefs.h. */
7543_ACEOF 7779_ACEOF
7544cat confdefs.h >>conftest.$ac_ext 7780cat confdefs.h >>conftest.$ac_ext
7545cat >>conftest.$ac_ext <<_ACEOF 7781cat >>conftest.$ac_ext <<_ACEOF
7546/* end confdefs.h. */ 7782/* end confdefs.h. */
7554 return 0; 7790 return 0;
7555} 7791}
7556_ACEOF 7792_ACEOF
7557rm -f conftest.$ac_objext 7793rm -f conftest.$ac_objext
7558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7559 (eval $ac_compile) 2>&5 7795 (eval $ac_compile) 2>conftest.er1
7560 ac_status=$? 7796 ac_status=$?
7797 grep -v '^ *+' conftest.er1 >conftest.err
7798 rm -f conftest.er1
7799 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } && 7801 (exit $ac_status); } &&
7563 { ac_try='test -s conftest.$ac_objext' 7802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 (eval $ac_try) 2>&5 7804 (eval $ac_try) 2>&5
7566 ac_status=$? 7805 ac_status=$?
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); }; } &&
7808 { ac_try='test -s conftest.$ac_objext'
7809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7810 (eval $ac_try) 2>&5
7811 ac_status=$?
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; }; then 7813 (exit $ac_status); }; }; then
7569 ac_cv_type_socklen_t=yes 7814 ac_cv_type_socklen_t=yes
7570else 7815else
7571 echo "$as_me: failed program was:" >&5 7816 echo "$as_me: failed program was:" >&5
7572sed 's/^/| /' conftest.$ac_ext >&5 7817sed 's/^/| /' conftest.$ac_ext >&5
7573 7818
7574ac_cv_type_socklen_t=no 7819ac_cv_type_socklen_t=no
7575fi 7820fi
7576rm -f conftest.$ac_objext conftest.$ac_ext 7821rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7577 7822
7578fi 7823fi
7579echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 7824echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7580echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 7825echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7581if test $ac_cv_type_socklen_t = yes; then 7826if test $ac_cv_type_socklen_t = yes; then
7591if test "${ac_cv_struct_addrinfo+set}" = set; then 7836if test "${ac_cv_struct_addrinfo+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6 7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7593else 7838else
7594 7839
7595 cat >conftest.$ac_ext <<_ACEOF 7840 cat >conftest.$ac_ext <<_ACEOF
7596#line $LINENO "configure"
7597/* confdefs.h. */ 7841/* confdefs.h. */
7598_ACEOF 7842_ACEOF
7599cat confdefs.h >>conftest.$ac_ext 7843cat confdefs.h >>conftest.$ac_ext
7600cat >>conftest.$ac_ext <<_ACEOF 7844cat >>conftest.$ac_ext <<_ACEOF
7601/* end confdefs.h. */ 7845/* end confdefs.h. */
7610 return 0; 7854 return 0;
7611} 7855}
7612_ACEOF 7856_ACEOF
7613rm -f conftest.$ac_objext 7857rm -f conftest.$ac_objext
7614if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>&5 7859 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$? 7860 ac_status=$?
7861 grep -v '^ *+' conftest.er1 >conftest.err
7862 rm -f conftest.er1
7863 cat conftest.err >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } && 7865 (exit $ac_status); } &&
7619 { ac_try='test -s conftest.$ac_objext' 7866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621 (eval $ac_try) 2>&5 7868 (eval $ac_try) 2>&5
7622 ac_status=$? 7869 ac_status=$?
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; } &&
7872 { ac_try='test -s conftest.$ac_objext'
7873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7874 (eval $ac_try) 2>&5
7875 ac_status=$?
7876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then 7877 (exit $ac_status); }; }; then
7625 ac_cv_struct_addrinfo=yes 7878 ac_cv_struct_addrinfo=yes
7626else 7879else
7627 echo "$as_me: failed program was:" >&5 7880 echo "$as_me: failed program was:" >&5
7628sed 's/^/| /' conftest.$ac_ext >&5 7881sed 's/^/| /' conftest.$ac_ext >&5
7629 7882
7630ac_cv_struct_addrinfo=no 7883ac_cv_struct_addrinfo=no
7631fi 7884fi
7632rm -f conftest.$ac_objext conftest.$ac_ext 7885rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7633 7886
7634fi 7887fi
7635echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5 7888echo "$as_me:$LINENO: result: $ac_cv_struct_addrinfo" >&5
7636echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6 7889echo "${ECHO_T}$ac_cv_struct_addrinfo" >&6
7637if test $ac_cv_struct_addrinfo = yes; then 7890if test $ac_cv_struct_addrinfo = yes; then
7646echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 7899echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
7647if test "${ac_cv_type_signal+set}" = set; then 7900if test "${ac_cv_type_signal+set}" = set; then
7648 echo $ECHO_N "(cached) $ECHO_C" >&6 7901 echo $ECHO_N "(cached) $ECHO_C" >&6
7649else 7902else
7650 cat >conftest.$ac_ext <<_ACEOF 7903 cat >conftest.$ac_ext <<_ACEOF
7651#line $LINENO "configure"
7652/* confdefs.h. */ 7904/* confdefs.h. */
7653_ACEOF 7905_ACEOF
7654cat confdefs.h >>conftest.$ac_ext 7906cat confdefs.h >>conftest.$ac_ext
7655cat >>conftest.$ac_ext <<_ACEOF 7907cat >>conftest.$ac_ext <<_ACEOF
7656/* end confdefs.h. */ 7908/* end confdefs.h. */
7673 return 0; 7925 return 0;
7674} 7926}
7675_ACEOF 7927_ACEOF
7676rm -f conftest.$ac_objext 7928rm -f conftest.$ac_objext
7677if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7678 (eval $ac_compile) 2>&5 7930 (eval $ac_compile) 2>conftest.er1
7679 ac_status=$? 7931 ac_status=$?
7932 grep -v '^ *+' conftest.er1 >conftest.err
7933 rm -f conftest.er1
7934 cat conftest.err >&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } && 7936 (exit $ac_status); } &&
7682 { ac_try='test -s conftest.$ac_objext' 7937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 (eval $ac_try) 2>&5 7939 (eval $ac_try) 2>&5
7685 ac_status=$? 7940 ac_status=$?
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; } &&
7943 { ac_try='test -s conftest.$ac_objext'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5
7946 ac_status=$?
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; }; then 7948 (exit $ac_status); }; }; then
7688 ac_cv_type_signal=void 7949 ac_cv_type_signal=void
7689else 7950else
7690 echo "$as_me: failed program was:" >&5 7951 echo "$as_me: failed program was:" >&5
7691sed 's/^/| /' conftest.$ac_ext >&5 7952sed 's/^/| /' conftest.$ac_ext >&5
7692 7953
7693ac_cv_type_signal=int 7954ac_cv_type_signal=int
7694fi 7955fi
7695rm -f conftest.$ac_objext conftest.$ac_ext 7956rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7696fi 7957fi
7697echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 7958echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7698echo "${ECHO_T}$ac_cv_type_signal" >&6 7959echo "${ECHO_T}$ac_cv_type_signal" >&6
7699 7960
7700cat >>confdefs.h <<_ACEOF 7961cat >>confdefs.h <<_ACEOF
7714echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7975echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7715if test "${ac_cv_header_stdc+set}" = set; then 7976if test "${ac_cv_header_stdc+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6 7977 echo $ECHO_N "(cached) $ECHO_C" >&6
7717else 7978else
7718 cat >conftest.$ac_ext <<_ACEOF 7979 cat >conftest.$ac_ext <<_ACEOF
7719#line $LINENO "configure"
7720/* confdefs.h. */ 7980/* confdefs.h. */
7721_ACEOF 7981_ACEOF
7722cat confdefs.h >>conftest.$ac_ext 7982cat confdefs.h >>conftest.$ac_ext
7723cat >>conftest.$ac_ext <<_ACEOF 7983cat >>conftest.$ac_ext <<_ACEOF
7724/* end confdefs.h. */ 7984/* end confdefs.h. */
7735 return 0; 7995 return 0;
7736} 7996}
7737_ACEOF 7997_ACEOF
7738rm -f conftest.$ac_objext 7998rm -f conftest.$ac_objext
7739if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7999if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7740 (eval $ac_compile) 2>&5 8000 (eval $ac_compile) 2>conftest.er1
7741 ac_status=$? 8001 ac_status=$?
8002 grep -v '^ *+' conftest.er1 >conftest.err
8003 rm -f conftest.er1
8004 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } && 8006 (exit $ac_status); } &&
7744 { ac_try='test -s conftest.$ac_objext' 8007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 (eval $ac_try) 2>&5 8009 (eval $ac_try) 2>&5
7747 ac_status=$? 8010 ac_status=$?
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; } &&
8013 { ac_try='test -s conftest.$ac_objext'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8015 (eval $ac_try) 2>&5
8016 ac_status=$?
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; }; then 8018 (exit $ac_status); }; }; then
7750 ac_cv_header_stdc=yes 8019 ac_cv_header_stdc=yes
7751else 8020else
7752 echo "$as_me: failed program was:" >&5 8021 echo "$as_me: failed program was:" >&5
7753sed 's/^/| /' conftest.$ac_ext >&5 8022sed 's/^/| /' conftest.$ac_ext >&5
7754 8023
7755ac_cv_header_stdc=no 8024ac_cv_header_stdc=no
7756fi 8025fi
7757rm -f conftest.$ac_objext conftest.$ac_ext 8026rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7758 8027
7759if test $ac_cv_header_stdc = yes; then 8028if test $ac_cv_header_stdc = yes; then
7760 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 8029 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7761 cat >conftest.$ac_ext <<_ACEOF 8030 cat >conftest.$ac_ext <<_ACEOF
7762#line $LINENO "configure"
7763/* confdefs.h. */ 8031/* confdefs.h. */
7764_ACEOF 8032_ACEOF
7765cat confdefs.h >>conftest.$ac_ext 8033cat confdefs.h >>conftest.$ac_ext
7766cat >>conftest.$ac_ext <<_ACEOF 8034cat >>conftest.$ac_ext <<_ACEOF
7767/* end confdefs.h. */ 8035/* end confdefs.h. */
7779fi 8047fi
7780 8048
7781if test $ac_cv_header_stdc = yes; then 8049if test $ac_cv_header_stdc = yes; then
7782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 8050 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7783 cat >conftest.$ac_ext <<_ACEOF 8051 cat >conftest.$ac_ext <<_ACEOF
7784#line $LINENO "configure"
7785/* confdefs.h. */ 8052/* confdefs.h. */
7786_ACEOF 8053_ACEOF
7787cat confdefs.h >>conftest.$ac_ext 8054cat confdefs.h >>conftest.$ac_ext
7788cat >>conftest.$ac_ext <<_ACEOF 8055cat >>conftest.$ac_ext <<_ACEOF
7789/* end confdefs.h. */ 8056/* end confdefs.h. */
7804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 8071 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7805 if test "$cross_compiling" = yes; then 8072 if test "$cross_compiling" = yes; then
7806 : 8073 :
7807else 8074else
7808 cat >conftest.$ac_ext <<_ACEOF 8075 cat >conftest.$ac_ext <<_ACEOF
7809#line $LINENO "configure"
7810/* confdefs.h. */ 8076/* confdefs.h. */
7811_ACEOF 8077_ACEOF
7812cat confdefs.h >>conftest.$ac_ext 8078cat confdefs.h >>conftest.$ac_ext
7813cat >>conftest.$ac_ext <<_ACEOF 8079cat >>conftest.$ac_ext <<_ACEOF
7814/* end confdefs.h. */ 8080/* end confdefs.h. */
7816#if ((' ' & 0x0FF) == 0x020) 8082#if ((' ' & 0x0FF) == 0x020)
7817# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 8083# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7818# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 8084# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7819#else 8085#else
7820# define ISLOWER(c) \ 8086# define ISLOWER(c) \
7821 (('a' <= (c) && (c) <= 'i') \ 8087 (('a' <= (c) && (c) <= 'i') \
7822 || ('j' <= (c) && (c) <= 'r') \ 8088 || ('j' <= (c) && (c) <= 'r') \
7823 || ('s' <= (c) && (c) <= 'z')) 8089 || ('s' <= (c) && (c) <= 'z'))
7824# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 8090# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7825#endif 8091#endif
7826 8092
7827#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 8093#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7828int 8094int
7829main () 8095main ()
7830{ 8096{
7831 int i; 8097 int i;
7832 for (i = 0; i < 256; i++) 8098 for (i = 0; i < 256; i++)
7833 if (XOR (islower (i), ISLOWER (i)) 8099 if (XOR (islower (i), ISLOWER (i))
7834 || toupper (i) != TOUPPER (i)) 8100 || toupper (i) != TOUPPER (i))
7835 exit(2); 8101 exit(2);
7836 exit (0); 8102 exit (0);
7837} 8103}
7838_ACEOF 8104_ACEOF
7839rm -f conftest$ac_exeext 8105rm -f conftest$ac_exeext
7879 8145
7880 8146
7881 8147
7882 8148
7883 8149
7884
7885for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall poll 8150for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall
7886do 8151do
7887as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8152as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7888echo "$as_me:$LINENO: checking for $ac_func" >&5 8153echo "$as_me:$LINENO: checking for $ac_func" >&5
7889echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8154echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7890if eval "test \"\${$as_ac_var+set}\" = set"; then 8155if eval "test \"\${$as_ac_var+set}\" = set"; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6 8156 echo $ECHO_N "(cached) $ECHO_C" >&6
7892else 8157else
7893 cat >conftest.$ac_ext <<_ACEOF 8158 cat >conftest.$ac_ext <<_ACEOF
7894#line $LINENO "configure"
7895/* confdefs.h. */ 8159/* confdefs.h. */
7896_ACEOF 8160_ACEOF
7897cat confdefs.h >>conftest.$ac_ext 8161cat confdefs.h >>conftest.$ac_ext
7898cat >>conftest.$ac_ext <<_ACEOF 8162cat >>conftest.$ac_ext <<_ACEOF
7899/* end confdefs.h. */ 8163/* end confdefs.h. */
8164/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8166#define $ac_func innocuous_$ac_func
8167
7900/* System header to define __stub macros and hopefully few prototypes, 8168/* System header to define __stub macros and hopefully few prototypes,
7901 which can conflict with char $ac_func (); below. 8169 which can conflict with char $ac_func (); below.
7902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7903 <limits.h> exists even on freestanding compilers. */ 8171 <limits.h> exists even on freestanding compilers. */
8172
7904#ifdef __STDC__ 8173#ifdef __STDC__
7905# include <limits.h> 8174# include <limits.h>
7906#else 8175#else
7907# include <assert.h> 8176# include <assert.h>
7908#endif 8177#endif
8178
8179#undef $ac_func
8180
7909/* Override any gcc2 internal prototype to avoid an error. */ 8181/* Override any gcc2 internal prototype to avoid an error. */
7910#ifdef __cplusplus 8182#ifdef __cplusplus
7911extern "C" 8183extern "C"
7912{ 8184{
7913#endif 8185#endif
7934 return 0; 8206 return 0;
7935} 8207}
7936_ACEOF 8208_ACEOF
7937rm -f conftest.$ac_objext conftest$ac_exeext 8209rm -f conftest.$ac_objext conftest$ac_exeext
7938if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7939 (eval $ac_link) 2>&5 8211 (eval $ac_link) 2>conftest.er1
7940 ac_status=$? 8212 ac_status=$?
8213 grep -v '^ *+' conftest.er1 >conftest.err
8214 rm -f conftest.er1
8215 cat conftest.err >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } && 8217 (exit $ac_status); } &&
7943 { ac_try='test -s conftest$ac_exeext' 8218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 (eval $ac_try) 2>&5 8220 (eval $ac_try) 2>&5
7946 ac_status=$? 8221 ac_status=$?
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); }; } &&
8224 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8226 (eval $ac_try) 2>&5
8227 ac_status=$?
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); }; }; then 8229 (exit $ac_status); }; }; then
7949 eval "$as_ac_var=yes" 8230 eval "$as_ac_var=yes"
7950else 8231else
7951 echo "$as_me: failed program was:" >&5 8232 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5 8233sed 's/^/| /' conftest.$ac_ext >&5
7953 8234
7954eval "$as_ac_var=no" 8235eval "$as_ac_var=no"
7955fi 8236fi
7956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8237rm -f conftest.err conftest.$ac_objext \
8238 conftest$ac_exeext conftest.$ac_ext
7957fi 8239fi
7958echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8240echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7959echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8241echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7960if test `eval echo '${'$as_ac_var'}'` = yes; then 8242if test `eval echo '${'$as_ac_var'}'` = yes; then
7961 cat >>confdefs.h <<_ACEOF 8243 cat >>confdefs.h <<_ACEOF
7972echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 8254echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7973if test "${ac_cv_working_alloca_h+set}" = set; then 8255if test "${ac_cv_working_alloca_h+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6 8256 echo $ECHO_N "(cached) $ECHO_C" >&6
7975else 8257else
7976 cat >conftest.$ac_ext <<_ACEOF 8258 cat >conftest.$ac_ext <<_ACEOF
7977#line $LINENO "configure"
7978/* confdefs.h. */ 8259/* confdefs.h. */
7979_ACEOF 8260_ACEOF
7980cat confdefs.h >>conftest.$ac_ext 8261cat confdefs.h >>conftest.$ac_ext
7981cat >>conftest.$ac_ext <<_ACEOF 8262cat >>conftest.$ac_ext <<_ACEOF
7982/* end confdefs.h. */ 8263/* end confdefs.h. */
7989 return 0; 8270 return 0;
7990} 8271}
7991_ACEOF 8272_ACEOF
7992rm -f conftest.$ac_objext conftest$ac_exeext 8273rm -f conftest.$ac_objext conftest$ac_exeext
7993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8274if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7994 (eval $ac_link) 2>&5 8275 (eval $ac_link) 2>conftest.er1
7995 ac_status=$? 8276 ac_status=$?
8277 grep -v '^ *+' conftest.er1 >conftest.err
8278 rm -f conftest.er1
8279 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } && 8281 (exit $ac_status); } &&
7998 { ac_try='test -s conftest$ac_exeext' 8282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 (eval $ac_try) 2>&5 8284 (eval $ac_try) 2>&5
8001 ac_status=$? 8285 ac_status=$?
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; } &&
8288 { ac_try='test -s conftest$ac_exeext'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 (eval $ac_try) 2>&5
8291 ac_status=$?
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; }; then 8293 (exit $ac_status); }; }; then
8004 ac_cv_working_alloca_h=yes 8294 ac_cv_working_alloca_h=yes
8005else 8295else
8006 echo "$as_me: failed program was:" >&5 8296 echo "$as_me: failed program was:" >&5
8007sed 's/^/| /' conftest.$ac_ext >&5 8297sed 's/^/| /' conftest.$ac_ext >&5
8008 8298
8009ac_cv_working_alloca_h=no 8299ac_cv_working_alloca_h=no
8010fi 8300fi
8011rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8301rm -f conftest.err conftest.$ac_objext \
8302 conftest$ac_exeext conftest.$ac_ext
8012fi 8303fi
8013echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 8304echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8014echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 8305echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8015if test $ac_cv_working_alloca_h = yes; then 8306if test $ac_cv_working_alloca_h = yes; then
8016 8307
8024echo $ECHO_N "checking for alloca... $ECHO_C" >&6 8315echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8025if test "${ac_cv_func_alloca_works+set}" = set; then 8316if test "${ac_cv_func_alloca_works+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6 8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8027else 8318else
8028 cat >conftest.$ac_ext <<_ACEOF 8319 cat >conftest.$ac_ext <<_ACEOF
8029#line $LINENO "configure"
8030/* confdefs.h. */ 8320/* confdefs.h. */
8031_ACEOF 8321_ACEOF
8032cat confdefs.h >>conftest.$ac_ext 8322cat confdefs.h >>conftest.$ac_ext
8033cat >>conftest.$ac_ext <<_ACEOF 8323cat >>conftest.$ac_ext <<_ACEOF
8034/* end confdefs.h. */ 8324/* end confdefs.h. */
8061 return 0; 8351 return 0;
8062} 8352}
8063_ACEOF 8353_ACEOF
8064rm -f conftest.$ac_objext conftest$ac_exeext 8354rm -f conftest.$ac_objext conftest$ac_exeext
8065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8355if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8066 (eval $ac_link) 2>&5 8356 (eval $ac_link) 2>conftest.er1
8067 ac_status=$? 8357 ac_status=$?
8358 grep -v '^ *+' conftest.er1 >conftest.err
8359 rm -f conftest.er1
8360 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } && 8362 (exit $ac_status); } &&
8070 { ac_try='test -s conftest$ac_exeext' 8363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 (eval $ac_try) 2>&5 8365 (eval $ac_try) 2>&5
8073 ac_status=$? 8366 ac_status=$?
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; } &&
8369 { ac_try='test -s conftest$ac_exeext'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 (eval $ac_try) 2>&5
8372 ac_status=$?
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then 8374 (exit $ac_status); }; }; then
8076 ac_cv_func_alloca_works=yes 8375 ac_cv_func_alloca_works=yes
8077else 8376else
8078 echo "$as_me: failed program was:" >&5 8377 echo "$as_me: failed program was:" >&5
8079sed 's/^/| /' conftest.$ac_ext >&5 8378sed 's/^/| /' conftest.$ac_ext >&5
8080 8379
8081ac_cv_func_alloca_works=no 8380ac_cv_func_alloca_works=no
8082fi 8381fi
8083rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8382rm -f conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8084fi 8384fi
8085echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 8385echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8086echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8386echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8087 8387
8088if test $ac_cv_func_alloca_works = yes; then 8388if test $ac_cv_func_alloca_works = yes; then
8108echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8408echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8109if test "${ac_cv_os_cray+set}" = set; then 8409if test "${ac_cv_os_cray+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6 8410 echo $ECHO_N "(cached) $ECHO_C" >&6
8111else 8411else
8112 cat >conftest.$ac_ext <<_ACEOF 8412 cat >conftest.$ac_ext <<_ACEOF
8113#line $LINENO "configure"
8114/* confdefs.h. */ 8413/* confdefs.h. */
8115_ACEOF 8414_ACEOF
8116cat confdefs.h >>conftest.$ac_ext 8415cat confdefs.h >>conftest.$ac_ext
8117cat >>conftest.$ac_ext <<_ACEOF 8416cat >>conftest.$ac_ext <<_ACEOF
8118/* end confdefs.h. */ 8417/* end confdefs.h. */
8141echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8440echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8142if eval "test \"\${$as_ac_var+set}\" = set"; then 8441if eval "test \"\${$as_ac_var+set}\" = set"; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6 8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8144else 8443else
8145 cat >conftest.$ac_ext <<_ACEOF 8444 cat >conftest.$ac_ext <<_ACEOF
8146#line $LINENO "configure"
8147/* confdefs.h. */ 8445/* confdefs.h. */
8148_ACEOF 8446_ACEOF
8149cat confdefs.h >>conftest.$ac_ext 8447cat confdefs.h >>conftest.$ac_ext
8150cat >>conftest.$ac_ext <<_ACEOF 8448cat >>conftest.$ac_ext <<_ACEOF
8151/* end confdefs.h. */ 8449/* end confdefs.h. */
8450/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8452#define $ac_func innocuous_$ac_func
8453
8152/* System header to define __stub macros and hopefully few prototypes, 8454/* System header to define __stub macros and hopefully few prototypes,
8153 which can conflict with char $ac_func (); below. 8455 which can conflict with char $ac_func (); below.
8154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8155 <limits.h> exists even on freestanding compilers. */ 8457 <limits.h> exists even on freestanding compilers. */
8458
8156#ifdef __STDC__ 8459#ifdef __STDC__
8157# include <limits.h> 8460# include <limits.h>
8158#else 8461#else
8159# include <assert.h> 8462# include <assert.h>
8160#endif 8463#endif
8464
8465#undef $ac_func
8466
8161/* Override any gcc2 internal prototype to avoid an error. */ 8467/* Override any gcc2 internal prototype to avoid an error. */
8162#ifdef __cplusplus 8468#ifdef __cplusplus
8163extern "C" 8469extern "C"
8164{ 8470{
8165#endif 8471#endif
8186 return 0; 8492 return 0;
8187} 8493}
8188_ACEOF 8494_ACEOF
8189rm -f conftest.$ac_objext conftest$ac_exeext 8495rm -f conftest.$ac_objext conftest$ac_exeext
8190if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8496if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8191 (eval $ac_link) 2>&5 8497 (eval $ac_link) 2>conftest.er1
8192 ac_status=$? 8498 ac_status=$?
8499 grep -v '^ *+' conftest.er1 >conftest.err
8500 rm -f conftest.er1
8501 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && 8503 (exit $ac_status); } &&
8195 { ac_try='test -s conftest$ac_exeext' 8504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 (eval $ac_try) 2>&5 8506 (eval $ac_try) 2>&5
8198 ac_status=$? 8507 ac_status=$?
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 (eval $ac_try) 2>&5
8513 ac_status=$?
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); }; }; then 8515 (exit $ac_status); }; }; then
8201 eval "$as_ac_var=yes" 8516 eval "$as_ac_var=yes"
8202else 8517else
8203 echo "$as_me: failed program was:" >&5 8518 echo "$as_me: failed program was:" >&5
8204sed 's/^/| /' conftest.$ac_ext >&5 8519sed 's/^/| /' conftest.$ac_ext >&5
8205 8520
8206eval "$as_ac_var=no" 8521eval "$as_ac_var=no"
8207fi 8522fi
8208rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8523rm -f conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8209fi 8525fi
8210echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8526echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8211echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8527echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8212if test `eval echo '${'$as_ac_var'}'` = yes; then 8528if test `eval echo '${'$as_ac_var'}'` = yes; then
8213 8529
8228else 8544else
8229 if test "$cross_compiling" = yes; then 8545 if test "$cross_compiling" = yes; then
8230 ac_cv_c_stack_direction=0 8546 ac_cv_c_stack_direction=0
8231else 8547else
8232 cat >conftest.$ac_ext <<_ACEOF 8548 cat >conftest.$ac_ext <<_ACEOF
8233#line $LINENO "configure"
8234/* confdefs.h. */ 8549/* confdefs.h. */
8235_ACEOF 8550_ACEOF
8236cat confdefs.h >>conftest.$ac_ext 8551cat confdefs.h >>conftest.$ac_ext
8237cat >>conftest.$ac_ext <<_ACEOF 8552cat >>conftest.$ac_ext <<_ACEOF
8238/* end confdefs.h. */ 8553/* end confdefs.h. */
8295echo $ECHO_N "checking for socket... $ECHO_C" >&6 8610echo $ECHO_N "checking for socket... $ECHO_C" >&6
8296if test "${ac_cv_func_socket+set}" = set; then 8611if test "${ac_cv_func_socket+set}" = set; then
8297 echo $ECHO_N "(cached) $ECHO_C" >&6 8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8298else 8613else
8299 cat >conftest.$ac_ext <<_ACEOF 8614 cat >conftest.$ac_ext <<_ACEOF
8300#line $LINENO "configure"
8301/* confdefs.h. */ 8615/* confdefs.h. */
8302_ACEOF 8616_ACEOF
8303cat confdefs.h >>conftest.$ac_ext 8617cat confdefs.h >>conftest.$ac_ext
8304cat >>conftest.$ac_ext <<_ACEOF 8618cat >>conftest.$ac_ext <<_ACEOF
8305/* end confdefs.h. */ 8619/* end confdefs.h. */
8620/* Define socket to an innocuous variant, in case <limits.h> declares socket.
8621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8622#define socket innocuous_socket
8623
8306/* System header to define __stub macros and hopefully few prototypes, 8624/* System header to define __stub macros and hopefully few prototypes,
8307 which can conflict with char socket (); below. 8625 which can conflict with char socket (); below.
8308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8309 <limits.h> exists even on freestanding compilers. */ 8627 <limits.h> exists even on freestanding compilers. */
8628
8310#ifdef __STDC__ 8629#ifdef __STDC__
8311# include <limits.h> 8630# include <limits.h>
8312#else 8631#else
8313# include <assert.h> 8632# include <assert.h>
8314#endif 8633#endif
8634
8635#undef socket
8636
8315/* Override any gcc2 internal prototype to avoid an error. */ 8637/* Override any gcc2 internal prototype to avoid an error. */
8316#ifdef __cplusplus 8638#ifdef __cplusplus
8317extern "C" 8639extern "C"
8318{ 8640{
8319#endif 8641#endif
8340 return 0; 8662 return 0;
8341} 8663}
8342_ACEOF 8664_ACEOF
8343rm -f conftest.$ac_objext conftest$ac_exeext 8665rm -f conftest.$ac_objext conftest$ac_exeext
8344if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8666if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8345 (eval $ac_link) 2>&5 8667 (eval $ac_link) 2>conftest.er1
8346 ac_status=$? 8668 ac_status=$?
8669 grep -v '^ *+' conftest.er1 >conftest.err
8670 rm -f conftest.er1
8671 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && 8673 (exit $ac_status); } &&
8349 { ac_try='test -s conftest$ac_exeext' 8674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5 8676 (eval $ac_try) 2>&5
8352 ac_status=$? 8677 ac_status=$?
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682 (eval $ac_try) 2>&5
8683 ac_status=$?
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; }; then 8685 (exit $ac_status); }; }; then
8355 ac_cv_func_socket=yes 8686 ac_cv_func_socket=yes
8356else 8687else
8357 echo "$as_me: failed program was:" >&5 8688 echo "$as_me: failed program was:" >&5
8358sed 's/^/| /' conftest.$ac_ext >&5 8689sed 's/^/| /' conftest.$ac_ext >&5
8359 8690
8360ac_cv_func_socket=no 8691ac_cv_func_socket=no
8361fi 8692fi
8362rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8693rm -f conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8363fi 8695fi
8364echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 8696echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
8365echo "${ECHO_T}$ac_cv_func_socket" >&6 8697echo "${ECHO_T}$ac_cv_func_socket" >&6
8366if test $ac_cv_func_socket = yes; then 8698if test $ac_cv_func_socket = yes; then
8367 : 8699 :
8374 echo $ECHO_N "(cached) $ECHO_C" >&6 8706 echo $ECHO_N "(cached) $ECHO_C" >&6
8375else 8707else
8376 ac_check_lib_save_LIBS=$LIBS 8708 ac_check_lib_save_LIBS=$LIBS
8377LIBS="-lsocket $LIBS" 8709LIBS="-lsocket $LIBS"
8378cat >conftest.$ac_ext <<_ACEOF 8710cat >conftest.$ac_ext <<_ACEOF
8379#line $LINENO "configure"
8380/* confdefs.h. */ 8711/* confdefs.h. */
8381_ACEOF 8712_ACEOF
8382cat confdefs.h >>conftest.$ac_ext 8713cat confdefs.h >>conftest.$ac_ext
8383cat >>conftest.$ac_ext <<_ACEOF 8714cat >>conftest.$ac_ext <<_ACEOF
8384/* end confdefs.h. */ 8715/* end confdefs.h. */
8398 return 0; 8729 return 0;
8399} 8730}
8400_ACEOF 8731_ACEOF
8401rm -f conftest.$ac_objext conftest$ac_exeext 8732rm -f conftest.$ac_objext conftest$ac_exeext
8402if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8403 (eval $ac_link) 2>&5 8734 (eval $ac_link) 2>conftest.er1
8404 ac_status=$? 8735 ac_status=$?
8736 grep -v '^ *+' conftest.er1 >conftest.err
8737 rm -f conftest.er1
8738 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } && 8740 (exit $ac_status); } &&
8407 { ac_try='test -s conftest$ac_exeext' 8741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 (eval $ac_try) 2>&5 8743 (eval $ac_try) 2>&5
8410 ac_status=$? 8744 ac_status=$?
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; } &&
8747 { ac_try='test -s conftest$ac_exeext'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 (eval $ac_try) 2>&5
8750 ac_status=$?
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then 8752 (exit $ac_status); }; }; then
8413 ac_cv_lib_socket_connect=yes 8753 ac_cv_lib_socket_connect=yes
8414else 8754else
8415 echo "$as_me: failed program was:" >&5 8755 echo "$as_me: failed program was:" >&5
8416sed 's/^/| /' conftest.$ac_ext >&5 8756sed 's/^/| /' conftest.$ac_ext >&5
8417 8757
8418ac_cv_lib_socket_connect=no 8758ac_cv_lib_socket_connect=no
8419fi 8759fi
8420rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8760rm -f conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8421LIBS=$ac_check_lib_save_LIBS 8762LIBS=$ac_check_lib_save_LIBS
8422fi 8763fi
8423echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 8764echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8424echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 8765echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8425if test $ac_cv_lib_socket_connect = yes; then 8766if test $ac_cv_lib_socket_connect = yes; then
8438echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 8779echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
8439if test "${ac_cv_func_gethostbyname+set}" = set; then 8780if test "${ac_cv_func_gethostbyname+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6 8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8441else 8782else
8442 cat >conftest.$ac_ext <<_ACEOF 8783 cat >conftest.$ac_ext <<_ACEOF
8443#line $LINENO "configure"
8444/* confdefs.h. */ 8784/* confdefs.h. */
8445_ACEOF 8785_ACEOF
8446cat confdefs.h >>conftest.$ac_ext 8786cat confdefs.h >>conftest.$ac_ext
8447cat >>conftest.$ac_ext <<_ACEOF 8787cat >>conftest.$ac_ext <<_ACEOF
8448/* end confdefs.h. */ 8788/* end confdefs.h. */
8789/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
8790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8791#define gethostbyname innocuous_gethostbyname
8792
8449/* System header to define __stub macros and hopefully few prototypes, 8793/* System header to define __stub macros and hopefully few prototypes,
8450 which can conflict with char gethostbyname (); below. 8794 which can conflict with char gethostbyname (); below.
8451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8452 <limits.h> exists even on freestanding compilers. */ 8796 <limits.h> exists even on freestanding compilers. */
8797
8453#ifdef __STDC__ 8798#ifdef __STDC__
8454# include <limits.h> 8799# include <limits.h>
8455#else 8800#else
8456# include <assert.h> 8801# include <assert.h>
8457#endif 8802#endif
8803
8804#undef gethostbyname
8805
8458/* Override any gcc2 internal prototype to avoid an error. */ 8806/* Override any gcc2 internal prototype to avoid an error. */
8459#ifdef __cplusplus 8807#ifdef __cplusplus
8460extern "C" 8808extern "C"
8461{ 8809{
8462#endif 8810#endif
8483 return 0; 8831 return 0;
8484} 8832}
8485_ACEOF 8833_ACEOF
8486rm -f conftest.$ac_objext conftest$ac_exeext 8834rm -f conftest.$ac_objext conftest$ac_exeext
8487if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8835if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>&5 8836 (eval $ac_link) 2>conftest.er1
8489 ac_status=$? 8837 ac_status=$?
8838 grep -v '^ *+' conftest.er1 >conftest.err
8839 rm -f conftest.er1
8840 cat conftest.err >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } && 8842 (exit $ac_status); } &&
8492 { ac_try='test -s conftest$ac_exeext' 8843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 (eval $ac_try) 2>&5 8845 (eval $ac_try) 2>&5
8495 ac_status=$? 8846 ac_status=$?
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); }; } &&
8849 { ac_try='test -s conftest$ac_exeext'
8850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 (eval $ac_try) 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then 8854 (exit $ac_status); }; }; then
8498 ac_cv_func_gethostbyname=yes 8855 ac_cv_func_gethostbyname=yes
8499else 8856else
8500 echo "$as_me: failed program was:" >&5 8857 echo "$as_me: failed program was:" >&5
8501sed 's/^/| /' conftest.$ac_ext >&5 8858sed 's/^/| /' conftest.$ac_ext >&5
8502 8859
8503ac_cv_func_gethostbyname=no 8860ac_cv_func_gethostbyname=no
8504fi 8861fi
8505rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8862rm -f conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8506fi 8864fi
8507echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 8865echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8508echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 8866echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8509if test $ac_cv_func_gethostbyname = yes; then 8867if test $ac_cv_func_gethostbyname = yes; then
8510 : 8868 :
8517 echo $ECHO_N "(cached) $ECHO_C" >&6 8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8518else 8876else
8519 ac_check_lib_save_LIBS=$LIBS 8877 ac_check_lib_save_LIBS=$LIBS
8520LIBS="-lnsl $LIBS" 8878LIBS="-lnsl $LIBS"
8521cat >conftest.$ac_ext <<_ACEOF 8879cat >conftest.$ac_ext <<_ACEOF
8522#line $LINENO "configure"
8523/* confdefs.h. */ 8880/* confdefs.h. */
8524_ACEOF 8881_ACEOF
8525cat confdefs.h >>conftest.$ac_ext 8882cat confdefs.h >>conftest.$ac_ext
8526cat >>conftest.$ac_ext <<_ACEOF 8883cat >>conftest.$ac_ext <<_ACEOF
8527/* end confdefs.h. */ 8884/* end confdefs.h. */
8541 return 0; 8898 return 0;
8542} 8899}
8543_ACEOF 8900_ACEOF
8544rm -f conftest.$ac_objext conftest$ac_exeext 8901rm -f conftest.$ac_objext conftest$ac_exeext
8545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8902if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>&5 8903 (eval $ac_link) 2>conftest.er1
8547 ac_status=$? 8904 ac_status=$?
8905 grep -v '^ *+' conftest.er1 >conftest.err
8906 rm -f conftest.er1
8907 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } && 8909 (exit $ac_status); } &&
8550 { ac_try='test -s conftest$ac_exeext' 8910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 (eval $ac_try) 2>&5 8912 (eval $ac_try) 2>&5
8553 ac_status=$? 8913 ac_status=$?
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; } &&
8916 { ac_try='test -s conftest$ac_exeext'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 (eval $ac_try) 2>&5
8919 ac_status=$?
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then 8921 (exit $ac_status); }; }; then
8556 ac_cv_lib_nsl_gethostbyname=yes 8922 ac_cv_lib_nsl_gethostbyname=yes
8557else 8923else
8558 echo "$as_me: failed program was:" >&5 8924 echo "$as_me: failed program was:" >&5
8559sed 's/^/| /' conftest.$ac_ext >&5 8925sed 's/^/| /' conftest.$ac_ext >&5
8560 8926
8561ac_cv_lib_nsl_gethostbyname=no 8927ac_cv_lib_nsl_gethostbyname=no
8562fi 8928fi
8563rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8929rm -f conftest.err conftest.$ac_objext \
8930 conftest$ac_exeext conftest.$ac_ext
8564LIBS=$ac_check_lib_save_LIBS 8931LIBS=$ac_check_lib_save_LIBS
8565fi 8932fi
8566echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 8933echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8567echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 8934echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8568if test $ac_cv_lib_nsl_gethostbyname = yes; then 8935if test $ac_cv_lib_nsl_gethostbyname = yes; then
8612 case `(ac_space=' '; set | grep ac_space) 2>&1` in 8979 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8613 *ac_space=\ *) 8980 *ac_space=\ *)
8614 # `set' does not quote correctly, so add quotes (double-quote 8981 # `set' does not quote correctly, so add quotes (double-quote
8615 # substitution turns \\\\ into \\, and sed turns \\ into \). 8982 # substitution turns \\\\ into \\, and sed turns \\ into \).
8616 sed -n \ 8983 sed -n \
8617 "s/'/'\\\\''/g; 8984 "s/'/'\\\\''/g;
8618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8619 ;; 8986 ;;
8620 *) 8987 *)
8621 # `set' quotes correctly as required by POSIX, so do not add quotes. 8988 # `set' quotes correctly as required by POSIX, so do not add quotes.
8622 sed -n \ 8989 sed -n \
8623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 8990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8624 ;; 8991 ;;
8625 esac; 8992 esac;
8626} | 8993} |
8627 sed ' 8994 sed '
8628 t clear 8995 t clear
8657if test "${tinc_cv_linux_if_tun_h+set}" = set; then 9024if test "${tinc_cv_linux_if_tun_h+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6 9025 echo $ECHO_N "(cached) $ECHO_C" >&6
8659else 9026else
8660 9027
8661 cat >conftest.$ac_ext <<_ACEOF 9028 cat >conftest.$ac_ext <<_ACEOF
8662#line $LINENO "configure"
8663/* confdefs.h. */ 9029/* confdefs.h. */
8664_ACEOF 9030_ACEOF
8665cat confdefs.h >>conftest.$ac_ext 9031cat confdefs.h >>conftest.$ac_ext
8666cat >>conftest.$ac_ext <<_ACEOF 9032cat >>conftest.$ac_ext <<_ACEOF
8667/* end confdefs.h. */ 9033/* end confdefs.h. */
8674 return 0; 9040 return 0;
8675} 9041}
8676_ACEOF 9042_ACEOF
8677rm -f conftest.$ac_objext 9043rm -f conftest.$ac_objext
8678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9044if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8679 (eval $ac_compile) 2>&5 9045 (eval $ac_compile) 2>conftest.er1
8680 ac_status=$? 9046 ac_status=$?
9047 grep -v '^ *+' conftest.er1 >conftest.err
9048 rm -f conftest.er1
9049 cat conftest.err >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); } && 9051 (exit $ac_status); } &&
8683 { ac_try='test -s conftest.$ac_objext' 9052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 (eval $ac_try) 2>&5 9054 (eval $ac_try) 2>&5
8686 ac_status=$? 9055 ac_status=$?
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); }; } &&
9058 { ac_try='test -s conftest.$ac_objext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 (eval $ac_try) 2>&5
9061 ac_status=$?
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then 9063 (exit $ac_status); }; }; then
8689 if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" 9064 if_tun_h="\"$kerneldir/include/linux/if_tun.h\""
8690else 9065else
8691 echo "$as_me: failed program was:" >&5 9066 echo "$as_me: failed program was:" >&5
8692sed 's/^/| /' conftest.$ac_ext >&5 9067sed 's/^/| /' conftest.$ac_ext >&5
8693 9068
8694cat >conftest.$ac_ext <<_ACEOF 9069cat >conftest.$ac_ext <<_ACEOF
8695#line $LINENO "configure"
8696/* confdefs.h. */ 9070/* confdefs.h. */
8697_ACEOF 9071_ACEOF
8698cat confdefs.h >>conftest.$ac_ext 9072cat confdefs.h >>conftest.$ac_ext
8699cat >>conftest.$ac_ext <<_ACEOF 9073cat >>conftest.$ac_ext <<_ACEOF
8700/* end confdefs.h. */ 9074/* end confdefs.h. */
8707 return 0; 9081 return 0;
8708} 9082}
8709_ACEOF 9083_ACEOF
8710rm -f conftest.$ac_objext 9084rm -f conftest.$ac_objext
8711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9085if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8712 (eval $ac_compile) 2>&5 9086 (eval $ac_compile) 2>conftest.er1
8713 ac_status=$? 9087 ac_status=$?
9088 grep -v '^ *+' conftest.er1 >conftest.err
9089 rm -f conftest.er1
9090 cat conftest.err >&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && 9092 (exit $ac_status); } &&
8716 { ac_try='test -s conftest.$ac_objext' 9093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8718 (eval $ac_try) 2>&5 9095 (eval $ac_try) 2>&5
8719 ac_status=$? 9096 ac_status=$?
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest.$ac_objext'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 (eval $ac_try) 2>&5
9102 ac_status=$?
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; }; then 9104 (exit $ac_status); }; }; then
8722 if_tun_h="default" 9105 if_tun_h="default"
8723else 9106else
8724 echo "$as_me: failed program was:" >&5 9107 echo "$as_me: failed program was:" >&5
8725sed 's/^/| /' conftest.$ac_ext >&5 9108sed 's/^/| /' conftest.$ac_ext >&5
8726 9109
8727if_tun_h="no" 9110if_tun_h="no"
8728 9111
8729fi 9112fi
8730rm -f conftest.$ac_objext conftest.$ac_ext 9113rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8731 9114
8732fi 9115fi
8733rm -f conftest.$ac_objext conftest.$ac_ext 9116rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8734 9117
8735 if test $if_tun_h = no; then 9118 if test $if_tun_h = no; then
8736 tinc_cv_linux_if_tun_h=none 9119 tinc_cv_linux_if_tun_h=none
8737 else 9120 else
8738 tinc_cv_linux_if_tun_h="$if_tun_h" 9121 tinc_cv_linux_if_tun_h="$if_tun_h"
8802else 9185else
8803 # Is the header compilable? 9186 # Is the header compilable?
8804echo "$as_me:$LINENO: checking $ac_header usability" >&5 9187echo "$as_me:$LINENO: checking $ac_header usability" >&5
8805echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9188echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8806cat >conftest.$ac_ext <<_ACEOF 9189cat >conftest.$ac_ext <<_ACEOF
8807#line $LINENO "configure"
8808/* confdefs.h. */ 9190/* confdefs.h. */
8809_ACEOF 9191_ACEOF
8810cat confdefs.h >>conftest.$ac_ext 9192cat confdefs.h >>conftest.$ac_ext
8811cat >>conftest.$ac_ext <<_ACEOF 9193cat >>conftest.$ac_ext <<_ACEOF
8812/* end confdefs.h. */ 9194/* end confdefs.h. */
8813$ac_includes_default 9195$ac_includes_default
8814#include <$ac_header> 9196#include <$ac_header>
8815_ACEOF 9197_ACEOF
8816rm -f conftest.$ac_objext 9198rm -f conftest.$ac_objext
8817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>&5 9200 (eval $ac_compile) 2>conftest.er1
8819 ac_status=$? 9201 ac_status=$?
9202 grep -v '^ *+' conftest.er1 >conftest.err
9203 rm -f conftest.er1
9204 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } && 9206 (exit $ac_status); } &&
8822 { ac_try='test -s conftest.$ac_objext' 9207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 (eval $ac_try) 2>&5 9209 (eval $ac_try) 2>&5
8825 ac_status=$? 9210 ac_status=$?
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); }; } &&
9213 { ac_try='test -s conftest.$ac_objext'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215 (eval $ac_try) 2>&5
9216 ac_status=$?
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then 9218 (exit $ac_status); }; }; then
8828 ac_header_compiler=yes 9219 ac_header_compiler=yes
8829else 9220else
8830 echo "$as_me: failed program was:" >&5 9221 echo "$as_me: failed program was:" >&5
8831sed 's/^/| /' conftest.$ac_ext >&5 9222sed 's/^/| /' conftest.$ac_ext >&5
8832 9223
8833ac_header_compiler=no 9224ac_header_compiler=no
8834fi 9225fi
8835rm -f conftest.$ac_objext conftest.$ac_ext 9226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8836echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9227echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8837echo "${ECHO_T}$ac_header_compiler" >&6 9228echo "${ECHO_T}$ac_header_compiler" >&6
8838 9229
8839# Is the header present? 9230# Is the header present?
8840echo "$as_me:$LINENO: checking $ac_header presence" >&5 9231echo "$as_me:$LINENO: checking $ac_header presence" >&5
8841echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9232echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8842cat >conftest.$ac_ext <<_ACEOF 9233cat >conftest.$ac_ext <<_ACEOF
8843#line $LINENO "configure"
8844/* confdefs.h. */ 9234/* confdefs.h. */
8845_ACEOF 9235_ACEOF
8846cat confdefs.h >>conftest.$ac_ext 9236cat confdefs.h >>conftest.$ac_ext
8847cat >>conftest.$ac_ext <<_ACEOF 9237cat >>conftest.$ac_ext <<_ACEOF
8848/* end confdefs.h. */ 9238/* end confdefs.h. */
8856 cat conftest.err >&5 9246 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } >/dev/null; then 9248 (exit $ac_status); } >/dev/null; then
8859 if test -s conftest.err; then 9249 if test -s conftest.err; then
8860 ac_cpp_err=$ac_cxx_preproc_warn_flag 9250 ac_cpp_err=$ac_cxx_preproc_warn_flag
9251 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8861 else 9252 else
8862 ac_cpp_err= 9253 ac_cpp_err=
8863 fi 9254 fi
8864else 9255else
8865 ac_cpp_err=yes 9256 ac_cpp_err=yes
8875rm -f conftest.err conftest.$ac_ext 9266rm -f conftest.err conftest.$ac_ext
8876echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9267echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8877echo "${ECHO_T}$ac_header_preproc" >&6 9268echo "${ECHO_T}$ac_header_preproc" >&6
8878 9269
8879# So? What about this header? 9270# So? What about this header?
8880case $ac_header_compiler:$ac_header_preproc in 9271case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8881 yes:no ) 9272 yes:no: )
8882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8883echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9274echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9276echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9277 ac_header_preproc=yes
9278 ;;
9279 no:yes:* )
9280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9281echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9283echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9285echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9287echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8885echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9289echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9291echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8886 ( 9292 (
8887 cat <<\_ASBOX 9293 cat <<\_ASBOX
8888## ------------------------------------ ## 9294## ------------------------------------------ ##
8889## Report this to bug-autoconf@gnu.org. ## 9295## Report this to the AC_PACKAGE_NAME lists. ##
8890## ------------------------------------ ## 9296## ------------------------------------------ ##
8891_ASBOX
8892 ) |
8893 sed "s/^/$as_me: WARNING: /" >&2
8894 ;;
8895 no:yes )
8896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8897echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8899echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8901echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8902 (
8903 cat <<\_ASBOX
8904## ------------------------------------ ##
8905## Report this to bug-autoconf@gnu.org. ##
8906## ------------------------------------ ##
8907_ASBOX 9297_ASBOX
8908 ) | 9298 ) |
8909 sed "s/^/$as_me: WARNING: /" >&2 9299 sed "s/^/$as_me: WARNING: /" >&2
8910 ;; 9300 ;;
8911esac 9301esac
8912echo "$as_me:$LINENO: checking for $ac_header" >&5 9302echo "$as_me:$LINENO: checking for $ac_header" >&5
8913echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9303echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8914if eval "test \"\${$as_ac_Header+set}\" = set"; then 9304if eval "test \"\${$as_ac_Header+set}\" = set"; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6 9305 echo $ECHO_N "(cached) $ECHO_C" >&6
8916else 9306else
8917 eval "$as_ac_Header=$ac_header_preproc" 9307 eval "$as_ac_Header=\$ac_header_preproc"
8918fi 9308fi
8919echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9309echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8920echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9310echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8921 9311
8922fi 9312fi
8943 echo $ECHO_N "(cached) $ECHO_C" >&6 9333 echo $ECHO_N "(cached) $ECHO_C" >&6
8944else 9334else
8945 ac_check_lib_save_LIBS=$LIBS 9335 ac_check_lib_save_LIBS=$LIBS
8946LIBS="-lcrypto $LIBS" 9336LIBS="-lcrypto $LIBS"
8947cat >conftest.$ac_ext <<_ACEOF 9337cat >conftest.$ac_ext <<_ACEOF
8948#line $LINENO "configure"
8949/* confdefs.h. */ 9338/* confdefs.h. */
8950_ACEOF 9339_ACEOF
8951cat confdefs.h >>conftest.$ac_ext 9340cat confdefs.h >>conftest.$ac_ext
8952cat >>conftest.$ac_ext <<_ACEOF 9341cat >>conftest.$ac_ext <<_ACEOF
8953/* end confdefs.h. */ 9342/* end confdefs.h. */
8967 return 0; 9356 return 0;
8968} 9357}
8969_ACEOF 9358_ACEOF
8970rm -f conftest.$ac_objext conftest$ac_exeext 9359rm -f conftest.$ac_objext conftest$ac_exeext
8971if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9360if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 (eval $ac_link) 2>&5 9361 (eval $ac_link) 2>conftest.er1
8973 ac_status=$? 9362 ac_status=$?
9363 grep -v '^ *+' conftest.er1 >conftest.err
9364 rm -f conftest.er1
9365 cat conftest.err >&5
8974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8975 (exit $ac_status); } && 9367 (exit $ac_status); } &&
8976 { ac_try='test -s conftest$ac_exeext' 9368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 (eval $ac_try) 2>&5 9370 (eval $ac_try) 2>&5
8979 ac_status=$? 9371 ac_status=$?
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try='test -s conftest$ac_exeext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 (eval $ac_try) 2>&5
9377 ac_status=$?
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then 9379 (exit $ac_status); }; }; then
8982 ac_cv_lib_crypto_SHA1_version=yes 9380 ac_cv_lib_crypto_SHA1_version=yes
8983else 9381else
8984 echo "$as_me: failed program was:" >&5 9382 echo "$as_me: failed program was:" >&5
8985sed 's/^/| /' conftest.$ac_ext >&5 9383sed 's/^/| /' conftest.$ac_ext >&5
8986 9384
8987ac_cv_lib_crypto_SHA1_version=no 9385ac_cv_lib_crypto_SHA1_version=no
8988fi 9386fi
8989rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9387rm -f conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
8990LIBS=$ac_check_lib_save_LIBS 9389LIBS=$ac_check_lib_save_LIBS
8991fi 9390fi
8992echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5 9391echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_version" >&5
8993echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6 9392echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_version" >&6
8994if test $ac_cv_lib_crypto_SHA1_version = yes; then 9393if test $ac_cv_lib_crypto_SHA1_version = yes; then
9012echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9411echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9013if eval "test \"\${$as_ac_var+set}\" = set"; then 9412if eval "test \"\${$as_ac_var+set}\" = set"; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6 9413 echo $ECHO_N "(cached) $ECHO_C" >&6
9015else 9414else
9016 cat >conftest.$ac_ext <<_ACEOF 9415 cat >conftest.$ac_ext <<_ACEOF
9017#line $LINENO "configure"
9018/* confdefs.h. */ 9416/* confdefs.h. */
9019_ACEOF 9417_ACEOF
9020cat confdefs.h >>conftest.$ac_ext 9418cat confdefs.h >>conftest.$ac_ext
9021cat >>conftest.$ac_ext <<_ACEOF 9419cat >>conftest.$ac_ext <<_ACEOF
9022/* end confdefs.h. */ 9420/* end confdefs.h. */
9421/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9423#define $ac_func innocuous_$ac_func
9424
9023/* System header to define __stub macros and hopefully few prototypes, 9425/* System header to define __stub macros and hopefully few prototypes,
9024 which can conflict with char $ac_func (); below. 9426 which can conflict with char $ac_func (); below.
9025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9026 <limits.h> exists even on freestanding compilers. */ 9428 <limits.h> exists even on freestanding compilers. */
9429
9027#ifdef __STDC__ 9430#ifdef __STDC__
9028# include <limits.h> 9431# include <limits.h>
9029#else 9432#else
9030# include <assert.h> 9433# include <assert.h>
9031#endif 9434#endif
9435
9436#undef $ac_func
9437
9032/* Override any gcc2 internal prototype to avoid an error. */ 9438/* Override any gcc2 internal prototype to avoid an error. */
9033#ifdef __cplusplus 9439#ifdef __cplusplus
9034extern "C" 9440extern "C"
9035{ 9441{
9036#endif 9442#endif
9057 return 0; 9463 return 0;
9058} 9464}
9059_ACEOF 9465_ACEOF
9060rm -f conftest.$ac_objext conftest$ac_exeext 9466rm -f conftest.$ac_objext conftest$ac_exeext
9061if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9467if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9062 (eval $ac_link) 2>&5 9468 (eval $ac_link) 2>conftest.er1
9063 ac_status=$? 9469 ac_status=$?
9470 grep -v '^ *+' conftest.er1 >conftest.err
9471 rm -f conftest.er1
9472 cat conftest.err >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } && 9474 (exit $ac_status); } &&
9066 { ac_try='test -s conftest$ac_exeext' 9475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9068 (eval $ac_try) 2>&5 9477 (eval $ac_try) 2>&5
9069 ac_status=$? 9478 ac_status=$?
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try='test -s conftest$ac_exeext'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 (eval $ac_try) 2>&5
9484 ac_status=$?
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; }; then 9486 (exit $ac_status); }; }; then
9072 eval "$as_ac_var=yes" 9487 eval "$as_ac_var=yes"
9073else 9488else
9074 echo "$as_me: failed program was:" >&5 9489 echo "$as_me: failed program was:" >&5
9075sed 's/^/| /' conftest.$ac_ext >&5 9490sed 's/^/| /' conftest.$ac_ext >&5
9076 9491
9077eval "$as_ac_var=no" 9492eval "$as_ac_var=no"
9078fi 9493fi
9079rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9494rm -f conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9080fi 9496fi
9081echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9497echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9082echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9498echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9083if test `eval echo '${'$as_ac_var'}'` = yes; then 9499if test `eval echo '${'$as_ac_var'}'` = yes; then
9084 cat >>confdefs.h <<_ACEOF 9500 cat >>confdefs.h <<_ACEOF
9093echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 9509echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9094if test "${ac_cv_func_dlopen+set}" = set; then 9510if test "${ac_cv_func_dlopen+set}" = set; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6 9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9096else 9512else
9097 cat >conftest.$ac_ext <<_ACEOF 9513 cat >conftest.$ac_ext <<_ACEOF
9098#line $LINENO "configure"
9099/* confdefs.h. */ 9514/* confdefs.h. */
9100_ACEOF 9515_ACEOF
9101cat confdefs.h >>conftest.$ac_ext 9516cat confdefs.h >>conftest.$ac_ext
9102cat >>conftest.$ac_ext <<_ACEOF 9517cat >>conftest.$ac_ext <<_ACEOF
9103/* end confdefs.h. */ 9518/* end confdefs.h. */
9519/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9521#define dlopen innocuous_dlopen
9522
9104/* System header to define __stub macros and hopefully few prototypes, 9523/* System header to define __stub macros and hopefully few prototypes,
9105 which can conflict with char dlopen (); below. 9524 which can conflict with char dlopen (); below.
9106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9107 <limits.h> exists even on freestanding compilers. */ 9526 <limits.h> exists even on freestanding compilers. */
9527
9108#ifdef __STDC__ 9528#ifdef __STDC__
9109# include <limits.h> 9529# include <limits.h>
9110#else 9530#else
9111# include <assert.h> 9531# include <assert.h>
9112#endif 9532#endif
9533
9534#undef dlopen
9535
9113/* Override any gcc2 internal prototype to avoid an error. */ 9536/* Override any gcc2 internal prototype to avoid an error. */
9114#ifdef __cplusplus 9537#ifdef __cplusplus
9115extern "C" 9538extern "C"
9116{ 9539{
9117#endif 9540#endif
9138 return 0; 9561 return 0;
9139} 9562}
9140_ACEOF 9563_ACEOF
9141rm -f conftest.$ac_objext conftest$ac_exeext 9564rm -f conftest.$ac_objext conftest$ac_exeext
9142if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9565if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9143 (eval $ac_link) 2>&5 9566 (eval $ac_link) 2>conftest.er1
9144 ac_status=$? 9567 ac_status=$?
9568 grep -v '^ *+' conftest.er1 >conftest.err
9569 rm -f conftest.er1
9570 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } && 9572 (exit $ac_status); } &&
9147 { ac_try='test -s conftest$ac_exeext' 9573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 (eval $ac_try) 2>&5 9575 (eval $ac_try) 2>&5
9150 ac_status=$? 9576 ac_status=$?
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try='test -s conftest$ac_exeext'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581 (eval $ac_try) 2>&5
9582 ac_status=$?
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; }; then 9584 (exit $ac_status); }; }; then
9153 ac_cv_func_dlopen=yes 9585 ac_cv_func_dlopen=yes
9154else 9586else
9155 echo "$as_me: failed program was:" >&5 9587 echo "$as_me: failed program was:" >&5
9156sed 's/^/| /' conftest.$ac_ext >&5 9588sed 's/^/| /' conftest.$ac_ext >&5
9157 9589
9158ac_cv_func_dlopen=no 9590ac_cv_func_dlopen=no
9159fi 9591fi
9160rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9592rm -f conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9161fi 9594fi
9162echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 9595echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9163echo "${ECHO_T}$ac_cv_func_dlopen" >&6 9596echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9164if test $ac_cv_func_dlopen = yes; then 9597if test $ac_cv_func_dlopen = yes; then
9165 : 9598 :
9170 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9171else 9604else
9172 ac_check_lib_save_LIBS=$LIBS 9605 ac_check_lib_save_LIBS=$LIBS
9173LIBS="-ldl $LIBS" 9606LIBS="-ldl $LIBS"
9174cat >conftest.$ac_ext <<_ACEOF 9607cat >conftest.$ac_ext <<_ACEOF
9175#line $LINENO "configure"
9176/* confdefs.h. */ 9608/* confdefs.h. */
9177_ACEOF 9609_ACEOF
9178cat confdefs.h >>conftest.$ac_ext 9610cat confdefs.h >>conftest.$ac_ext
9179cat >>conftest.$ac_ext <<_ACEOF 9611cat >>conftest.$ac_ext <<_ACEOF
9180/* end confdefs.h. */ 9612/* end confdefs.h. */
9194 return 0; 9626 return 0;
9195} 9627}
9196_ACEOF 9628_ACEOF
9197rm -f conftest.$ac_objext conftest$ac_exeext 9629rm -f conftest.$ac_objext conftest$ac_exeext
9198if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9630if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9199 (eval $ac_link) 2>&5 9631 (eval $ac_link) 2>conftest.er1
9200 ac_status=$? 9632 ac_status=$?
9633 grep -v '^ *+' conftest.er1 >conftest.err
9634 rm -f conftest.er1
9635 cat conftest.err >&5
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); } && 9637 (exit $ac_status); } &&
9203 { ac_try='test -s conftest$ac_exeext' 9638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 (eval $ac_try) 2>&5 9640 (eval $ac_try) 2>&5
9206 ac_status=$? 9641 ac_status=$?
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; } &&
9644 { ac_try='test -s conftest$ac_exeext'
9645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 (eval $ac_try) 2>&5
9647 ac_status=$?
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); }; }; then 9649 (exit $ac_status); }; }; then
9209 ac_cv_lib_dl_dlopen=yes 9650 ac_cv_lib_dl_dlopen=yes
9210else 9651else
9211 echo "$as_me: failed program was:" >&5 9652 echo "$as_me: failed program was:" >&5
9212sed 's/^/| /' conftest.$ac_ext >&5 9653sed 's/^/| /' conftest.$ac_ext >&5
9213 9654
9214ac_cv_lib_dl_dlopen=no 9655ac_cv_lib_dl_dlopen=no
9215fi 9656fi
9216rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9657rm -f conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9217LIBS=$ac_check_lib_save_LIBS 9659LIBS=$ac_check_lib_save_LIBS
9218fi 9660fi
9219echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 9661echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9220echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9662echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9221if test $ac_cv_lib_dl_dlopen = yes; then 9663if test $ac_cv_lib_dl_dlopen = yes; then
9379 9821
9380if $CXX -v --help 2>&1 | grep -q fexceptions; then 9822if $CXX -v --help 2>&1 | grep -q fexceptions; then
9381 CXXFLAGS="$CXXFLAGS -fno-exceptions" 9823 CXXFLAGS="$CXXFLAGS -fno-exceptions"
9382fi 9824fi
9383 9825
9384if $CXX -v --help 2>&1 | grep -q ffunction-sections; then
9385 CXXFLAGS="$CXXFLAGS -ffunction-sections"
9386fi
9387
9388if $LD -v --help 2>&1 | grep -q gc-sections; then
9389 LDFLAGS="$LDFLAGS -Wl,--gc-sections"
9390fi
9391 9826
9392 9827
9393 9828
9394 9829
9395 9830
9420 case `(ac_space=' '; set | grep ac_space) 2>&1` in 9855 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9421 *ac_space=\ *) 9856 *ac_space=\ *)
9422 # `set' does not quote correctly, so add quotes (double-quote 9857 # `set' does not quote correctly, so add quotes (double-quote
9423 # substitution turns \\\\ into \\, and sed turns \\ into \). 9858 # substitution turns \\\\ into \\, and sed turns \\ into \).
9424 sed -n \ 9859 sed -n \
9425 "s/'/'\\\\''/g; 9860 "s/'/'\\\\''/g;
9426 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9427 ;; 9862 ;;
9428 *) 9863 *)
9429 # `set' quotes correctly as required by POSIX, so do not add quotes. 9864 # `set' quotes correctly as required by POSIX, so do not add quotes.
9430 sed -n \ 9865 sed -n \
9431 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 9866 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9432 ;; 9867 ;;
9433 esac; 9868 esac;
9434} | 9869} |
9435 sed ' 9870 sed '
9436 t clear 9871 t clear
9456# VPATH may cause trouble with some makes, so we remove $(srcdir), 9891# VPATH may cause trouble with some makes, so we remove $(srcdir),
9457# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 9892# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9458# trailing colons and then remove the whole line if VPATH becomes empty 9893# trailing colons and then remove the whole line if VPATH becomes empty
9459# (actually we leave an empty line to preserve line numbers). 9894# (actually we leave an empty line to preserve line numbers).
9460if test "x$srcdir" = x.; then 9895if test "x$srcdir" = x.; then
9461 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 9896 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9462s/:*\$(srcdir):*/:/; 9897s/:*\$(srcdir):*/:/;
9463s/:*\${srcdir}:*/:/; 9898s/:*\${srcdir}:*/:/;
9464s/:*@srcdir@:*/:/; 9899s/:*@srcdir@:*/:/;
9465s/^\([^=]*=[ ]*\):*/\1/; 9900s/^\([^=]*=[ ]*\):*/\1/;
9466s/:*$//; 9901s/:*$//;
9467s/^[^=]*=[ ]*$//; 9902s/^[^=]*=[ ]*$//;
9468}' 9903}'
9469fi 9904fi
9470 9905
9471DEFS=-DHAVE_CONFIG_H 9906DEFS=-DHAVE_CONFIG_H
9472 9907
9473ac_libobjs= 9908ac_libobjs=
9474ac_ltlibobjs= 9909ac_ltlibobjs=
9475for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9910for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9476 # 1. Remove the extension, and $U if already installed. 9911 # 1. Remove the extension, and $U if already installed.
9477 ac_i=`echo "$ac_i" | 9912 ac_i=`echo "$ac_i" |
9478 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 9913 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9479 # 2. Add them. 9914 # 2. Add them.
9480 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 9915 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9481 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 9916 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9482done 9917done
9483LIBOBJS=$ac_libobjs 9918LIBOBJS=$ac_libobjs
9552 # is contrary to our usage. Disable this feature. 9987 # is contrary to our usage. Disable this feature.
9553 alias -g '${1+"$@"}'='"$@"' 9988 alias -g '${1+"$@"}'='"$@"'
9554elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 9989elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9555 set -o posix 9990 set -o posix
9556fi 9991fi
9992DUALCASE=1; export DUALCASE # for MKS sh
9557 9993
9558# Support unset when possible. 9994# Support unset when possible.
9559if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 9995if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9560 as_unset=unset 9996 as_unset=unset
9561else 9997else
9562 as_unset=false 9998 as_unset=false
9563fi 9999fi
9564 10000
9573for as_var in \ 10009for as_var in \
9574 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 10010 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9575 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 10011 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9576 LC_TELEPHONE LC_TIME 10012 LC_TELEPHONE LC_TIME
9577do 10013do
9578 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 10014 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9579 eval $as_var=C; export $as_var 10015 eval $as_var=C; export $as_var
9580 else 10016 else
9581 $as_unset $as_var 10017 $as_unset $as_var
9582 fi 10018 fi
9583done 10019done
9752rm -f conf$$ conf$$.exe conf$$.file 10188rm -f conf$$ conf$$.exe conf$$.file
9753 10189
9754if mkdir -p . 2>/dev/null; then 10190if mkdir -p . 2>/dev/null; then
9755 as_mkdir_p=: 10191 as_mkdir_p=:
9756else 10192else
10193 test -d ./-p && rmdir ./-p
9757 as_mkdir_p=false 10194 as_mkdir_p=false
9758fi 10195fi
9759 10196
9760as_executable_p="test -f" 10197as_executable_p="test -f"
9761 10198
9762# Sed expression to map a string onto a valid CPP name. 10199# Sed expression to map a string onto a valid CPP name.
9763as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 10200as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9764 10201
9765# Sed expression to map a string onto a valid variable name. 10202# Sed expression to map a string onto a valid variable name.
9766as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 10203as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9767 10204
9768 10205
9769# IFS 10206# IFS
9770# We need space, tab and new line, in precisely that order. 10207# We need space, tab and new line, in precisely that order.
9771as_nl=' 10208as_nl='
9788_ASBOX 10225_ASBOX
9789} >&5 10226} >&5
9790cat >&5 <<_CSEOF 10227cat >&5 <<_CSEOF
9791 10228
9792This file was extended by $as_me, which was 10229This file was extended by $as_me, which was
9793generated by GNU Autoconf 2.57. Invocation command line was 10230generated by GNU Autoconf 2.59. Invocation command line was
9794 10231
9795 CONFIG_FILES = $CONFIG_FILES 10232 CONFIG_FILES = $CONFIG_FILES
9796 CONFIG_HEADERS = $CONFIG_HEADERS 10233 CONFIG_HEADERS = $CONFIG_HEADERS
9797 CONFIG_LINKS = $CONFIG_LINKS 10234 CONFIG_LINKS = $CONFIG_LINKS
9798 CONFIG_COMMANDS = $CONFIG_COMMANDS 10235 CONFIG_COMMANDS = $CONFIG_COMMANDS
9832 -V, --version print version number, then exit 10269 -V, --version print version number, then exit
9833 -q, --quiet do not print progress messages 10270 -q, --quiet do not print progress messages
9834 -d, --debug don't remove temporary files 10271 -d, --debug don't remove temporary files
9835 --recheck update $as_me by reconfiguring in the same conditions 10272 --recheck update $as_me by reconfiguring in the same conditions
9836 --file=FILE[:TEMPLATE] 10273 --file=FILE[:TEMPLATE]
9837 instantiate the configuration file FILE 10274 instantiate the configuration file FILE
9838 --header=FILE[:TEMPLATE] 10275 --header=FILE[:TEMPLATE]
9839 instantiate the configuration header FILE 10276 instantiate the configuration header FILE
9840 10277
9841Configuration files: 10278Configuration files:
9842$config_files 10279$config_files
9843 10280
9844Configuration headers: 10281Configuration headers:
9851_ACEOF 10288_ACEOF
9852 10289
9853cat >>$CONFIG_STATUS <<_ACEOF 10290cat >>$CONFIG_STATUS <<_ACEOF
9854ac_cs_version="\\ 10291ac_cs_version="\\
9855config.status 10292config.status
9856configured by $0, generated by GNU Autoconf 2.57, 10293configured by $0, generated by GNU Autoconf 2.59,
9857 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 10294 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9858 10295
9859Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9860Free Software Foundation, Inc. 10296Copyright (C) 2003 Free Software Foundation, Inc.
9861This config.status script is free software; the Free Software Foundation 10297This config.status script is free software; the Free Software Foundation
9862gives unlimited permission to copy, distribute and modify it." 10298gives unlimited permission to copy, distribute and modify it."
9863srcdir=$srcdir 10299srcdir=$srcdir
9864INSTALL="$INSTALL" 10300INSTALL="$INSTALL"
9865_ACEOF 10301_ACEOF
10173 # is no need to browse any of the substitutions). 10609 # is no need to browse any of the substitutions).
10174 # These are the two extra sed commands mentioned above. 10610 # These are the two extra sed commands mentioned above.
10175 (echo ':t 10611 (echo ':t
10176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 10612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10177 if test -z "$ac_sed_cmds"; then 10613 if test -z "$ac_sed_cmds"; then
10178 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 10614 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10179 else 10615 else
10180 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 10616 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10181 fi 10617 fi
10182 ac_sed_frag=`expr $ac_sed_frag + 1` 10618 ac_sed_frag=`expr $ac_sed_frag + 1`
10183 ac_beg=$ac_end 10619 ac_beg=$ac_end
10184 ac_end=`expr $ac_end + $ac_max_sed_lines` 10620 ac_end=`expr $ac_end + $ac_max_sed_lines`
10185 fi 10621 fi
10193cat >>$CONFIG_STATUS <<\_ACEOF 10629cat >>$CONFIG_STATUS <<\_ACEOF
10194for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 10630for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10196 case $ac_file in 10632 case $ac_file in
10197 - | *:- | *:-:* ) # input from stdin 10633 - | *:- | *:-:* ) # input from stdin
10198 cat >$tmp/stdin 10634 cat >$tmp/stdin
10199 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10635 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10200 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10201 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10637 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10202 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10638 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10203 * ) ac_file_in=$ac_file.in ;; 10639 * ) ac_file_in=$ac_file.in ;;
10204 esac 10640 esac
10205 10641
10206 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 10642 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10207 ac_dir=`(dirname "$ac_file") 2>/dev/null || 10643 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10208$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10644$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10209 X"$ac_file" : 'X\(//\)[^/]' \| \ 10645 X"$ac_file" : 'X\(//\)[^/]' \| \
10210 X"$ac_file" : 'X\(//\)$' \| \ 10646 X"$ac_file" : 'X\(//\)$' \| \
10211 X"$ac_file" : 'X\(/\)' \| \ 10647 X"$ac_file" : 'X\(/\)' \| \
10212 . : '\(.\)' 2>/dev/null || 10648 . : '\(.\)' 2>/dev/null ||
10213echo X"$ac_file" | 10649echo X"$ac_file" |
10214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10215 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10216 /^X\(\/\/\)$/{ s//\1/; q; } 10652 /^X\(\/\/\)$/{ s//\1/; q; }
10217 /^X\(\/\).*/{ s//\1/; q; } 10653 /^X\(\/\).*/{ s//\1/; q; }
10223 as_dirs= 10659 as_dirs=
10224 while test ! -d "$as_dir"; do 10660 while test ! -d "$as_dir"; do
10225 as_dirs="$as_dir $as_dirs" 10661 as_dirs="$as_dir $as_dirs"
10226 as_dir=`(dirname "$as_dir") 2>/dev/null || 10662 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10227$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10663$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10228 X"$as_dir" : 'X\(//\)[^/]' \| \ 10664 X"$as_dir" : 'X\(//\)[^/]' \| \
10229 X"$as_dir" : 'X\(//\)$' \| \ 10665 X"$as_dir" : 'X\(//\)$' \| \
10230 X"$as_dir" : 'X\(/\)' \| \ 10666 X"$as_dir" : 'X\(/\)' \| \
10231 . : '\(.\)' 2>/dev/null || 10667 . : '\(.\)' 2>/dev/null ||
10232echo X"$as_dir" | 10668echo X"$as_dir" |
10233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 10669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10234 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 10670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10235 /^X\(\/\/\)$/{ s//\1/; q; } 10671 /^X\(\/\/\)$/{ s//\1/; q; }
10236 /^X\(\/\).*/{ s//\1/; q; } 10672 /^X\(\/\).*/{ s//\1/; q; }
10264 ac_top_srcdir=$srcdir ;; 10700 ac_top_srcdir=$srcdir ;;
10265 *) # Relative path. 10701 *) # Relative path.
10266 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 10702 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10267 ac_top_srcdir=$ac_top_builddir$srcdir ;; 10703 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10268esac 10704esac
10269# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 10705
10270# absolute. 10706# Do not use `cd foo && pwd` to compute absolute paths, because
10271ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 10707# the directories may not exist.
10272ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 10708case `pwd` in
10273ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 10709.) ac_abs_builddir="$ac_dir";;
10274ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 10710*)
10711 case "$ac_dir" in
10712 .) ac_abs_builddir=`pwd`;;
10713 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10714 *) ac_abs_builddir=`pwd`/"$ac_dir";;
10715 esac;;
10716esac
10717case $ac_abs_builddir in
10718.) ac_abs_top_builddir=${ac_top_builddir}.;;
10719*)
10720 case ${ac_top_builddir}. in
10721 .) ac_abs_top_builddir=$ac_abs_builddir;;
10722 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10723 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10724 esac;;
10725esac
10726case $ac_abs_builddir in
10727.) ac_abs_srcdir=$ac_srcdir;;
10728*)
10729 case $ac_srcdir in
10730 .) ac_abs_srcdir=$ac_abs_builddir;;
10731 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10732 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10733 esac;;
10734esac
10735case $ac_abs_builddir in
10736.) ac_abs_top_srcdir=$ac_top_srcdir;;
10737*)
10738 case $ac_top_srcdir in
10739 .) ac_abs_top_srcdir=$ac_abs_builddir;;
10740 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10741 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10742 esac;;
10743esac
10275 10744
10276 10745
10277 case $INSTALL in 10746 case $INSTALL in
10278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10747 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10279 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 10748 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10280 esac 10749 esac
10281 10750
10282 if test x"$ac_file" != x-; then
10283 { echo "$as_me:$LINENO: creating $ac_file" >&5
10284echo "$as_me: creating $ac_file" >&6;}
10285 rm -f "$ac_file"
10286 fi
10287 # Let's still pretend it is `configure' which instantiates (i.e., don't 10751 # Let's still pretend it is `configure' which instantiates (i.e., don't
10288 # use $as_me), people would be surprised to read: 10752 # use $as_me), people would be surprised to read:
10289 # /* config.h. Generated by config.status. */ 10753 # /* config.h. Generated by config.status. */
10290 if test x"$ac_file" = x-; then 10754 if test x"$ac_file" = x-; then
10291 configure_input= 10755 configure_input=
10292 else 10756 else
10293 configure_input="$ac_file. " 10757 configure_input="$ac_file. "
10294 fi 10758 fi
10295 configure_input=$configure_input"Generated from `echo $ac_file_in | 10759 configure_input=$configure_input"Generated from `echo $ac_file_in |
10296 sed 's,.*/,,'` by configure." 10760 sed 's,.*/,,'` by configure."
10297 10761
10298 # First look for the input files in the build tree, otherwise in the 10762 # First look for the input files in the build tree, otherwise in the
10299 # src tree. 10763 # src tree.
10300 ac_file_inputs=`IFS=: 10764 ac_file_inputs=`IFS=:
10301 for f in $ac_file_in; do 10765 for f in $ac_file_in; do
10302 case $f in 10766 case $f in
10303 -) echo $tmp/stdin ;; 10767 -) echo $tmp/stdin ;;
10304 [\\/$]*) 10768 [\\/$]*)
10305 # Absolute (can't be DOS-style, as IFS=:) 10769 # Absolute (can't be DOS-style, as IFS=:)
10306 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10307echo "$as_me: error: cannot find input file: $f" >&2;} 10771echo "$as_me: error: cannot find input file: $f" >&2;}
10308 { (exit 1); exit 1; }; } 10772 { (exit 1); exit 1; }; }
10309 echo $f;; 10773 echo "$f";;
10310 *) # Relative 10774 *) # Relative
10311 if test -f "$f"; then 10775 if test -f "$f"; then
10312 # Build tree 10776 # Build tree
10313 echo $f 10777 echo "$f"
10314 elif test -f "$srcdir/$f"; then 10778 elif test -f "$srcdir/$f"; then
10315 # Source tree 10779 # Source tree
10316 echo $srcdir/$f 10780 echo "$srcdir/$f"
10317 else 10781 else
10318 # /dev/null tree 10782 # /dev/null tree
10319 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10320echo "$as_me: error: cannot find input file: $f" >&2;} 10784echo "$as_me: error: cannot find input file: $f" >&2;}
10321 { (exit 1); exit 1; }; } 10785 { (exit 1); exit 1; }; }
10322 fi;; 10786 fi;;
10323 esac 10787 esac
10324 done` || { (exit 1); exit 1; } 10788 done` || { (exit 1); exit 1; }
10789
10790 if test x"$ac_file" != x-; then
10791 { echo "$as_me:$LINENO: creating $ac_file" >&5
10792echo "$as_me: creating $ac_file" >&6;}
10793 rm -f "$ac_file"
10794 fi
10325_ACEOF 10795_ACEOF
10326cat >>$CONFIG_STATUS <<_ACEOF 10796cat >>$CONFIG_STATUS <<_ACEOF
10327 sed "$ac_vpsub 10797 sed "$ac_vpsub
10328$extrasub 10798$extrasub
10329_ACEOF 10799_ACEOF
10359 10829
10360# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 10830# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10361# NAME is the cpp macro being defined and VALUE is the value it is being given. 10831# NAME is the cpp macro being defined and VALUE is the value it is being given.
10362# 10832#
10363# ac_d sets the value in "#define NAME VALUE" lines. 10833# ac_d sets the value in "#define NAME VALUE" lines.
10364ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 10834ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10365ac_dB='[ ].*$,\1#\2' 10835ac_dB='[ ].*$,\1#\2'
10366ac_dC=' ' 10836ac_dC=' '
10367ac_dD=',;t' 10837ac_dD=',;t'
10368# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 10838# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10369ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 10839ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10370ac_uB='$,\1#\2define\3' 10840ac_uB='$,\1#\2define\3'
10371ac_uC=' ' 10841ac_uC=' '
10372ac_uD=',;t' 10842ac_uD=',;t'
10373 10843
10374for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 10844for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10375 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 10845 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10376 case $ac_file in 10846 case $ac_file in
10377 - | *:- | *:-:* ) # input from stdin 10847 - | *:- | *:-:* ) # input from stdin
10378 cat >$tmp/stdin 10848 cat >$tmp/stdin
10379 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10849 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10380 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10850 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10381 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 10851 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10382 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 10852 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10383 * ) ac_file_in=$ac_file.in ;; 10853 * ) ac_file_in=$ac_file.in ;;
10384 esac 10854 esac
10385 10855
10386 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 10856 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10387echo "$as_me: creating $ac_file" >&6;} 10857echo "$as_me: creating $ac_file" >&6;}
10391 ac_file_inputs=`IFS=: 10861 ac_file_inputs=`IFS=:
10392 for f in $ac_file_in; do 10862 for f in $ac_file_in; do
10393 case $f in 10863 case $f in
10394 -) echo $tmp/stdin ;; 10864 -) echo $tmp/stdin ;;
10395 [\\/$]*) 10865 [\\/$]*)
10396 # Absolute (can't be DOS-style, as IFS=:) 10866 # Absolute (can't be DOS-style, as IFS=:)
10397 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10867 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10398echo "$as_me: error: cannot find input file: $f" >&2;} 10868echo "$as_me: error: cannot find input file: $f" >&2;}
10399 { (exit 1); exit 1; }; } 10869 { (exit 1); exit 1; }; }
10400 echo $f;; 10870 # Do quote $f, to prevent DOS paths from being IFS'd.
10871 echo "$f";;
10401 *) # Relative 10872 *) # Relative
10402 if test -f "$f"; then 10873 if test -f "$f"; then
10403 # Build tree 10874 # Build tree
10404 echo $f 10875 echo "$f"
10405 elif test -f "$srcdir/$f"; then 10876 elif test -f "$srcdir/$f"; then
10406 # Source tree 10877 # Source tree
10407 echo $srcdir/$f 10878 echo "$srcdir/$f"
10408 else 10879 else
10409 # /dev/null tree 10880 # /dev/null tree
10410 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 10881 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10411echo "$as_me: error: cannot find input file: $f" >&2;} 10882echo "$as_me: error: cannot find input file: $f" >&2;}
10412 { (exit 1); exit 1; }; } 10883 { (exit 1); exit 1; }; }
10413 fi;; 10884 fi;;
10414 esac 10885 esac
10415 done` || { (exit 1); exit 1; } 10886 done` || { (exit 1); exit 1; }
10416 # Remove the trailing spaces. 10887 # Remove the trailing spaces.
10417 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 10888 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10418 10889
10419_ACEOF 10890_ACEOF
10420 10891
10421# Transform confdefs.h into two sed scripts, `conftest.defines' and 10892# Transform confdefs.h into two sed scripts, `conftest.defines' and
10422# `conftest.undefs', that substitutes the proper values into 10893# `conftest.undefs', that substitutes the proper values into
10435cat >confdef2sed.sed <<\_ACEOF 10906cat >confdef2sed.sed <<\_ACEOF
10436s/[\\&,]/\\&/g 10907s/[\\&,]/\\&/g
10437s,[\\$`],\\&,g 10908s,[\\$`],\\&,g
10438t clear 10909t clear
10439: clear 10910: clear
10440s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 10911s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10441t end 10912t end
10442s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 10913s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10443: end 10914: end
10444_ACEOF 10915_ACEOF
10445# If some macros were called several times there might be several times 10916# If some macros were called several times there might be several times
10446# the same #defines, which is useless. Nevertheless, we may not want to 10917# the same #defines, which is useless. Nevertheless, we may not want to
10447# sort them, since we want the *last* AC-DEFINE to be honored. 10918# sort them, since we want the *last* AC-DEFINE to be honored.
10451 10922
10452# This sed command replaces #undef with comments. This is necessary, for 10923# This sed command replaces #undef with comments. This is necessary, for
10453# example, in the case of _POSIX_SOURCE, which is predefined and required 10924# example, in the case of _POSIX_SOURCE, which is predefined and required
10454# on some systems where configure will not decide to define it. 10925# on some systems where configure will not decide to define it.
10455cat >>conftest.undefs <<\_ACEOF 10926cat >>conftest.undefs <<\_ACEOF
10456s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 10927s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10457_ACEOF 10928_ACEOF
10458 10929
10459# Break up conftest.defines because some shells have a limit on the size 10930# Break up conftest.defines because some shells have a limit on the size
10460# of here documents, and old seds have small limits too (100 cmds). 10931# of here documents, and old seds have small limits too (100 cmds).
10461echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 10932echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10462echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 10933echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10463echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 10934echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10464echo ' :' >>$CONFIG_STATUS 10935echo ' :' >>$CONFIG_STATUS
10465rm -f conftest.tail 10936rm -f conftest.tail
10466while grep . conftest.defines >/dev/null 10937while grep . conftest.defines >/dev/null
10467do 10938do
10468 # Write a limited-size here document to $tmp/defines.sed. 10939 # Write a limited-size here document to $tmp/defines.sed.
10469 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 10940 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10470 # Speed up: don't consider the non `#define' lines. 10941 # Speed up: don't consider the non `#define' lines.
10471 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 10942 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10472 # Work around the forget-to-reset-the-flag bug. 10943 # Work around the forget-to-reset-the-flag bug.
10473 echo 't clr' >>$CONFIG_STATUS 10944 echo 't clr' >>$CONFIG_STATUS
10474 echo ': clr' >>$CONFIG_STATUS 10945 echo ': clr' >>$CONFIG_STATUS
10475 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 10946 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10476 echo 'CEOF 10947 echo 'CEOF
10493while grep . conftest.undefs >/dev/null 10964while grep . conftest.undefs >/dev/null
10494do 10965do
10495 # Write a limited-size here document to $tmp/undefs.sed. 10966 # Write a limited-size here document to $tmp/undefs.sed.
10496 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 10967 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10497 # Speed up: don't consider the non `#undef' 10968 # Speed up: don't consider the non `#undef'
10498 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 10969 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10499 # Work around the forget-to-reset-the-flag bug. 10970 # Work around the forget-to-reset-the-flag bug.
10500 echo 't clr' >>$CONFIG_STATUS 10971 echo 't clr' >>$CONFIG_STATUS
10501 echo ': clr' >>$CONFIG_STATUS 10972 echo ': clr' >>$CONFIG_STATUS
10502 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 10973 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10503 echo 'CEOF 10974 echo 'CEOF
10527 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 10998 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10528echo "$as_me: $ac_file is unchanged" >&6;} 10999echo "$as_me: $ac_file is unchanged" >&6;}
10529 else 11000 else
10530 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11001 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10531$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11002$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10532 X"$ac_file" : 'X\(//\)[^/]' \| \ 11003 X"$ac_file" : 'X\(//\)[^/]' \| \
10533 X"$ac_file" : 'X\(//\)$' \| \ 11004 X"$ac_file" : 'X\(//\)$' \| \
10534 X"$ac_file" : 'X\(/\)' \| \ 11005 X"$ac_file" : 'X\(/\)' \| \
10535 . : '\(.\)' 2>/dev/null || 11006 . : '\(.\)' 2>/dev/null ||
10536echo X"$ac_file" | 11007echo X"$ac_file" |
10537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10538 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10539 /^X\(\/\/\)$/{ s//\1/; q; } 11010 /^X\(\/\/\)$/{ s//\1/; q; }
10540 /^X\(\/\).*/{ s//\1/; q; } 11011 /^X\(\/\).*/{ s//\1/; q; }
10546 as_dirs= 11017 as_dirs=
10547 while test ! -d "$as_dir"; do 11018 while test ! -d "$as_dir"; do
10548 as_dirs="$as_dir $as_dirs" 11019 as_dirs="$as_dir $as_dirs"
10549 as_dir=`(dirname "$as_dir") 2>/dev/null || 11020 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10550$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11021$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10551 X"$as_dir" : 'X\(//\)[^/]' \| \ 11022 X"$as_dir" : 'X\(//\)[^/]' \| \
10552 X"$as_dir" : 'X\(//\)$' \| \ 11023 X"$as_dir" : 'X\(//\)$' \| \
10553 X"$as_dir" : 'X\(/\)' \| \ 11024 X"$as_dir" : 'X\(/\)' \| \
10554 . : '\(.\)' 2>/dev/null || 11025 . : '\(.\)' 2>/dev/null ||
10555echo X"$as_dir" | 11026echo X"$as_dir" |
10556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10557 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10558 /^X\(\/\/\)$/{ s//\1/; q; } 11029 /^X\(\/\/\)$/{ s//\1/; q; }
10559 /^X\(\/\).*/{ s//\1/; q; } 11030 /^X\(\/\).*/{ s//\1/; q; }
10581 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11052 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10582 esac 11053 esac
10583done 11054done
10584echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 11055echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10585$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11056$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10586 X$ac_file : 'X\(//\)[^/]' \| \ 11057 X$ac_file : 'X\(//\)[^/]' \| \
10587 X$ac_file : 'X\(//\)$' \| \ 11058 X$ac_file : 'X\(//\)$' \| \
10588 X$ac_file : 'X\(/\)' \| \ 11059 X$ac_file : 'X\(/\)' \| \
10589 . : '\(.\)' 2>/dev/null || 11060 . : '\(.\)' 2>/dev/null ||
10590echo X$ac_file | 11061echo X$ac_file |
10591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10592 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10593 /^X\(\/\/\)$/{ s//\1/; q; } 11064 /^X\(\/\/\)$/{ s//\1/; q; }
10594 /^X\(\/\).*/{ s//\1/; q; } 11065 /^X\(\/\).*/{ s//\1/; q; }
10603for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 11074for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10604 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 11075 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10605 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 11076 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10606 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 11077 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10607$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11078$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10608 X"$ac_dest" : 'X\(//\)[^/]' \| \ 11079 X"$ac_dest" : 'X\(//\)[^/]' \| \
10609 X"$ac_dest" : 'X\(//\)$' \| \ 11080 X"$ac_dest" : 'X\(//\)$' \| \
10610 X"$ac_dest" : 'X\(/\)' \| \ 11081 X"$ac_dest" : 'X\(/\)' \| \
10611 . : '\(.\)' 2>/dev/null || 11082 . : '\(.\)' 2>/dev/null ||
10612echo X"$ac_dest" | 11083echo X"$ac_dest" |
10613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10614 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10615 /^X\(\/\/\)$/{ s//\1/; q; } 11086 /^X\(\/\/\)$/{ s//\1/; q; }
10616 /^X\(\/\).*/{ s//\1/; q; } 11087 /^X\(\/\).*/{ s//\1/; q; }
10617 s/.*/./; q'` 11088 s/.*/./; q'`
11089 { if $as_mkdir_p; then
11090 mkdir -p "$ac_dir"
11091 else
11092 as_dir="$ac_dir"
11093 as_dirs=
11094 while test ! -d "$as_dir"; do
11095 as_dirs="$as_dir $as_dirs"
11096 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11097$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11098 X"$as_dir" : 'X\(//\)[^/]' \| \
11099 X"$as_dir" : 'X\(//\)$' \| \
11100 X"$as_dir" : 'X\(/\)' \| \
11101 . : '\(.\)' 2>/dev/null ||
11102echo X"$as_dir" |
11103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11105 /^X\(\/\/\)$/{ s//\1/; q; }
11106 /^X\(\/\).*/{ s//\1/; q; }
11107 s/.*/./; q'`
11108 done
11109 test ! -n "$as_dirs" || mkdir $as_dirs
11110 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11111echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11112 { (exit 1); exit 1; }; }; }
11113
10618 ac_builddir=. 11114 ac_builddir=.
10619 11115
10620if test "$ac_dir" != .; then 11116if test "$ac_dir" != .; then
10621 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10622 # A "../" for each directory in $ac_dir_suffix. 11118 # A "../" for each directory in $ac_dir_suffix.
10638 ac_top_srcdir=$srcdir ;; 11134 ac_top_srcdir=$srcdir ;;
10639 *) # Relative path. 11135 *) # Relative path.
10640 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10641 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
10642esac 11138esac
10643# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 11139
10644# absolute. 11140# Do not use `cd foo && pwd` to compute absolute paths, because
10645ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 11141# the directories may not exist.
10646ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 11142case `pwd` in
10647ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 11143.) ac_abs_builddir="$ac_dir";;
10648ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 11144*)
11145 case "$ac_dir" in
11146 .) ac_abs_builddir=`pwd`;;
11147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11149 esac;;
11150esac
11151case $ac_abs_builddir in
11152.) ac_abs_top_builddir=${ac_top_builddir}.;;
11153*)
11154 case ${ac_top_builddir}. in
11155 .) ac_abs_top_builddir=$ac_abs_builddir;;
11156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11158 esac;;
11159esac
11160case $ac_abs_builddir in
11161.) ac_abs_srcdir=$ac_srcdir;;
11162*)
11163 case $ac_srcdir in
11164 .) ac_abs_srcdir=$ac_abs_builddir;;
11165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11167 esac;;
11168esac
11169case $ac_abs_builddir in
11170.) ac_abs_top_srcdir=$ac_top_srcdir;;
11171*)
11172 case $ac_top_srcdir in
11173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11176 esac;;
11177esac
10649 11178
10650 11179
10651 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 11180 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10652echo "$as_me: executing $ac_dest commands" >&6;} 11181echo "$as_me: executing $ac_dest commands" >&6;}
10653 case $ac_dest in 11182 case $ac_dest in
10757 # each Makefile.in and add a new line on top of each file to say so. 11286 # each Makefile.in and add a new line on top of each file to say so.
10758 # So let's grep whole file. 11287 # So let's grep whole file.
10759 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 11288 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10760 dirpart=`(dirname "$mf") 2>/dev/null || 11289 dirpart=`(dirname "$mf") 2>/dev/null ||
10761$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11290$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10762 X"$mf" : 'X\(//\)[^/]' \| \ 11291 X"$mf" : 'X\(//\)[^/]' \| \
10763 X"$mf" : 'X\(//\)$' \| \ 11292 X"$mf" : 'X\(//\)$' \| \
10764 X"$mf" : 'X\(/\)' \| \ 11293 X"$mf" : 'X\(/\)' \| \
10765 . : '\(.\)' 2>/dev/null || 11294 . : '\(.\)' 2>/dev/null ||
10766echo X"$mf" | 11295echo X"$mf" |
10767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10768 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10769 /^X\(\/\/\)$/{ s//\1/; q; } 11298 /^X\(\/\/\)$/{ s//\1/; q; }
10770 /^X\(\/\).*/{ s//\1/; q; } 11299 /^X\(\/\).*/{ s//\1/; q; }
10796 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 11325 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10797 # Make sure the directory exists. 11326 # Make sure the directory exists.
10798 test -f "$dirpart/$file" && continue 11327 test -f "$dirpart/$file" && continue
10799 fdir=`(dirname "$file") 2>/dev/null || 11328 fdir=`(dirname "$file") 2>/dev/null ||
10800$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11329$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10801 X"$file" : 'X\(//\)[^/]' \| \ 11330 X"$file" : 'X\(//\)[^/]' \| \
10802 X"$file" : 'X\(//\)$' \| \ 11331 X"$file" : 'X\(//\)$' \| \
10803 X"$file" : 'X\(/\)' \| \ 11332 X"$file" : 'X\(/\)' \| \
10804 . : '\(.\)' 2>/dev/null || 11333 . : '\(.\)' 2>/dev/null ||
10805echo X"$file" | 11334echo X"$file" |
10806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10807 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10808 /^X\(\/\/\)$/{ s//\1/; q; } 11337 /^X\(\/\/\)$/{ s//\1/; q; }
10809 /^X\(\/\).*/{ s//\1/; q; } 11338 /^X\(\/\).*/{ s//\1/; q; }
10815 as_dirs= 11344 as_dirs=
10816 while test ! -d "$as_dir"; do 11345 while test ! -d "$as_dir"; do
10817 as_dirs="$as_dir $as_dirs" 11346 as_dirs="$as_dir $as_dirs"
10818 as_dir=`(dirname "$as_dir") 2>/dev/null || 11347 as_dir=`(dirname "$as_dir") 2>/dev/null ||
10819$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10820 X"$as_dir" : 'X\(//\)[^/]' \| \ 11349 X"$as_dir" : 'X\(//\)[^/]' \| \
10821 X"$as_dir" : 'X\(//\)$' \| \ 11350 X"$as_dir" : 'X\(//\)$' \| \
10822 X"$as_dir" : 'X\(/\)' \| \ 11351 X"$as_dir" : 'X\(/\)' \| \
10823 . : '\(.\)' 2>/dev/null || 11352 . : '\(.\)' 2>/dev/null ||
10824echo X"$as_dir" | 11353echo X"$as_dir" |
10825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10826 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10827 /^X\(\/\/\)$/{ s//\1/; q; } 11356 /^X\(\/\/\)$/{ s//\1/; q; }
10828 /^X\(\/\).*/{ s//\1/; q; } 11357 /^X\(\/\).*/{ s//\1/; q; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines