Mon Feb 9 20:35:22 2009 UTC ()
Only use issetugid if it exists. Fixes reported build issues on QNX and
AIX.


(joerg)
diff -r1.69 -r1.70 pkgsrc/pkgtools/libnbcompat/files/configure
diff -r1.70 -r1.71 pkgsrc/pkgtools/libnbcompat/files/configure.ac
diff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/db/btree/bt_open.c
diff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/db/hash/hash_page.c
diff -r1.24 -r1.25 pkgsrc/pkgtools/libnbcompat/files/nbcompat/config.h.in

cvs diff -r1.69 -r1.70 pkgsrc/pkgtools/libnbcompat/files/configure (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/configure 2008/11/08 21:35:57 1.69
+++ pkgsrc/pkgtools/libnbcompat/files/configure 2009/02/09 20:35:21 1.70
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
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.62 for libnbcompat 20080519. 3# Generated by GNU Autoconf 2.63 for libnbcompat 20080519.
4# 4#
5# Report bugs to <grant@NetBSD.org>. 5# Report bugs to <grant@NetBSD.org>.
6# 6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation 9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it. 10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ## 11## --------------------- ##
12## M4sh Initialization. ## 12## M4sh Initialization. ##
13## --------------------- ## 13## --------------------- ##
14 14
15# Be more Bourne compatible 15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh 16DUALCASE=1; export DUALCASE # for MKS sh
@@ -626,96 +626,96 @@ ac_includes_default="\ @@ -626,96 +626,96 @@ ac_includes_default="\
626#ifdef HAVE_STRINGS_H 626#ifdef HAVE_STRINGS_H
627# include <strings.h> 627# include <strings.h>
628#endif 628#endif
629#ifdef HAVE_INTTYPES_H 629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h> 630# include <inttypes.h>
631#endif 631#endif
632#ifdef HAVE_STDINT_H 632#ifdef HAVE_STDINT_H
633# include <stdint.h> 633# include <stdint.h>
634#endif 634#endif
635#ifdef HAVE_UNISTD_H 635#ifdef HAVE_UNISTD_H
636# include <unistd.h> 636# include <unistd.h>
637#endif" 637#endif"
638 638
639ac_subst_vars='SHELL 639ac_subst_vars='LTLIBOBJS
640PATH_SEPARATOR 
641PACKAGE_NAME 
642PACKAGE_TARNAME 
643PACKAGE_VERSION 
644PACKAGE_STRING 
645PACKAGE_BUGREPORT 
646exec_prefix 
647prefix 
648program_transform_name 
649bindir 
650sbindir 
651libexecdir 
652datarootdir 
653datadir 
654sysconfdir 
655sharedstatedir 
656localstatedir 
657includedir 
658oldincludedir 
659docdir 
660infodir 
661htmldir 
662dvidir 
663pdfdir 
664psdir 
665libdir 
666localedir 
667mandir 
668DEFS 
669ECHO_C 
670ECHO_N 
671ECHO_T 
672LIBS 
673build_alias 
674host_alias 
675target_alias 
676build 
677build_cpu 
678build_vendor 
679build_os 
680host 
681host_cpu 
682host_vendor 
683host_os 
684CANONICAL_HOST 
685INCLUDES 
686SET_MAKE 
687CC 
688CFLAGS 
689LDFLAGS 
690CPPFLAGS 
691ac_ct_CC 
692EXEEXT 
693OBJEXT 
694INSTALL_PROGRAM 
695INSTALL_SCRIPT 
696INSTALL_DATA 
697LN_S 
698RANLIB 
699AWK 
700AR 
701AUTOCONF 
702AUTOHEADER 
703CPP 
704GREP 
705EGREP 
706LIBOBJS 
707WITH_DB 640WITH_DB
708LTLIBOBJS' 641LIBOBJS
 642EGREP
 643GREP
 644CPP
 645AUTOHEADER
 646AUTOCONF
 647AR
 648AWK
 649RANLIB
 650LN_S
 651INSTALL_DATA
 652INSTALL_SCRIPT
 653INSTALL_PROGRAM
 654OBJEXT
 655EXEEXT
 656ac_ct_CC
 657CPPFLAGS
 658LDFLAGS
 659CFLAGS
 660CC
 661SET_MAKE
 662INCLUDES
 663CANONICAL_HOST
 664host_os
 665host_vendor
 666host_cpu
 667host
 668build_os
 669build_vendor
 670build_cpu
 671build
 672target_alias
 673host_alias
 674build_alias
 675LIBS
 676ECHO_T
 677ECHO_N
 678ECHO_C
 679DEFS
 680mandir
 681localedir
 682libdir
 683psdir
 684pdfdir
 685dvidir
 686htmldir
 687infodir
 688docdir
 689oldincludedir
 690includedir
 691localstatedir
 692sharedstatedir
 693sysconfdir
 694datadir
 695datarootdir
 696libexecdir
 697sbindir
 698bindir
 699program_transform_name
 700prefix
 701exec_prefix
 702PACKAGE_BUGREPORT
 703PACKAGE_STRING
 704PACKAGE_VERSION
 705PACKAGE_TARNAME
 706PACKAGE_NAME
 707PATH_SEPARATOR
 708SHELL'
709ac_subst_files='' 709ac_subst_files=''
710ac_user_opts=' 710ac_user_opts='
711enable_option_checking 711enable_option_checking
712enable_db 712enable_db
713enable_bsd_getopt 713enable_bsd_getopt
714' 714'
715 ac_precious_vars='build_alias 715 ac_precious_vars='build_alias
716host_alias 716host_alias
717target_alias 717target_alias
718CC 718CC
719CFLAGS 719CFLAGS
720LDFLAGS 720LDFLAGS
721LIBS 721LIBS
@@ -1133,29 +1133,29 @@ Try \`$0 --help' for more information."  @@ -1133,29 +1133,29 @@ Try \`$0 --help' for more information."
1133 1133
1134 esac 1134 esac
1135done 1135done
1136 1136
1137if test -n "$ac_prev"; then 1137if test -n "$ac_prev"; then
1138 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1138 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1139 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1139 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1140 { (exit 1); exit 1; }; } 1140 { (exit 1); exit 1; }; }
1141fi 1141fi
1142 1142
1143if test -n "$ac_unrecognized_opts"; then 1143if test -n "$ac_unrecognized_opts"; then
1144 case $enable_option_checking in 1144 case $enable_option_checking in
1145 no) ;; 1145 no) ;;
1146 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1146 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1147 { (exit 1); exit 1; }; } ;; 1147 { (exit 1); exit 1; }; } ;;
1148 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1149 esac 1149 esac
1150fi 1150fi
1151 1151
1152# Check all directory arguments for consistency. 1152# Check all directory arguments for consistency.
1153for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1153for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \ 1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir 1156 libdir localedir mandir
1157do 1157do
1158 eval ac_val=\$$ac_var 1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes. 1159 # Remove trailing slashes.
1160 case $ac_val in 1160 case $ac_val in
1161 */ ) 1161 */ )
@@ -1188,27 +1188,27 @@ if test "x$host_alias" != x; then @@ -1188,27 +1188,27 @@ if test "x$host_alias" != x; then
1188 cross_compiling=yes 1188 cross_compiling=yes
1189 fi 1189 fi
1190fi 1190fi
1191 1191
1192ac_tool_prefix= 1192ac_tool_prefix=
1193test -n "$host_alias" && ac_tool_prefix=$host_alias- 1193test -n "$host_alias" && ac_tool_prefix=$host_alias-
1194 1194
1195test "$silent" = yes && exec 6>/dev/null 1195test "$silent" = yes && exec 6>/dev/null
1196 1196
1197 1197
1198ac_pwd=`pwd` && test -n "$ac_pwd" && 1198ac_pwd=`pwd` && test -n "$ac_pwd" &&
1199ac_ls_di=`ls -di .` && 1199ac_ls_di=`ls -di .` &&
1200ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1200ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1201 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1201 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1202 { (exit 1); exit 1; }; } 1202 { (exit 1); exit 1; }; }
1203test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1203test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1204 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1204 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1205 { (exit 1); exit 1; }; } 1205 { (exit 1); exit 1; }; }
1206 1206
1207 1207
1208# Find the source files, if location was not specified. 1208# Find the source files, if location was not specified.
1209if test -z "$srcdir"; then 1209if test -z "$srcdir"; then
1210 ac_srcdir_defaulted=yes 1210 ac_srcdir_defaulted=yes
1211 # Try the directory containing this script, then the parent directory. 1211 # Try the directory containing this script, then the parent directory.
1212 ac_confdir=`$as_dirname -- "$as_myself" || 1212 ac_confdir=`$as_dirname -- "$as_myself" ||
1213$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1213$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1214 X"$as_myself" : 'X\(//\)[^/]' \| \ 1214 X"$as_myself" : 'X\(//\)[^/]' \| \
@@ -1421,41 +1421,41 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ @@ -1421,41 +1421,41 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1421 echo && 1421 echo &&
1422 $SHELL "$ac_srcdir/configure" --help=recursive 1422 $SHELL "$ac_srcdir/configure" --help=recursive
1423 else 1423 else
1424 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1424 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1425 fi || ac_status=$? 1425 fi || ac_status=$?
1426 cd "$ac_pwd" || { ac_status=$?; break; } 1426 cd "$ac_pwd" || { ac_status=$?; break; }
1427 done 1427 done
1428fi 1428fi
1429 1429
1430test -n "$ac_init_help" && exit $ac_status 1430test -n "$ac_init_help" && exit $ac_status
1431if $ac_init_version; then 1431if $ac_init_version; then
1432 cat <<\_ACEOF 1432 cat <<\_ACEOF
1433libnbcompat configure 20080519 1433libnbcompat configure 20080519
1434generated by GNU Autoconf 2.62 1434generated by GNU Autoconf 2.63
1435 1435
1436Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1436Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14372002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 14372002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1438This configure script is free software; the Free Software Foundation 1438This configure script is free software; the Free Software Foundation
1439gives unlimited permission to copy, distribute and modify it. 1439gives unlimited permission to copy, distribute and modify it.
1440_ACEOF 1440_ACEOF
1441 exit 1441 exit
1442fi 1442fi
1443cat >config.log <<_ACEOF 1443cat >config.log <<_ACEOF
1444This file contains any messages produced by compilers while 1444This file contains any messages produced by compilers while
1445running configure, to aid debugging if configure makes a mistake. 1445running configure, to aid debugging if configure makes a mistake.
1446 1446
1447It was created by libnbcompat $as_me 20080519, which was 1447It was created by libnbcompat $as_me 20080519, which was
1448generated by GNU Autoconf 2.62. Invocation command line was 1448generated by GNU Autoconf 2.63. Invocation command line was
1449 1449
1450 $ $0 $@ 1450 $ $0 $@
1451 1451
1452_ACEOF 1452_ACEOF
1453exec 5>>config.log 1453exec 5>>config.log
1454{ 1454{
1455cat <<_ASUNAME 1455cat <<_ASUNAME
1456## --------- ## 1456## --------- ##
1457## Platform. ## 1457## Platform. ##
1458## --------- ## 1458## --------- ##
1459 1459
1460hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1460hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1461uname -m = `(uname -m) 2>/dev/null || echo unknown` 1461uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -1558,28 +1558,28 @@ trap 'exit_status=$? @@ -1558,28 +1558,28 @@ trap 'exit_status=$?
1558 cat <<\_ASBOX 1558 cat <<\_ASBOX
1559## ---------------- ## 1559## ---------------- ##
1560## Cache variables. ## 1560## Cache variables. ##
1561## ---------------- ## 1561## ---------------- ##
1562_ASBOX 1562_ASBOX
1563 echo 1563 echo
1564 # The following way of writing the cache mishandles newlines in values, 1564 # The following way of writing the cache mishandles newlines in values,
1565( 1565(
1566 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1566 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1567 eval ac_val=\$$ac_var 1567 eval ac_val=\$$ac_var
1568 case $ac_val in #( 1568 case $ac_val in #(
1569 *${as_nl}*) 1569 *${as_nl}*)
1570 case $ac_var in #( 1570 case $ac_var in #(
1571 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1571 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1572$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1572$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1573 esac 1573 esac
1574 case $ac_var in #( 1574 case $ac_var in #(
1575 _ | IFS | as_nl) ;; #( 1575 _ | IFS | as_nl) ;; #(
1576 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1576 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1577 *) $as_unset $ac_var ;; 1577 *) $as_unset $ac_var ;;
1578 esac ;; 1578 esac ;;
1579 esac 1579 esac
1580 done 1580 done
1581 (set) 2>&1 | 1581 (set) 2>&1 |
1582 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1582 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1583 *${as_nl}ac_space=\ *) 1583 *${as_nl}ac_space=\ *)
1584 sed -n \ 1584 sed -n \
1585 "s/'\''/'\''\\\\'\'''\''/g; 1585 "s/'\''/'\''\\\\'\'''\''/g;
@@ -1762,26 +1762,28 @@ $as_echo "$as_me: current value: \`$ac @@ -1762,26 +1762,28 @@ $as_echo "$as_me: current value: \`$ac
1762 # Pass precious variables to config.status. 1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then 1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in 1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;; 1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac 1767 esac
1768 case " $ac_configure_args " in 1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1770 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1771 esac 1771 esac
1772 fi 1772 fi
1773done 1773done
1774if $ac_cache_corrupted; then 1774if $ac_cache_corrupted; then
 1775 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 1776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1775 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1777 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1776$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1778$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1779 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1778$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1780$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; } 1781 { (exit 1); exit 1; }; }
1780fi 1782fi
1781 1783
1782 1784
1783 1785
1784 1786
1785 1787
1786 1788
1787 1789
@@ -2050,32 +2052,28 @@ ac_ct_CC=$ac_cv_prog_ac_ct_CC @@ -2050,32 +2052,28 @@ ac_ct_CC=$ac_cv_prog_ac_ct_CC
2050if test -n "$ac_ct_CC"; then 2052if test -n "$ac_ct_CC"; then
2051 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2053 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2052$as_echo "$ac_ct_CC" >&6; } 2054$as_echo "$ac_ct_CC" >&6; }
2053else 2055else
2054 { $as_echo "$as_me:$LINENO: result: no" >&5 2056 { $as_echo "$as_me:$LINENO: result: no" >&5
2055$as_echo "no" >&6; } 2057$as_echo "no" >&6; }
2056fi 2058fi
2057 2059
2058 if test "x$ac_ct_CC" = x; then 2060 if test "x$ac_ct_CC" = x; then
2059 CC="" 2061 CC=""
2060 else 2062 else
2061 case $cross_compiling:$ac_tool_warned in 2063 case $cross_compiling:$ac_tool_warned in
2062yes:) 2064yes:)
2063{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2065{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2064whose name does not start with the host triplet. If you think this 2066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2065configuration is useful to you, please write to autoconf@gnu.org." >&5 
2066$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
2067whose name does not start with the host triplet. If you think this 
2068configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
2069ac_tool_warned=yes ;; 2067ac_tool_warned=yes ;;
2070esac 2068esac
2071 CC=$ac_ct_CC 2069 CC=$ac_ct_CC
2072 fi 2070 fi
2073else 2071else
2074 CC="$ac_cv_prog_CC" 2072 CC="$ac_cv_prog_CC"
2075fi 2073fi
2076 2074
2077if test -z "$CC"; then 2075if test -z "$CC"; then
2078 if test -n "$ac_tool_prefix"; then 2076 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2077 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2080set dummy ${ac_tool_prefix}cc; ac_word=$2 2078set dummy ${ac_tool_prefix}cc; ac_word=$2
2081{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2079{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -2254,46 +2252,44 @@ else @@ -2254,46 +2252,44 @@ else
2254 { $as_echo "$as_me:$LINENO: result: no" >&5 2252 { $as_echo "$as_me:$LINENO: result: no" >&5
2255$as_echo "no" >&6; } 2253$as_echo "no" >&6; }
2256fi 2254fi
2257 2255
2258 2256
2259 test -n "$ac_ct_CC" && break 2257 test -n "$ac_ct_CC" && break
2260done 2258done
2261 2259
2262 if test "x$ac_ct_CC" = x; then 2260 if test "x$ac_ct_CC" = x; then
2263 CC="" 2261 CC=""
2264 else 2262 else
2265 case $cross_compiling:$ac_tool_warned in 2263 case $cross_compiling:$ac_tool_warned in
2266yes:) 2264yes:)
2267{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2265{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2268whose name does not start with the host triplet. If you think this 2266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2269configuration is useful to you, please write to autoconf@gnu.org." >&5 
2270$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
2271whose name does not start with the host triplet. If you think this 
2272configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
2273ac_tool_warned=yes ;; 2267ac_tool_warned=yes ;;
2274esac 2268esac
2275 CC=$ac_ct_CC 2269 CC=$ac_ct_CC
2276 fi 2270 fi
2277fi 2271fi
2278 2272
2279fi 2273fi
2280 2274
2281 2275
2282test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2276test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 2277$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2278{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2283See \`config.log' for more details." >&5 2279See \`config.log' for more details." >&5
2284$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2280$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2285See \`config.log' for more details." >&2;} 2281See \`config.log' for more details." >&2;}
2286 { (exit 1); exit 1; }; } 2282 { (exit 1); exit 1; }; }; }
2287 2283
2288# Provide some information about the compiler. 2284# Provide some information about the compiler.
2289$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2285$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2290set X $ac_compile 2286set X $ac_compile
2291ac_compiler=$2 2287ac_compiler=$2
2292{ (ac_try="$ac_compiler --version >&5" 2288{ (ac_try="$ac_compiler --version >&5"
2293case "(($ac_try" in 2289case "(($ac_try" in
2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;; 2291 *) ac_try_echo=$ac_try;;
2296esac 2292esac
2297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2298$as_echo "$ac_try_echo") >&5 2294$as_echo "$ac_try_echo") >&5
2299 (eval "$ac_compiler --version >&5") 2>&5 2295 (eval "$ac_compiler --version >&5") 2>&5
@@ -2403,31 +2399,33 @@ do @@ -2403,31 +2399,33 @@ do
2403done 2399done
2404test "$ac_cv_exeext" = no && ac_cv_exeext= 2400test "$ac_cv_exeext" = no && ac_cv_exeext=
2405 2401
2406else 2402else
2407 ac_file='' 2403 ac_file=''
2408fi 2404fi
2409 2405
2410{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2406{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2411$as_echo "$ac_file" >&6; } 2407$as_echo "$ac_file" >&6; }
2412if test -z "$ac_file"; then 2408if test -z "$ac_file"; then
2413 $as_echo "$as_me: failed program was:" >&5 2409 $as_echo "$as_me: failed program was:" >&5
2414sed 's/^/| /' conftest.$ac_ext >&5 2410sed 's/^/| /' conftest.$ac_ext >&5
2415 2411
 2412{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 2413$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2414{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2417See \`config.log' for more details." >&5 2415See \`config.log' for more details." >&5
2418$as_echo "$as_me: error: C compiler cannot create executables 2416$as_echo "$as_me: error: C compiler cannot create executables
2419See \`config.log' for more details." >&2;} 2417See \`config.log' for more details." >&2;}
2420 { (exit 77); exit 77; }; } 2418 { (exit 77); exit 77; }; }; }
2421fi 2419fi
2422 2420
2423ac_exeext=$ac_cv_exeext 2421ac_exeext=$ac_cv_exeext
2424 2422
2425# Check that the compiler produces executables we can run. If not, either 2423# Check that the compiler produces executables we can run. If not, either
2426# the compiler is broken, or we cross compile. 2424# the compiler is broken, or we cross compile.
2427{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2425{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2428$as_echo_n "checking whether the C compiler works... " >&6; } 2426$as_echo_n "checking whether the C compiler works... " >&6; }
2429# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2427# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2430# If not cross compiling, check that we can run a simple program. 2428# If not cross compiling, check that we can run a simple program.
2431if test "$cross_compiling" != yes; then 2429if test "$cross_compiling" != yes; then
2432 if { ac_try='./$ac_file' 2430 if { ac_try='./$ac_file'
2433 { (case "(($ac_try" in 2431 { (case "(($ac_try" in
@@ -2435,33 +2433,35 @@ if test "$cross_compiling" != yes; then @@ -2435,33 +2433,35 @@ if test "$cross_compiling" != yes; then
2435 *) ac_try_echo=$ac_try;; 2433 *) ac_try_echo=$ac_try;;
2436esac 2434esac
2437eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2438$as_echo "$ac_try_echo") >&5 2436$as_echo "$ac_try_echo") >&5
2439 (eval "$ac_try") 2>&5 2437 (eval "$ac_try") 2>&5
2440 ac_status=$? 2438 ac_status=$?
2441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then 2440 (exit $ac_status); }; }; then
2443 cross_compiling=no 2441 cross_compiling=no
2444 else 2442 else
2445 if test "$cross_compiling" = maybe; then 2443 if test "$cross_compiling" = maybe; then
2446 cross_compiling=yes 2444 cross_compiling=yes
2447 else 2445 else
2448 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2446 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 2447$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2448{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2449If you meant to cross compile, use \`--host'. 2449If you meant to cross compile, use \`--host'.
2450See \`config.log' for more details." >&5 2450See \`config.log' for more details." >&5
2451$as_echo "$as_me: error: cannot run C compiled programs. 2451$as_echo "$as_me: error: cannot run C compiled programs.
2452If you meant to cross compile, use \`--host'. 2452If you meant to cross compile, use \`--host'.
2453See \`config.log' for more details." >&2;} 2453See \`config.log' for more details." >&2;}
2454 { (exit 1); exit 1; }; } 2454 { (exit 1); exit 1; }; }; }
2455 fi 2455 fi
2456 fi 2456 fi
2457fi 2457fi
2458{ $as_echo "$as_me:$LINENO: result: yes" >&5 2458{ $as_echo "$as_me:$LINENO: result: yes" >&5
2459$as_echo "yes" >&6; } 2459$as_echo "yes" >&6; }
2460 2460
2461rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2461rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2462ac_clean_files=$ac_clean_files_save 2462ac_clean_files=$ac_clean_files_save
2463# Check that the compiler produces executables we can run. If not, either 2463# Check that the compiler produces executables we can run. If not, either
2464# the compiler is broken, or we cross compile. 2464# the compiler is broken, or we cross compile.
2465{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2465{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2466$as_echo_n "checking whether we are cross compiling... " >&6; } 2466$as_echo_n "checking whether we are cross compiling... " >&6; }
2467{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2467{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
@@ -2484,31 +2484,33 @@ $as_echo "$ac_try_echo") >&5 @@ -2484,31 +2484,33 @@ $as_echo "$ac_try_echo") >&5
2484# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2484# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2485# work properly (i.e., refer to `conftest.exe'), while it won't with 2485# work properly (i.e., refer to `conftest.exe'), while it won't with
2486# `rm'. 2486# `rm'.
2487for ac_file in conftest.exe conftest conftest.*; do 2487for ac_file in conftest.exe conftest conftest.*; do
2488 test -f "$ac_file" || continue 2488 test -f "$ac_file" || continue
2489 case $ac_file in 2489 case $ac_file in
2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2491 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2491 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2492 break;; 2492 break;;
2493 * ) break;; 2493 * ) break;;
2494 esac 2494 esac
2495done 2495done
2496else 2496else
2497 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2497 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 2498$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2499{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2498See \`config.log' for more details." >&5 2500See \`config.log' for more details." >&5
2499$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2501$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2500See \`config.log' for more details." >&2;} 2502See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; } 2503 { (exit 1); exit 1; }; }; }
2502fi 2504fi
2503 2505
2504rm -f conftest$ac_cv_exeext 2506rm -f conftest$ac_cv_exeext
2505{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2507{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2506$as_echo "$ac_cv_exeext" >&6; } 2508$as_echo "$ac_cv_exeext" >&6; }
2507 2509
2508rm -f conftest.$ac_ext 2510rm -f conftest.$ac_ext
2509EXEEXT=$ac_cv_exeext 2511EXEEXT=$ac_cv_exeext
2510ac_exeext=$EXEEXT 2512ac_exeext=$EXEEXT
2511{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2513{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2512$as_echo_n "checking for suffix of object files... " >&6; } 2514$as_echo_n "checking for suffix of object files... " >&6; }
2513if test "${ac_cv_objext+set}" = set; then 2515if test "${ac_cv_objext+set}" = set; then
2514 $as_echo_n "(cached) " >&6 2516 $as_echo_n "(cached) " >&6
@@ -2542,31 +2544,33 @@ $as_echo "$ac_try_echo") >&5 @@ -2542,31 +2544,33 @@ $as_echo "$ac_try_echo") >&5
2542 (exit $ac_status); }; then 2544 (exit $ac_status); }; then
2543 for ac_file in conftest.o conftest.obj conftest.*; do 2545 for ac_file in conftest.o conftest.obj conftest.*; do
2544 test -f "$ac_file" || continue; 2546 test -f "$ac_file" || continue;
2545 case $ac_file in 2547 case $ac_file in
2546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2547 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2549 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2548 break;; 2550 break;;
2549 esac 2551 esac
2550done 2552done
2551else 2553else
2552 $as_echo "$as_me: failed program was:" >&5 2554 $as_echo "$as_me: failed program was:" >&5
2553sed 's/^/| /' conftest.$ac_ext >&5 2555sed 's/^/| /' conftest.$ac_ext >&5
2554 2556
 2557{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 2558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2559{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2556See \`config.log' for more details." >&5 2560See \`config.log' for more details." >&5
2557$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2561$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2558See \`config.log' for more details." >&2;} 2562See \`config.log' for more details." >&2;}
2559 { (exit 1); exit 1; }; } 2563 { (exit 1); exit 1; }; }; }
2560fi 2564fi
2561 2565
2562rm -f conftest.$ac_cv_objext conftest.$ac_ext 2566rm -f conftest.$ac_cv_objext conftest.$ac_ext
2563fi 2567fi
2564{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2568{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2565$as_echo "$ac_cv_objext" >&6; } 2569$as_echo "$ac_cv_objext" >&6; }
2566OBJEXT=$ac_cv_objext 2570OBJEXT=$ac_cv_objext
2567ac_objext=$OBJEXT 2571ac_objext=$OBJEXT
2568{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2572{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2569$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2573$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2570if test "${ac_cv_c_compiler_gnu+set}" = set; then 2574if test "${ac_cv_c_compiler_gnu+set}" = set; then
2571 $as_echo_n "(cached) " >&6 2575 $as_echo_n "(cached) " >&6
2572else 2576else
@@ -3080,32 +3084,28 @@ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB @@ -3080,32 +3084,28 @@ ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3080if test -n "$ac_ct_RANLIB"; then 3084if test -n "$ac_ct_RANLIB"; then
3081 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3085 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3082$as_echo "$ac_ct_RANLIB" >&6; } 3086$as_echo "$ac_ct_RANLIB" >&6; }
3083else 3087else
3084 { $as_echo "$as_me:$LINENO: result: no" >&5 3088 { $as_echo "$as_me:$LINENO: result: no" >&5
3085$as_echo "no" >&6; } 3089$as_echo "no" >&6; }
3086fi 3090fi
3087 3091
3088 if test "x$ac_ct_RANLIB" = x; then 3092 if test "x$ac_ct_RANLIB" = x; then
3089 RANLIB=":" 3093 RANLIB=":"
3090 else 3094 else
3091 case $cross_compiling:$ac_tool_warned in 3095 case $cross_compiling:$ac_tool_warned in
3092yes:) 3096yes:)
3093{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3097{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3094whose name does not start with the host triplet. If you think this 3098$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3095configuration is useful to you, please write to autoconf@gnu.org." >&5 
3096$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 
3097whose name does not start with the host triplet. If you think this 
3098configuration is useful to you, please write to autoconf@gnu.org." >&2;} 
3099ac_tool_warned=yes ;; 3099ac_tool_warned=yes ;;
3100esac 3100esac
3101 RANLIB=$ac_ct_RANLIB 3101 RANLIB=$ac_ct_RANLIB
3102 fi 3102 fi
3103else 3103else
3104 RANLIB="$ac_cv_prog_RANLIB" 3104 RANLIB="$ac_cv_prog_RANLIB"
3105fi 3105fi
3106 3106
3107for ac_prog in gawk mawk nawk awk 3107for ac_prog in gawk mawk nawk awk
3108do 3108do
3109 # Extract the first word of "$ac_prog", so it can be a program name with args. 3109 # Extract the first word of "$ac_prog", so it can be a program name with args.
3110set dummy $ac_prog; ac_word=$2 3110set dummy $ac_prog; ac_word=$2
3111{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3111{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -3246,27 +3246,27 @@ else @@ -3246,27 +3246,27 @@ else
3246 $as_echo "$as_me: failed program was:" >&5 3246 $as_echo "$as_me: failed program was:" >&5
3247sed 's/^/| /' conftest.$ac_ext >&5 3247sed 's/^/| /' conftest.$ac_ext >&5
3248 3248
3249 ac_cv_lib_util_fparseln=no 3249 ac_cv_lib_util_fparseln=no
3250fi 3250fi
3251 3251
3252rm -rf conftest.dSYM 3252rm -rf conftest.dSYM
3253rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3253rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3254 conftest$ac_exeext conftest.$ac_ext 3254 conftest$ac_exeext conftest.$ac_ext
3255LIBS=$ac_check_lib_save_LIBS 3255LIBS=$ac_check_lib_save_LIBS
3256fi 3256fi
3257{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5 3257{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5
3258$as_echo "$ac_cv_lib_util_fparseln" >&6; } 3258$as_echo "$ac_cv_lib_util_fparseln" >&6; }
3259if test $ac_cv_lib_util_fparseln = yes; then 3259if test "x$ac_cv_lib_util_fparseln" = x""yes; then
3260 cat >>confdefs.h <<_ACEOF 3260 cat >>confdefs.h <<_ACEOF
3261#define HAVE_LIBUTIL 1 3261#define HAVE_LIBUTIL 1
3262_ACEOF 3262_ACEOF
3263 3263
3264 LIBS="-lutil $LIBS" 3264 LIBS="-lutil $LIBS"
3265 3265
3266fi 3266fi
3267 3267
3268 3268
3269ac_ext=c 3269ac_ext=c
3270ac_cpp='$CPP $CPPFLAGS' 3270ac_cpp='$CPP $CPPFLAGS'
3271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -3477,31 +3477,33 @@ sed 's/^/| /' conftest.$ac_ext >&5 @@ -3477,31 +3477,33 @@ sed 's/^/| /' conftest.$ac_ext >&5
3477 # Passes both tests. 3477 # Passes both tests.
3478ac_preproc_ok=: 3478ac_preproc_ok=:
3479break 3479break
3480fi 3480fi
3481 3481
3482rm -f conftest.err conftest.$ac_ext 3482rm -f conftest.err conftest.$ac_ext
3483 3483
3484done 3484done
3485# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3485# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3486rm -f conftest.err conftest.$ac_ext 3486rm -f conftest.err conftest.$ac_ext
3487if $ac_preproc_ok; then 3487if $ac_preproc_ok; then
3488 : 3488 :
3489else 3489else
3490 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3490 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 3491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 3492{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3491See \`config.log' for more details." >&5 3493See \`config.log' for more details." >&5
3492$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3494$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3493See \`config.log' for more details." >&2;} 3495See \`config.log' for more details." >&2;}
3494 { (exit 1); exit 1; }; } 3496 { (exit 1); exit 1; }; }; }
3495fi 3497fi
3496 3498
3497ac_ext=c 3499ac_ext=c
3498ac_cpp='$CPP $CPPFLAGS' 3500ac_cpp='$CPP $CPPFLAGS'
3499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501ac_compiler_gnu=$ac_cv_c_compiler_gnu 3503ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 3504
3503 3505
3504{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3506{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3505$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3507$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3506if test "${ac_cv_path_GREP+set}" = set; then 3508if test "${ac_cv_path_GREP+set}" = set; then
3507 $as_echo_n "(cached) " >&6 3509 $as_echo_n "(cached) " >&6
@@ -3927,28 +3929,29 @@ $as_echo "$ac_try_echo") >&5 @@ -3927,28 +3929,29 @@ $as_echo "$ac_try_echo") >&5
3927else 3929else
3928 $as_echo "$as_me: failed program was:" >&5 3930 $as_echo "$as_me: failed program was:" >&5
3929sed 's/^/| /' conftest.$ac_ext >&5 3931sed 's/^/| /' conftest.$ac_ext >&5
3930 3932
3931 eval "$as_ac_Header=no" 3933 eval "$as_ac_Header=no"
3932fi 3934fi
3933 3935
3934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935fi 3937fi
3936ac_res=`eval 'as_val=${'$as_ac_Header'} 3938ac_res=`eval 'as_val=${'$as_ac_Header'}
3937 $as_echo "$as_val"'` 3939 $as_echo "$as_val"'`
3938 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 3940 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3939$as_echo "$ac_res" >&6; } 3941$as_echo "$ac_res" >&6; }
3940if test `eval 'as_val=${'$as_ac_Header'} 3942as_val=`eval 'as_val=${'$as_ac_Header'}
3941 $as_echo "$as_val"'` = yes; then 3943 $as_echo "$as_val"'`
 3944 if test "x$as_val" = x""yes; then
3942 cat >>confdefs.h <<_ACEOF 3945 cat >>confdefs.h <<_ACEOF
3943#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3946#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3944_ACEOF 3947_ACEOF
3945 3948
3946fi 3949fi
3947 3950
3948done 3951done
3949 3952
3950 3953
3951 3954
3952 3955
3953 3956
3954 3957
@@ -4135,28 +4138,29 @@ esac @@ -4135,28 +4138,29 @@ esac
4135{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4138{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4136$as_echo_n "checking for $ac_header... " >&6; } 4139$as_echo_n "checking for $ac_header... " >&6; }
4137if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4140if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4138 $as_echo_n "(cached) " >&6 4141 $as_echo_n "(cached) " >&6
4139else 4142else
4140 eval "$as_ac_Header=\$ac_header_preproc" 4143 eval "$as_ac_Header=\$ac_header_preproc"
4141fi 4144fi
4142ac_res=`eval 'as_val=${'$as_ac_Header'} 4145ac_res=`eval 'as_val=${'$as_ac_Header'}
4143 $as_echo "$as_val"'` 4146 $as_echo "$as_val"'`
4144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4147 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4145$as_echo "$ac_res" >&6; } 4148$as_echo "$ac_res" >&6; }
4146 4149
4147fi 4150fi
4148if test `eval 'as_val=${'$as_ac_Header'} 4151as_val=`eval 'as_val=${'$as_ac_Header'}
4149 $as_echo "$as_val"'` = yes; then 4152 $as_echo "$as_val"'`
 4153 if test "x$as_val" = x""yes; then
4150 cat >>confdefs.h <<_ACEOF 4154 cat >>confdefs.h <<_ACEOF
4151#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4155#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4152_ACEOF 4156_ACEOF
4153 4157
4154fi 4158fi
4155 4159
4156done 4160done
4157 4161
4158 4162
4159for ac_header in sys/mount.h 4163for ac_header in sys/mount.h
4160do 4164do
4161as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4165as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4162{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4166{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
@@ -4201,28 +4205,29 @@ $as_echo "$ac_try_echo") >&5 @@ -4201,28 +4205,29 @@ $as_echo "$ac_try_echo") >&5
4201else 4205else
4202 $as_echo "$as_me: failed program was:" >&5 4206 $as_echo "$as_me: failed program was:" >&5
4203sed 's/^/| /' conftest.$ac_ext >&5 4207sed 's/^/| /' conftest.$ac_ext >&5
4204 4208
4205 eval "$as_ac_Header=no" 4209 eval "$as_ac_Header=no"
4206fi 4210fi
4207 4211
4208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209fi 4213fi
4210ac_res=`eval 'as_val=${'$as_ac_Header'} 4214ac_res=`eval 'as_val=${'$as_ac_Header'}
4211 $as_echo "$as_val"'` 4215 $as_echo "$as_val"'`
4212 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4216 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4213$as_echo "$ac_res" >&6; } 4217$as_echo "$ac_res" >&6; }
4214if test `eval 'as_val=${'$as_ac_Header'} 4218as_val=`eval 'as_val=${'$as_ac_Header'}
4215 $as_echo "$as_val"'` = yes; then 4219 $as_echo "$as_val"'`
 4220 if test "x$as_val" = x""yes; then
4216 cat >>confdefs.h <<_ACEOF 4221 cat >>confdefs.h <<_ACEOF
4217#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4222#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4218_ACEOF 4223_ACEOF
4219 : 4224 :
4220else 4225else
4221 : 4226 :
4222fi 4227fi
4223 4228
4224done 4229done
4225 4230
4226 4231
4227 4232
4228for ac_header in glob.h 4233for ac_header in glob.h
@@ -4354,28 +4359,29 @@ esac @@ -4354,28 +4359,29 @@ esac
4354{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4359{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4355$as_echo_n "checking for $ac_header... " >&6; } 4360$as_echo_n "checking for $ac_header... " >&6; }
4356if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4361if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4357 $as_echo_n "(cached) " >&6 4362 $as_echo_n "(cached) " >&6
4358else 4363else
4359 eval "$as_ac_Header=\$ac_header_preproc" 4364 eval "$as_ac_Header=\$ac_header_preproc"
4360fi 4365fi
4361ac_res=`eval 'as_val=${'$as_ac_Header'} 4366ac_res=`eval 'as_val=${'$as_ac_Header'}
4362 $as_echo "$as_val"'` 4367 $as_echo "$as_val"'`
4363 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4364$as_echo "$ac_res" >&6; } 4369$as_echo "$ac_res" >&6; }
4365 4370
4366fi 4371fi
4367if test `eval 'as_val=${'$as_ac_Header'} 4372as_val=`eval 'as_val=${'$as_ac_Header'}
4368 $as_echo "$as_val"'` = yes; then 4373 $as_echo "$as_val"'`
 4374 if test "x$as_val" = x""yes; then
4369 cat >>confdefs.h <<_ACEOF 4375 cat >>confdefs.h <<_ACEOF
4370#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4376#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4371_ACEOF 4377_ACEOF
4372 4378
4373fi 4379fi
4374 4380
4375done 4381done
4376 4382
4377cat >>confdefs.h <<\_ACEOF 4383cat >>confdefs.h <<\_ACEOF
4378#define HAVE_NBCOMPAT_GLOB 1 4384#define HAVE_NBCOMPAT_GLOB 1
4379_ACEOF 4385_ACEOF
4380 4386
4381 4387
@@ -4517,28 +4523,29 @@ esac @@ -4517,28 +4523,29 @@ esac
4517{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4523{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4518$as_echo_n "checking for $ac_header... " >&6; } 4524$as_echo_n "checking for $ac_header... " >&6; }
4519if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4525if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4520 $as_echo_n "(cached) " >&6 4526 $as_echo_n "(cached) " >&6
4521else 4527else
4522 eval "$as_ac_Header=\$ac_header_preproc" 4528 eval "$as_ac_Header=\$ac_header_preproc"
4523fi 4529fi
4524ac_res=`eval 'as_val=${'$as_ac_Header'} 4530ac_res=`eval 'as_val=${'$as_ac_Header'}
4525 $as_echo "$as_val"'` 4531 $as_echo "$as_val"'`
4526 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4532 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4527$as_echo "$ac_res" >&6; } 4533$as_echo "$ac_res" >&6; }
4528 4534
4529fi 4535fi
4530if test `eval 'as_val=${'$as_ac_Header'} 4536as_val=`eval 'as_val=${'$as_ac_Header'}
4531 $as_echo "$as_val"'` = yes; then 4537 $as_echo "$as_val"'`
 4538 if test "x$as_val" = x""yes; then
4532 cat >>confdefs.h <<_ACEOF 4539 cat >>confdefs.h <<_ACEOF
4533#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4540#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4534_ACEOF 4541_ACEOF
4535 4542
4536fi 4543fi
4537 4544
4538done 4545done
4539 4546
4540cat >>confdefs.h <<\_ACEOF 4547cat >>confdefs.h <<\_ACEOF
4541#define HAVE_NBCOMPAT_QUEUE 1 4548#define HAVE_NBCOMPAT_QUEUE 1
4542_ACEOF 4549_ACEOF
4543 4550
4544 4551
@@ -4674,28 +4681,29 @@ esac @@ -4674,28 +4681,29 @@ esac
4674{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4681{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4675$as_echo_n "checking for $ac_header... " >&6; } 4682$as_echo_n "checking for $ac_header... " >&6; }
4676if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4683if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4677 $as_echo_n "(cached) " >&6 4684 $as_echo_n "(cached) " >&6
4678else 4685else
4679 eval "$as_ac_Header=\$ac_header_preproc" 4686 eval "$as_ac_Header=\$ac_header_preproc"
4680fi 4687fi
4681ac_res=`eval 'as_val=${'$as_ac_Header'} 4688ac_res=`eval 'as_val=${'$as_ac_Header'}
4682 $as_echo "$as_val"'` 4689 $as_echo "$as_val"'`
4683 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4690 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4684$as_echo "$ac_res" >&6; } 4691$as_echo "$ac_res" >&6; }
4685 4692
4686fi 4693fi
4687if test `eval 'as_val=${'$as_ac_Header'} 4694as_val=`eval 'as_val=${'$as_ac_Header'}
4688 $as_echo "$as_val"'` = yes; then 4695 $as_echo "$as_val"'`
 4696 if test "x$as_val" = x""yes; then
4689 cat >>confdefs.h <<_ACEOF 4697 cat >>confdefs.h <<_ACEOF
4690#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4698#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4691_ACEOF 4699_ACEOF
4692 4700
4693fi 4701fi
4694 4702
4695done 4703done
4696 4704
4697{ $as_echo "$as_me:$LINENO: checking for regexec" >&5 4705{ $as_echo "$as_me:$LINENO: checking for regexec" >&5
4698$as_echo_n "checking for regexec... " >&6; } 4706$as_echo_n "checking for regexec... " >&6; }
4699if test "${ac_cv_func_regexec+set}" = set; then 4707if test "${ac_cv_func_regexec+set}" = set; then
4700 $as_echo_n "(cached) " >&6 4708 $as_echo_n "(cached) " >&6
4701else 4709else
@@ -4769,27 +4777,27 @@ $as_echo "$ac_try_echo") >&5 @@ -4769,27 +4777,27 @@ $as_echo "$ac_try_echo") >&5
4769else 4777else
4770 $as_echo "$as_me: failed program was:" >&5 4778 $as_echo "$as_me: failed program was:" >&5
4771sed 's/^/| /' conftest.$ac_ext >&5 4779sed 's/^/| /' conftest.$ac_ext >&5
4772 4780
4773 ac_cv_func_regexec=no 4781 ac_cv_func_regexec=no
4774fi 4782fi
4775 4783
4776rm -rf conftest.dSYM 4784rm -rf conftest.dSYM
4777rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4785rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4778 conftest$ac_exeext conftest.$ac_ext 4786 conftest$ac_exeext conftest.$ac_ext
4779fi 4787fi
4780{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5 4788{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5
4781$as_echo "$ac_cv_func_regexec" >&6; } 4789$as_echo "$ac_cv_func_regexec" >&6; }
4782if test $ac_cv_func_regexec = yes; then 4790if test "x$ac_cv_func_regexec" = x""yes; then
4783 : 4791 :
4784else 4792else
4785 4793
4786 cat >>confdefs.h <<\_ACEOF 4794 cat >>confdefs.h <<\_ACEOF
4787#define HAVE_NBCOMPAT_REGEX 1 4795#define HAVE_NBCOMPAT_REGEX 1
4788_ACEOF 4796_ACEOF
4789 4797
4790 4798
4791 4799
4792 case " $LIBOBJS " in 4800 case " $LIBOBJS " in
4793 *" regcomp.$ac_objext "* ) ;; 4801 *" regcomp.$ac_objext "* ) ;;
4794 *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" 4802 *) LIBOBJS="$LIBOBJS regcomp.$ac_objext"
4795 ;; 4803 ;;
@@ -4947,28 +4955,29 @@ esac @@ -4947,28 +4955,29 @@ esac
4947{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4955{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4948$as_echo_n "checking for $ac_header... " >&6; } 4956$as_echo_n "checking for $ac_header... " >&6; }
4949if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4957if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4950 $as_echo_n "(cached) " >&6 4958 $as_echo_n "(cached) " >&6
4951else 4959else
4952 eval "$as_ac_Header=\$ac_header_preproc" 4960 eval "$as_ac_Header=\$ac_header_preproc"
4953fi 4961fi
4954ac_res=`eval 'as_val=${'$as_ac_Header'} 4962ac_res=`eval 'as_val=${'$as_ac_Header'}
4955 $as_echo "$as_val"'` 4963 $as_echo "$as_val"'`
4956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4964 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4957$as_echo "$ac_res" >&6; } 4965$as_echo "$ac_res" >&6; }
4958 4966
4959fi 4967fi
4960if test `eval 'as_val=${'$as_ac_Header'} 4968as_val=`eval 'as_val=${'$as_ac_Header'}
4961 $as_echo "$as_val"'` = yes; then 4969 $as_echo "$as_val"'`
 4970 if test "x$as_val" = x""yes; then
4962 cat >>confdefs.h <<_ACEOF 4971 cat >>confdefs.h <<_ACEOF
4963#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4972#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4964_ACEOF 4973_ACEOF
4965 4974
4966 4975
4967 { $as_echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5 4976 { $as_echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5
4968$as_echo_n "checking for MD5Init in md5.h... " >&6; } 4977$as_echo_n "checking for MD5Init in md5.h... " >&6; }
4969if test "${pkg_cv_have_md5init+set}" = set; then 4978if test "${pkg_cv_have_md5init+set}" = set; then
4970 $as_echo_n "(cached) " >&6 4979 $as_echo_n "(cached) " >&6
4971else 4980else
4972 4981
4973 cat >conftest.$ac_ext <<_ACEOF 4982 cat >conftest.$ac_ext <<_ACEOF
4974/* confdefs.h. */ 4983/* confdefs.h. */
@@ -5175,28 +5184,29 @@ esac @@ -5175,28 +5184,29 @@ esac
5175{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 5184{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5176$as_echo_n "checking for $ac_header... " >&6; } 5185$as_echo_n "checking for $ac_header... " >&6; }
5177if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5186if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5178 $as_echo_n "(cached) " >&6 5187 $as_echo_n "(cached) " >&6
5179else 5188else
5180 eval "$as_ac_Header=\$ac_header_preproc" 5189 eval "$as_ac_Header=\$ac_header_preproc"
5181fi 5190fi
5182ac_res=`eval 'as_val=${'$as_ac_Header'} 5191ac_res=`eval 'as_val=${'$as_ac_Header'}
5183 $as_echo "$as_val"'` 5192 $as_echo "$as_val"'`
5184 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5193 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5185$as_echo "$ac_res" >&6; } 5194$as_echo "$ac_res" >&6; }
5186 5195
5187fi 5196fi
5188if test `eval 'as_val=${'$as_ac_Header'} 5197as_val=`eval 'as_val=${'$as_ac_Header'}
5189 $as_echo "$as_val"'` = yes; then 5198 $as_echo "$as_val"'`
 5199 if test "x$as_val" = x""yes; then
5190 cat >>confdefs.h <<_ACEOF 5200 cat >>confdefs.h <<_ACEOF
5191#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5201#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5192_ACEOF 5202_ACEOF
5193 5203
5194fi 5204fi
5195 5205
5196done 5206done
5197 5207
5198{ $as_echo "$as_me:$LINENO: checking for MD5File" >&5 5208{ $as_echo "$as_me:$LINENO: checking for MD5File" >&5
5199$as_echo_n "checking for MD5File... " >&6; } 5209$as_echo_n "checking for MD5File... " >&6; }
5200if test "${ac_cv_func_MD5File+set}" = set; then 5210if test "${ac_cv_func_MD5File+set}" = set; then
5201 $as_echo_n "(cached) " >&6 5211 $as_echo_n "(cached) " >&6
5202else 5212else
@@ -5270,27 +5280,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5270,27 +5280,27 @@ $as_echo "$ac_try_echo") >&5
5270else 5280else
5271 $as_echo "$as_me: failed program was:" >&5 5281 $as_echo "$as_me: failed program was:" >&5
5272sed 's/^/| /' conftest.$ac_ext >&5 5282sed 's/^/| /' conftest.$ac_ext >&5
5273 5283
5274 ac_cv_func_MD5File=no 5284 ac_cv_func_MD5File=no
5275fi 5285fi
5276 5286
5277rm -rf conftest.dSYM 5287rm -rf conftest.dSYM
5278rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5288rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5279 conftest$ac_exeext conftest.$ac_ext 5289 conftest$ac_exeext conftest.$ac_ext
5280fi 5290fi
5281{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5 5291{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5
5282$as_echo "$ac_cv_func_MD5File" >&6; } 5292$as_echo "$ac_cv_func_MD5File" >&6; }
5283if test $ac_cv_func_MD5File = yes; then 5293if test "x$ac_cv_func_MD5File" = x""yes; then
5284 : 5294 :
5285else 5295else
5286 5296
5287 cat >>confdefs.h <<\_ACEOF 5297 cat >>confdefs.h <<\_ACEOF
5288#define HAVE_NBCOMPAT_MD5 1 5298#define HAVE_NBCOMPAT_MD5 1
5289_ACEOF 5299_ACEOF
5290 5300
5291 5301
5292 5302
5293 case " $LIBOBJS " in 5303 case " $LIBOBJS " in
5294 *" md5c.$ac_objext "* ) ;; 5304 *" md5c.$ac_objext "* ) ;;
5295 *) LIBOBJS="$LIBOBJS md5c.$ac_objext" 5305 *) LIBOBJS="$LIBOBJS md5c.$ac_objext"
5296 ;; 5306 ;;
@@ -5380,27 +5390,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5380,27 +5390,27 @@ $as_echo "$ac_try_echo") >&5
5380else 5390else
5381 $as_echo "$as_me: failed program was:" >&5 5391 $as_echo "$as_me: failed program was:" >&5
5382sed 's/^/| /' conftest.$ac_ext >&5 5392sed 's/^/| /' conftest.$ac_ext >&5
5383 5393
5384 ac_cv_func_RMD160File=no 5394 ac_cv_func_RMD160File=no
5385fi 5395fi
5386 5396
5387rm -rf conftest.dSYM 5397rm -rf conftest.dSYM
5388rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5398rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5389 conftest$ac_exeext conftest.$ac_ext 5399 conftest$ac_exeext conftest.$ac_ext
5390fi 5400fi
5391{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5 5401{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5
5392$as_echo "$ac_cv_func_RMD160File" >&6; } 5402$as_echo "$ac_cv_func_RMD160File" >&6; }
5393if test $ac_cv_func_RMD160File = yes; then 5403if test "x$ac_cv_func_RMD160File" = x""yes; then
5394 : 5404 :
5395else 5405else
5396 5406
5397 cat >>confdefs.h <<\_ACEOF 5407 cat >>confdefs.h <<\_ACEOF
5398#define HAVE_NBCOMPAT_RMD160 1 5408#define HAVE_NBCOMPAT_RMD160 1
5399_ACEOF 5409_ACEOF
5400 5410
5401 5411
5402 5412
5403 case " $LIBOBJS " in 5413 case " $LIBOBJS " in
5404 *" rmd160.$ac_objext "* ) ;; 5414 *" rmd160.$ac_objext "* ) ;;
5405 *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" 5415 *) LIBOBJS="$LIBOBJS rmd160.$ac_objext"
5406 ;; 5416 ;;
@@ -5490,27 +5500,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5490,27 +5500,27 @@ $as_echo "$ac_try_echo") >&5
5490else 5500else
5491 $as_echo "$as_me: failed program was:" >&5 5501 $as_echo "$as_me: failed program was:" >&5
5492sed 's/^/| /' conftest.$ac_ext >&5 5502sed 's/^/| /' conftest.$ac_ext >&5
5493 5503
5494 ac_cv_func_SHA1File=no 5504 ac_cv_func_SHA1File=no
5495fi 5505fi
5496 5506
5497rm -rf conftest.dSYM 5507rm -rf conftest.dSYM
5498rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5508rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5499 conftest$ac_exeext conftest.$ac_ext 5509 conftest$ac_exeext conftest.$ac_ext
5500fi 5510fi
5501{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5 5511{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5
5502$as_echo "$ac_cv_func_SHA1File" >&6; } 5512$as_echo "$ac_cv_func_SHA1File" >&6; }
5503if test $ac_cv_func_SHA1File = yes; then 5513if test "x$ac_cv_func_SHA1File" = x""yes; then
5504 : 5514 :
5505else 5515else
5506 5516
5507 cat >>confdefs.h <<\_ACEOF 5517 cat >>confdefs.h <<\_ACEOF
5508#define HAVE_NBCOMPAT_SHA1 1 5518#define HAVE_NBCOMPAT_SHA1 1
5509_ACEOF 5519_ACEOF
5510 5520
5511 5521
5512 5522
5513 case " $LIBOBJS " in 5523 case " $LIBOBJS " in
5514 *" sha1.$ac_objext "* ) ;; 5524 *" sha1.$ac_objext "* ) ;;
5515 *) LIBOBJS="$LIBOBJS sha1.$ac_objext" 5525 *) LIBOBJS="$LIBOBJS sha1.$ac_objext"
5516 ;; 5526 ;;
@@ -5601,27 +5611,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5601,27 +5611,27 @@ $as_echo "$ac_try_echo") >&5
5601else 5611else
5602 $as_echo "$as_me: failed program was:" >&5 5612 $as_echo "$as_me: failed program was:" >&5
5603sed 's/^/| /' conftest.$ac_ext >&5 5613sed 's/^/| /' conftest.$ac_ext >&5
5604 5614
5605 ac_cv_func_SHA512_File=no 5615 ac_cv_func_SHA512_File=no
5606fi 5616fi
5607 5617
5608rm -rf conftest.dSYM 5618rm -rf conftest.dSYM
5609rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5619rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5610 conftest$ac_exeext conftest.$ac_ext 5620 conftest$ac_exeext conftest.$ac_ext
5611fi 5621fi
5612{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA512_File" >&5 5622{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA512_File" >&5
5613$as_echo "$ac_cv_func_SHA512_File" >&6; } 5623$as_echo "$ac_cv_func_SHA512_File" >&6; }
5614if test $ac_cv_func_SHA512_File = yes; then 5624if test "x$ac_cv_func_SHA512_File" = x""yes; then
5615 : 5625 :
5616else 5626else
5617 5627
5618 cat >>confdefs.h <<\_ACEOF 5628 cat >>confdefs.h <<\_ACEOF
5619#define HAVE_NBCOMPAT_SHA2 1 5629#define HAVE_NBCOMPAT_SHA2 1
5620_ACEOF 5630_ACEOF
5621 5631
5622 5632
5623 5633
5624 case " $LIBOBJS " in 5634 case " $LIBOBJS " in
5625 *" sha2.$ac_objext "* ) ;; 5635 *" sha2.$ac_objext "* ) ;;
5626 *) LIBOBJS="$LIBOBJS sha2.$ac_objext" 5636 *) LIBOBJS="$LIBOBJS sha2.$ac_objext"
5627 ;; 5637 ;;
@@ -5635,26 +5645,127 @@ esac @@ -5635,26 +5645,127 @@ esac
5635 5645
5636 5646
5637fi 5647fi
5638 5648
5639 5649
5640# Check whether --enable-db was given. 5650# Check whether --enable-db was given.
5641if test "${enable_db+set}" = set; then 5651if test "${enable_db+set}" = set; then
5642 enableval=$enable_db; 5652 enableval=$enable_db;
5643fi 5653fi
5644 5654
5645WITH_DB=$enable_db 5655WITH_DB=$enable_db
5646 5656
5647 5657
 5658for ac_func in issetugid
 5659do
 5660as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 5661{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 5662$as_echo_n "checking for $ac_func... " >&6; }
 5663if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 5664 $as_echo_n "(cached) " >&6
 5665else
 5666 cat >conftest.$ac_ext <<_ACEOF
 5667/* confdefs.h. */
 5668_ACEOF
 5669cat confdefs.h >>conftest.$ac_ext
 5670cat >>conftest.$ac_ext <<_ACEOF
 5671/* end confdefs.h. */
 5672/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 5673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
 5674#define $ac_func innocuous_$ac_func
 5675
 5676/* System header to define __stub macros and hopefully few prototypes,
 5677 which can conflict with char $ac_func (); below.
 5678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5679 <limits.h> exists even on freestanding compilers. */
 5680
 5681#ifdef __STDC__
 5682# include <limits.h>
 5683#else
 5684# include <assert.h>
 5685#endif
 5686
 5687#undef $ac_func
 5688
 5689/* Override any GCC internal prototype to avoid an error.
 5690 Use char because int might match the return type of a GCC
 5691 builtin and then its argument prototype would still apply. */
 5692#ifdef __cplusplus
 5693extern "C"
 5694#endif
 5695char $ac_func ();
 5696/* The GNU C library defines this for functions which it implements
 5697 to always fail with ENOSYS. Some functions are actually named
 5698 something starting with __ and the normal name is an alias. */
 5699#if defined __stub_$ac_func || defined __stub___$ac_func
 5700choke me
 5701#endif
 5702
 5703int
 5704main ()
 5705{
 5706return $ac_func ();
 5707 ;
 5708 return 0;
 5709}
 5710_ACEOF
 5711rm -f conftest.$ac_objext conftest$ac_exeext
 5712if { (ac_try="$ac_link"
 5713case "(($ac_try" in
 5714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5715 *) ac_try_echo=$ac_try;;
 5716esac
 5717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 5718$as_echo "$ac_try_echo") >&5
 5719 (eval "$ac_link") 2>conftest.er1
 5720 ac_status=$?
 5721 grep -v '^ *+' conftest.er1 >conftest.err
 5722 rm -f conftest.er1
 5723 cat conftest.err >&5
 5724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5725 (exit $ac_status); } && {
 5726 test -z "$ac_c_werror_flag" ||
 5727 test ! -s conftest.err
 5728 } && test -s conftest$ac_exeext && {
 5729 test "$cross_compiling" = yes ||
 5730 $as_test_x conftest$ac_exeext
 5731 }; then
 5732 eval "$as_ac_var=yes"
 5733else
 5734 $as_echo "$as_me: failed program was:" >&5
 5735sed 's/^/| /' conftest.$ac_ext >&5
 5736
 5737 eval "$as_ac_var=no"
 5738fi
 5739
 5740rm -rf conftest.dSYM
 5741rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5742 conftest$ac_exeext conftest.$ac_ext
 5743fi
 5744ac_res=`eval 'as_val=${'$as_ac_var'}
 5745 $as_echo "$as_val"'`
 5746 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 5747$as_echo "$ac_res" >&6; }
 5748as_val=`eval 'as_val=${'$as_ac_var'}
 5749 $as_echo "$as_val"'`
 5750 if test "x$as_val" = x""yes; then
 5751 cat >>confdefs.h <<_ACEOF
 5752#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 5753_ACEOF
 5754
 5755fi
 5756done
 5757
 5758
5648# Check whether --enable-bsd-getopt was given. 5759# Check whether --enable-bsd-getopt was given.
5649if test "${enable_bsd_getopt+set}" = set; then 5760if test "${enable_bsd_getopt+set}" = set; then
5650 enableval=$enable_bsd_getopt; 5761 enableval=$enable_bsd_getopt;
5651fi 5762fi
5652 5763
5653 5764
5654{ $as_echo "$as_me:$LINENO: checking whether optind is declared" >&5 5765{ $as_echo "$as_me:$LINENO: checking whether optind is declared" >&5
5655$as_echo_n "checking whether optind is declared... " >&6; } 5766$as_echo_n "checking whether optind is declared... " >&6; }
5656if test "${ac_cv_have_decl_optind+set}" = set; then 5767if test "${ac_cv_have_decl_optind+set}" = set; then
5657 $as_echo_n "(cached) " >&6 5768 $as_echo_n "(cached) " >&6
5658else 5769else
5659 cat >conftest.$ac_ext <<_ACEOF 5770 cat >conftest.$ac_ext <<_ACEOF
5660/* confdefs.h. */ 5771/* confdefs.h. */
@@ -5699,27 +5810,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5699,27 +5810,27 @@ $as_echo "$ac_try_echo") >&5
5699 } && test -s conftest.$ac_objext; then 5810 } && test -s conftest.$ac_objext; then
5700 ac_cv_have_decl_optind=yes 5811 ac_cv_have_decl_optind=yes
5701else 5812else
5702 $as_echo "$as_me: failed program was:" >&5 5813 $as_echo "$as_me: failed program was:" >&5
5703sed 's/^/| /' conftest.$ac_ext >&5 5814sed 's/^/| /' conftest.$ac_ext >&5
5704 5815
5705 ac_cv_have_decl_optind=no 5816 ac_cv_have_decl_optind=no
5706fi 5817fi
5707 5818
5708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709fi 5820fi
5710{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 5821{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5
5711$as_echo "$ac_cv_have_decl_optind" >&6; } 5822$as_echo "$ac_cv_have_decl_optind" >&6; }
5712if test $ac_cv_have_decl_optind = yes; then 5823if test "x$ac_cv_have_decl_optind" = x""yes; then
5713 5824
5714cat >>confdefs.h <<_ACEOF 5825cat >>confdefs.h <<_ACEOF
5715#define HAVE_DECL_OPTIND 1 5826#define HAVE_DECL_OPTIND 1
5716_ACEOF 5827_ACEOF
5717 5828
5718: 5829:
5719else 5830else
5720 cat >>confdefs.h <<_ACEOF 5831 cat >>confdefs.h <<_ACEOF
5721#define HAVE_DECL_OPTIND 0 5832#define HAVE_DECL_OPTIND 0
5722_ACEOF 5833_ACEOF
5723 5834
5724: 5835:
5725fi 5836fi
@@ -5771,27 +5882,27 @@ $as_echo "$ac_try_echo") >&5 @@ -5771,27 +5882,27 @@ $as_echo "$ac_try_echo") >&5
5771 } && test -s conftest.$ac_objext; then 5882 } && test -s conftest.$ac_objext; then
5772 ac_cv_have_decl_optreset=yes 5883 ac_cv_have_decl_optreset=yes
5773else 5884else
5774 $as_echo "$as_me: failed program was:" >&5 5885 $as_echo "$as_me: failed program was:" >&5
5775sed 's/^/| /' conftest.$ac_ext >&5 5886sed 's/^/| /' conftest.$ac_ext >&5
5776 5887
5777 ac_cv_have_decl_optreset=no 5888 ac_cv_have_decl_optreset=no
5778fi 5889fi
5779 5890
5780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5781fi 5892fi
5782{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 5893{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
5783$as_echo "$ac_cv_have_decl_optreset" >&6; } 5894$as_echo "$ac_cv_have_decl_optreset" >&6; }
5784if test $ac_cv_have_decl_optreset = yes; then 5895if test "x$ac_cv_have_decl_optreset" = x""yes; then
5785 5896
5786cat >>confdefs.h <<_ACEOF 5897cat >>confdefs.h <<_ACEOF
5787#define HAVE_DECL_OPTRESET 1 5898#define HAVE_DECL_OPTRESET 1
5788_ACEOF 5899_ACEOF
5789 5900
5790: 5901:
5791else 5902else
5792 cat >>confdefs.h <<_ACEOF 5903 cat >>confdefs.h <<_ACEOF
5793#define HAVE_DECL_OPTRESET 0 5904#define HAVE_DECL_OPTRESET 0
5794_ACEOF 5905_ACEOF
5795 5906
5796: 5907:
5797fi 5908fi
@@ -5930,28 +6041,29 @@ esac @@ -5930,28 +6041,29 @@ esac
5930{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6041{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5931$as_echo_n "checking for $ac_header... " >&6; } 6042$as_echo_n "checking for $ac_header... " >&6; }
5932if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6043if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5933 $as_echo_n "(cached) " >&6 6044 $as_echo_n "(cached) " >&6
5934else 6045else
5935 eval "$as_ac_Header=\$ac_header_preproc" 6046 eval "$as_ac_Header=\$ac_header_preproc"
5936fi 6047fi
5937ac_res=`eval 'as_val=${'$as_ac_Header'} 6048ac_res=`eval 'as_val=${'$as_ac_Header'}
5938 $as_echo "$as_val"'` 6049 $as_echo "$as_val"'`
5939 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6050 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5940$as_echo "$ac_res" >&6; } 6051$as_echo "$ac_res" >&6; }
5941 6052
5942fi 6053fi
5943if test `eval 'as_val=${'$as_ac_Header'} 6054as_val=`eval 'as_val=${'$as_ac_Header'}
5944 $as_echo "$as_val"'` = yes; then 6055 $as_echo "$as_val"'`
 6056 if test "x$as_val" = x""yes; then
5945 cat >>confdefs.h <<_ACEOF 6057 cat >>confdefs.h <<_ACEOF
5946#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6058#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5947_ACEOF 6059_ACEOF
5948 6060
5949 6061
5950 { $as_echo "$as_me:$LINENO: checking for struct option" >&5 6062 { $as_echo "$as_me:$LINENO: checking for struct option" >&5
5951$as_echo_n "checking for struct option... " >&6; } 6063$as_echo_n "checking for struct option... " >&6; }
5952if test "${pkg_cv_have_struct_option+set}" = set; then 6064if test "${pkg_cv_have_struct_option+set}" = set; then
5953 $as_echo_n "(cached) " >&6 6065 $as_echo_n "(cached) " >&6
5954else 6066else
5955 6067
5956 cat >conftest.$ac_ext <<_ACEOF 6068 cat >conftest.$ac_ext <<_ACEOF
5957/* confdefs.h. */ 6069/* confdefs.h. */
@@ -6164,28 +6276,29 @@ esac @@ -6164,28 +6276,29 @@ esac
6164{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6276{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6165$as_echo_n "checking for $ac_header... " >&6; } 6277$as_echo_n "checking for $ac_header... " >&6; }
6166if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6278if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6167 $as_echo_n "(cached) " >&6 6279 $as_echo_n "(cached) " >&6
6168else 6280else
6169 eval "$as_ac_Header=\$ac_header_preproc" 6281 eval "$as_ac_Header=\$ac_header_preproc"
6170fi 6282fi
6171ac_res=`eval 'as_val=${'$as_ac_Header'} 6283ac_res=`eval 'as_val=${'$as_ac_Header'}
6172 $as_echo "$as_val"'` 6284 $as_echo "$as_val"'`
6173 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6285 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6174$as_echo "$ac_res" >&6; } 6286$as_echo "$ac_res" >&6; }
6175 6287
6176fi 6288fi
6177if test `eval 'as_val=${'$as_ac_Header'} 6289as_val=`eval 'as_val=${'$as_ac_Header'}
6178 $as_echo "$as_val"'` = yes; then 6290 $as_echo "$as_val"'`
 6291 if test "x$as_val" = x""yes; then
6179 cat >>confdefs.h <<_ACEOF 6292 cat >>confdefs.h <<_ACEOF
6180#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6293#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6181_ACEOF 6294_ACEOF
6182 6295
6183 6296
6184 { $as_echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 6297 { $as_echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5
6185$as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } 6298$as_echo_n "checking for VIS_WHITE in vis.h... " >&6; }
6186if test "${pkg_cv_have_vis_white+set}" = set; then 6299if test "${pkg_cv_have_vis_white+set}" = set; then
6187 $as_echo_n "(cached) " >&6 6300 $as_echo_n "(cached) " >&6
6188else 6301else
6189 6302
6190 cat >conftest.$ac_ext <<_ACEOF 6303 cat >conftest.$ac_ext <<_ACEOF
6191/* confdefs.h. */ 6304/* confdefs.h. */
@@ -6324,28 +6437,29 @@ else @@ -6324,28 +6437,29 @@ else
6324sed 's/^/| /' conftest.$ac_ext >&5 6437sed 's/^/| /' conftest.$ac_ext >&5
6325 6438
6326 eval "$as_ac_var=no" 6439 eval "$as_ac_var=no"
6327fi 6440fi
6328 6441
6329rm -rf conftest.dSYM 6442rm -rf conftest.dSYM
6330rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6443rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6331 conftest$ac_exeext conftest.$ac_ext 6444 conftest$ac_exeext conftest.$ac_ext
6332fi 6445fi
6333ac_res=`eval 'as_val=${'$as_ac_var'} 6446ac_res=`eval 'as_val=${'$as_ac_var'}
6334 $as_echo "$as_val"'` 6447 $as_echo "$as_val"'`
6335 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6448 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6336$as_echo "$ac_res" >&6; } 6449$as_echo "$ac_res" >&6; }
6337if test `eval 'as_val=${'$as_ac_var'} 6450as_val=`eval 'as_val=${'$as_ac_var'}
6338 $as_echo "$as_val"'` = yes; then 6451 $as_echo "$as_val"'`
 6452 if test "x$as_val" = x""yes; then
6339 cat >>confdefs.h <<_ACEOF 6453 cat >>confdefs.h <<_ACEOF
6340#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6454#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6341_ACEOF 6455_ACEOF
6342 6456
6343fi 6457fi
6344done 6458done
6345 6459
6346 6460
6347 6461
6348 6462
6349 6463
6350 6464
6351 6465
@@ -6429,28 +6543,29 @@ else @@ -6429,28 +6543,29 @@ else
6429sed 's/^/| /' conftest.$ac_ext >&5 6543sed 's/^/| /' conftest.$ac_ext >&5
6430 6544
6431 eval "$as_ac_var=no" 6545 eval "$as_ac_var=no"
6432fi 6546fi
6433 6547
6434rm -rf conftest.dSYM 6548rm -rf conftest.dSYM
6435rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6549rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6436 conftest$ac_exeext conftest.$ac_ext 6550 conftest$ac_exeext conftest.$ac_ext
6437fi 6551fi
6438ac_res=`eval 'as_val=${'$as_ac_var'} 6552ac_res=`eval 'as_val=${'$as_ac_var'}
6439 $as_echo "$as_val"'` 6553 $as_echo "$as_val"'`
6440 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6554 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6441$as_echo "$ac_res" >&6; } 6555$as_echo "$ac_res" >&6; }
6442if test `eval 'as_val=${'$as_ac_var'} 6556as_val=`eval 'as_val=${'$as_ac_var'}
6443 $as_echo "$as_val"'` = yes; then 6557 $as_echo "$as_val"'`
 6558 if test "x$as_val" = x""yes; then
6444 cat >>confdefs.h <<_ACEOF 6559 cat >>confdefs.h <<_ACEOF
6445#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6560#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6446_ACEOF 6561_ACEOF
6447 pkg_use_nbcompat_vis=no 6562 pkg_use_nbcompat_vis=no
6448else 6563else
6449 pkg_use_nbcompat_vis=yes; break 6564 pkg_use_nbcompat_vis=yes; break
6450fi 6565fi
6451done 6566done
6452 6567
6453 6568
6454 else 6569 else
6455 6570
6456 : 6571 :
@@ -6629,27 +6744,27 @@ fi @@ -6629,27 +6744,27 @@ fi
6629 6744
6630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631else 6746else
6632 $as_echo "$as_me: failed program was:" >&5 6747 $as_echo "$as_me: failed program was:" >&5
6633sed 's/^/| /' conftest.$ac_ext >&5 6748sed 's/^/| /' conftest.$ac_ext >&5
6634 6749
6635 6750
6636fi 6751fi
6637 6752
6638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6639fi 6754fi
6640{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6755{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6641$as_echo "$ac_cv_type_size_t" >&6; } 6756$as_echo "$ac_cv_type_size_t" >&6; }
6642if test $ac_cv_type_size_t = yes; then 6757if test "x$ac_cv_type_size_t" = x""yes; then
6643 : 6758 :
6644else 6759else
6645 6760
6646cat >>confdefs.h <<_ACEOF 6761cat >>confdefs.h <<_ACEOF
6647#define size_t unsigned int 6762#define size_t unsigned int
6648_ACEOF 6763_ACEOF
6649 6764
6650fi 6765fi
6651 6766
6652 6767
6653 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5 6768 { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5
6654$as_echo_n "checking for uintptr_t... " >&6; } 6769$as_echo_n "checking for uintptr_t... " >&6; }
6655if test "${ac_cv_type_uintptr_t+set}" = set; then 6770if test "${ac_cv_type_uintptr_t+set}" = set; then
@@ -6734,27 +6849,27 @@ fi @@ -6734,27 +6849,27 @@ fi
6734 6849
6735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6736else 6851else
6737 $as_echo "$as_me: failed program was:" >&5 6852 $as_echo "$as_me: failed program was:" >&5
6738sed 's/^/| /' conftest.$ac_ext >&5 6853sed 's/^/| /' conftest.$ac_ext >&5
6739 6854
6740 6855
6741fi 6856fi
6742 6857
6743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744fi 6859fi
6745{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 6860{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6746$as_echo "$ac_cv_type_uintptr_t" >&6; } 6861$as_echo "$ac_cv_type_uintptr_t" >&6; }
6747if test $ac_cv_type_uintptr_t = yes; then 6862if test "x$ac_cv_type_uintptr_t" = x""yes; then
6748 6863
6749cat >>confdefs.h <<\_ACEOF 6864cat >>confdefs.h <<\_ACEOF
6750#define HAVE_UINTPTR_T 1 6865#define HAVE_UINTPTR_T 1
6751_ACEOF 6866_ACEOF
6752 6867
6753else 6868else
6754 for ac_type in 'unsigned int' 'unsigned long int' \ 6869 for ac_type in 'unsigned int' 'unsigned long int' \
6755 'unsigned long long int'; do 6870 'unsigned long long int'; do
6756 cat >conftest.$ac_ext <<_ACEOF 6871 cat >conftest.$ac_ext <<_ACEOF
6757/* confdefs.h. */ 6872/* confdefs.h. */
6758_ACEOF 6873_ACEOF
6759cat confdefs.h >>conftest.$ac_ext 6874cat confdefs.h >>conftest.$ac_ext
6760cat >>conftest.$ac_ext <<_ACEOF 6875cat >>conftest.$ac_ext <<_ACEOF
@@ -7685,27 +7800,27 @@ fi @@ -7685,27 +7800,27 @@ fi
7685 7800
7686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7687else 7802else
7688 $as_echo "$as_me: failed program was:" >&5 7803 $as_echo "$as_me: failed program was:" >&5
7689sed 's/^/| /' conftest.$ac_ext >&5 7804sed 's/^/| /' conftest.$ac_ext >&5
7690 7805
7691 7806
7692fi 7807fi
7693 7808
7694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7695fi 7810fi
7696{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 7811{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
7697$as_echo "$ac_cv_type_long_long" >&6; } 7812$as_echo "$ac_cv_type_long_long" >&6; }
7698if test $ac_cv_type_long_long = yes; then 7813if test "x$ac_cv_type_long_long" = x""yes; then
7699 7814
7700cat >>confdefs.h <<_ACEOF 7815cat >>confdefs.h <<_ACEOF
7701#define HAVE_LONG_LONG 1 7816#define HAVE_LONG_LONG 1
7702_ACEOF 7817_ACEOF
7703 7818
7704 7819
7705fi 7820fi
7706{ $as_echo "$as_me:$LINENO: checking for long double" >&5 7821{ $as_echo "$as_me:$LINENO: checking for long double" >&5
7707$as_echo_n "checking for long double... " >&6; } 7822$as_echo_n "checking for long double... " >&6; }
7708if test "${ac_cv_type_long_double+set}" = set; then 7823if test "${ac_cv_type_long_double+set}" = set; then
7709 $as_echo_n "(cached) " >&6 7824 $as_echo_n "(cached) " >&6
7710else 7825else
7711 ac_cv_type_long_double=no 7826 ac_cv_type_long_double=no
@@ -7813,27 +7928,27 @@ fi @@ -7813,27 +7928,27 @@ fi
7813 7928
7814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7815else 7930else
7816 $as_echo "$as_me: failed program was:" >&5 7931 $as_echo "$as_me: failed program was:" >&5
7817sed 's/^/| /' conftest.$ac_ext >&5 7932sed 's/^/| /' conftest.$ac_ext >&5
7818 7933
7819 7934
7820fi 7935fi
7821 7936
7822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7937rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7823fi 7938fi
7824{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 7939{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
7825$as_echo "$ac_cv_type_long_double" >&6; } 7940$as_echo "$ac_cv_type_long_double" >&6; }
7826if test $ac_cv_type_long_double = yes; then 7941if test "x$ac_cv_type_long_double" = x""yes; then
7827 7942
7828cat >>confdefs.h <<_ACEOF 7943cat >>confdefs.h <<_ACEOF
7829#define HAVE_LONG_DOUBLE 1 7944#define HAVE_LONG_DOUBLE 1
7830_ACEOF 7945_ACEOF
7831 7946
7832 7947
7833fi 7948fi
7834 7949
7835{ $as_echo "$as_me:$LINENO: checking for fsid_t" >&5 7950{ $as_echo "$as_me:$LINENO: checking for fsid_t" >&5
7836$as_echo_n "checking for fsid_t... " >&6; } 7951$as_echo_n "checking for fsid_t... " >&6; }
7837if test "${ac_cv_type_fsid_t+set}" = set; then 7952if test "${ac_cv_type_fsid_t+set}" = set; then
7838 $as_echo_n "(cached) " >&6 7953 $as_echo_n "(cached) " >&6
7839else 7954else
@@ -7940,74 +8055,80 @@ fi @@ -7940,74 +8055,80 @@ fi
7940 8055
7941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7942else 8057else
7943 $as_echo "$as_me: failed program was:" >&5 8058 $as_echo "$as_me: failed program was:" >&5
7944sed 's/^/| /' conftest.$ac_ext >&5 8059sed 's/^/| /' conftest.$ac_ext >&5
7945 8060
7946 8061
7947fi 8062fi
7948 8063
7949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7950fi 8065fi
7951{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5 8066{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5
7952$as_echo "$ac_cv_type_fsid_t" >&6; } 8067$as_echo "$ac_cv_type_fsid_t" >&6; }
7953if test $ac_cv_type_fsid_t = yes; then 8068if test "x$ac_cv_type_fsid_t" = x""yes; then
7954 8069
7955cat >>confdefs.h <<_ACEOF 8070cat >>confdefs.h <<_ACEOF
7956#define HAVE_FSID_T 1 8071#define HAVE_FSID_T 1
7957_ACEOF 8072_ACEOF
7958 8073
7959 8074
7960fi 8075fi
7961 8076
7962 8077
7963 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 8078 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7964$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 8079$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7965if test "${ac_cv_c_bigendian+set}" = set; then 8080if test "${ac_cv_c_bigendian+set}" = set; then
7966 $as_echo_n "(cached) " >&6 8081 $as_echo_n "(cached) " >&6
7967else 8082else
7968 ac_cv_c_bigendian=unknown 8083 ac_cv_c_bigendian=unknown
7969 # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. 8084 # See if we're dealing with a universal compiler.
7970 cat >conftest.$ac_ext <<_ACEOF 8085 cat >conftest.$ac_ext <<_ACEOF
7971/* confdefs.h. */ 8086/* confdefs.h. */
7972_ACEOF 8087_ACEOF
7973cat confdefs.h >>conftest.$ac_ext 8088cat confdefs.h >>conftest.$ac_ext
7974cat >>conftest.$ac_ext <<_ACEOF 8089cat >>conftest.$ac_ext <<_ACEOF
7975/* end confdefs.h. */ 8090/* end confdefs.h. */
7976#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) 8091#ifndef __APPLE_CC__
7977 neither is defined; 8092 not a universal capable compiler
7978 #endif 8093 #endif
7979 typedef int dummy; 8094 typedef int dummy;
7980 8095
7981_ACEOF 8096_ACEOF
7982rm -f conftest.$ac_objext 8097rm -f conftest.$ac_objext
7983if { (ac_try="$ac_compile" 8098if { (ac_try="$ac_compile"
7984case "(($ac_try" in 8099case "(($ac_try" in
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;; 8101 *) ac_try_echo=$ac_try;;
7987esac 8102esac
7988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8103eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7989$as_echo "$ac_try_echo") >&5 8104$as_echo "$ac_try_echo") >&5
7990 (eval "$ac_compile") 2>conftest.er1 8105 (eval "$ac_compile") 2>conftest.er1
7991 ac_status=$? 8106 ac_status=$?
7992 grep -v '^ *+' conftest.er1 >conftest.err 8107 grep -v '^ *+' conftest.er1 >conftest.err
7993 rm -f conftest.er1 8108 rm -f conftest.er1
7994 cat conftest.err >&5 8109 cat conftest.err >&5
7995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); } && { 8111 (exit $ac_status); } && {
7997 test -z "$ac_c_werror_flag" || 8112 test -z "$ac_c_werror_flag" ||
7998 test ! -s conftest.err 8113 test ! -s conftest.err
7999 } && test -s conftest.$ac_objext; then 8114 } && test -s conftest.$ac_objext; then
8000 ac_cv_c_bigendian=universal 8115
 8116 # Check for potential -arch flags. It is not universal unless
 8117 # there are some -arch flags. Note that *ppc* also matches
 8118 # ppc64. This check is also rather less than ideal.
 8119 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
 8120 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 8121 esac
8001else 8122else
8002 $as_echo "$as_me: failed program was:" >&5 8123 $as_echo "$as_me: failed program was:" >&5
8003sed 's/^/| /' conftest.$ac_ext >&5 8124sed 's/^/| /' conftest.$ac_ext >&5
8004 8125
8005 8126
8006fi 8127fi
8007 8128
8008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8009 if test $ac_cv_c_bigendian = unknown; then 8130 if test $ac_cv_c_bigendian = unknown; then
8010 # See if sys/param.h defines the BYTE_ORDER macro. 8131 # See if sys/param.h defines the BYTE_ORDER macro.
8011 cat >conftest.$ac_ext <<_ACEOF 8132 cat >conftest.$ac_ext <<_ACEOF
8012/* confdefs.h. */ 8133/* confdefs.h. */
8013_ACEOF 8134_ACEOF
@@ -8335,27 +8456,32 @@ fi @@ -8335,27 +8456,32 @@ fi
8335 fi 8456 fi
8336fi 8457fi
8337{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 8458{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8338$as_echo "$ac_cv_c_bigendian" >&6; } 8459$as_echo "$ac_cv_c_bigendian" >&6; }
8339 case $ac_cv_c_bigendian in #( 8460 case $ac_cv_c_bigendian in #(
8340 yes) 8461 yes)
8341 cat >>confdefs.h <<\_ACEOF 8462 cat >>confdefs.h <<\_ACEOF
8342#define WORDS_BIGENDIAN 1 8463#define WORDS_BIGENDIAN 1
8343_ACEOF 8464_ACEOF
8344;; #( 8465;; #(
8345 no) 8466 no)
8346 ;; #( 8467 ;; #(
8347 universal) 8468 universal)
8348 ;; #( 8469
 8470cat >>confdefs.h <<\_ACEOF
 8471#define AC_APPLE_UNIVERSAL_BUILD 1
 8472_ACEOF
 8473
 8474 ;; #(
8349 *) 8475 *)
8350 { { $as_echo "$as_me:$LINENO: error: unknown endianness 8476 { { $as_echo "$as_me:$LINENO: error: unknown endianness
8351 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 8477 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8352$as_echo "$as_me: error: unknown endianness 8478$as_echo "$as_me: error: unknown endianness
8353 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 8479 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8354 { (exit 1); exit 1; }; } ;; 8480 { (exit 1); exit 1; }; } ;;
8355 esac 8481 esac
8356 8482
8357# The cast to long int works around a bug in the HP C Compiler 8483# The cast to long int works around a bug in the HP C Compiler
8358# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 8484# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8359# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 8485# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8360# This bug is HP SR number 8606223364. 8486# This bug is HP SR number 8606223364.
8361{ $as_echo "$as_me:$LINENO: checking size of off_t" >&5 8487{ $as_echo "$as_me:$LINENO: checking size of off_t" >&5
@@ -8595,31 +8721,33 @@ $as_echo "$ac_try_echo") >&5 @@ -8595,31 +8721,33 @@ $as_echo "$ac_try_echo") >&5
8595 ac_hi=$ac_mid 8721 ac_hi=$ac_mid
8596else 8722else
8597 $as_echo "$as_me: failed program was:" >&5 8723 $as_echo "$as_me: failed program was:" >&5
8598sed 's/^/| /' conftest.$ac_ext >&5 8724sed 's/^/| /' conftest.$ac_ext >&5
8599 8725
8600 ac_lo=`expr '(' $ac_mid ')' + 1` 8726 ac_lo=`expr '(' $ac_mid ')' + 1`
8601fi 8727fi
8602 8728
8603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8604done 8730done
8605case $ac_lo in 8731case $ac_lo in
8606?*) ac_cv_sizeof_off_t=$ac_lo;; 8732?*) ac_cv_sizeof_off_t=$ac_lo;;
8607'') if test "$ac_cv_type_off_t" = yes; then 8733'') if test "$ac_cv_type_off_t" = yes; then
8608 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) 8734 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 8735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8736{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
8609See \`config.log' for more details." >&5 8737See \`config.log' for more details." >&5
8610$as_echo "$as_me: error: cannot compute sizeof (off_t) 8738$as_echo "$as_me: error: cannot compute sizeof (off_t)
8611See \`config.log' for more details." >&2;} 8739See \`config.log' for more details." >&2;}
8612 { (exit 77); exit 77; }; } 8740 { (exit 77); exit 77; }; }; }
8613 else 8741 else
8614 ac_cv_sizeof_off_t=0 8742 ac_cv_sizeof_off_t=0
8615 fi ;; 8743 fi ;;
8616esac 8744esac
8617else 8745else
8618 cat >conftest.$ac_ext <<_ACEOF 8746 cat >conftest.$ac_ext <<_ACEOF
8619/* confdefs.h. */ 8747/* confdefs.h. */
8620_ACEOF 8748_ACEOF
8621cat confdefs.h >>conftest.$ac_ext 8749cat confdefs.h >>conftest.$ac_ext
8622cat >>conftest.$ac_ext <<_ACEOF 8750cat >>conftest.$ac_ext <<_ACEOF
8623/* end confdefs.h. */ 8751/* end confdefs.h. */
8624$ac_includes_default 8752$ac_includes_default
8625static long int longval () { return (long int) (sizeof (off_t)); } 8753static long int longval () { return (long int) (sizeof (off_t)); }
@@ -8675,31 +8803,33 @@ eval ac_try_echo="\"\$as_me:$LINENO: $ac @@ -8675,31 +8803,33 @@ eval ac_try_echo="\"\$as_me:$LINENO: $ac
8675$as_echo "$ac_try_echo") >&5 8803$as_echo "$ac_try_echo") >&5
8676 (eval "$ac_try") 2>&5 8804 (eval "$ac_try") 2>&5
8677 ac_status=$? 8805 ac_status=$?
8678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; }; then 8807 (exit $ac_status); }; }; then
8680 ac_cv_sizeof_off_t=`cat conftest.val` 8808 ac_cv_sizeof_off_t=`cat conftest.val`
8681else 8809else
8682 $as_echo "$as_me: program exited with status $ac_status" >&5 8810 $as_echo "$as_me: program exited with status $ac_status" >&5
8683$as_echo "$as_me: failed program was:" >&5 8811$as_echo "$as_me: failed program was:" >&5
8684sed 's/^/| /' conftest.$ac_ext >&5 8812sed 's/^/| /' conftest.$ac_ext >&5
8685 8813
8686( exit $ac_status ) 8814( exit $ac_status )
8687if test "$ac_cv_type_off_t" = yes; then 8815if test "$ac_cv_type_off_t" = yes; then
8688 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) 8816 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 8817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 8818{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
8689See \`config.log' for more details." >&5 8819See \`config.log' for more details." >&5
8690$as_echo "$as_me: error: cannot compute sizeof (off_t) 8820$as_echo "$as_me: error: cannot compute sizeof (off_t)
8691See \`config.log' for more details." >&2;} 8821See \`config.log' for more details." >&2;}
8692 { (exit 77); exit 77; }; } 8822 { (exit 77); exit 77; }; }; }
8693 else 8823 else
8694 ac_cv_sizeof_off_t=0 8824 ac_cv_sizeof_off_t=0
8695 fi 8825 fi
8696fi 8826fi
8697rm -rf conftest.dSYM 8827rm -rf conftest.dSYM
8698rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8828rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8699fi 8829fi
8700rm -f conftest.val 8830rm -f conftest.val
8701fi 8831fi
8702{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 8832{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
8703$as_echo "$ac_cv_sizeof_off_t" >&6; } 8833$as_echo "$ac_cv_sizeof_off_t" >&6; }
8704 8834
8705 8835
@@ -8841,28 +8971,29 @@ esac @@ -8841,28 +8971,29 @@ esac
8841{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8971{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8842$as_echo_n "checking for $ac_header... " >&6; } 8972$as_echo_n "checking for $ac_header... " >&6; }
8843if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8973if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8844 $as_echo_n "(cached) " >&6 8974 $as_echo_n "(cached) " >&6
8845else 8975else
8846 eval "$as_ac_Header=\$ac_header_preproc" 8976 eval "$as_ac_Header=\$ac_header_preproc"
8847fi 8977fi
8848ac_res=`eval 'as_val=${'$as_ac_Header'} 8978ac_res=`eval 'as_val=${'$as_ac_Header'}
8849 $as_echo "$as_val"'` 8979 $as_echo "$as_val"'`
8850 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8980 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8851$as_echo "$ac_res" >&6; } 8981$as_echo "$ac_res" >&6; }
8852 8982
8853fi 8983fi
8854if test `eval 'as_val=${'$as_ac_Header'} 8984as_val=`eval 'as_val=${'$as_ac_Header'}
8855 $as_echo "$as_val"'` = yes; then 8985 $as_echo "$as_val"'`
 8986 if test "x$as_val" = x""yes; then
8856 cat >>confdefs.h <<_ACEOF 8987 cat >>confdefs.h <<_ACEOF
8857#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8988#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8858_ACEOF 8989_ACEOF
8859 8990
8860fi 8991fi
8861 8992
8862done 8993done
8863 8994
8864{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 8995{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
8865$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 8996$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
8866if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 8997if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
8867 $as_echo_n "(cached) " >&6 8998 $as_echo_n "(cached) " >&6
8868else 8999else
@@ -8997,27 +9128,27 @@ $as_echo "$ac_try_echo") >&5 @@ -8997,27 +9128,27 @@ $as_echo "$ac_try_echo") >&5
8997 } && test -s conftest.$ac_objext; then 9128 } && test -s conftest.$ac_objext; then
8998 ac_cv_have_decl_strerror_r=yes 9129 ac_cv_have_decl_strerror_r=yes
8999else 9130else
9000 $as_echo "$as_me: failed program was:" >&5 9131 $as_echo "$as_me: failed program was:" >&5
9001sed 's/^/| /' conftest.$ac_ext >&5 9132sed 's/^/| /' conftest.$ac_ext >&5
9002 9133
9003 ac_cv_have_decl_strerror_r=no 9134 ac_cv_have_decl_strerror_r=no
9004fi 9135fi
9005 9136
9006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9007fi 9138fi
9008{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 9139{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
9009$as_echo "$ac_cv_have_decl_strerror_r" >&6; } 9140$as_echo "$ac_cv_have_decl_strerror_r" >&6; }
9010if test $ac_cv_have_decl_strerror_r = yes; then 9141if test "x$ac_cv_have_decl_strerror_r" = x""yes; then
9011 9142
9012cat >>confdefs.h <<_ACEOF 9143cat >>confdefs.h <<_ACEOF
9013#define HAVE_DECL_STRERROR_R 1 9144#define HAVE_DECL_STRERROR_R 1
9014_ACEOF 9145_ACEOF
9015 9146
9016 9147
9017else 9148else
9018 cat >>confdefs.h <<_ACEOF 9149 cat >>confdefs.h <<_ACEOF
9019#define HAVE_DECL_STRERROR_R 0 9150#define HAVE_DECL_STRERROR_R 0
9020_ACEOF 9151_ACEOF
9021 9152
9022 9153
9023fi 9154fi
@@ -9104,28 +9235,29 @@ else @@ -9104,28 +9235,29 @@ else
9104sed 's/^/| /' conftest.$ac_ext >&5 9235sed 's/^/| /' conftest.$ac_ext >&5
9105 9236
9106 eval "$as_ac_var=no" 9237 eval "$as_ac_var=no"
9107fi 9238fi
9108 9239
9109rm -rf conftest.dSYM 9240rm -rf conftest.dSYM
9110rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9241rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9111 conftest$ac_exeext conftest.$ac_ext 9242 conftest$ac_exeext conftest.$ac_ext
9112fi 9243fi
9113ac_res=`eval 'as_val=${'$as_ac_var'} 9244ac_res=`eval 'as_val=${'$as_ac_var'}
9114 $as_echo "$as_val"'` 9245 $as_echo "$as_val"'`
9115 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9246 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9116$as_echo "$ac_res" >&6; } 9247$as_echo "$ac_res" >&6; }
9117if test `eval 'as_val=${'$as_ac_var'} 9248as_val=`eval 'as_val=${'$as_ac_var'}
9118 $as_echo "$as_val"'` = yes; then 9249 $as_echo "$as_val"'`
 9250 if test "x$as_val" = x""yes; then
9119 cat >>confdefs.h <<_ACEOF 9251 cat >>confdefs.h <<_ACEOF
9120#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9252#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9121_ACEOF 9253_ACEOF
9122 9254
9123fi 9255fi
9124done 9256done
9125 9257
9126{ $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 9258{ $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
9127$as_echo_n "checking whether strerror_r returns char *... " >&6; } 9259$as_echo_n "checking whether strerror_r returns char *... " >&6; }
9128if test "${ac_cv_func_strerror_r_char_p+set}" = set; then 9260if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
9129 $as_echo_n "(cached) " >&6 9261 $as_echo_n "(cached) " >&6
9130else 9262else
9131 9263
@@ -9337,27 +9469,27 @@ fi @@ -9337,27 +9469,27 @@ fi
9337 9469
9338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9339else 9471else
9340 $as_echo "$as_me: failed program was:" >&5 9472 $as_echo "$as_me: failed program was:" >&5
9341sed 's/^/| /' conftest.$ac_ext >&5 9473sed 's/^/| /' conftest.$ac_ext >&5
9342 9474
9343 9475
9344fi 9476fi
9345 9477
9346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9347fi 9479fi
9348{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 9480{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
9349$as_echo "$ac_cv_type_pid_t" >&6; } 9481$as_echo "$ac_cv_type_pid_t" >&6; }
9350if test $ac_cv_type_pid_t = yes; then 9482if test "x$ac_cv_type_pid_t" = x""yes; then
9351 : 9483 :
9352else 9484else
9353 9485
9354cat >>confdefs.h <<_ACEOF 9486cat >>confdefs.h <<_ACEOF
9355#define pid_t int 9487#define pid_t int
9356_ACEOF 9488_ACEOF
9357 9489
9358fi 9490fi
9359 9491
9360 9492
9361for ac_header in vfork.h 9493for ac_header in vfork.h
9362do 9494do
9363as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9495as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -9487,28 +9619,29 @@ esac @@ -9487,28 +9619,29 @@ esac
9487{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 9619{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9488$as_echo_n "checking for $ac_header... " >&6; } 9620$as_echo_n "checking for $ac_header... " >&6; }
9489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9621if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9490 $as_echo_n "(cached) " >&6 9622 $as_echo_n "(cached) " >&6
9491else 9623else
9492 eval "$as_ac_Header=\$ac_header_preproc" 9624 eval "$as_ac_Header=\$ac_header_preproc"
9493fi 9625fi
9494ac_res=`eval 'as_val=${'$as_ac_Header'} 9626ac_res=`eval 'as_val=${'$as_ac_Header'}
9495 $as_echo "$as_val"'` 9627 $as_echo "$as_val"'`
9496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9628 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9497$as_echo "$ac_res" >&6; } 9629$as_echo "$ac_res" >&6; }
9498 9630
9499fi 9631fi
9500if test `eval 'as_val=${'$as_ac_Header'} 9632as_val=`eval 'as_val=${'$as_ac_Header'}
9501 $as_echo "$as_val"'` = yes; then 9633 $as_echo "$as_val"'`
 9634 if test "x$as_val" = x""yes; then
9502 cat >>confdefs.h <<_ACEOF 9635 cat >>confdefs.h <<_ACEOF
9503#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9636#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9504_ACEOF 9637_ACEOF
9505 9638
9506fi 9639fi
9507 9640
9508done 9641done
9509 9642
9510 9643
9511 9644
9512for ac_func in fork vfork 9645for ac_func in fork vfork
9513do 9646do
9514as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 9647as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -9589,28 +9722,29 @@ else @@ -9589,28 +9722,29 @@ else
9589sed 's/^/| /' conftest.$ac_ext >&5 9722sed 's/^/| /' conftest.$ac_ext >&5
9590 9723
9591 eval "$as_ac_var=no" 9724 eval "$as_ac_var=no"
9592fi 9725fi
9593 9726
9594rm -rf conftest.dSYM 9727rm -rf conftest.dSYM
9595rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9728rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9596 conftest$ac_exeext conftest.$ac_ext 9729 conftest$ac_exeext conftest.$ac_ext
9597fi 9730fi
9598ac_res=`eval 'as_val=${'$as_ac_var'} 9731ac_res=`eval 'as_val=${'$as_ac_var'}
9599 $as_echo "$as_val"'` 9732 $as_echo "$as_val"'`
9600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 9733 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9601$as_echo "$ac_res" >&6; } 9734$as_echo "$ac_res" >&6; }
9602if test `eval 'as_val=${'$as_ac_var'} 9735as_val=`eval 'as_val=${'$as_ac_var'}
9603 $as_echo "$as_val"'` = yes; then 9736 $as_echo "$as_val"'`
 9737 if test "x$as_val" = x""yes; then
9604 cat >>confdefs.h <<_ACEOF 9738 cat >>confdefs.h <<_ACEOF
9605#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 9739#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9606_ACEOF 9740_ACEOF
9607 9741
9608fi 9742fi
9609done 9743done
9610 9744
9611if test "x$ac_cv_func_fork" = xyes; then 9745if test "x$ac_cv_func_fork" = xyes; then
9612 { $as_echo "$as_me:$LINENO: checking for working fork" >&5 9746 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
9613$as_echo_n "checking for working fork... " >&6; } 9747$as_echo_n "checking for working fork... " >&6; }
9614if test "${ac_cv_func_fork_works+set}" = set; then 9748if test "${ac_cv_func_fork_works+set}" = set; then
9615 $as_echo_n "(cached) " >&6 9749 $as_echo_n "(cached) " >&6
9616else 9750else
@@ -9946,28 +10080,29 @@ else @@ -9946,28 +10080,29 @@ else
9946sed 's/^/| /' conftest.$ac_ext >&5 10080sed 's/^/| /' conftest.$ac_ext >&5
9947 10081
9948 eval "$as_ac_var=no" 10082 eval "$as_ac_var=no"
9949fi 10083fi
9950 10084
9951rm -rf conftest.dSYM 10085rm -rf conftest.dSYM
9952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10086rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9953 conftest$ac_exeext conftest.$ac_ext 10087 conftest$ac_exeext conftest.$ac_ext
9954fi 10088fi
9955ac_res=`eval 'as_val=${'$as_ac_var'} 10089ac_res=`eval 'as_val=${'$as_ac_var'}
9956 $as_echo "$as_val"'` 10090 $as_echo "$as_val"'`
9957 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10091 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9958$as_echo "$ac_res" >&6; } 10092$as_echo "$ac_res" >&6; }
9959if test `eval 'as_val=${'$as_ac_var'} 10093as_val=`eval 'as_val=${'$as_ac_var'}
9960 $as_echo "$as_val"'` = yes; then 10094 $as_echo "$as_val"'`
 10095 if test "x$as_val" = x""yes; then
9961 cat >>confdefs.h <<_ACEOF 10096 cat >>confdefs.h <<_ACEOF
9962#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10097#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9963_ACEOF 10098_ACEOF
9964 10099
9965{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 10100{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
9966$as_echo_n "checking for _doprnt... " >&6; } 10101$as_echo_n "checking for _doprnt... " >&6; }
9967if test "${ac_cv_func__doprnt+set}" = set; then 10102if test "${ac_cv_func__doprnt+set}" = set; then
9968 $as_echo_n "(cached) " >&6 10103 $as_echo_n "(cached) " >&6
9969else 10104else
9970 cat >conftest.$ac_ext <<_ACEOF 10105 cat >conftest.$ac_ext <<_ACEOF
9971/* confdefs.h. */ 10106/* confdefs.h. */
9972_ACEOF 10107_ACEOF
9973cat confdefs.h >>conftest.$ac_ext 10108cat confdefs.h >>conftest.$ac_ext
@@ -10037,27 +10172,27 @@ $as_echo "$ac_try_echo") >&5 @@ -10037,27 +10172,27 @@ $as_echo "$ac_try_echo") >&5
10037else 10172else
10038 $as_echo "$as_me: failed program was:" >&5 10173 $as_echo "$as_me: failed program was:" >&5
10039sed 's/^/| /' conftest.$ac_ext >&5 10174sed 's/^/| /' conftest.$ac_ext >&5
10040 10175
10041 ac_cv_func__doprnt=no 10176 ac_cv_func__doprnt=no
10042fi 10177fi
10043 10178
10044rm -rf conftest.dSYM 10179rm -rf conftest.dSYM
10045rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10180rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10046 conftest$ac_exeext conftest.$ac_ext 10181 conftest$ac_exeext conftest.$ac_ext
10047fi 10182fi
10048{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 10183{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
10049$as_echo "$ac_cv_func__doprnt" >&6; } 10184$as_echo "$ac_cv_func__doprnt" >&6; }
10050if test $ac_cv_func__doprnt = yes; then 10185if test "x$ac_cv_func__doprnt" = x""yes; then
10051 10186
10052cat >>confdefs.h <<\_ACEOF 10187cat >>confdefs.h <<\_ACEOF
10053#define HAVE_DOPRNT 1 10188#define HAVE_DOPRNT 1
10054_ACEOF 10189_ACEOF
10055 10190
10056fi 10191fi
10057 10192
10058fi 10193fi
10059done 10194done
10060 10195
10061 10196
10062 10197
10063{ $as_echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 10198{ $as_echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
@@ -10104,27 +10239,27 @@ $as_echo "$ac_try_echo") >&5 @@ -10104,27 +10239,27 @@ $as_echo "$ac_try_echo") >&5
10104 } && test -s conftest.$ac_objext; then 10239 } && test -s conftest.$ac_objext; then
10105 ac_cv_have_decl_snprintf=yes 10240 ac_cv_have_decl_snprintf=yes
10106else 10241else
10107 $as_echo "$as_me: failed program was:" >&5 10242 $as_echo "$as_me: failed program was:" >&5
10108sed 's/^/| /' conftest.$ac_ext >&5 10243sed 's/^/| /' conftest.$ac_ext >&5
10109 10244
10110 ac_cv_have_decl_snprintf=no 10245 ac_cv_have_decl_snprintf=no
10111fi 10246fi
10112 10247
10113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10114fi 10249fi
10115{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 10250{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
10116$as_echo "$ac_cv_have_decl_snprintf" >&6; } 10251$as_echo "$ac_cv_have_decl_snprintf" >&6; }
10117if test $ac_cv_have_decl_snprintf = yes; then 10252if test "x$ac_cv_have_decl_snprintf" = x""yes; then
10118 10253
10119cat >>confdefs.h <<_ACEOF 10254cat >>confdefs.h <<_ACEOF
10120#define HAVE_DECL_SNPRINTF 1 10255#define HAVE_DECL_SNPRINTF 1
10121_ACEOF 10256_ACEOF
10122 10257
10123 10258
10124else 10259else
10125 cat >>confdefs.h <<_ACEOF 10260 cat >>confdefs.h <<_ACEOF
10126#define HAVE_DECL_SNPRINTF 0 10261#define HAVE_DECL_SNPRINTF 0
10127_ACEOF 10262_ACEOF
10128 10263
10129 10264
10130fi 10265fi
@@ -10172,27 +10307,27 @@ $as_echo "$ac_try_echo") >&5 @@ -10172,27 +10307,27 @@ $as_echo "$ac_try_echo") >&5
10172 } && test -s conftest.$ac_objext; then 10307 } && test -s conftest.$ac_objext; then
10173 ac_cv_have_decl_vasprintf=yes 10308 ac_cv_have_decl_vasprintf=yes
10174else 10309else
10175 $as_echo "$as_me: failed program was:" >&5 10310 $as_echo "$as_me: failed program was:" >&5
10176sed 's/^/| /' conftest.$ac_ext >&5 10311sed 's/^/| /' conftest.$ac_ext >&5
10177 10312
10178 ac_cv_have_decl_vasprintf=no 10313 ac_cv_have_decl_vasprintf=no
10179fi 10314fi
10180 10315
10181rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10182fi 10317fi
10183{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5 10318{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
10184$as_echo "$ac_cv_have_decl_vasprintf" >&6; } 10319$as_echo "$ac_cv_have_decl_vasprintf" >&6; }
10185if test $ac_cv_have_decl_vasprintf = yes; then 10320if test "x$ac_cv_have_decl_vasprintf" = x""yes; then
10186 10321
10187cat >>confdefs.h <<_ACEOF 10322cat >>confdefs.h <<_ACEOF
10188#define HAVE_DECL_VASPRINTF 1 10323#define HAVE_DECL_VASPRINTF 1
10189_ACEOF 10324_ACEOF
10190 10325
10191 10326
10192else 10327else
10193 cat >>confdefs.h <<_ACEOF 10328 cat >>confdefs.h <<_ACEOF
10194#define HAVE_DECL_VASPRINTF 0 10329#define HAVE_DECL_VASPRINTF 0
10195_ACEOF 10330_ACEOF
10196 10331
10197 10332
10198fi 10333fi
@@ -10314,28 +10449,29 @@ else @@ -10314,28 +10449,29 @@ else
10314sed 's/^/| /' conftest.$ac_ext >&5 10449sed 's/^/| /' conftest.$ac_ext >&5
10315 10450
10316 eval "$as_ac_var=no" 10451 eval "$as_ac_var=no"
10317fi 10452fi
10318 10453
10319rm -rf conftest.dSYM 10454rm -rf conftest.dSYM
10320rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10455rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10321 conftest$ac_exeext conftest.$ac_ext 10456 conftest$ac_exeext conftest.$ac_ext
10322fi 10457fi
10323ac_res=`eval 'as_val=${'$as_ac_var'} 10458ac_res=`eval 'as_val=${'$as_ac_var'}
10324 $as_echo "$as_val"'` 10459 $as_echo "$as_val"'`
10325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 10460 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10326$as_echo "$ac_res" >&6; } 10461$as_echo "$ac_res" >&6; }
10327if test `eval 'as_val=${'$as_ac_var'} 10462as_val=`eval 'as_val=${'$as_ac_var'}
10328 $as_echo "$as_val"'` = yes; then 10463 $as_echo "$as_val"'`
 10464 if test "x$as_val" = x""yes; then
10329 cat >>confdefs.h <<_ACEOF 10465 cat >>confdefs.h <<_ACEOF
10330#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 10466#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10331_ACEOF 10467_ACEOF
10332 10468
10333else 10469else
10334 case " $LIBOBJS " in 10470 case " $LIBOBJS " in
10335 *" $ac_func.$ac_objext "* ) ;; 10471 *" $ac_func.$ac_objext "* ) ;;
10336 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 10472 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
10337 ;; 10473 ;;
10338esac 10474esac
10339 10475
10340fi 10476fi
10341done 10477done
@@ -10398,27 +10534,27 @@ else @@ -10398,27 +10534,27 @@ else
10398 $as_echo "$as_me: failed program was:" >&5 10534 $as_echo "$as_me: failed program was:" >&5
10399sed 's/^/| /' conftest.$ac_ext >&5 10535sed 's/^/| /' conftest.$ac_ext >&5
10400 10536
10401 ac_cv_lib_socket_socket=no 10537 ac_cv_lib_socket_socket=no
10402fi 10538fi
10403 10539
10404rm -rf conftest.dSYM 10540rm -rf conftest.dSYM
10405rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10541rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10406 conftest$ac_exeext conftest.$ac_ext 10542 conftest$ac_exeext conftest.$ac_ext
10407LIBS=$ac_check_lib_save_LIBS 10543LIBS=$ac_check_lib_save_LIBS
10408fi 10544fi
10409{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 10545{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
10410$as_echo "$ac_cv_lib_socket_socket" >&6; } 10546$as_echo "$ac_cv_lib_socket_socket" >&6; }
10411if test $ac_cv_lib_socket_socket = yes; then 10547if test "x$ac_cv_lib_socket_socket" = x""yes; then
10412 cat >>confdefs.h <<_ACEOF 10548 cat >>confdefs.h <<_ACEOF
10413#define HAVE_LIBSOCKET 1 10549#define HAVE_LIBSOCKET 1
10414_ACEOF 10550_ACEOF
10415 10551
10416 LIBS="-lsocket $LIBS" 10552 LIBS="-lsocket $LIBS"
10417 10553
10418fi 10554fi
10419 10555
10420 10556
10421{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 10557{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10422$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 10558$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10423if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 10559if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10424 $as_echo_n "(cached) " >&6 10560 $as_echo_n "(cached) " >&6
@@ -10473,27 +10609,27 @@ else @@ -10473,27 +10609,27 @@ else
10473 $as_echo "$as_me: failed program was:" >&5 10609 $as_echo "$as_me: failed program was:" >&5
10474sed 's/^/| /' conftest.$ac_ext >&5 10610sed 's/^/| /' conftest.$ac_ext >&5
10475 10611
10476 ac_cv_lib_nsl_gethostbyname=no 10612 ac_cv_lib_nsl_gethostbyname=no
10477fi 10613fi
10478 10614
10479rm -rf conftest.dSYM 10615rm -rf conftest.dSYM
10480rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10616rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10481 conftest$ac_exeext conftest.$ac_ext 10617 conftest$ac_exeext conftest.$ac_ext
10482LIBS=$ac_check_lib_save_LIBS 10618LIBS=$ac_check_lib_save_LIBS
10483fi 10619fi
10484{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 10620{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10485$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 10621$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10486if test $ac_cv_lib_nsl_gethostbyname = yes; then 10622if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
10487 cat >>confdefs.h <<_ACEOF 10623 cat >>confdefs.h <<_ACEOF
10488#define HAVE_LIBNSL 1 10624#define HAVE_LIBNSL 1
10489_ACEOF 10625_ACEOF
10490 10626
10491 LIBS="-lnsl $LIBS" 10627 LIBS="-lnsl $LIBS"
10492 10628
10493fi 10629fi
10494 10630
10495 10631
10496need_getaddrinfo=no 10632need_getaddrinfo=no
10497{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 10633{ $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
10498$as_echo_n "checking for socklen_t... " >&6; } 10634$as_echo_n "checking for socklen_t... " >&6; }
10499if test "${ac_cv_type_socklen_t+set}" = set; then 10635if test "${ac_cv_type_socklen_t+set}" = set; then
@@ -10590,27 +10726,27 @@ fi @@ -10590,27 +10726,27 @@ fi
10590 10726
10591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10592else 10728else
10593 $as_echo "$as_me: failed program was:" >&5 10729 $as_echo "$as_me: failed program was:" >&5
10594sed 's/^/| /' conftest.$ac_ext >&5 10730sed 's/^/| /' conftest.$ac_ext >&5
10595 10731
10596 10732
10597fi 10733fi
10598 10734
10599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10600fi 10736fi
10601{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 10737{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
10602$as_echo "$ac_cv_type_socklen_t" >&6; } 10738$as_echo "$ac_cv_type_socklen_t" >&6; }
10603if test $ac_cv_type_socklen_t = yes; then 10739if test "x$ac_cv_type_socklen_t" = x""yes; then
10604 10740
10605cat >>confdefs.h <<_ACEOF 10741cat >>confdefs.h <<_ACEOF
10606#define HAVE_SOCKLEN_T 1 10742#define HAVE_SOCKLEN_T 1
10607_ACEOF 10743_ACEOF
10608 10744
10609 10745
10610fi 10746fi
10611 10747
10612{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 10748{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
10613$as_echo_n "checking for struct addrinfo... " >&6; } 10749$as_echo_n "checking for struct addrinfo... " >&6; }
10614if test "${ac_cv_type_struct_addrinfo+set}" = set; then 10750if test "${ac_cv_type_struct_addrinfo+set}" = set; then
10615 $as_echo_n "(cached) " >&6 10751 $as_echo_n "(cached) " >&6
10616else 10752else
@@ -10695,27 +10831,27 @@ fi @@ -10695,27 +10831,27 @@ fi
10695 10831
10696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10697else 10833else
10698 $as_echo "$as_me: failed program was:" >&5 10834 $as_echo "$as_me: failed program was:" >&5
10699sed 's/^/| /' conftest.$ac_ext >&5 10835sed 's/^/| /' conftest.$ac_ext >&5
10700 10836
10701 10837
10702fi 10838fi
10703 10839
10704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10705fi 10841fi
10706{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 10842{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5
10707$as_echo "$ac_cv_type_struct_addrinfo" >&6; } 10843$as_echo "$ac_cv_type_struct_addrinfo" >&6; }
10708if test $ac_cv_type_struct_addrinfo = yes; then 10844if test "x$ac_cv_type_struct_addrinfo" = x""yes; then
10709 10845
10710cat >>confdefs.h <<_ACEOF 10846cat >>confdefs.h <<_ACEOF
10711#define HAVE_STRUCT_ADDRINFO 1 10847#define HAVE_STRUCT_ADDRINFO 1
10712_ACEOF 10848_ACEOF
10713 10849
10714 10850
10715fi 10851fi
10716 10852
10717{ $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5 10853{ $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5
10718$as_echo_n "checking for struct in6_addr... " >&6; } 10854$as_echo_n "checking for struct in6_addr... " >&6; }
10719if test "${ac_cv_type_struct_in6_addr+set}" = set; then 10855if test "${ac_cv_type_struct_in6_addr+set}" = set; then
10720 $as_echo_n "(cached) " >&6 10856 $as_echo_n "(cached) " >&6
10721else 10857else
@@ -10808,27 +10944,27 @@ fi @@ -10808,27 +10944,27 @@ fi
10808 10944
10809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10810else 10946else
10811 $as_echo "$as_me: failed program was:" >&5 10947 $as_echo "$as_me: failed program was:" >&5
10812sed 's/^/| /' conftest.$ac_ext >&5 10948sed 's/^/| /' conftest.$ac_ext >&5
10813 10949
10814 10950
10815fi 10951fi
10816 10952
10817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10818fi 10954fi
10819{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5 10955{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5
10820$as_echo "$ac_cv_type_struct_in6_addr" >&6; } 10956$as_echo "$ac_cv_type_struct_in6_addr" >&6; }
10821if test $ac_cv_type_struct_in6_addr = yes; then 10957if test "x$ac_cv_type_struct_in6_addr" = x""yes; then
10822 10958
10823cat >>confdefs.h <<_ACEOF 10959cat >>confdefs.h <<_ACEOF
10824#define HAVE_STRUCT_IN6_ADDR 1 10960#define HAVE_STRUCT_IN6_ADDR 1
10825_ACEOF 10961_ACEOF
10826 10962
10827 10963
10828fi 10964fi
10829 10965
10830{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 10966{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
10831$as_echo_n "checking for struct sockaddr_in6... " >&6; } 10967$as_echo_n "checking for struct sockaddr_in6... " >&6; }
10832if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then 10968if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then
10833 $as_echo_n "(cached) " >&6 10969 $as_echo_n "(cached) " >&6
10834else 10970else
@@ -10921,27 +11057,27 @@ fi @@ -10921,27 +11057,27 @@ fi
10921 11057
10922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10923else 11059else
10924 $as_echo "$as_me: failed program was:" >&5 11060 $as_echo "$as_me: failed program was:" >&5
10925sed 's/^/| /' conftest.$ac_ext >&5 11061sed 's/^/| /' conftest.$ac_ext >&5
10926 11062
10927 11063
10928fi 11064fi
10929 11065
10930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10931fi 11067fi
10932{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5 11068{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5
10933$as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; } 11069$as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; }
10934if test $ac_cv_type_struct_sockaddr_in6 = yes; then 11070if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then
10935 11071
10936cat >>confdefs.h <<_ACEOF 11072cat >>confdefs.h <<_ACEOF
10937#define HAVE_STRUCT_SOCKADDR_IN6 1 11073#define HAVE_STRUCT_SOCKADDR_IN6 1
10938_ACEOF 11074_ACEOF
10939 11075
10940 11076
10941fi 11077fi
10942 11078
10943{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 11079{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
10944$as_echo_n "checking for struct sockaddr_storage... " >&6; } 11080$as_echo_n "checking for struct sockaddr_storage... " >&6; }
10945if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then 11081if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
10946 $as_echo_n "(cached) " >&6 11082 $as_echo_n "(cached) " >&6
10947else 11083else
@@ -11034,27 +11170,27 @@ fi @@ -11034,27 +11170,27 @@ fi
11034 11170
11035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11036else 11172else
11037 $as_echo "$as_me: failed program was:" >&5 11173 $as_echo "$as_me: failed program was:" >&5
11038sed 's/^/| /' conftest.$ac_ext >&5 11174sed 's/^/| /' conftest.$ac_ext >&5
11039 11175
11040 11176
11041fi 11177fi
11042 11178
11043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11044fi 11180fi
11045{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 11181{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
11046$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } 11182$as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; }
11047if test $ac_cv_type_struct_sockaddr_storage = yes; then 11183if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then
11048 11184
11049cat >>confdefs.h <<_ACEOF 11185cat >>confdefs.h <<_ACEOF
11050#define HAVE_STRUCT_SOCKADDR_STORAGE 1 11186#define HAVE_STRUCT_SOCKADDR_STORAGE 1
11051_ACEOF 11187_ACEOF
11052 11188
11053 11189
11054fi 11190fi
11055 11191
11056 11192
11057 11193
11058 11194
11059for ac_func in getnameinfo gai_strerror getaddrinfo 11195for ac_func in getnameinfo gai_strerror getaddrinfo
11060do 11196do
@@ -11136,28 +11272,29 @@ else @@ -11136,28 +11272,29 @@ else
11136sed 's/^/| /' conftest.$ac_ext >&5 11272sed 's/^/| /' conftest.$ac_ext >&5
11137 11273
11138 eval "$as_ac_var=no" 11274 eval "$as_ac_var=no"
11139fi 11275fi
11140 11276
11141rm -rf conftest.dSYM 11277rm -rf conftest.dSYM
11142rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11278rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11143 conftest$ac_exeext conftest.$ac_ext 11279 conftest$ac_exeext conftest.$ac_ext
11144fi 11280fi
11145ac_res=`eval 'as_val=${'$as_ac_var'} 11281ac_res=`eval 'as_val=${'$as_ac_var'}
11146 $as_echo "$as_val"'` 11282 $as_echo "$as_val"'`
11147 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11283 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11148$as_echo "$ac_res" >&6; } 11284$as_echo "$ac_res" >&6; }
11149if test `eval 'as_val=${'$as_ac_var'} 11285as_val=`eval 'as_val=${'$as_ac_var'}
11150 $as_echo "$as_val"'` = yes; then 11286 $as_echo "$as_val"'`
 11287 if test "x$as_val" = x""yes; then
11151 cat >>confdefs.h <<_ACEOF 11288 cat >>confdefs.h <<_ACEOF
11152#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11289#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11153_ACEOF 11290_ACEOF
11154 : 11291 :
11155else 11292else
11156 need_getaddrinfo=yes 11293 need_getaddrinfo=yes
11157fi 11294fi
11158done 11295done
11159 11296
11160if test $need_getaddrinfo = yes; then 11297if test $need_getaddrinfo = yes; then
11161 case " $LIBOBJS " in 11298 case " $LIBOBJS " in
11162 *" getaddrinfo.$ac_objext "* ) ;; 11299 *" getaddrinfo.$ac_objext "* ) ;;
11163 *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" 11300 *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
@@ -11250,28 +11387,29 @@ else @@ -11250,28 +11387,29 @@ else
11250sed 's/^/| /' conftest.$ac_ext >&5 11387sed 's/^/| /' conftest.$ac_ext >&5
11251 11388
11252 eval "$as_ac_var=no" 11389 eval "$as_ac_var=no"
11253fi 11390fi
11254 11391
11255rm -rf conftest.dSYM 11392rm -rf conftest.dSYM
11256rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11393rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11257 conftest$ac_exeext conftest.$ac_ext 11394 conftest$ac_exeext conftest.$ac_ext
11258fi 11395fi
11259ac_res=`eval 'as_val=${'$as_ac_var'} 11396ac_res=`eval 'as_val=${'$as_ac_var'}
11260 $as_echo "$as_val"'` 11397 $as_echo "$as_val"'`
11261 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11398 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11262$as_echo "$ac_res" >&6; } 11399$as_echo "$ac_res" >&6; }
11263if test `eval 'as_val=${'$as_ac_var'} 11400as_val=`eval 'as_val=${'$as_ac_var'}
11264 $as_echo "$as_val"'` = yes; then 11401 $as_echo "$as_val"'`
 11402 if test "x$as_val" = x""yes; then
11265 cat >>confdefs.h <<_ACEOF 11403 cat >>confdefs.h <<_ACEOF
11266#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11404#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11267_ACEOF 11405_ACEOF
11268 : 11406 :
11269else 11407else
11270 need_findenv=yes 11408 need_findenv=yes
11271fi 11409fi
11272done 11410done
11273 11411
11274if test $need_findenv = yes; then 11412if test $need_findenv = yes; then
11275 case " $LIBOBJS " in 11413 case " $LIBOBJS " in
11276 *" findenv.$ac_objext "* ) ;; 11414 *" findenv.$ac_objext "* ) ;;
11277 *) LIBOBJS="$LIBOBJS findenv.$ac_objext" 11415 *) LIBOBJS="$LIBOBJS findenv.$ac_objext"
@@ -11363,28 +11501,29 @@ else @@ -11363,28 +11501,29 @@ else
11363sed 's/^/| /' conftest.$ac_ext >&5 11501sed 's/^/| /' conftest.$ac_ext >&5
11364 11502
11365 eval "$as_ac_var=no" 11503 eval "$as_ac_var=no"
11366fi 11504fi
11367 11505
11368rm -rf conftest.dSYM 11506rm -rf conftest.dSYM
11369rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11507rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11370 conftest$ac_exeext conftest.$ac_ext 11508 conftest$ac_exeext conftest.$ac_ext
11371fi 11509fi
11372ac_res=`eval 'as_val=${'$as_ac_var'} 11510ac_res=`eval 'as_val=${'$as_ac_var'}
11373 $as_echo "$as_val"'` 11511 $as_echo "$as_val"'`
11374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11512 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11375$as_echo "$ac_res" >&6; } 11513$as_echo "$ac_res" >&6; }
11376if test `eval 'as_val=${'$as_ac_var'} 11514as_val=`eval 'as_val=${'$as_ac_var'}
11377 $as_echo "$as_val"'` = yes; then 11515 $as_echo "$as_val"'`
 11516 if test "x$as_val" = x""yes; then
11378 cat >>confdefs.h <<_ACEOF 11517 cat >>confdefs.h <<_ACEOF
11379#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11518#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11380_ACEOF 11519_ACEOF
11381 : 11520 :
11382else 11521else
11383 need_gettemp=yes 11522 need_gettemp=yes
11384fi 11523fi
11385done 11524done
11386 11525
11387if test $need_gettemp = yes; then 11526if test $need_gettemp = yes; then
11388 case " $LIBOBJS " in 11527 case " $LIBOBJS " in
11389 *" gettemp.$ac_objext "* ) ;; 11528 *" gettemp.$ac_objext "* ) ;;
11390 *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" 11529 *) LIBOBJS="$LIBOBJS gettemp.$ac_objext"
@@ -11478,28 +11617,29 @@ else @@ -11478,28 +11617,29 @@ else
11478sed 's/^/| /' conftest.$ac_ext >&5 11617sed 's/^/| /' conftest.$ac_ext >&5
11479 11618
11480 eval "$as_ac_var=no" 11619 eval "$as_ac_var=no"
11481fi 11620fi
11482 11621
11483rm -rf conftest.dSYM 11622rm -rf conftest.dSYM
11484rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11623rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11485 conftest$ac_exeext conftest.$ac_ext 11624 conftest$ac_exeext conftest.$ac_ext
11486fi 11625fi
11487ac_res=`eval 'as_val=${'$as_ac_var'} 11626ac_res=`eval 'as_val=${'$as_ac_var'}
11488 $as_echo "$as_val"'` 11627 $as_echo "$as_val"'`
11489 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11628 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11490$as_echo "$ac_res" >&6; } 11629$as_echo "$ac_res" >&6; }
11491if test `eval 'as_val=${'$as_ac_var'} 11630as_val=`eval 'as_val=${'$as_ac_var'}
11492 $as_echo "$as_val"'` = yes; then 11631 $as_echo "$as_val"'`
 11632 if test "x$as_val" = x""yes; then
11493 cat >>confdefs.h <<_ACEOF 11633 cat >>confdefs.h <<_ACEOF
11494#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11634#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11495_ACEOF 11635_ACEOF
11496 11636
11497fi 11637fi
11498done 11638done
11499 11639
11500 11640
11501need_setmode=no 11641need_setmode=no
11502 11642
11503 11643
11504for ac_func in getmode setmode 11644for ac_func in getmode setmode
11505do 11645do
@@ -11581,28 +11721,29 @@ else @@ -11581,28 +11721,29 @@ else
11581sed 's/^/| /' conftest.$ac_ext >&5 11721sed 's/^/| /' conftest.$ac_ext >&5
11582 11722
11583 eval "$as_ac_var=no" 11723 eval "$as_ac_var=no"
11584fi 11724fi
11585 11725
11586rm -rf conftest.dSYM 11726rm -rf conftest.dSYM
11587rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11727rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11588 conftest$ac_exeext conftest.$ac_ext 11728 conftest$ac_exeext conftest.$ac_ext
11589fi 11729fi
11590ac_res=`eval 'as_val=${'$as_ac_var'} 11730ac_res=`eval 'as_val=${'$as_ac_var'}
11591 $as_echo "$as_val"'` 11731 $as_echo "$as_val"'`
11592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11732 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11593$as_echo "$ac_res" >&6; } 11733$as_echo "$ac_res" >&6; }
11594if test `eval 'as_val=${'$as_ac_var'} 11734as_val=`eval 'as_val=${'$as_ac_var'}
11595 $as_echo "$as_val"'` = yes; then 11735 $as_echo "$as_val"'`
 11736 if test "x$as_val" = x""yes; then
11596 cat >>confdefs.h <<_ACEOF 11737 cat >>confdefs.h <<_ACEOF
11597#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11738#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11598_ACEOF 11739_ACEOF
11599 : 11740 :
11600else 11741else
11601 need_setmode=yes 11742 need_setmode=yes
11602fi 11743fi
11603done 11744done
11604 11745
11605 11746
11606if test $need_setmode = yes; then 11747if test $need_setmode = yes; then
11607 case " $LIBOBJS " in 11748 case " $LIBOBJS " in
11608 *" setmode.$ac_objext "* ) ;; 11749 *" setmode.$ac_objext "* ) ;;
@@ -11655,27 +11796,27 @@ $as_echo "$ac_try_echo") >&5 @@ -11655,27 +11796,27 @@ $as_echo "$ac_try_echo") >&5
11655 } && test -s conftest.$ac_objext; then 11796 } && test -s conftest.$ac_objext; then
11656 ac_cv_have_decl_endgrent=yes 11797 ac_cv_have_decl_endgrent=yes
11657else 11798else
11658 $as_echo "$as_me: failed program was:" >&5 11799 $as_echo "$as_me: failed program was:" >&5
11659sed 's/^/| /' conftest.$ac_ext >&5 11800sed 's/^/| /' conftest.$ac_ext >&5
11660 11801
11661 ac_cv_have_decl_endgrent=no 11802 ac_cv_have_decl_endgrent=no
11662fi 11803fi
11663 11804
11664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665fi 11806fi
11666{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endgrent" >&5 11807{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endgrent" >&5
11667$as_echo "$ac_cv_have_decl_endgrent" >&6; } 11808$as_echo "$ac_cv_have_decl_endgrent" >&6; }
11668if test $ac_cv_have_decl_endgrent = yes; then 11809if test "x$ac_cv_have_decl_endgrent" = x""yes; then
11669 11810
11670cat >>confdefs.h <<_ACEOF 11811cat >>confdefs.h <<_ACEOF
11671#define HAVE_DECL_ENDGRENT 1 11812#define HAVE_DECL_ENDGRENT 1
11672_ACEOF 11813_ACEOF
11673 11814
11674 11815
11675else 11816else
11676 cat >>confdefs.h <<_ACEOF 11817 cat >>confdefs.h <<_ACEOF
11677#define HAVE_DECL_ENDGRENT 0 11818#define HAVE_DECL_ENDGRENT 0
11678_ACEOF 11819_ACEOF
11679 11820
11680 11821
11681fi 11822fi
@@ -11722,27 +11863,27 @@ $as_echo "$ac_try_echo") >&5 @@ -11722,27 +11863,27 @@ $as_echo "$ac_try_echo") >&5
11722 } && test -s conftest.$ac_objext; then 11863 } && test -s conftest.$ac_objext; then
11723 ac_cv_have_decl_endpwent=yes 11864 ac_cv_have_decl_endpwent=yes
11724else 11865else
11725 $as_echo "$as_me: failed program was:" >&5 11866 $as_echo "$as_me: failed program was:" >&5
11726sed 's/^/| /' conftest.$ac_ext >&5 11867sed 's/^/| /' conftest.$ac_ext >&5
11727 11868
11728 ac_cv_have_decl_endpwent=no 11869 ac_cv_have_decl_endpwent=no
11729fi 11870fi
11730 11871
11731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11732fi 11873fi
11733{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endpwent" >&5 11874{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endpwent" >&5
11734$as_echo "$ac_cv_have_decl_endpwent" >&6; } 11875$as_echo "$ac_cv_have_decl_endpwent" >&6; }
11735if test $ac_cv_have_decl_endpwent = yes; then 11876if test "x$ac_cv_have_decl_endpwent" = x""yes; then
11736 11877
11737cat >>confdefs.h <<_ACEOF 11878cat >>confdefs.h <<_ACEOF
11738#define HAVE_DECL_ENDPWENT 1 11879#define HAVE_DECL_ENDPWENT 1
11739_ACEOF 11880_ACEOF
11740 11881
11741 11882
11742else 11883else
11743 cat >>confdefs.h <<_ACEOF 11884 cat >>confdefs.h <<_ACEOF
11744#define HAVE_DECL_ENDPWENT 0 11885#define HAVE_DECL_ENDPWENT 0
11745_ACEOF 11886_ACEOF
11746 11887
11747 11888
11748fi 11889fi
@@ -11838,28 +11979,29 @@ else @@ -11838,28 +11979,29 @@ else
11838sed 's/^/| /' conftest.$ac_ext >&5 11979sed 's/^/| /' conftest.$ac_ext >&5
11839 11980
11840 eval "$as_ac_var=no" 11981 eval "$as_ac_var=no"
11841fi 11982fi
11842 11983
11843rm -rf conftest.dSYM 11984rm -rf conftest.dSYM
11844rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11985rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11845 conftest$ac_exeext conftest.$ac_ext 11986 conftest$ac_exeext conftest.$ac_ext
11846fi 11987fi
11847ac_res=`eval 'as_val=${'$as_ac_var'} 11988ac_res=`eval 'as_val=${'$as_ac_var'}
11848 $as_echo "$as_val"'` 11989 $as_echo "$as_val"'`
11849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11850$as_echo "$ac_res" >&6; } 11991$as_echo "$ac_res" >&6; }
11851if test `eval 'as_val=${'$as_ac_var'} 11992as_val=`eval 'as_val=${'$as_ac_var'}
11852 $as_echo "$as_val"'` = yes; then 11993 $as_echo "$as_val"'`
 11994 if test "x$as_val" = x""yes; then
11853 cat >>confdefs.h <<_ACEOF 11995 cat >>confdefs.h <<_ACEOF
11854#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11996#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11855_ACEOF 11997_ACEOF
11856 : 11998 :
11857else 11999else
11858 need_pwcache=yes 12000 need_pwcache=yes
11859fi 12001fi
11860done 12002done
11861 12003
11862 12004
11863if test $need_pwcache = yes; then 12005if test $need_pwcache = yes; then
11864 case " $LIBOBJS " in 12006 case " $LIBOBJS " in
11865 *" pwcache.$ac_objext "* ) ;; 12007 *" pwcache.$ac_objext "* ) ;;
@@ -11944,27 +12086,27 @@ $as_echo "$ac_try_echo") >&5 @@ -11944,27 +12086,27 @@ $as_echo "$ac_try_echo") >&5
11944else 12086else
11945 $as_echo "$as_me: failed program was:" >&5 12087 $as_echo "$as_me: failed program was:" >&5
11946sed 's/^/| /' conftest.$ac_ext >&5 12088sed 's/^/| /' conftest.$ac_ext >&5
11947 12089
11948 ac_cv_func_fts_open=no 12090 ac_cv_func_fts_open=no
11949fi 12091fi
11950 12092
11951rm -rf conftest.dSYM 12093rm -rf conftest.dSYM
11952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12094rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11953 conftest$ac_exeext conftest.$ac_ext 12095 conftest$ac_exeext conftest.$ac_ext
11954fi 12096fi
11955{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5 12097{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5
11956$as_echo "$ac_cv_func_fts_open" >&6; } 12098$as_echo "$ac_cv_func_fts_open" >&6; }
11957if test $ac_cv_func_fts_open = yes; then 12099if test "x$ac_cv_func_fts_open" = x""yes; then
11958 : 12100 :
11959else 12101else
11960 12102
11961 cat >>confdefs.h <<\_ACEOF 12103 cat >>confdefs.h <<\_ACEOF
11962#define HAVE_NBCOMPAT_FTS 1 12104#define HAVE_NBCOMPAT_FTS 1
11963_ACEOF 12105_ACEOF
11964 12106
11965 12107
11966 12108
11967 case " $LIBOBJS " in 12109 case " $LIBOBJS " in
11968 *" fts.$ac_objext "* ) ;; 12110 *" fts.$ac_objext "* ) ;;
11969 *) LIBOBJS="$LIBOBJS fts.$ac_objext" 12111 *) LIBOBJS="$LIBOBJS fts.$ac_objext"
11970 ;; 12112 ;;
@@ -12049,27 +12191,27 @@ $as_echo "$ac_try_echo") >&5 @@ -12049,27 +12191,27 @@ $as_echo "$ac_try_echo") >&5
12049else 12191else
12050 $as_echo "$as_me: failed program was:" >&5 12192 $as_echo "$as_me: failed program was:" >&5
12051sed 's/^/| /' conftest.$ac_ext >&5 12193sed 's/^/| /' conftest.$ac_ext >&5
12052 12194
12053 ac_cv_func_timegm=no 12195 ac_cv_func_timegm=no
12054fi 12196fi
12055 12197
12056rm -rf conftest.dSYM 12198rm -rf conftest.dSYM
12057rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12199rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12058 conftest$ac_exeext conftest.$ac_ext 12200 conftest$ac_exeext conftest.$ac_ext
12059fi 12201fi
12060{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5 12202{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5
12061$as_echo "$ac_cv_func_timegm" >&6; } 12203$as_echo "$ac_cv_func_timegm" >&6; }
12062if test $ac_cv_func_timegm = yes; then 12204if test "x$ac_cv_func_timegm" = x""yes; then
12063 : 12205 :
12064else 12206else
12065 case " $LIBOBJS " in 12207 case " $LIBOBJS " in
12066 *" timegm.$ac_objext "* ) ;; 12208 *" timegm.$ac_objext "* ) ;;
12067 *) LIBOBJS="$LIBOBJS timegm.$ac_objext" 12209 *) LIBOBJS="$LIBOBJS timegm.$ac_objext"
12068 ;; 12210 ;;
12069esac 12211esac
12070 12212
12071fi 12213fi
12072 12214
12073 12215
12074# Handle Darwin 7 having a poll() compatibility function. Be 12216# Handle Darwin 7 having a poll() compatibility function. Be
12075# conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then 12217# conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then
@@ -12207,28 +12349,29 @@ esac @@ -12207,28 +12349,29 @@ esac
12207{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12349{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12208$as_echo_n "checking for $ac_header... " >&6; } 12350$as_echo_n "checking for $ac_header... " >&6; }
12209if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12351if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12210 $as_echo_n "(cached) " >&6 12352 $as_echo_n "(cached) " >&6
12211else 12353else
12212 eval "$as_ac_Header=\$ac_header_preproc" 12354 eval "$as_ac_Header=\$ac_header_preproc"
12213fi 12355fi
12214ac_res=`eval 'as_val=${'$as_ac_Header'} 12356ac_res=`eval 'as_val=${'$as_ac_Header'}
12215 $as_echo "$as_val"'` 12357 $as_echo "$as_val"'`
12216 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12358 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12217$as_echo "$ac_res" >&6; } 12359$as_echo "$ac_res" >&6; }
12218 12360
12219fi 12361fi
12220if test `eval 'as_val=${'$as_ac_Header'} 12362as_val=`eval 'as_val=${'$as_ac_Header'}
12221 $as_echo "$as_val"'` = yes; then 12363 $as_echo "$as_val"'`
 12364 if test "x$as_val" = x""yes; then
12222 cat >>confdefs.h <<_ACEOF 12365 cat >>confdefs.h <<_ACEOF
12223#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12366#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12224_ACEOF 12367_ACEOF
12225 12368
12226fi 12369fi
12227 12370
12228done 12371done
12229 12372
12230 12373
12231 12374
12232for ac_header in poll.h sys/poll.h 12375for ac_header in poll.h sys/poll.h
12233do 12376do
12234as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12377as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -12358,28 +12501,29 @@ esac @@ -12358,28 +12501,29 @@ esac
12358{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12501{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12359$as_echo_n "checking for $ac_header... " >&6; } 12502$as_echo_n "checking for $ac_header... " >&6; }
12360if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12503if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12361 $as_echo_n "(cached) " >&6 12504 $as_echo_n "(cached) " >&6
12362else 12505else
12363 eval "$as_ac_Header=\$ac_header_preproc" 12506 eval "$as_ac_Header=\$ac_header_preproc"
12364fi 12507fi
12365ac_res=`eval 'as_val=${'$as_ac_Header'} 12508ac_res=`eval 'as_val=${'$as_ac_Header'}
12366 $as_echo "$as_val"'` 12509 $as_echo "$as_val"'`
12367 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12510 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12368$as_echo "$ac_res" >&6; } 12511$as_echo "$ac_res" >&6; }
12369 12512
12370fi 12513fi
12371if test `eval 'as_val=${'$as_ac_Header'} 12514as_val=`eval 'as_val=${'$as_ac_Header'}
12372 $as_echo "$as_val"'` = yes; then 12515 $as_echo "$as_val"'`
 12516 if test "x$as_val" = x""yes; then
12373 cat >>confdefs.h <<_ACEOF 12517 cat >>confdefs.h <<_ACEOF
12374#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12518#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12375_ACEOF 12519_ACEOF
12376 pkg_cv_have_poll_h=yes 12520 pkg_cv_have_poll_h=yes
12377fi 12521fi
12378 12522
12379done 12523done
12380 12524
12381 12525
12382pkg_use_nbcompat_poll=yes 12526pkg_use_nbcompat_poll=yes
12383if test $pkg_cv_have_poll_h = yes; then 12527if test $pkg_cv_have_poll_h = yes; then
12384 pkg_use_nbcompat_poll=no 12528 pkg_use_nbcompat_poll=no
12385fi 12529fi
@@ -12460,27 +12604,27 @@ $as_echo "$ac_try_echo") >&5 @@ -12460,27 +12604,27 @@ $as_echo "$ac_try_echo") >&5
12460else 12604else
12461 $as_echo "$as_me: failed program was:" >&5 12605 $as_echo "$as_me: failed program was:" >&5
12462sed 's/^/| /' conftest.$ac_ext >&5 12606sed 's/^/| /' conftest.$ac_ext >&5
12463 12607
12464 ac_cv_func_poll=no 12608 ac_cv_func_poll=no
12465fi 12609fi
12466 12610
12467rm -rf conftest.dSYM 12611rm -rf conftest.dSYM
12468rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12612rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12469 conftest$ac_exeext conftest.$ac_ext 12613 conftest$ac_exeext conftest.$ac_ext
12470fi 12614fi
12471{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 12615{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5
12472$as_echo "$ac_cv_func_poll" >&6; } 12616$as_echo "$ac_cv_func_poll" >&6; }
12473if test $ac_cv_func_poll = yes; then 12617if test "x$ac_cv_func_poll" = x""yes; then
12474 12618
12475 12619
12476 { $as_echo "$as_me:$LINENO: checking if poll() is implemented natively" >&5 12620 { $as_echo "$as_me:$LINENO: checking if poll() is implemented natively" >&5
12477$as_echo_n "checking if poll() is implemented natively... " >&6; } 12621$as_echo_n "checking if poll() is implemented natively... " >&6; }
12478if test "${pkg_cv_native_poll+set}" = set; then 12622if test "${pkg_cv_native_poll+set}" = set; then
12479 $as_echo_n "(cached) " >&6 12623 $as_echo_n "(cached) " >&6
12480else 12624else
12481 12625
12482 cat >conftest.$ac_ext <<_ACEOF 12626 cat >conftest.$ac_ext <<_ACEOF
12483/* confdefs.h. */ 12627/* confdefs.h. */
12484_ACEOF 12628_ACEOF
12485cat confdefs.h >>conftest.$ac_ext 12629cat confdefs.h >>conftest.$ac_ext
12486cat >>conftest.$ac_ext <<_ACEOF 12630cat >>conftest.$ac_ext <<_ACEOF
@@ -12645,28 +12789,29 @@ else @@ -12645,28 +12789,29 @@ else
12645sed 's/^/| /' conftest.$ac_ext >&5 12789sed 's/^/| /' conftest.$ac_ext >&5
12646 12790
12647 eval "$as_ac_var=no" 12791 eval "$as_ac_var=no"
12648fi 12792fi
12649 12793
12650rm -rf conftest.dSYM 12794rm -rf conftest.dSYM
12651rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12795rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12652 conftest$ac_exeext conftest.$ac_ext 12796 conftest$ac_exeext conftest.$ac_ext
12653fi 12797fi
12654ac_res=`eval 'as_val=${'$as_ac_var'} 12798ac_res=`eval 'as_val=${'$as_ac_var'}
12655 $as_echo "$as_val"'` 12799 $as_echo "$as_val"'`
12656 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12800 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12657$as_echo "$ac_res" >&6; } 12801$as_echo "$ac_res" >&6; }
12658if test `eval 'as_val=${'$as_ac_var'} 12802as_val=`eval 'as_val=${'$as_ac_var'}
12659 $as_echo "$as_val"'` = yes; then 12803 $as_echo "$as_val"'`
 12804 if test "x$as_val" = x""yes; then
12660 cat >>confdefs.h <<_ACEOF 12805 cat >>confdefs.h <<_ACEOF
12661#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12806#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12662_ACEOF 12807_ACEOF
12663 12808
12664fi 12809fi
12665done 12810done
12666 12811
12667 12812
12668{ $as_echo "$as_me:$LINENO: checking for getpgrp" >&5 12813{ $as_echo "$as_me:$LINENO: checking for getpgrp" >&5
12669$as_echo_n "checking for getpgrp... " >&6; } 12814$as_echo_n "checking for getpgrp... " >&6; }
12670if test "${ac_cv_func_getpgrp+set}" = set; then 12815if test "${ac_cv_func_getpgrp+set}" = set; then
12671 $as_echo_n "(cached) " >&6 12816 $as_echo_n "(cached) " >&6
12672else 12817else
@@ -12740,27 +12885,27 @@ $as_echo "$ac_try_echo") >&5 @@ -12740,27 +12885,27 @@ $as_echo "$ac_try_echo") >&5
12740else 12885else
12741 $as_echo "$as_me: failed program was:" >&5 12886 $as_echo "$as_me: failed program was:" >&5
12742sed 's/^/| /' conftest.$ac_ext >&5 12887sed 's/^/| /' conftest.$ac_ext >&5
12743 12888
12744 ac_cv_func_getpgrp=no 12889 ac_cv_func_getpgrp=no
12745fi 12890fi
12746 12891
12747rm -rf conftest.dSYM 12892rm -rf conftest.dSYM
12748rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12893rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12749 conftest$ac_exeext conftest.$ac_ext 12894 conftest$ac_exeext conftest.$ac_ext
12750fi 12895fi
12751{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5 12896{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5
12752$as_echo "$ac_cv_func_getpgrp" >&6; } 12897$as_echo "$ac_cv_func_getpgrp" >&6; }
12753if test $ac_cv_func_getpgrp = yes; then 12898if test "x$ac_cv_func_getpgrp" = x""yes; then
12754 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 12899 { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
12755$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 12900$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
12756if test "${ac_cv_func_getpgrp_void+set}" = set; then 12901if test "${ac_cv_func_getpgrp_void+set}" = set; then
12757 $as_echo_n "(cached) " >&6 12902 $as_echo_n "(cached) " >&6
12758else 12903else
12759 # Use it with a single arg. 12904 # Use it with a single arg.
12760cat >conftest.$ac_ext <<_ACEOF 12905cat >conftest.$ac_ext <<_ACEOF
12761/* confdefs.h. */ 12906/* confdefs.h. */
12762_ACEOF 12907_ACEOF
12763cat confdefs.h >>conftest.$ac_ext 12908cat confdefs.h >>conftest.$ac_ext
12764cat >>conftest.$ac_ext <<_ACEOF 12909cat >>conftest.$ac_ext <<_ACEOF
12765/* end confdefs.h. */ 12910/* end confdefs.h. */
12766$ac_includes_default 12911$ac_includes_default
@@ -12901,27 +13046,27 @@ else @@ -12901,27 +13046,27 @@ else
12901 $as_echo "$as_me: failed program was:" >&5 13046 $as_echo "$as_me: failed program was:" >&5
12902sed 's/^/| /' conftest.$ac_ext >&5 13047sed 's/^/| /' conftest.$ac_ext >&5
12903 13048
12904 ac_cv_member_struct_statfs_f_flags=no 13049 ac_cv_member_struct_statfs_f_flags=no
12905fi 13050fi
12906 13051
12907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12908fi 13053fi
12909 13054
12910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12911fi 13056fi
12912{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_flags" >&5 13057{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_flags" >&5
12913$as_echo "$ac_cv_member_struct_statfs_f_flags" >&6; } 13058$as_echo "$ac_cv_member_struct_statfs_f_flags" >&6; }
12914if test $ac_cv_member_struct_statfs_f_flags = yes; then 13059if test "x$ac_cv_member_struct_statfs_f_flags" = x""yes; then
12915 13060
12916cat >>confdefs.h <<_ACEOF 13061cat >>confdefs.h <<_ACEOF
12917#define HAVE_STRUCT_STATFS_F_FLAGS 1 13062#define HAVE_STRUCT_STATFS_F_FLAGS 1
12918_ACEOF 13063_ACEOF
12919 13064
12920: 13065:
12921else 13066else
12922 : 13067 :
12923fi 13068fi
12924 13069
12925{ $as_echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5 13070{ $as_echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5
12926$as_echo_n "checking for struct statfs.f_fsize... " >&6; } 13071$as_echo_n "checking for struct statfs.f_fsize... " >&6; }
12927if test "${ac_cv_member_struct_statfs_f_fsize+set}" = set; then 13072if test "${ac_cv_member_struct_statfs_f_fsize+set}" = set; then
@@ -13009,27 +13154,27 @@ else @@ -13009,27 +13154,27 @@ else
13009 $as_echo "$as_me: failed program was:" >&5 13154 $as_echo "$as_me: failed program was:" >&5
13010sed 's/^/| /' conftest.$ac_ext >&5 13155sed 's/^/| /' conftest.$ac_ext >&5
13011 13156
13012 ac_cv_member_struct_statfs_f_fsize=no 13157 ac_cv_member_struct_statfs_f_fsize=no
13013fi 13158fi
13014 13159
13015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13016fi 13161fi
13017 13162
13018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13019fi 13164fi
13020{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsize" >&5 13165{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsize" >&5
13021$as_echo "$ac_cv_member_struct_statfs_f_fsize" >&6; } 13166$as_echo "$ac_cv_member_struct_statfs_f_fsize" >&6; }
13022if test $ac_cv_member_struct_statfs_f_fsize = yes; then 13167if test "x$ac_cv_member_struct_statfs_f_fsize" = x""yes; then
13023 13168
13024cat >>confdefs.h <<_ACEOF 13169cat >>confdefs.h <<_ACEOF
13025#define HAVE_STRUCT_STATFS_F_FSIZE 1 13170#define HAVE_STRUCT_STATFS_F_FSIZE 1
13026_ACEOF 13171_ACEOF
13027 13172
13028: 13173:
13029else 13174else
13030 : 13175 :
13031fi 13176fi
13032 13177
13033{ $as_echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5 13178{ $as_echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5
13034$as_echo_n "checking for struct statfs.f_iosize... " >&6; } 13179$as_echo_n "checking for struct statfs.f_iosize... " >&6; }
13035if test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then 13180if test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
@@ -13117,27 +13262,27 @@ else @@ -13117,27 +13262,27 @@ else
13117 $as_echo "$as_me: failed program was:" >&5 13262 $as_echo "$as_me: failed program was:" >&5
13118sed 's/^/| /' conftest.$ac_ext >&5 13263sed 's/^/| /' conftest.$ac_ext >&5
13119 13264
13120 ac_cv_member_struct_statfs_f_iosize=no 13265 ac_cv_member_struct_statfs_f_iosize=no
13121fi 13266fi
13122 13267
13123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13124fi 13269fi
13125 13270
13126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13127fi 13272fi
13128{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5 13273{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5
13129$as_echo "$ac_cv_member_struct_statfs_f_iosize" >&6; } 13274$as_echo "$ac_cv_member_struct_statfs_f_iosize" >&6; }
13130if test $ac_cv_member_struct_statfs_f_iosize = yes; then 13275if test "x$ac_cv_member_struct_statfs_f_iosize" = x""yes; then
13131 13276
13132cat >>confdefs.h <<_ACEOF 13277cat >>confdefs.h <<_ACEOF
13133#define HAVE_STRUCT_STATFS_F_IOSIZE 1 13278#define HAVE_STRUCT_STATFS_F_IOSIZE 1
13134_ACEOF 13279_ACEOF
13135 13280
13136: 13281:
13137else 13282else
13138 : 13283 :
13139fi 13284fi
13140 13285
13141{ $as_echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 13286{ $as_echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5
13142$as_echo_n "checking for struct dirent.d_namlen... " >&6; } 13287$as_echo_n "checking for struct dirent.d_namlen... " >&6; }
13143if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then 13288if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
@@ -13253,27 +13398,27 @@ else @@ -13253,27 +13398,27 @@ else
13253 $as_echo "$as_me: failed program was:" >&5 13398 $as_echo "$as_me: failed program was:" >&5
13254sed 's/^/| /' conftest.$ac_ext >&5 13399sed 's/^/| /' conftest.$ac_ext >&5
13255 13400
13256 ac_cv_member_struct_dirent_d_namlen=no 13401 ac_cv_member_struct_dirent_d_namlen=no
13257fi 13402fi
13258 13403
13259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13260fi 13405fi
13261 13406
13262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13263fi 13408fi
13264{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 13409{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5
13265$as_echo "$ac_cv_member_struct_dirent_d_namlen" >&6; } 13410$as_echo "$ac_cv_member_struct_dirent_d_namlen" >&6; }
13266if test $ac_cv_member_struct_dirent_d_namlen = yes; then 13411if test "x$ac_cv_member_struct_dirent_d_namlen" = x""yes; then
13267 13412
13268cat >>confdefs.h <<_ACEOF 13413cat >>confdefs.h <<_ACEOF
13269#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 13414#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
13270_ACEOF 13415_ACEOF
13271 13416
13272: 13417:
13273else 13418else
13274 : 13419 :
13275fi 13420fi
13276{ $as_echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5 13421{ $as_echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5
13277$as_echo_n "checking for DIR.dd_fd... " >&6; } 13422$as_echo_n "checking for DIR.dd_fd... " >&6; }
13278if test "${ac_cv_member_DIR_dd_fd+set}" = set; then 13423if test "${ac_cv_member_DIR_dd_fd+set}" = set; then
13279 $as_echo_n "(cached) " >&6 13424 $as_echo_n "(cached) " >&6
@@ -13388,27 +13533,27 @@ else @@ -13388,27 +13533,27 @@ else
13388 $as_echo "$as_me: failed program was:" >&5 13533 $as_echo "$as_me: failed program was:" >&5
13389sed 's/^/| /' conftest.$ac_ext >&5 13534sed 's/^/| /' conftest.$ac_ext >&5
13390 13535
13391 ac_cv_member_DIR_dd_fd=no 13536 ac_cv_member_DIR_dd_fd=no
13392fi 13537fi
13393 13538
13394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13395fi 13540fi
13396 13541
13397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13398fi 13543fi
13399{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5 13544{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5
13400$as_echo "$ac_cv_member_DIR_dd_fd" >&6; } 13545$as_echo "$ac_cv_member_DIR_dd_fd" >&6; }
13401if test $ac_cv_member_DIR_dd_fd = yes; then 13546if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then
13402 13547
13403cat >>confdefs.h <<_ACEOF 13548cat >>confdefs.h <<_ACEOF
13404#define HAVE_DIR_DD_FD 1 13549#define HAVE_DIR_DD_FD 1
13405_ACEOF 13550_ACEOF
13406 13551
13407: 13552:
13408else 13553else
13409 : 13554 :
13410fi 13555fi
13411 13556
13412 13557
13413{ $as_echo "$as_me:$LINENO: checking for dirfd" >&5 13558{ $as_echo "$as_me:$LINENO: checking for dirfd" >&5
13414$as_echo_n "checking for dirfd... " >&6; } 13559$as_echo_n "checking for dirfd... " >&6; }
@@ -13715,28 +13860,29 @@ else @@ -13715,28 +13860,29 @@ else
13715sed 's/^/| /' conftest.$ac_ext >&5 13860sed 's/^/| /' conftest.$ac_ext >&5
13716 13861
13717 eval "$as_ac_var=no" 13862 eval "$as_ac_var=no"
13718fi 13863fi
13719 13864
13720rm -rf conftest.dSYM 13865rm -rf conftest.dSYM
13721rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13866rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13722 conftest$ac_exeext conftest.$ac_ext 13867 conftest$ac_exeext conftest.$ac_ext
13723fi 13868fi
13724ac_res=`eval 'as_val=${'$as_ac_var'} 13869ac_res=`eval 'as_val=${'$as_ac_var'}
13725 $as_echo "$as_val"'` 13870 $as_echo "$as_val"'`
13726 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13871 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13727$as_echo "$ac_res" >&6; } 13872$as_echo "$ac_res" >&6; }
13728if test `eval 'as_val=${'$as_ac_var'} 13873as_val=`eval 'as_val=${'$as_ac_var'}
13729 $as_echo "$as_val"'` = yes; then 13874 $as_echo "$as_val"'`
 13875 if test "x$as_val" = x""yes; then
13730 cat >>confdefs.h <<_ACEOF 13876 cat >>confdefs.h <<_ACEOF
13731#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13877#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13732_ACEOF 13878_ACEOF
13733 13879
13734else 13880else
13735 case " $LIBOBJS " in 13881 case " $LIBOBJS " in
13736 *" $ac_func.$ac_objext "* ) ;; 13882 *" $ac_func.$ac_objext "* ) ;;
13737 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 13883 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
13738 ;; 13884 ;;
13739esac 13885esac
13740 13886
13741fi 13887fi
13742done 13888done
@@ -13850,28 +13996,28 @@ cat >confcache <<\_ACEOF @@ -13850,28 +13996,28 @@ cat >confcache <<\_ACEOF
13850_ACEOF 13996_ACEOF
13851 13997
13852# The following way of writing the cache mishandles newlines in values, 13998# The following way of writing the cache mishandles newlines in values,
13853# but we know of no workaround that is simple, portable, and efficient. 13999# but we know of no workaround that is simple, portable, and efficient.
13854# So, we kill variables containing newlines. 14000# So, we kill variables containing newlines.
13855# Ultrix sh set writes to stderr and can't be redirected directly, 14001# Ultrix sh set writes to stderr and can't be redirected directly,
13856# and sets the high bit in the cache file unless we assign to the vars. 14002# and sets the high bit in the cache file unless we assign to the vars.
13857( 14003(
13858 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14004 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13859 eval ac_val=\$$ac_var 14005 eval ac_val=\$$ac_var
13860 case $ac_val in #( 14006 case $ac_val in #(
13861 *${as_nl}*) 14007 *${as_nl}*)
13862 case $ac_var in #( 14008 case $ac_var in #(
13863 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 14009 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13864$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 14010$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13865 esac 14011 esac
13866 case $ac_var in #( 14012 case $ac_var in #(
13867 _ | IFS | as_nl) ;; #( 14013 _ | IFS | as_nl) ;; #(
13868 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14014 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13869 *) $as_unset $ac_var ;; 14015 *) $as_unset $ac_var ;;
13870 esac ;; 14016 esac ;;
13871 esac 14017 esac
13872 done 14018 done
13873 14019
13874 (set) 2>&1 | 14020 (set) 2>&1 |
13875 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14021 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13876 *${as_nl}ac_space=\ *) 14022 *${as_nl}ac_space=\ *)
13877 # `set' does not quote correctly, so add quotes (double-quote 14023 # `set' does not quote correctly, so add quotes (double-quote
@@ -13921,26 +14067,27 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" @@ -13921,26 +14067,27 @@ for ac_i in : $LIBOBJS; do test "x$ac_i"
13921 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14067 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13922 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14068 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13923 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14069 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13924 # will be set to the directory where LIBOBJS objects are built. 14070 # will be set to the directory where LIBOBJS objects are built.
13925 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14071 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13926 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 14072 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13927done 14073done
13928LIBOBJS=$ac_libobjs 14074LIBOBJS=$ac_libobjs
13929 14075
13930LTLIBOBJS=$ac_ltlibobjs 14076LTLIBOBJS=$ac_ltlibobjs
13931 14077
13932 14078
13933 14079
 14080
13934: ${CONFIG_STATUS=./config.status} 14081: ${CONFIG_STATUS=./config.status}
13935ac_write_fail=0 14082ac_write_fail=0
13936ac_clean_files_save=$ac_clean_files 14083ac_clean_files_save=$ac_clean_files
13937ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14084ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13938{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 14085{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13939$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14086$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13940cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14087cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13941#! $SHELL 14088#! $SHELL
13942# Generated by $as_me. 14089# Generated by $as_me.
13943# Run this file to recreate the current configuration. 14090# Run this file to recreate the current configuration.
13944# Compiler output produced by configure, useful for debugging 14091# Compiler output produced by configure, useful for debugging
13945# configure, is in config.log if it exists. 14092# configure, is in config.log if it exists.
13946 14093
@@ -14243,76 +14390,86 @@ as_executable_p=$as_test_x @@ -14243,76 +14390,86 @@ as_executable_p=$as_test_x
14243as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14390as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14244 14391
14245# Sed expression to map a string onto a valid variable name. 14392# Sed expression to map a string onto a valid variable name.
14246as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14393as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14247 14394
14248 14395
14249exec 6>&1 14396exec 6>&1
14250 14397
14251# Save the log message, to keep $[0] and so on meaningful, and to 14398# Save the log message, to keep $[0] and so on meaningful, and to
14252# report actual input values of CONFIG_FILES etc. instead of their 14399# report actual input values of CONFIG_FILES etc. instead of their
14253# values after options handling. 14400# values after options handling.
14254ac_log=" 14401ac_log="
14255This file was extended by libnbcompat $as_me 20080519, which was 14402This file was extended by libnbcompat $as_me 20080519, which was
14256generated by GNU Autoconf 2.62. Invocation command line was 14403generated by GNU Autoconf 2.63. Invocation command line was
14257 14404
14258 CONFIG_FILES = $CONFIG_FILES 14405 CONFIG_FILES = $CONFIG_FILES
14259 CONFIG_HEADERS = $CONFIG_HEADERS 14406 CONFIG_HEADERS = $CONFIG_HEADERS
14260 CONFIG_LINKS = $CONFIG_LINKS 14407 CONFIG_LINKS = $CONFIG_LINKS
14261 CONFIG_COMMANDS = $CONFIG_COMMANDS 14408 CONFIG_COMMANDS = $CONFIG_COMMANDS
14262 $ $0 $@ 14409 $ $0 $@
14263 14410
14264on `(hostname || uname -n) 2>/dev/null | sed 1q` 14411on `(hostname || uname -n) 2>/dev/null | sed 1q`
14265" 14412"
14266 14413
14267_ACEOF 14414_ACEOF
14268 14415
 14416case $ac_config_files in *"
 14417"*) set x $ac_config_files; shift; ac_config_files=$*;;
 14418esac
 14419
 14420case $ac_config_headers in *"
 14421"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 14422esac
 14423
 14424
14269cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14425cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14270# Files that config.status was made for. 14426# Files that config.status was made for.
14271config_files="$ac_config_files" 14427config_files="$ac_config_files"
14272config_headers="$ac_config_headers" 14428config_headers="$ac_config_headers"
14273 14429
14274_ACEOF 14430_ACEOF
14275 14431
14276cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14432cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14277ac_cs_usage="\ 14433ac_cs_usage="\
14278\`$as_me' instantiates files from templates according to the 14434\`$as_me' instantiates files from templates according to the
14279current configuration. 14435current configuration.
14280 14436
14281Usage: $0 [OPTIONS] [FILE]... 14437Usage: $0 [OPTION]... [FILE]...
14282 14438
14283 -h, --help print this help, then exit 14439 -h, --help print this help, then exit
14284 -V, --version print version number and configuration settings, then exit 14440 -V, --version print version number and configuration settings, then exit
14285 -q, --quiet do not print progress messages 14441 -q, --quiet, --silent
 14442 do not print progress messages
14286 -d, --debug don't remove temporary files 14443 -d, --debug don't remove temporary files
14287 --recheck update $as_me by reconfiguring in the same conditions 14444 --recheck update $as_me by reconfiguring in the same conditions
14288 --file=FILE[:TEMPLATE] 14445 --file=FILE[:TEMPLATE]
14289 instantiate the configuration file FILE 14446 instantiate the configuration file FILE
14290 --header=FILE[:TEMPLATE] 14447 --header=FILE[:TEMPLATE]
14291 instantiate the configuration header FILE 14448 instantiate the configuration header FILE
14292 14449
14293Configuration files: 14450Configuration files:
14294$config_files 14451$config_files
14295 14452
14296Configuration headers: 14453Configuration headers:
14297$config_headers 14454$config_headers
14298 14455
14299Report bugs to <bug-autoconf@gnu.org>." 14456Report bugs to <bug-autoconf@gnu.org>."
14300 14457
14301_ACEOF 14458_ACEOF
14302cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14459cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14303ac_cs_version="\\ 14460ac_cs_version="\\
14304libnbcompat config.status 20080519 14461libnbcompat config.status 20080519
14305configured by $0, generated by GNU Autoconf 2.62, 14462configured by $0, generated by GNU Autoconf 2.63,
14306 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 14463 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14307 14464
14308Copyright (C) 2008 Free Software Foundation, Inc. 14465Copyright (C) 2008 Free Software Foundation, Inc.
14309This config.status script is free software; the Free Software Foundation 14466This config.status script is free software; the Free Software Foundation
14310gives unlimited permission to copy, distribute and modify it." 14467gives unlimited permission to copy, distribute and modify it."
14311 14468
14312ac_pwd='$ac_pwd' 14469ac_pwd='$ac_pwd'
14313srcdir='$srcdir' 14470srcdir='$srcdir'
14314INSTALL='$INSTALL' 14471INSTALL='$INSTALL'
14315AWK='$AWK' 14472AWK='$AWK'
14316test -n "\$AWK" || AWK=awk 14473test -n "\$AWK" || AWK=awk
14317_ACEOF 14474_ACEOF
14318 14475
@@ -14490,27 +14647,28 @@ _ACEOF @@ -14490,27 +14647,28 @@ _ACEOF
14490 echo "_ACEOF" 14647 echo "_ACEOF"
14491} >conf$$subs.sh || 14648} >conf$$subs.sh ||
14492 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14649 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14493$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14650$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14494 { (exit 1); exit 1; }; } 14651 { (exit 1); exit 1; }; }
14495ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14652ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14496ac_delim='%!_!# ' 14653ac_delim='%!_!# '
14497for ac_last_try in false false false false false :; do 14654for ac_last_try in false false false false false :; do
14498 . ./conf$$subs.sh || 14655 . ./conf$$subs.sh ||
14499 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14656 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14500$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14657$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14501 { (exit 1); exit 1; }; } 14658 { (exit 1); exit 1; }; }
14502 14659
14503 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 14660 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 14661 if test $ac_delim_n = $ac_delim_num; then
14504 break 14662 break
14505 elif $ac_last_try; then 14663 elif $ac_last_try; then
14506 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14664 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14507$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14665$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14508 { (exit 1); exit 1; }; } 14666 { (exit 1); exit 1; }; }
14509 else 14667 else
14510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14668 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14511 fi 14669 fi
14512done 14670done
14513rm -f conf$$subs.sh 14671rm -f conf$$subs.sh
14514 14672
14515cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14673cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14516cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14674cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
@@ -14695,62 +14853,62 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ @@ -14695,62 +14853,62 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
14695} 14853}
14696/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14854/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14697 line = \$ 0 14855 line = \$ 0
14698 split(line, arg, " ") 14856 split(line, arg, " ")
14699 if (arg[1] == "#") { 14857 if (arg[1] == "#") {
14700 defundef = arg[2] 14858 defundef = arg[2]
14701 mac1 = arg[3] 14859 mac1 = arg[3]
14702 } else { 14860 } else {
14703 defundef = substr(arg[1], 2) 14861 defundef = substr(arg[1], 2)
14704 mac1 = arg[2] 14862 mac1 = arg[2]
14705 } 14863 }
14706 split(mac1, mac2, "(") #) 14864 split(mac1, mac2, "(") #)
14707 macro = mac2[1] 14865 macro = mac2[1]
 14866 prefix = substr(line, 1, index(line, defundef) - 1)
14708 if (D_is_set[macro]) { 14867 if (D_is_set[macro]) {
14709 # Preserve the white space surrounding the "#". 14868 # Preserve the white space surrounding the "#".
14710 prefix = substr(line, 1, index(line, defundef) - 1) 
14711 print prefix "define", macro P[macro] D[macro] 14869 print prefix "define", macro P[macro] D[macro]
14712 next 14870 next
14713 } else { 14871 } else {
14714 # Replace #undef with comments. This is necessary, for example, 14872 # Replace #undef with comments. This is necessary, for example,
14715 # in the case of _POSIX_SOURCE, which is predefined and required 14873 # in the case of _POSIX_SOURCE, which is predefined and required
14716 # on some systems where configure will not decide to define it. 14874 # on some systems where configure will not decide to define it.
14717 if (defundef == "undef") { 14875 if (defundef == "undef") {
14718 print "/*", line, "*/" 14876 print "/*", prefix defundef, macro, "*/"
14719 next 14877 next
14720 } 14878 }
14721 } 14879 }
14722} 14880}
14723{ print } 14881{ print }
14724_ACAWK 14882_ACAWK
14725_ACEOF 14883_ACEOF
14726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14884cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14727 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14885 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14728$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14886$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14729 { (exit 1); exit 1; }; } 14887 { (exit 1); exit 1; }; }
14730fi # test -n "$CONFIG_HEADERS" 14888fi # test -n "$CONFIG_HEADERS"
14731 14889
14732 14890
14733eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 14891eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
14734shift 14892shift
14735for ac_tag 14893for ac_tag
14736do 14894do
14737 case $ac_tag in 14895 case $ac_tag in
14738 :[FHLC]) ac_mode=$ac_tag; continue;; 14896 :[FHLC]) ac_mode=$ac_tag; continue;;
14739 esac 14897 esac
14740 case $ac_mode$ac_tag in 14898 case $ac_mode$ac_tag in
14741 :[FHL]*:*);; 14899 :[FHL]*:*);;
14742 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 14900 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14743$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 14901$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14744 { (exit 1); exit 1; }; };; 14902 { (exit 1); exit 1; }; };;
14745 :[FH]-) ac_tag=-:-;; 14903 :[FH]-) ac_tag=-:-;;
14746 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14904 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14747 esac 14905 esac
14748 ac_save_IFS=$IFS 14906 ac_save_IFS=$IFS
14749 IFS=: 14907 IFS=:
14750 set x $ac_tag 14908 set x $ac_tag
14751 IFS=$ac_save_IFS 14909 IFS=$ac_save_IFS
14752 shift 14910 shift
14753 ac_file=$1 14911 ac_file=$1
14754 shift 14912 shift
14755 14913
14756 case $ac_mode in 14914 case $ac_mode in
@@ -15053,17 +15211,17 @@ $as_echo "$as_me: error: write failure c @@ -15053,17 +15211,17 @@ $as_echo "$as_me: error: write failure c
15053if test "$no_create" != yes; then 15211if test "$no_create" != yes; then
15054 ac_cs_success=: 15212 ac_cs_success=:
15055 ac_config_status_args= 15213 ac_config_status_args=
15056 test "$silent" = yes && 15214 test "$silent" = yes &&
15057 ac_config_status_args="$ac_config_status_args --quiet" 15215 ac_config_status_args="$ac_config_status_args --quiet"
15058 exec 5>/dev/null 15216 exec 5>/dev/null
15059 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15060 exec 5>>config.log 15218 exec 5>>config.log
15061 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15062 # would make configure fail if this is the last instruction. 15220 # would make configure fail if this is the last instruction.
15063 $ac_cs_success || { (exit 1); exit 1; } 15221 $ac_cs_success || { (exit 1); exit 1; }
15064fi 15222fi
15065if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15223if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15066 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 15224 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15067$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} 15225$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15068fi 15226fi
15069 15227

cvs diff -r1.70 -r1.71 pkgsrc/pkgtools/libnbcompat/files/configure.ac (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/configure.ac 2008/11/08 21:35:58 1.70
+++ pkgsrc/pkgtools/libnbcompat/files/configure.ac 2009/02/09 20:35:21 1.71
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1dnl $NetBSD: configure.ac,v 1.70 2008/11/08 21:35:58 joerg Exp $ 1dnl $NetBSD: configure.ac,v 1.71 2009/02/09 20:35:21 joerg Exp $
2 2
3dnl Process this file with autoconf to produce a configure script. 3dnl Process this file with autoconf to produce a configure script.
4AC_PREREQ(2.52) 4AC_PREREQ(2.52)
5AC_INIT([libnbcompat], [20080519], [grant@NetBSD.org]) 5AC_INIT([libnbcompat], [20080519], [grant@NetBSD.org])
6AC_CONFIG_HEADER(nbcompat/config.h) 6AC_CONFIG_HEADER(nbcompat/config.h)
7AC_ARG_PROGRAM 7AC_ARG_PROGRAM
8 8
9AC_CANONICAL_HOST 9AC_CANONICAL_HOST
10CANONICAL_HOST=$host 10CANONICAL_HOST=$host
11AC_SUBST(CANONICAL_HOST) 11AC_SUBST(CANONICAL_HOST)
12AC_SUBST(INCLUDES) 12AC_SUBST(INCLUDES)
13 13
14# Checks for programs. 14# Checks for programs.
@@ -125,26 +125,27 @@ AC_CHECK_FUNC(SHA1File, [:], [ @@ -125,26 +125,27 @@ AC_CHECK_FUNC(SHA1File, [:], [
125AC_CHECK_FUNC(SHA512_File, [:], [ 125AC_CHECK_FUNC(SHA512_File, [:], [
126 AC_DEFINE(HAVE_NBCOMPAT_SHA2) 126 AC_DEFINE(HAVE_NBCOMPAT_SHA2)
127 AH_TEMPLATE([HAVE_NBCOMPAT_SHA2], [ 127 AH_TEMPLATE([HAVE_NBCOMPAT_SHA2], [
128 Define to 1 if the `SHA2*' functions are built into the 128 Define to 1 if the `SHA2*' functions are built into the
129 library. 129 library.
130 ]) 130 ])
131 AC_LIBOBJ(sha2) 131 AC_LIBOBJ(sha2)
132 AC_LIBOBJ(sha2hl) 132 AC_LIBOBJ(sha2hl)
133]) 133])
134 134
135AC_ARG_ENABLE([db], 135AC_ARG_ENABLE([db],
136 [AS_HELP_STRING([--enable-db], [include DB implementation])]) 136 [AS_HELP_STRING([--enable-db], [include DB implementation])])
137AC_SUBST(WITH_DB, $enable_db) 137AC_SUBST(WITH_DB, $enable_db)
 138AC_CHECK_FUNCS(issetugid)
138 139
139AC_ARG_ENABLE([bsd-getopt], 140AC_ARG_ENABLE([bsd-getopt],
140 [AS_HELP_STRING([--enable-bsd-getopt], 141 [AS_HELP_STRING([--enable-bsd-getopt],
141 [force use of BSDish getopt implementation])]) 142 [force use of BSDish getopt implementation])])
142 143
143AC_CHECK_DECLS([optind, optreset], [:], [:], [ 144AC_CHECK_DECLS([optind, optreset], [:], [:], [
144 #include <stdio.h> 145 #include <stdio.h>
145 #include <stdlib.h> 146 #include <stdlib.h>
146 #include <unistd.h> 147 #include <unistd.h>
147]) 148])
148 149
149 150
150pkg_use_nbcompat_getopt_long=yes 151pkg_use_nbcompat_getopt_long=yes

cvs diff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/db/btree/bt_open.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/db/btree/bt_open.c 2008/10/28 17:57:36 1.2
+++ pkgsrc/pkgtools/libnbcompat/files/db/btree/bt_open.c 2009/02/09 20:35:21 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: bt_open.c,v 1.2 2008/10/28 17:57:36 joerg Exp $ */ 1/* $NetBSD: bt_open.c,v 1.3 2009/02/09 20:35:21 joerg Exp $ */
2/* NetBSD: bt_open.c,v 1.24 2008/09/11 12:58:00 joerg Exp */ 2/* NetBSD: bt_open.c,v 1.24 2008/09/11 12:58:00 joerg Exp */
3 3
4/*- 4/*-
5 * Copyright (c) 1990, 1993, 1994 5 * Copyright (c) 1990, 1993, 1994
6 * The Regents of the University of California. All rights reserved. 6 * The Regents of the University of California. All rights reserved.
7 * 7 *
8 * This code is derived from software contributed to Berkeley by 8 * This code is derived from software contributed to Berkeley by
9 * Mike Olson. 9 * Mike Olson.
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions 12 * modification, are permitted provided that the following conditions
13 * are met: 13 * are met:
14 * 1. Redistributions of source code must retain the above copyright 14 * 1. Redistributions of source code must retain the above copyright
@@ -26,27 +26,27 @@ @@ -26,27 +26,27 @@
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE. 33 * SUCH DAMAGE.
34 */ 34 */
35 35
36#include <nbcompat.h> 36#include <nbcompat.h>
37#include <nbcompat/cdefs.h> 37#include <nbcompat/cdefs.h>
38 38
39__RCSID("$NetBSD: bt_open.c,v 1.2 2008/10/28 17:57:36 joerg Exp $"); 39__RCSID("$NetBSD: bt_open.c,v 1.3 2009/02/09 20:35:21 joerg Exp $");
40 40
41/* 41/*
42 * Implementation of btree access method for 4.4BSD. 42 * Implementation of btree access method for 4.4BSD.
43 * 43 *
44 * The design here was originally based on that of the btree access method 44 * The design here was originally based on that of the btree access method
45 * used in the Postgres database system at UC Berkeley. This implementation 45 * used in the Postgres database system at UC Berkeley. This implementation
46 * is wholly independent of the Postgres code. 46 * is wholly independent of the Postgres code.
47 */ 47 */
48 48
49#include <sys/stat.h> 49#include <sys/stat.h>
50 50
51#include <assert.h> 51#include <assert.h>
52#include <errno.h> 52#include <errno.h>
@@ -384,29 +384,31 @@ nroot(BTREE *t) @@ -384,29 +384,31 @@ nroot(BTREE *t)
384 mpool_put(t->bt_mp, root, MPOOL_DIRTY); 384 mpool_put(t->bt_mp, root, MPOOL_DIRTY);
385 return (RET_SUCCESS); 385 return (RET_SUCCESS);
386} 386}
387 387
388static int 388static int
389tmp(void) 389tmp(void)
390{ 390{
391 sigset_t set, oset; 391 sigset_t set, oset;
392 size_t len; 392 size_t len;
393 int fd; 393 int fd;
394 char *envtmp; 394 char *envtmp;
395 char path[PATH_MAX]; 395 char path[PATH_MAX];
396 396
 397#if HAVE_ISSETUGID
397 if (issetugid()) 398 if (issetugid())
398 envtmp = NULL; 399 envtmp = NULL;
399 else 400 else
 401#endif
400 envtmp = getenv("TMPDIR"); 402 envtmp = getenv("TMPDIR");
401 403
402 len = snprintf(path, 404 len = snprintf(path,
403 sizeof(path), "%s/bt.XXXXXX", envtmp ? envtmp : _PATH_TMP); 405 sizeof(path), "%s/bt.XXXXXX", envtmp ? envtmp : _PATH_TMP);
404 if (len >= sizeof(path)) 406 if (len >= sizeof(path))
405 return -1; 407 return -1;
406  408
407 (void)sigfillset(&set); 409 (void)sigfillset(&set);
408 (void)sigprocmask(SIG_BLOCK, &set, &oset); 410 (void)sigprocmask(SIG_BLOCK, &set, &oset);
409 if ((fd = mkstemp(path)) != -1) { 411 if ((fd = mkstemp(path)) != -1) {
410 (void)unlink(path); 412 (void)unlink(path);
411 (void)fcntl(fd, F_SETFD, FD_CLOEXEC); 413 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
412 } 414 }

cvs diff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/db/hash/hash_page.c (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/db/hash/hash_page.c 2008/10/28 17:57:36 1.2
+++ pkgsrc/pkgtools/libnbcompat/files/db/hash/hash_page.c 2009/02/09 20:35:22 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: hash_page.c,v 1.2 2008/10/28 17:57:36 joerg Exp $ */ 1/* $NetBSD: hash_page.c,v 1.3 2009/02/09 20:35:22 joerg Exp $ */
2/* NetBSD: hash_page.c,v 1.23 2008/09/11 12:58:00 joerg Exp */ 2/* NetBSD: hash_page.c,v 1.23 2008/09/11 12:58:00 joerg Exp */
3 3
4/*- 4/*-
5 * Copyright (c) 1990, 1993, 1994 5 * Copyright (c) 1990, 1993, 1994
6 * The Regents of the University of California. All rights reserved. 6 * The Regents of the University of California. All rights reserved.
7 * 7 *
8 * This code is derived from software contributed to Berkeley by 8 * This code is derived from software contributed to Berkeley by
9 * Margo Seltzer. 9 * Margo Seltzer.
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions 12 * modification, are permitted provided that the following conditions
13 * are met: 13 * are met:
14 * 1. Redistributions of source code must retain the above copyright 14 * 1. Redistributions of source code must retain the above copyright
@@ -26,27 +26,27 @@ @@ -26,27 +26,27 @@
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE. 33 * SUCH DAMAGE.
34 */ 34 */
35 35
36#include <nbcompat.h> 36#include <nbcompat.h>
37#include <nbcompat/cdefs.h> 37#include <nbcompat/cdefs.h>
38 38
39__RCSID("$NetBSD: hash_page.c,v 1.2 2008/10/28 17:57:36 joerg Exp $"); 39__RCSID("$NetBSD: hash_page.c,v 1.3 2009/02/09 20:35:22 joerg Exp $");
40 40
41/* 41/*
42 * PACKAGE: hashing 42 * PACKAGE: hashing
43 * 43 *
44 * DESCRIPTION: 44 * DESCRIPTION:
45 * Page manipulation for hashing package. 45 * Page manipulation for hashing package.
46 * 46 *
47 * ROUTINES: 47 * ROUTINES:
48 * 48 *
49 * External 49 * External
50 * __get_page 50 * __get_page
51 * __add_ovflpage 51 * __add_ovflpage
52 * Internal 52 * Internal
@@ -857,29 +857,31 @@ __free_ovflpage(HTAB *hashp, BUFHEAD *ob @@ -857,29 +857,31 @@ __free_ovflpage(HTAB *hashp, BUFHEAD *ob
857 857
858/* 858/*
859 * Returns: 859 * Returns:
860 * 0 success 860 * 0 success
861 * -1 failure 861 * -1 failure
862 */ 862 */
863static int 863static int
864open_temp(HTAB *hashp) 864open_temp(HTAB *hashp)
865{ 865{
866 sigset_t set, oset; 866 sigset_t set, oset;
867 char *envtmp; 867 char *envtmp;
868 char namestr[PATH_MAX]; 868 char namestr[PATH_MAX];
869 869
 870#if HAVE_ISSETUGID
870 if (issetugid()) 871 if (issetugid())
871 envtmp = NULL; 872 envtmp = NULL;
872 else 873 else
 874#endif
873 envtmp = getenv("TMPDIR"); 875 envtmp = getenv("TMPDIR");
874 876
875 if (-1 == snprintf(namestr, sizeof(namestr), "%s/_hashXXXXXX", 877 if (-1 == snprintf(namestr, sizeof(namestr), "%s/_hashXXXXXX",
876 envtmp ? envtmp : _PATH_TMP)) 878 envtmp ? envtmp : _PATH_TMP))
877 return -1; 879 return -1;
878 880
879 /* Block signals; make sure file goes away at process exit. */ 881 /* Block signals; make sure file goes away at process exit. */
880 (void)sigfillset(&set); 882 (void)sigfillset(&set);
881 (void)sigprocmask(SIG_BLOCK, &set, &oset); 883 (void)sigprocmask(SIG_BLOCK, &set, &oset);
882 if ((hashp->fp = mkstemp(namestr)) != -1) { 884 if ((hashp->fp = mkstemp(namestr)) != -1) {
883 (void)unlink(namestr); 885 (void)unlink(namestr);
884 (void)fcntl(hashp->fp, F_SETFD, FD_CLOEXEC); 886 (void)fcntl(hashp->fp, F_SETFD, FD_CLOEXEC);
885 } 887 }

cvs diff -r1.24 -r1.25 pkgsrc/pkgtools/libnbcompat/files/nbcompat/config.h.in (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/files/nbcompat/config.h.in 2008/10/07 16:03:11 1.24
+++ pkgsrc/pkgtools/libnbcompat/files/nbcompat/config.h.in 2009/02/09 20:35:22 1.25
@@ -1,15 +1,18 @@ @@ -1,15 +1,18 @@
1/* nbcompat/config.h.in. Generated from configure.ac by autoheader. */ 1/* nbcompat/config.h.in. Generated from configure.ac by autoheader. */
2 2
 3/* Define if building universal (internal helper macro) */
 4#undef AC_APPLE_UNIVERSAL_BUILD
 5
3/* Define to 1 if the `getpgrp' function requires zero arguments. */ 6/* Define to 1 if the `getpgrp' function requires zero arguments. */
4#undef GETPGRP_VOID 7#undef GETPGRP_VOID
5 8
6/* Define to 1 if you have the <alloca.h> header file. */ 9/* Define to 1 if you have the <alloca.h> header file. */
7#undef HAVE_ALLOCA_H 10#undef HAVE_ALLOCA_H
8 11
9/* Define to 1 if you have the `asprintf' function. */ 12/* Define to 1 if you have the `asprintf' function. */
10#undef HAVE_ASPRINTF 13#undef HAVE_ASPRINTF
11 14
12/* Define to 1 if you have the <assert.h> header file. */ 15/* Define to 1 if you have the <assert.h> header file. */
13#undef HAVE_ASSERT_H 16#undef HAVE_ASSERT_H
14 17
15/* Define to 1 if you have the `bcopy' function. */ 18/* Define to 1 if you have the `bcopy' function. */
@@ -126,35 +129,44 @@ @@ -126,35 +129,44 @@
126 129
127/* Define to 1 if you have the `group_from_gid' function. */ 130/* Define to 1 if you have the `group_from_gid' function. */
128#undef HAVE_GROUP_FROM_GID 131#undef HAVE_GROUP_FROM_GID
129 132
130/* Define to 1 if you have the <grp.h> header file. */ 133/* Define to 1 if you have the <grp.h> header file. */
131#undef HAVE_GRP_H 134#undef HAVE_GRP_H
132 135
133/* Define to 1 if you have the <inttypes.h> header file. */ 136/* Define to 1 if you have the <inttypes.h> header file. */
134#undef HAVE_INTTYPES_H 137#undef HAVE_INTTYPES_H
135 138
136/* Define to 1 if you have the `isblank' function. */ 139/* Define to 1 if you have the `isblank' function. */
137#undef HAVE_ISBLANK 140#undef HAVE_ISBLANK
138 141
 142/* Define to 1 if you have the `issetugid' function. */
 143#undef HAVE_ISSETUGID
 144
139/* Define to 1 if you have the `lchflags' function. */ 145/* Define to 1 if you have the `lchflags' function. */
140#undef HAVE_LCHFLAGS 146#undef HAVE_LCHFLAGS
141 147
142/* Define to 1 if you have the `lchmod' function. */ 148/* Define to 1 if you have the `lchmod' function. */
143#undef HAVE_LCHMOD 149#undef HAVE_LCHMOD
144 150
145/* Define to 1 if you have the `lchown' function. */ 151/* Define to 1 if you have the `lchown' function. */
146#undef HAVE_LCHOWN 152#undef HAVE_LCHOWN
147 153
 154/* Define to 1 if you have the `nsl' library (-lnsl). */
 155#undef HAVE_LIBNSL
 156
 157/* Define to 1 if you have the `socket' library (-lsocket). */
 158#undef HAVE_LIBSOCKET
 159
148/* Define to 1 if you have the `util' library (-lutil). */ 160/* Define to 1 if you have the `util' library (-lutil). */
149#undef HAVE_LIBUTIL 161#undef HAVE_LIBUTIL
150 162
151/* Define to 1 if you have the <libutil.h> header file. */ 163/* Define to 1 if you have the <libutil.h> header file. */
152#undef HAVE_LIBUTIL_H 164#undef HAVE_LIBUTIL_H
153 165
154/* Define to 1 if you have the <limits.h> header file. */ 166/* Define to 1 if you have the <limits.h> header file. */
155#undef HAVE_LIMITS_H 167#undef HAVE_LIMITS_H
156 168
157/* Define to 1 if the system has the type `long double'. */ 169/* Define to 1 if the system has the type `long double'. */
158#undef HAVE_LONG_DOUBLE 170#undef HAVE_LONG_DOUBLE
159 171
160/* Define to 1 if the system has the type `long long'. */ 172/* Define to 1 if the system has the type `long long'. */
@@ -531,31 +543,35 @@ @@ -531,31 +543,35 @@
531/* The size of `off_t', as computed by sizeof. */ 543/* The size of `off_t', as computed by sizeof. */
532#undef SIZEOF_OFF_T 544#undef SIZEOF_OFF_T
533 545
534/* Define to 1 if you have the ANSI C header files. */ 546/* Define to 1 if you have the ANSI C header files. */
535#undef STDC_HEADERS 547#undef STDC_HEADERS
536 548
537/* Define to 1 if strerror_r returns char *. */ 549/* Define to 1 if strerror_r returns char *. */
538#undef STRERROR_R_CHAR_P 550#undef STRERROR_R_CHAR_P
539 551
540/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 552/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
541#undef TIME_WITH_SYS_TIME 553#undef TIME_WITH_SYS_TIME
542 554
543/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 555/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
544 significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ 556 significant byte first (like Motorola and SPARC, unlike Intel). */
545#if defined __BIG_ENDIAN__ 557#if defined AC_APPLE_UNIVERSAL_BUILD
546# define WORDS_BIGENDIAN 1 558# if defined __BIG_ENDIAN__
547#elif ! defined __LITTLE_ENDIAN__ 559# define WORDS_BIGENDIAN 1
548# undef WORDS_BIGENDIAN 560# endif
 561#else
 562# ifndef WORDS_BIGENDIAN
 563# undef WORDS_BIGENDIAN
 564# endif
549#endif 565#endif
550 566
551/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 567/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
552 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 568 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
553 #define below would cause a syntax error. */ 569 #define below would cause a syntax error. */
554#undef _UINT32_T 570#undef _UINT32_T
555 571
556/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 572/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
557 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 573 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
558 #define below would cause a syntax error. */ 574 #define below would cause a syntax error. */
559#undef _UINT64_T 575#undef _UINT64_T
560 576
561/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 577/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,