Wed Dec 28 19:19:31 2011 UTC ()
libnbcompat-20111228: If requesting BSDish getopt behavior, also include
our own getopt_long. Add a message to signify this in the configure
output. Fixes issues reported by hans@ on Solaris with nbpatch. OK
during freeze by wiz@


(joerg)
diff -r1.75 -r1.76 pkgsrc/pkgtools/libnbcompat/Makefile
diff -r1.76 -r1.77 pkgsrc/pkgtools/libnbcompat/files/configure
diff -r1.77 -r1.78 pkgsrc/pkgtools/libnbcompat/files/configure.ac

cvs diff -r1.75 -r1.76 pkgsrc/pkgtools/libnbcompat/Makefile (expand / switch to unified diff)

--- pkgsrc/pkgtools/libnbcompat/Makefile 2010/03/21 16:50:41 1.75
+++ pkgsrc/pkgtools/libnbcompat/Makefile 2011/12/28 19:19:31 1.76
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: Makefile,v 1.75 2010/03/21 16:50:41 joerg Exp $ 1# $NetBSD: Makefile,v 1.76 2011/12/28 19:19:31 joerg Exp $
2# 2#
3# NOTE: If you update this package, it is *mandatory* that you update 3# NOTE: If you update this package, it is *mandatory* that you update
4# pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual 4# pkgsrc/pkgtools/libnbcompat/files/README to reflect the actual
5# list of tested and supported platforms. 5# list of tested and supported platforms.
6# 6#
7 7
8DISTNAME= libnbcompat-20090610 8DISTNAME= libnbcompat-20111228
9CATEGORIES= pkgtools devel 9CATEGORIES= pkgtools devel
10MASTER_SITES= # empty 10MASTER_SITES= # empty
11DISTFILES= # empty 11DISTFILES= # empty
12 12
13MAINTAINER= joerg@NetBSD.org 13MAINTAINER= joerg@NetBSD.org
14HOMEPAGE= http://www.NetBSD.org/ 14HOMEPAGE= http://www.NetBSD.org/
15COMMENT= Portable NetBSD compatibility library 15COMMENT= Portable NetBSD compatibility library
16 16
17PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir
18 18
19GNU_CONFIGURE= yes 19GNU_CONFIGURE= yes
20MAKE_ENV+= LIBMODE=${LIBMODE} 20MAKE_ENV+= LIBMODE=${LIBMODE}
21 21

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

--- pkgsrc/pkgtools/libnbcompat/files/configure 2010/04/20 00:32:22 1.76
+++ pkgsrc/pkgtools/libnbcompat/files/configure 2011/12/28 19:19:31 1.77
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
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.65 for libnbcompat 20080605. 3# Generated by GNU Autoconf 2.68 for libnbcompat 20080605.
4# 4#
5# Report bugs to <grant@NetBSD.org>. 5# Report bugs to <grant@NetBSD.org>.
6# 6#
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Inc. 10# Foundation, Inc.
11# 11#
12# 12#
13# This configure script is free software; the Free Software Foundation 13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it. 14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ## 15## -------------------- ##
16## M4sh Initialization. ## 16## M4sh Initialization. ##
17## -------------------- ## 17## -------------------- ##
18 18
19# Be more Bourne compatible 19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh 20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh 22 emulate sh
23 NULLCMD=: 23 NULLCMD=:
@@ -81,26 +81,27 @@ if test "${PATH_SEPARATOR+set}" != set;  @@ -81,26 +81,27 @@ if test "${PATH_SEPARATOR+set}" != set;
81 PATH_SEPARATOR=';' 81 PATH_SEPARATOR=';'
82 } 82 }
83fi 83fi
84 84
85 85
86# IFS 86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is 87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab. 88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.) 90# splitting by setting IFS to empty value.)
91IFS=" "" $as_nl" 91IFS=" "" $as_nl"
92 92
93# Find who we are. Look in the path if we contain no directory separator. 93# Find who we are. Look in the path if we contain no directory separator.
 94as_myself=
94case $0 in #(( 95case $0 in #((
95 *[\\/]* ) as_myself=$0 ;; 96 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH 98for as_dir in $PATH
98do 99do
99 IFS=$as_save_IFS 100 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=. 101 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done 103 done
103IFS=$as_save_IFS 104IFS=$as_save_IFS
104 105
105 ;; 106 ;;
106esac 107esac
@@ -206,31 +207,38 @@ fi @@ -206,31 +207,38 @@ fi
206 as_found=false 207 as_found=false
207done 208done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes 211 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; } 212fi; }
212IFS=$as_save_IFS 213IFS=$as_save_IFS
213 214
214 215
215 if test "x$CONFIG_SHELL" != x; then : 216 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a 217 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also 218 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables. 219 # works around shells that cannot unset nonexistent variables.
 220 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null 221 BASH_ENV=/dev/null
220 ENV=/dev/null 222 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL 224 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 225 case $- in # ((((
 226 *v*x* | *x*v* ) as_opts=-vx ;;
 227 *v* ) as_opts=-v ;;
 228 *x* ) as_opts=-x ;;
 229 * ) as_opts= ;;
 230 esac
 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224fi 232fi
225 233
226 if test x$as_have_required = xno; then : 234 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all" 235 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system." 236 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then 237 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else 240 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and grant@NetBSD.org 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and grant@NetBSD.org
234$0: about your system, including any error possibly output 242$0: about your system, including any error possibly output
235$0: before this message. Then install a modern shell, or 243$0: before this message. Then install a modern shell, or
236$0: manually run the script under such a shell if you do 244$0: manually run the script under such a shell if you do
@@ -309,27 +317,27 @@ $as_echo X"$as_dir" | @@ -309,27 +317,27 @@ $as_echo X"$as_dir" |
309 } 317 }
310 /^X\(\/\/\)$/{ 318 /^X\(\/\/\)$/{
311 s//\1/ 319 s//\1/
312 q 320 q
313 } 321 }
314 /^X\(\/\).*/{ 322 /^X\(\/\).*/{
315 s//\1/ 323 s//\1/
316 q 324 q
317 } 325 }
318 s/.*/./; q'` 326 s/.*/./; q'`
319 test -d "$as_dir" && break 327 test -d "$as_dir" && break
320 done 328 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs" 329 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 331
324 332
325} # as_fn_mkdir_p 333} # as_fn_mkdir_p
326# as_fn_append VAR VALUE 334# as_fn_append VAR VALUE
327# ---------------------- 335# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take 336# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over 337# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive 338# repeated appends, instead of the typical quadratic growth present in naive
331# implementations. 339# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append () 341 eval 'as_fn_append ()
334 { 342 {
335 eval $1+=\$2 343 eval $1+=\$2
@@ -349,39 +357,39 @@ fi # as_fn_append @@ -349,39 +357,39 @@ fi # as_fn_append
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith () 358 eval 'as_fn_arith ()
351 { 359 {
352 as_val=$(( $* )) 360 as_val=$(( $* ))
353 }' 361 }'
354else 362else
355 as_fn_arith () 363 as_fn_arith ()
356 { 364 {
357 as_val=`expr "$@" || test $? -eq 1` 365 as_val=`expr "$@" || test $? -eq 1`
358 } 366 }
359fi # as_fn_arith 367fi # as_fn_arith
360 368
361 369
362# as_fn_error ERROR [LINENO LOG_FD] 370# as_fn_error STATUS ERROR [LINENO LOG_FD]
363# --------------------------------- 371# ----------------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0. 374# script with STATUS, using 1 if that was 0.
367as_fn_error () 375as_fn_error ()
368{ 376{
369 as_status=$?; test $as_status -eq 0 && as_status=1 377 as_status=$1; test $as_status -eq 0 && as_status=1
370 if test "$3"; then 378 if test "$4"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 fi 381 fi
374 $as_echo "$as_me: error: $1" >&2 382 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status 383 as_fn_exit $as_status
376} # as_fn_error 384} # as_fn_error
377 385
378if expr a : '\(a\)' >/dev/null 2>&1 && 386if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr 388 as_expr=expr
381else 389else
382 as_expr=false 390 as_expr=false
383fi 391fi
384 392
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename 394 as_basename=basename
387else 395else
@@ -523,27 +531,27 @@ fi @@ -523,27 +531,27 @@ fi
523as_executable_p=$as_test_x 531as_executable_p=$as_test_x
524 532
525# Sed expression to map a string onto a valid CPP name. 533# Sed expression to map a string onto a valid CPP name.
526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 535
528# Sed expression to map a string onto a valid variable name. 536# Sed expression to map a string onto a valid variable name.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 538
531 539
532test -n "$DJDIR" || exec 7<&0 </dev/null 540test -n "$DJDIR" || exec 7<&0 </dev/null
533exec 6>&1 541exec 6>&1
534 542
535# Name of the host. 543# Name of the host.
536# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537# so uname gets run too. 545# so uname gets run too.
538ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 547
540# 548#
541# Initializations. 549# Initializations.
542# 550#
543ac_default_prefix=/usr/local 551ac_default_prefix=/usr/local
544ac_clean_files= 552ac_clean_files=
545ac_config_libobj_dir=. 553ac_config_libobj_dir=.
546LIBOBJS= 554LIBOBJS=
547cross_compiling=no 555cross_compiling=no
548subdirs= 556subdirs=
549MFLAGS= 557MFLAGS=
@@ -731,28 +739,29 @@ mandir='${datarootdir}/man' @@ -731,28 +739,29 @@ mandir='${datarootdir}/man'
731 739
732ac_prev= 740ac_prev=
733ac_dashdash= 741ac_dashdash=
734for ac_option 742for ac_option
735do 743do
736 # If the previous option needs an argument, assign it. 744 # If the previous option needs an argument, assign it.
737 if test -n "$ac_prev"; then 745 if test -n "$ac_prev"; then
738 eval $ac_prev=\$ac_option 746 eval $ac_prev=\$ac_option
739 ac_prev= 747 ac_prev=
740 continue 748 continue
741 fi 749 fi
742 750
743 case $ac_option in 751 case $ac_option in
744 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 752 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
745 *) ac_optarg=yes ;; 753 *=) ac_optarg= ;;
 754 *) ac_optarg=yes ;;
746 esac 755 esac
747 756
748 # Accept the important Cygnus configure options, so we can diagnose typos. 757 # Accept the important Cygnus configure options, so we can diagnose typos.
749 758
750 case $ac_dashdash$ac_option in 759 case $ac_dashdash$ac_option in
751 --) 760 --)
752 ac_dashdash=yes ;; 761 ac_dashdash=yes ;;
753 762
754 -bindir | --bindir | --bindi | --bind | --bin | --bi) 763 -bindir | --bindir | --bindi | --bind | --bin | --bi)
755 ac_prev=bindir ;; 764 ac_prev=bindir ;;
756 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 765 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
757 bindir=$ac_optarg ;; 766 bindir=$ac_optarg ;;
758 767
@@ -777,53 +786,53 @@ do @@ -777,53 +786,53 @@ do
777 datadir=$ac_optarg ;; 786 datadir=$ac_optarg ;;
778 787
779 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 788 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
780 | --dataroo | --dataro | --datar) 789 | --dataroo | --dataro | --datar)
781 ac_prev=datarootdir ;; 790 ac_prev=datarootdir ;;
782 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 791 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
783 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 792 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
784 datarootdir=$ac_optarg ;; 793 datarootdir=$ac_optarg ;;
785 794
786 -disable-* | --disable-*) 795 -disable-* | --disable-*)
787 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 796 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names. 797 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
790 as_fn_error "invalid feature name: $ac_useropt" 799 as_fn_error $? "invalid feature name: $ac_useropt"
791 ac_useropt_orig=$ac_useropt 800 ac_useropt_orig=$ac_useropt
792 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
793 case $ac_user_opts in 802 case $ac_user_opts in
794 *" 803 *"
795"enable_$ac_useropt" 804"enable_$ac_useropt"
796"*) ;; 805"*) ;;
797 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
798 ac_unrecognized_sep=', ';; 807 ac_unrecognized_sep=', ';;
799 esac 808 esac
800 eval enable_$ac_useropt=no ;; 809 eval enable_$ac_useropt=no ;;
801 810
802 -docdir | --docdir | --docdi | --doc | --do) 811 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;; 812 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 813 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;; 814 docdir=$ac_optarg ;;
806 815
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 816 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;; 817 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 818 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;; 819 dvidir=$ac_optarg ;;
811 820
812 -enable-* | --enable-*) 821 -enable-* | --enable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 822 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names. 823 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error "invalid feature name: $ac_useropt" 825 as_fn_error $? "invalid feature name: $ac_useropt"
817 ac_useropt_orig=$ac_useropt 826 ac_useropt_orig=$ac_useropt
818 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in 828 case $ac_user_opts in
820 *" 829 *"
821"enable_$ac_useropt" 830"enable_$ac_useropt"
822"*) ;; 831"*) ;;
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';; 833 ac_unrecognized_sep=', ';;
825 esac 834 esac
826 eval enable_$ac_useropt=\$ac_optarg ;; 835 eval enable_$ac_useropt=\$ac_optarg ;;
827 836
828 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 837 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
829 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 838 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -1007,43 +1016,43 @@ do @@ -1007,43 +1016,43 @@ do
1007 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1008 target_alias=$ac_optarg ;; 1017 target_alias=$ac_optarg ;;
1009 1018
1010 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1019 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1011 verbose=yes ;; 1020 verbose=yes ;;
1012 1021
1013 -version | --version | --versio | --versi | --vers | -V) 1022 -version | --version | --versio | --versi | --vers | -V)
1014 ac_init_version=: ;; 1023 ac_init_version=: ;;
1015 1024
1016 -with-* | --with-*) 1025 -with-* | --with-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names. 1027 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid package name: $ac_useropt" 1029 as_fn_error $? "invalid package name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt 1030 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in 1032 case $ac_user_opts in
1024 *" 1033 *"
1025"with_$ac_useropt" 1034"with_$ac_useropt"
1026"*) ;; 1035"*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';; 1037 ac_unrecognized_sep=', ';;
1029 esac 1038 esac
1030 eval with_$ac_useropt=\$ac_optarg ;; 1039 eval with_$ac_useropt=\$ac_optarg ;;
1031 1040
1032 -without-* | --without-*) 1041 -without-* | --without-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1042 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names. 1043 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error "invalid package name: $ac_useropt" 1045 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt 1046 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in 1048 case $ac_user_opts in
1040 *" 1049 *"
1041"with_$ac_useropt" 1050"with_$ac_useropt"
1042"*) ;; 1051"*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';; 1053 ac_unrecognized_sep=', ';;
1045 esac 1054 esac
1046 eval with_$ac_useropt=no ;; 1055 eval with_$ac_useropt=no ;;
1047 1056
1048 --x) 1057 --x)
1049 # Obsolete; use --with-x. 1058 # Obsolete; use --with-x.
@@ -1053,115 +1062,115 @@ do @@ -1053,115 +1062,115 @@ do
1053 | --x-incl | --x-inc | --x-in | --x-i) 1062 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;; 1063 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1064 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1065 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;; 1066 x_includes=$ac_optarg ;;
1058 1067
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1068 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1069 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;; 1070 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1071 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;; 1073 x_libraries=$ac_optarg ;;
1065 1074
1066 -*) as_fn_error "unrecognized option: \`$ac_option' 1075 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1067Try \`$0 --help' for more information." 1076Try \`$0 --help' for more information"
1068 ;; 1077 ;;
1069 1078
1070 *=*) 1079 *=*)
1071 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1080 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names. 1081 # Reject names that are not valid shell variable names.
1073 case $ac_envvar in #( 1082 case $ac_envvar in #(
1074 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1083 '' | [0-9]* | *[!_$as_cr_alnum]* )
1075 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1084 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1076 esac 1085 esac
1077 eval $ac_envvar=\$ac_optarg 1086 eval $ac_envvar=\$ac_optarg
1078 export $ac_envvar ;; 1087 export $ac_envvar ;;
1079 1088
1080 *) 1089 *)
1081 # FIXME: should be removed in autoconf 3.0. 1090 # FIXME: should be removed in autoconf 3.0.
1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1091 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1093 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1094 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1086 ;; 1095 ;;
1087 1096
1088 esac 1097 esac
1089done 1098done
1090 1099
1091if test -n "$ac_prev"; then 1100if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1101 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093 as_fn_error "missing argument to $ac_option" 1102 as_fn_error $? "missing argument to $ac_option"
1094fi 1103fi
1095 1104
1096if test -n "$ac_unrecognized_opts"; then 1105if test -n "$ac_unrecognized_opts"; then
1097 case $enable_option_checking in 1106 case $enable_option_checking in
1098 no) ;; 1107 no) ;;
1099 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1108 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1100 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1109 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1101 esac 1110 esac
1102fi 1111fi
1103 1112
1104# Check all directory arguments for consistency. 1113# Check all directory arguments for consistency.
1105for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1114for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \ 1115 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir 1117 libdir localedir mandir
1109do 1118do
1110 eval ac_val=\$$ac_var 1119 eval ac_val=\$$ac_var
1111 # Remove trailing slashes. 1120 # Remove trailing slashes.
1112 case $ac_val in 1121 case $ac_val in
1113 */ ) 1122 */ )
1114 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1123 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1115 eval $ac_var=\$ac_val;; 1124 eval $ac_var=\$ac_val;;
1116 esac 1125 esac
1117 # Be sure to have absolute directory names. 1126 # Be sure to have absolute directory names.
1118 case $ac_val in 1127 case $ac_val in
1119 [\\/$]* | ?:[\\/]* ) continue;; 1128 [\\/$]* | ?:[\\/]* ) continue;;
1120 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 esac 1130 esac
1122 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1131 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1123done 1132done
1124 1133
1125# There might be people who depend on the old broken behavior: `$host' 1134# There might be people who depend on the old broken behavior: `$host'
1126# used to hold the argument of --host etc. 1135# used to hold the argument of --host etc.
1127# FIXME: To remove some day. 1136# FIXME: To remove some day.
1128build=$build_alias 1137build=$build_alias
1129host=$host_alias 1138host=$host_alias
1130target=$target_alias 1139target=$target_alias
1131 1140
1132# FIXME: To remove some day. 1141# FIXME: To remove some day.
1133if test "x$host_alias" != x; then 1142if test "x$host_alias" != x; then
1134 if test "x$build_alias" = x; then 1143 if test "x$build_alias" = x; then
1135 cross_compiling=maybe 1144 cross_compiling=maybe
1136 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1145 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1137 If a cross compiler is detected then cross compile mode will be used." >&2 1146 If a cross compiler is detected then cross compile mode will be used" >&2
1138 elif test "x$build_alias" != "x$host_alias"; then 1147 elif test "x$build_alias" != "x$host_alias"; then
1139 cross_compiling=yes 1148 cross_compiling=yes
1140 fi 1149 fi
1141fi 1150fi
1142 1151
1143ac_tool_prefix= 1152ac_tool_prefix=
1144test -n "$host_alias" && ac_tool_prefix=$host_alias- 1153test -n "$host_alias" && ac_tool_prefix=$host_alias-
1145 1154
1146test "$silent" = yes && exec 6>/dev/null 1155test "$silent" = yes && exec 6>/dev/null
1147 1156
1148 1157
1149ac_pwd=`pwd` && test -n "$ac_pwd" && 1158ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150ac_ls_di=`ls -di .` && 1159ac_ls_di=`ls -di .` &&
1151ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1160ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 as_fn_error "working directory cannot be determined" 1161 as_fn_error $? "working directory cannot be determined"
1153test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1162test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 as_fn_error "pwd does not report name of working directory" 1163 as_fn_error $? "pwd does not report name of working directory"
1155 1164
1156 1165
1157# Find the source files, if location was not specified. 1166# Find the source files, if location was not specified.
1158if test -z "$srcdir"; then 1167if test -z "$srcdir"; then
1159 ac_srcdir_defaulted=yes 1168 ac_srcdir_defaulted=yes
1160 # Try the directory containing this script, then the parent directory. 1169 # Try the directory containing this script, then the parent directory.
1161 ac_confdir=`$as_dirname -- "$as_myself" || 1170 ac_confdir=`$as_dirname -- "$as_myself" ||
1162$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1171$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1163 X"$as_myself" : 'X\(//\)[^/]' \| \ 1172 X"$as_myself" : 'X\(//\)[^/]' \| \
1164 X"$as_myself" : 'X\(//\)$' \| \ 1173 X"$as_myself" : 'X\(//\)$' \| \
1165 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1174 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1166$as_echo X"$as_myself" | 1175$as_echo X"$as_myself" |
1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
@@ -1180,31 +1189,31 @@ $as_echo X"$as_myself" | @@ -1180,31 +1189,31 @@ $as_echo X"$as_myself" |
1180 s//\1/ 1189 s//\1/
1181 q 1190 q
1182 } 1191 }
1183 s/.*/./; q'` 1192 s/.*/./; q'`
1184 srcdir=$ac_confdir 1193 srcdir=$ac_confdir
1185 if test ! -r "$srcdir/$ac_unique_file"; then 1194 if test ! -r "$srcdir/$ac_unique_file"; then
1186 srcdir=.. 1195 srcdir=..
1187 fi 1196 fi
1188else 1197else
1189 ac_srcdir_defaulted=no 1198 ac_srcdir_defaulted=no
1190fi 1199fi
1191if test ! -r "$srcdir/$ac_unique_file"; then 1200if test ! -r "$srcdir/$ac_unique_file"; then
1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1201 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1193 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1202 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1194fi 1203fi
1195ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1204ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196ac_abs_confdir=`( 1205ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1206 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1198 pwd)` 1207 pwd)`
1199# When building in place, set srcdir=. 1208# When building in place, set srcdir=.
1200if test "$ac_abs_confdir" = "$ac_pwd"; then 1209if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 srcdir=. 1210 srcdir=.
1202fi 1211fi
1203# Remove unnecessary trailing slashes from srcdir. 1212# Remove unnecessary trailing slashes from srcdir.
1204# Double slashes in file names in object file debugging info 1213# Double slashes in file names in object file debugging info
1205# mess up M-x gdb in Emacs. 1214# mess up M-x gdb in Emacs.
1206case $srcdir in 1215case $srcdir in
1207*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1216*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208esac 1217esac
1209for ac_var in $ac_precious_vars; do 1218for ac_var in $ac_precious_vars; do
1210 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1219 eval ac_env_${ac_var}_set=\${${ac_var}+set}
@@ -1224,27 +1233,27 @@ if test "$ac_init_help" = "long"; then @@ -1224,27 +1233,27 @@ if test "$ac_init_help" = "long"; then
1224 1233
1225Usage: $0 [OPTION]... [VAR=VALUE]... 1234Usage: $0 [OPTION]... [VAR=VALUE]...
1226 1235
1227To assign environment variables (e.g., CC, CFLAGS...), specify them as 1236To assign environment variables (e.g., CC, CFLAGS...), specify them as
1228VAR=VALUE. See below for descriptions of some of the useful variables. 1237VAR=VALUE. See below for descriptions of some of the useful variables.
1229 1238
1230Defaults for the options are specified in brackets. 1239Defaults for the options are specified in brackets.
1231 1240
1232Configuration: 1241Configuration:
1233 -h, --help display this help and exit 1242 -h, --help display this help and exit
1234 --help=short display options specific to this package 1243 --help=short display options specific to this package
1235 --help=recursive display the short help of all the included packages 1244 --help=recursive display the short help of all the included packages
1236 -V, --version display version information and exit 1245 -V, --version display version information and exit
1237 -q, --quiet, --silent do not print \`checking...' messages 1246 -q, --quiet, --silent do not print \`checking ...' messages
1238 --cache-file=FILE cache test results in FILE [disabled] 1247 --cache-file=FILE cache test results in FILE [disabled]
1239 -C, --config-cache alias for \`--cache-file=config.cache' 1248 -C, --config-cache alias for \`--cache-file=config.cache'
1240 -n, --no-create do not create output files 1249 -n, --no-create do not create output files
1241 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1250 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1242 1251
1243Installation directories: 1252Installation directories:
1244 --prefix=PREFIX install architecture-independent files in PREFIX 1253 --prefix=PREFIX install architecture-independent files in PREFIX
1245 [$ac_default_prefix] 1254 [$ac_default_prefix]
1246 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1255 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 [PREFIX] 1256 [PREFIX]
1248 1257
1249By default, \`make install' will install all the files in 1258By default, \`make install' will install all the files in
1250\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1259\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
@@ -1368,29 +1377,29 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ @@ -1368,29 +1377,29 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1368 echo && 1377 echo &&
1369 $SHELL "$ac_srcdir/configure" --help=recursive 1378 $SHELL "$ac_srcdir/configure" --help=recursive
1370 else 1379 else
1371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 fi || ac_status=$? 1381 fi || ac_status=$?
1373 cd "$ac_pwd" || { ac_status=$?; break; } 1382 cd "$ac_pwd" || { ac_status=$?; break; }
1374 done 1383 done
1375fi 1384fi
1376 1385
1377test -n "$ac_init_help" && exit $ac_status 1386test -n "$ac_init_help" && exit $ac_status
1378if $ac_init_version; then 1387if $ac_init_version; then
1379 cat <<\_ACEOF 1388 cat <<\_ACEOF
1380libnbcompat configure 20080605 1389libnbcompat configure 20080605
1381generated by GNU Autoconf 2.65 1390generated by GNU Autoconf 2.68
1382 1391
1383Copyright (C) 2009 Free Software Foundation, Inc. 1392Copyright (C) 2010 Free Software Foundation, Inc.
1384This configure script is free software; the Free Software Foundation 1393This configure script is free software; the Free Software Foundation
1385gives unlimited permission to copy, distribute and modify it. 1394gives unlimited permission to copy, distribute and modify it.
1386_ACEOF 1395_ACEOF
1387 exit 1396 exit
1388fi 1397fi
1389 1398
1390## ------------------------ ## 1399## ------------------------ ##
1391## Autoconf initialization. ## 1400## Autoconf initialization. ##
1392## ------------------------ ## 1401## ------------------------ ##
1393 1402
1394# ac_fn_c_try_compile LINENO 1403# ac_fn_c_try_compile LINENO
1395# -------------------------- 1404# --------------------------
1396# Try to compile conftest.$ac_ext, and return whether this succeeded. 1405# Try to compile conftest.$ac_ext, and return whether this succeeded.
@@ -1414,27 +1423,27 @@ $as_echo "$ac_try_echo"; } >&5 @@ -1414,27 +1423,27 @@ $as_echo "$ac_try_echo"; } >&5
1414 fi 1423 fi
1415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416 test $ac_status = 0; } && { 1425 test $ac_status = 0; } && {
1417 test -z "$ac_c_werror_flag" || 1426 test -z "$ac_c_werror_flag" ||
1418 test ! -s conftest.err 1427 test ! -s conftest.err
1419 } && test -s conftest.$ac_objext; then : 1428 } && test -s conftest.$ac_objext; then :
1420 ac_retval=0 1429 ac_retval=0
1421else 1430else
1422 $as_echo "$as_me: failed program was:" >&5 1431 $as_echo "$as_me: failed program was:" >&5
1423sed 's/^/| /' conftest.$ac_ext >&5 1432sed 's/^/| /' conftest.$ac_ext >&5
1424 1433
1425 ac_retval=1 1434 ac_retval=1
1426fi 1435fi
1427 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1428 as_fn_set_status $ac_retval 1437 as_fn_set_status $ac_retval
1429 1438
1430} # ac_fn_c_try_compile 1439} # ac_fn_c_try_compile
1431 1440
1432# ac_fn_c_try_link LINENO 1441# ac_fn_c_try_link LINENO
1433# ----------------------- 1442# -----------------------
1434# Try to link conftest.$ac_ext, and return whether this succeeded. 1443# Try to link conftest.$ac_ext, and return whether this succeeded.
1435ac_fn_c_try_link () 1444ac_fn_c_try_link ()
1436{ 1445{
1437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438 rm -f conftest.$ac_objext conftest$ac_exeext 1447 rm -f conftest.$ac_objext conftest$ac_exeext
1439 if { { ac_try="$ac_link" 1448 if { { ac_try="$ac_link"
1440case "(($ac_try" in 1449case "(($ac_try" in
@@ -1460,64 +1469,64 @@ $as_echo "$ac_try_echo"; } >&5 @@ -1460,64 +1469,64 @@ $as_echo "$ac_try_echo"; } >&5
1460 }; then : 1469 }; then :
1461 ac_retval=0 1470 ac_retval=0
1462else 1471else
1463 $as_echo "$as_me: failed program was:" >&5 1472 $as_echo "$as_me: failed program was:" >&5
1464sed 's/^/| /' conftest.$ac_ext >&5 1473sed 's/^/| /' conftest.$ac_ext >&5
1465 1474
1466 ac_retval=1 1475 ac_retval=1
1467fi 1476fi
1468 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1477 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1469 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1478 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1470 # interfere with the next link command; also delete a directory that is 1479 # interfere with the next link command; also delete a directory that is
1471 # left behind by Apple's compiler. We do this before executing the actions. 1480 # left behind by Apple's compiler. We do this before executing the actions.
1472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1481 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1473 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1482 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1474 as_fn_set_status $ac_retval 1483 as_fn_set_status $ac_retval
1475 1484
1476} # ac_fn_c_try_link 1485} # ac_fn_c_try_link
1477 1486
1478# ac_fn_c_try_cpp LINENO 1487# ac_fn_c_try_cpp LINENO
1479# ---------------------- 1488# ----------------------
1480# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1489# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1481ac_fn_c_try_cpp () 1490ac_fn_c_try_cpp ()
1482{ 1491{
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 if { { ac_try="$ac_cpp conftest.$ac_ext" 1493 if { { ac_try="$ac_cpp conftest.$ac_ext"
1485case "(($ac_try" in 1494case "(($ac_try" in
1486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487 *) ac_try_echo=$ac_try;; 1496 *) ac_try_echo=$ac_try;;
1488esac 1497esac
1489eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490$as_echo "$ac_try_echo"; } >&5 1499$as_echo "$ac_try_echo"; } >&5
1491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1492 ac_status=$? 1501 ac_status=$?
1493 if test -s conftest.err; then 1502 if test -s conftest.err; then
1494 grep -v '^ *+' conftest.err >conftest.er1 1503 grep -v '^ *+' conftest.err >conftest.er1
1495 cat conftest.er1 >&5 1504 cat conftest.er1 >&5
1496 mv -f conftest.er1 conftest.err 1505 mv -f conftest.er1 conftest.err
1497 fi 1506 fi
1498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499 test $ac_status = 0; } >/dev/null && { 1508 test $ac_status = 0; } > conftest.i && {
1500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1501 test ! -s conftest.err 1510 test ! -s conftest.err
1502 }; then : 1511 }; then :
1503 ac_retval=0 1512 ac_retval=0
1504else 1513else
1505 $as_echo "$as_me: failed program was:" >&5 1514 $as_echo "$as_me: failed program was:" >&5
1506sed 's/^/| /' conftest.$ac_ext >&5 1515sed 's/^/| /' conftest.$ac_ext >&5
1507 1516
1508 ac_retval=1 1517 ac_retval=1
1509fi 1518fi
1510 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1511 as_fn_set_status $ac_retval 1520 as_fn_set_status $ac_retval
1512 1521
1513} # ac_fn_c_try_cpp 1522} # ac_fn_c_try_cpp
1514 1523
1515# ac_fn_c_try_run LINENO 1524# ac_fn_c_try_run LINENO
1516# ---------------------- 1525# ----------------------
1517# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1526# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1518# that executables *can* be run. 1527# that executables *can* be run.
1519ac_fn_c_try_run () 1528ac_fn_c_try_run ()
1520{ 1529{
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 if { { ac_try="$ac_link" 1531 if { { ac_try="$ac_link"
1523case "(($ac_try" in 1532case "(($ac_try" in
@@ -1539,41 +1548,41 @@ $as_echo "$ac_try_echo"; } >&5 @@ -1539,41 +1548,41 @@ $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_try") 2>&5 1548 (eval "$ac_try") 2>&5
1540 ac_status=$? 1549 ac_status=$?
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; }; }; then : 1551 test $ac_status = 0; }; }; then :
1543 ac_retval=0 1552 ac_retval=0
1544else 1553else
1545 $as_echo "$as_me: program exited with status $ac_status" >&5 1554 $as_echo "$as_me: program exited with status $ac_status" >&5
1546 $as_echo "$as_me: failed program was:" >&5 1555 $as_echo "$as_me: failed program was:" >&5
1547sed 's/^/| /' conftest.$ac_ext >&5 1556sed 's/^/| /' conftest.$ac_ext >&5
1548 1557
1549 ac_retval=$ac_status 1558 ac_retval=$ac_status
1550fi 1559fi
1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1552 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1553 as_fn_set_status $ac_retval 1562 as_fn_set_status $ac_retval
1554 1563
1555} # ac_fn_c_try_run 1564} # ac_fn_c_try_run
1556 1565
1557# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1566# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1558# ------------------------------------------- 1567# -------------------------------------------
1559# Tests whether TYPE exists after having included INCLUDES, setting cache 1568# Tests whether TYPE exists after having included INCLUDES, setting cache
1560# variable VAR accordingly. 1569# variable VAR accordingly.
1561ac_fn_c_check_type () 1570ac_fn_c_check_type ()
1562{ 1571{
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565$as_echo_n "checking for $2... " >&6; } 1574$as_echo_n "checking for $2... " >&6; }
1566if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1575if eval \${$3+:} false; then :
1567 $as_echo_n "(cached) " >&6 1576 $as_echo_n "(cached) " >&6
1568else 1577else
1569 eval "$3=no" 1578 eval "$3=no"
1570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1571/* end confdefs.h. */ 1580/* end confdefs.h. */
1572$4 1581$4
1573int 1582int
1574main () 1583main ()
1575{ 1584{
1576if (sizeof ($2)) 1585if (sizeof ($2))
1577 return 0; 1586 return 0;
1578 ; 1587 ;
1579 return 0; 1588 return 0;
@@ -1594,73 +1603,73 @@ if (sizeof (($2))) @@ -1594,73 +1603,73 @@ if (sizeof (($2)))
1594_ACEOF 1603_ACEOF
1595if ac_fn_c_try_compile "$LINENO"; then : 1604if ac_fn_c_try_compile "$LINENO"; then :
1596 1605
1597else 1606else
1598 eval "$3=yes" 1607 eval "$3=yes"
1599fi 1608fi
1600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1601fi 1610fi
1602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1603fi 1612fi
1604eval ac_res=\$$3 1613eval ac_res=\$$3
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1606$as_echo "$ac_res" >&6; } 1615$as_echo "$ac_res" >&6; }
1607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 1617
1609} # ac_fn_c_check_type 1618} # ac_fn_c_check_type
1610 1619
1611# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1620# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1612# ------------------------------------------------------- 1621# -------------------------------------------------------
1613# Tests whether HEADER exists and can be compiled using the include files in 1622# Tests whether HEADER exists and can be compiled using the include files in
1614# INCLUDES, setting the cache variable VAR accordingly. 1623# INCLUDES, setting the cache variable VAR accordingly.
1615ac_fn_c_check_header_compile () 1624ac_fn_c_check_header_compile ()
1616{ 1625{
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619$as_echo_n "checking for $2... " >&6; } 1628$as_echo_n "checking for $2... " >&6; }
1620if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1629if eval \${$3+:} false; then :
1621 $as_echo_n "(cached) " >&6 1630 $as_echo_n "(cached) " >&6
1622else 1631else
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624/* end confdefs.h. */ 1633/* end confdefs.h. */
1625$4 1634$4
1626#include <$2> 1635#include <$2>
1627_ACEOF 1636_ACEOF
1628if ac_fn_c_try_compile "$LINENO"; then : 1637if ac_fn_c_try_compile "$LINENO"; then :
1629 eval "$3=yes" 1638 eval "$3=yes"
1630else 1639else
1631 eval "$3=no" 1640 eval "$3=no"
1632fi 1641fi
1633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634fi 1643fi
1635eval ac_res=\$$3 1644eval ac_res=\$$3
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637$as_echo "$ac_res" >&6; } 1646$as_echo "$ac_res" >&6; }
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 1648
1640} # ac_fn_c_check_header_compile 1649} # ac_fn_c_check_header_compile
1641 1650
1642# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1651# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1643# ------------------------------------------------------- 1652# -------------------------------------------------------
1644# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1653# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1645# the include files in INCLUDES and setting the cache variable VAR 1654# the include files in INCLUDES and setting the cache variable VAR
1646# accordingly. 1655# accordingly.
1647ac_fn_c_check_header_mongrel () 1656ac_fn_c_check_header_mongrel ()
1648{ 1657{
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1659 if eval \${$3+:} false; then :
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1652$as_echo_n "checking for $2... " >&6; } 1661$as_echo_n "checking for $2... " >&6; }
1653if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1662if eval \${$3+:} false; then :
1654 $as_echo_n "(cached) " >&6 1663 $as_echo_n "(cached) " >&6
1655fi 1664fi
1656eval ac_res=\$$3 1665eval ac_res=\$$3
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1658$as_echo "$ac_res" >&6; } 1667$as_echo "$ac_res" >&6; }
1659else 1668else
1660 # Is the header compilable? 1669 # Is the header compilable?
1661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1662$as_echo_n "checking $2 usability... " >&6; } 1671$as_echo_n "checking $2 usability... " >&6; }
1663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1672cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664/* end confdefs.h. */ 1673/* end confdefs.h. */
1665$4 1674$4
1666#include <$2> 1675#include <$2>
@@ -1676,81 +1685,79 @@ $as_echo "$ac_header_compiler" >&6; } @@ -1676,81 +1685,79 @@ $as_echo "$ac_header_compiler" >&6; }
1676 1685
1677# Is the header present? 1686# Is the header present?
1678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1679$as_echo_n "checking $2 presence... " >&6; } 1688$as_echo_n "checking $2 presence... " >&6; }
1680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1689cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681/* end confdefs.h. */ 1690/* end confdefs.h. */
1682#include <$2> 1691#include <$2>
1683_ACEOF 1692_ACEOF
1684if ac_fn_c_try_cpp "$LINENO"; then : 1693if ac_fn_c_try_cpp "$LINENO"; then :
1685 ac_header_preproc=yes 1694 ac_header_preproc=yes
1686else 1695else
1687 ac_header_preproc=no 1696 ac_header_preproc=no
1688fi 1697fi
1689rm -f conftest.err conftest.$ac_ext 1698rm -f conftest.err conftest.i conftest.$ac_ext
1690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1691$as_echo "$ac_header_preproc" >&6; } 1700$as_echo "$ac_header_preproc" >&6; }
1692 1701
1693# So? What about this header? 1702# So? What about this header?
1694case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1703case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1695 yes:no: ) 1704 yes:no: )
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1697$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1706$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1699$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1708$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1700 ;; 1709 ;;
1701 no:yes:* ) 1710 no:yes:* )
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1703$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1712$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1705$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1714$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1707$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1716$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1709$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1718$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1711$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1720$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1712( cat <<\_ASBOX 1721( $as_echo "## ------------------------------- ##
1713## ------------------------------- ## 
1714## Report this to grant@NetBSD.org ## 1722## Report this to grant@NetBSD.org ##
1715## ------------------------------- ## 1723## ------------------------------- ##"
1716_ASBOX 
1717 ) | sed "s/^/$as_me: WARNING: /" >&2 1724 ) | sed "s/^/$as_me: WARNING: /" >&2
1718 ;; 1725 ;;
1719esac 1726esac
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721$as_echo_n "checking for $2... " >&6; } 1728$as_echo_n "checking for $2... " >&6; }
1722if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1729if eval \${$3+:} false; then :
1723 $as_echo_n "(cached) " >&6 1730 $as_echo_n "(cached) " >&6
1724else 1731else
1725 eval "$3=\$ac_header_compiler" 1732 eval "$3=\$ac_header_compiler"
1726fi 1733fi
1727eval ac_res=\$$3 1734eval ac_res=\$$3
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729$as_echo "$ac_res" >&6; } 1736$as_echo "$ac_res" >&6; }
1730fi 1737fi
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 1739
1733} # ac_fn_c_check_header_mongrel 1740} # ac_fn_c_check_header_mongrel
1734 1741
1735# ac_fn_c_check_func LINENO FUNC VAR 1742# ac_fn_c_check_func LINENO FUNC VAR
1736# ---------------------------------- 1743# ----------------------------------
1737# Tests whether FUNC exists, setting the cache variable VAR accordingly 1744# Tests whether FUNC exists, setting the cache variable VAR accordingly
1738ac_fn_c_check_func () 1745ac_fn_c_check_func ()
1739{ 1746{
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742$as_echo_n "checking for $2... " >&6; } 1749$as_echo_n "checking for $2... " >&6; }
1743if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1750if eval \${$3+:} false; then :
1744 $as_echo_n "(cached) " >&6 1751 $as_echo_n "(cached) " >&6
1745else 1752else
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747/* end confdefs.h. */ 1754/* end confdefs.h. */
1748/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1755/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1749 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1750#define $2 innocuous_$2 1757#define $2 innocuous_$2
1751 1758
1752/* System header to define __stub macros and hopefully few prototypes, 1759/* System header to define __stub macros and hopefully few prototypes,
1753 which can conflict with char $2 (); below. 1760 which can conflict with char $2 (); below.
1754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1755 <limits.h> exists even on freestanding compilers. */ 1762 <limits.h> exists even on freestanding compilers. */
1756 1763
@@ -1785,154 +1792,160 @@ return $2 (); @@ -1785,154 +1792,160 @@ return $2 ();
1785} 1792}
1786_ACEOF 1793_ACEOF
1787if ac_fn_c_try_link "$LINENO"; then : 1794if ac_fn_c_try_link "$LINENO"; then :
1788 eval "$3=yes" 1795 eval "$3=yes"
1789else 1796else
1790 eval "$3=no" 1797 eval "$3=no"
1791fi 1798fi
1792rm -f core conftest.err conftest.$ac_objext \ 1799rm -f core conftest.err conftest.$ac_objext \
1793 conftest$ac_exeext conftest.$ac_ext 1800 conftest$ac_exeext conftest.$ac_ext
1794fi 1801fi
1795eval ac_res=\$$3 1802eval ac_res=\$$3
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797$as_echo "$ac_res" >&6; } 1804$as_echo "$ac_res" >&6; }
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 1806
1800} # ac_fn_c_check_func 1807} # ac_fn_c_check_func
1801 1808
1802# ac_fn_c_check_decl LINENO SYMBOL VAR 1809# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1803# ------------------------------------ 1810# ---------------------------------------------
1804# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1811# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 1812# accordingly.
1805ac_fn_c_check_decl () 1813ac_fn_c_check_decl ()
1806{ 1814{
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1816 as_decl_name=`echo $2|sed 's/ *(.*//'`
1809$as_echo_n "checking whether $2 is declared... " >&6; } 1817 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1810if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 1819$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 1820if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6 1821 $as_echo_n "(cached) " >&6
1812else 1822else
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814/* end confdefs.h. */ 1824/* end confdefs.h. */
1815$4 1825$4
1816int 1826int
1817main () 1827main ()
1818{ 1828{
1819#ifndef $2 1829#ifndef $as_decl_name
1820 (void) $2; 1830#ifdef __cplusplus
 1831 (void) $as_decl_use;
 1832#else
 1833 (void) $as_decl_name;
 1834#endif
1821#endif 1835#endif
1822 1836
1823 ; 1837 ;
1824 return 0; 1838 return 0;
1825} 1839}
1826_ACEOF 1840_ACEOF
1827if ac_fn_c_try_compile "$LINENO"; then : 1841if ac_fn_c_try_compile "$LINENO"; then :
1828 eval "$3=yes" 1842 eval "$3=yes"
1829else 1843else
1830 eval "$3=no" 1844 eval "$3=no"
1831fi 1845fi
1832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1833fi 1847fi
1834eval ac_res=\$$3 1848eval ac_res=\$$3
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836$as_echo "$ac_res" >&6; } 1850$as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 1852
1839} # ac_fn_c_check_decl 1853} # ac_fn_c_check_decl
1840 1854
1841# ac_fn_c_find_intX_t LINENO BITS VAR 1855# ac_fn_c_find_intX_t LINENO BITS VAR
1842# ----------------------------------- 1856# -----------------------------------
1843# Finds a signed integer type with width BITS, setting cache variable VAR 1857# Finds a signed integer type with width BITS, setting cache variable VAR
1844# accordingly. 1858# accordingly.
1845ac_fn_c_find_intX_t () 1859ac_fn_c_find_intX_t ()
1846{ 1860{
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1849$as_echo_n "checking for int$2_t... " >&6; } 1863$as_echo_n "checking for int$2_t... " >&6; }
1850if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1864if eval \${$3+:} false; then :
1851 $as_echo_n "(cached) " >&6 1865 $as_echo_n "(cached) " >&6
1852else 1866else
1853 eval "$3=no" 1867 eval "$3=no"
1854 # Order is important - never check a type that is potentially smaller 1868 # Order is important - never check a type that is potentially smaller
1855 # than half of the expected target width. 1869 # than half of the expected target width.
1856 for ac_type in int$2_t 'int' 'long int' \ 1870 for ac_type in int$2_t 'int' 'long int' \
1857 'long long int' 'short int' 'signed char'; do 1871 'long long int' 'short int' 'signed char'; do
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859/* end confdefs.h. */ 1873/* end confdefs.h. */
1860$ac_includes_default 1874$ac_includes_default
 1875 enum { N = $2 / 2 - 1 };
1861int 1876int
1862main () 1877main ()
1863{ 1878{
1864static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1879static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1865 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 
1866test_array [0] = 0 1880test_array [0] = 0
1867 1881
1868 ; 1882 ;
1869 return 0; 1883 return 0;
1870} 1884}
1871_ACEOF 1885_ACEOF
1872if ac_fn_c_try_compile "$LINENO"; then : 1886if ac_fn_c_try_compile "$LINENO"; then :
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874/* end confdefs.h. */ 1888/* end confdefs.h. */
1875$ac_includes_default 1889$ac_includes_default
 1890 enum { N = $2 / 2 - 1 };
1876int 1891int
1877main () 1892main ()
1878{ 1893{
1879static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 1894static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1880 ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 
1881 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1895 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1882test_array [0] = 0 1896test_array [0] = 0
1883 1897
1884 ; 1898 ;
1885 return 0; 1899 return 0;
1886} 1900}
1887_ACEOF 1901_ACEOF
1888if ac_fn_c_try_compile "$LINENO"; then : 1902if ac_fn_c_try_compile "$LINENO"; then :
1889 1903
1890else 1904else
1891 case $ac_type in #( 1905 case $ac_type in #(
1892 int$2_t) : 1906 int$2_t) :
1893 eval "$3=yes" ;; #( 1907 eval "$3=yes" ;; #(
1894 *) : 1908 *) :
1895 eval "$3=\$ac_type" ;; 1909 eval "$3=\$ac_type" ;;
1896esac 1910esac
1897fi 1911fi
1898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899fi 1913fi
1900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1901 eval as_val=\$$3 1915 if eval test \"x\$"$3"\" = x"no"; then :
1902 if test "x$as_val" = x""no; then : 
1903 1916
1904else 1917else
1905 break 1918 break
1906fi 1919fi
1907 done 1920 done
1908fi 1921fi
1909eval ac_res=\$$3 1922eval ac_res=\$$3
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1911$as_echo "$ac_res" >&6; } 1924$as_echo "$ac_res" >&6; }
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913 1926
1914} # ac_fn_c_find_intX_t 1927} # ac_fn_c_find_intX_t
1915 1928
1916# ac_fn_c_find_uintX_t LINENO BITS VAR 1929# ac_fn_c_find_uintX_t LINENO BITS VAR
1917# ------------------------------------ 1930# ------------------------------------
1918# Finds an unsigned integer type with width BITS, setting cache variable VAR 1931# Finds an unsigned integer type with width BITS, setting cache variable VAR
1919# accordingly. 1932# accordingly.
1920ac_fn_c_find_uintX_t () 1933ac_fn_c_find_uintX_t ()
1921{ 1934{
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1924$as_echo_n "checking for uint$2_t... " >&6; } 1937$as_echo_n "checking for uint$2_t... " >&6; }
1925if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1938if eval \${$3+:} false; then :
1926 $as_echo_n "(cached) " >&6 1939 $as_echo_n "(cached) " >&6
1927else 1940else
1928 eval "$3=no" 1941 eval "$3=no"
1929 # Order is important - never check a type that is potentially smaller 1942 # Order is important - never check a type that is potentially smaller
1930 # than half of the expected target width. 1943 # than half of the expected target width.
1931 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1944 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1932 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1945 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1934/* end confdefs.h. */ 1947/* end confdefs.h. */
1935$ac_includes_default 1948$ac_includes_default
1936int 1949int
1937main () 1950main ()
1938{ 1951{
@@ -1942,38 +1955,37 @@ test_array [0] = 0 @@ -1942,38 +1955,37 @@ test_array [0] = 0
1942 ; 1955 ;
1943 return 0; 1956 return 0;
1944} 1957}
1945_ACEOF 1958_ACEOF
1946if ac_fn_c_try_compile "$LINENO"; then : 1959if ac_fn_c_try_compile "$LINENO"; then :
1947 case $ac_type in #( 1960 case $ac_type in #(
1948 uint$2_t) : 1961 uint$2_t) :
1949 eval "$3=yes" ;; #( 1962 eval "$3=yes" ;; #(
1950 *) : 1963 *) :
1951 eval "$3=\$ac_type" ;; 1964 eval "$3=\$ac_type" ;;
1952esac 1965esac
1953fi 1966fi
1954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955 eval as_val=\$$3 1968 if eval test \"x\$"$3"\" = x"no"; then :
1956 if test "x$as_val" = x""no; then : 
1957 1969
1958else 1970else
1959 break 1971 break
1960fi 1972fi
1961 done 1973 done
1962fi 1974fi
1963eval ac_res=\$$3 1975eval ac_res=\$$3
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965$as_echo "$ac_res" >&6; } 1977$as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 1979
1968} # ac_fn_c_find_uintX_t 1980} # ac_fn_c_find_uintX_t
1969 1981
1970# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1982# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1971# -------------------------------------------- 1983# --------------------------------------------
1972# Tries to find the compile-time value of EXPR in a program that includes 1984# Tries to find the compile-time value of EXPR in a program that includes
1973# INCLUDES, setting VAR accordingly. Returns whether the value could be 1985# INCLUDES, setting VAR accordingly. Returns whether the value could be
1974# computed 1986# computed
1975ac_fn_c_compute_int () 1987ac_fn_c_compute_int ()
1976{ 1988{
1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978 if test "$cross_compiling" = yes; then 1990 if test "$cross_compiling" = yes; then
1979 # Depending upon the size, compute the lo and hi bounds. 1991 # Depending upon the size, compute the lo and hi bounds.
@@ -2130,41 +2142,41 @@ main () @@ -2130,41 +2142,41 @@ main ()
2130 return 0; 2142 return 0;
2131} 2143}
2132_ACEOF 2144_ACEOF
2133if ac_fn_c_try_run "$LINENO"; then : 2145if ac_fn_c_try_run "$LINENO"; then :
2134 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2146 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2135else 2147else
2136 ac_retval=1 2148 ac_retval=1
2137fi 2149fi
2138rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2150rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2139 conftest.$ac_objext conftest.beam conftest.$ac_ext 2151 conftest.$ac_objext conftest.beam conftest.$ac_ext
2140rm -f conftest.val 2152rm -f conftest.val
2141 2153
2142 fi 2154 fi
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144 as_fn_set_status $ac_retval 2156 as_fn_set_status $ac_retval
2145 2157
2146} # ac_fn_c_compute_int 2158} # ac_fn_c_compute_int
2147 2159
2148# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2160# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2149# ---------------------------------------------------- 2161# ----------------------------------------------------
2150# Tries to find if the field MEMBER exists in type AGGR, after including 2162# Tries to find if the field MEMBER exists in type AGGR, after including
2151# INCLUDES, setting cache variable VAR accordingly. 2163# INCLUDES, setting cache variable VAR accordingly.
2152ac_fn_c_check_member () 2164ac_fn_c_check_member ()
2153{ 2165{
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2156$as_echo_n "checking for $2.$3... " >&6; } 2168$as_echo_n "checking for $2.$3... " >&6; }
2157if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2169if eval \${$4+:} false; then :
2158 $as_echo_n "(cached) " >&6 2170 $as_echo_n "(cached) " >&6
2159else 2171else
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161/* end confdefs.h. */ 2173/* end confdefs.h. */
2162$5 2174$5
2163int 2175int
2164main () 2176main ()
2165{ 2177{
2166static $2 ac_aggr; 2178static $2 ac_aggr;
2167if (ac_aggr.$3) 2179if (ac_aggr.$3)
2168return 0; 2180return 0;
2169 ; 2181 ;
2170 return 0; 2182 return 0;
@@ -2188,35 +2200,35 @@ return 0; @@ -2188,35 +2200,35 @@ return 0;
2188_ACEOF 2200_ACEOF
2189if ac_fn_c_try_compile "$LINENO"; then : 2201if ac_fn_c_try_compile "$LINENO"; then :
2190 eval "$4=yes" 2202 eval "$4=yes"
2191else 2203else
2192 eval "$4=no" 2204 eval "$4=no"
2193fi 2205fi
2194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195fi 2207fi
2196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2197fi 2209fi
2198eval ac_res=\$$4 2210eval ac_res=\$$4
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200$as_echo "$ac_res" >&6; } 2212$as_echo "$ac_res" >&6; }
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2213 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 2214
2203} # ac_fn_c_check_member 2215} # ac_fn_c_check_member
2204cat >config.log <<_ACEOF 2216cat >config.log <<_ACEOF
2205This file contains any messages produced by compilers while 2217This file contains any messages produced by compilers while
2206running configure, to aid debugging if configure makes a mistake. 2218running configure, to aid debugging if configure makes a mistake.
2207 2219
2208It was created by libnbcompat $as_me 20080605, which was 2220It was created by libnbcompat $as_me 20080605, which was
2209generated by GNU Autoconf 2.65. Invocation command line was 2221generated by GNU Autoconf 2.68. Invocation command line was
2210 2222
2211 $ $0 $@ 2223 $ $0 $@
2212 2224
2213_ACEOF 2225_ACEOF
2214exec 5>>config.log 2226exec 5>>config.log
2215{ 2227{
2216cat <<_ASUNAME 2228cat <<_ASUNAME
2217## --------- ## 2229## --------- ##
2218## Platform. ## 2230## Platform. ##
2219## --------- ## 2231## --------- ##
2220 2232
2221hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2233hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2222uname -m = `(uname -m) 2>/dev/null || echo unknown` 2234uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -2306,31 +2318,29 @@ done @@ -2306,31 +2318,29 @@ done
2306{ ac_configure_args0=; unset ac_configure_args0;} 2318{ ac_configure_args0=; unset ac_configure_args0;}
2307{ ac_configure_args1=; unset ac_configure_args1;} 2319{ ac_configure_args1=; unset ac_configure_args1;}
2308 2320
2309# When interrupted or exit'd, cleanup temporary files, and complete 2321# When interrupted or exit'd, cleanup temporary files, and complete
2310# config.log. We remove comments because anyway the quotes in there 2322# config.log. We remove comments because anyway the quotes in there
2311# would cause problems or look ugly. 2323# would cause problems or look ugly.
2312# WARNING: Use '\'' to represent an apostrophe within the trap. 2324# WARNING: Use '\'' to represent an apostrophe within the trap.
2313# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2325# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2314trap 'exit_status=$? 2326trap 'exit_status=$?
2315 # Save into config.log some information that might help in debugging. 2327 # Save into config.log some information that might help in debugging.
2316 { 2328 {
2317 echo 2329 echo
2318 2330
2319 cat <<\_ASBOX 2331 $as_echo "## ---------------- ##
2320## ---------------- ## 
2321## Cache variables. ## 2332## Cache variables. ##
2322## ---------------- ## 2333## ---------------- ##"
2323_ASBOX 
2324 echo 2334 echo
2325 # The following way of writing the cache mishandles newlines in values, 2335 # The following way of writing the cache mishandles newlines in values,
2326( 2336(
2327 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2337 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2328 eval ac_val=\$$ac_var 2338 eval ac_val=\$$ac_var
2329 case $ac_val in #( 2339 case $ac_val in #(
2330 *${as_nl}*) 2340 *${as_nl}*)
2331 case $ac_var in #( 2341 case $ac_var in #(
2332 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2342 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2333$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2343$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2334 esac 2344 esac
2335 case $ac_var in #( 2345 case $ac_var in #(
2336 _ | IFS | as_nl) ;; #( 2346 _ | IFS | as_nl) ;; #(
@@ -2344,66 +2354,60 @@ $as_echo "$as_me: WARNING: cache variabl @@ -2344,66 +2354,60 @@ $as_echo "$as_me: WARNING: cache variabl
2344 *${as_nl}ac_space=\ *) 2354 *${as_nl}ac_space=\ *)
2345 sed -n \ 2355 sed -n \
2346 "s/'\''/'\''\\\\'\'''\''/g; 2356 "s/'\''/'\''\\\\'\'''\''/g;
2347 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2357 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2348 ;; #( 2358 ;; #(
2349 *) 2359 *)
2350 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2351 ;; 2361 ;;
2352 esac | 2362 esac |
2353 sort 2363 sort
2354) 2364)
2355 echo 2365 echo
2356 2366
2357 cat <<\_ASBOX 2367 $as_echo "## ----------------- ##
2358## ----------------- ## 
2359## Output variables. ## 2368## Output variables. ##
2360## ----------------- ## 2369## ----------------- ##"
2361_ASBOX 
2362 echo 2370 echo
2363 for ac_var in $ac_subst_vars 2371 for ac_var in $ac_subst_vars
2364 do 2372 do
2365 eval ac_val=\$$ac_var 2373 eval ac_val=\$$ac_var
2366 case $ac_val in 2374 case $ac_val in
2367 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2375 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368 esac 2376 esac
2369 $as_echo "$ac_var='\''$ac_val'\''" 2377 $as_echo "$ac_var='\''$ac_val'\''"
2370 done | sort 2378 done | sort
2371 echo 2379 echo
2372 2380
2373 if test -n "$ac_subst_files"; then 2381 if test -n "$ac_subst_files"; then
2374 cat <<\_ASBOX 2382 $as_echo "## ------------------- ##
2375## ------------------- ## 
2376## File substitutions. ## 2383## File substitutions. ##
2377## ------------------- ## 2384## ------------------- ##"
2378_ASBOX 
2379 echo 2385 echo
2380 for ac_var in $ac_subst_files 2386 for ac_var in $ac_subst_files
2381 do 2387 do
2382 eval ac_val=\$$ac_var 2388 eval ac_val=\$$ac_var
2383 case $ac_val in 2389 case $ac_val in
2384 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2390 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2385 esac 2391 esac
2386 $as_echo "$ac_var='\''$ac_val'\''" 2392 $as_echo "$ac_var='\''$ac_val'\''"
2387 done | sort 2393 done | sort
2388 echo 2394 echo
2389 fi 2395 fi
2390 2396
2391 if test -s confdefs.h; then 2397 if test -s confdefs.h; then
2392 cat <<\_ASBOX 2398 $as_echo "## ----------- ##
2393## ----------- ## 
2394## confdefs.h. ## 2399## confdefs.h. ##
2395## ----------- ## 2400## ----------- ##"
2396_ASBOX 
2397 echo 2401 echo
2398 cat confdefs.h 2402 cat confdefs.h
2399 echo 2403 echo
2400 fi 2404 fi
2401 test "$ac_signal" != 0 && 2405 test "$ac_signal" != 0 &&
2402 $as_echo "$as_me: caught signal $ac_signal" 2406 $as_echo "$as_me: caught signal $ac_signal"
2403 $as_echo "$as_me: exit $exit_status" 2407 $as_echo "$as_me: exit $exit_status"
2404 } >&5 2408 } >&5
2405 rm -f core *.core core.conftest.* && 2409 rm -f core *.core core.conftest.* &&
2406 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2410 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2407 exit $exit_status 2411 exit $exit_status
2408' 0 2412' 0
2409for ac_signal in 1 2 13 15; do 2413for ac_signal in 1 2 13 15; do
@@ -2438,42 +2442,51 @@ cat >>confdefs.h <<_ACEOF @@ -2438,42 +2442,51 @@ cat >>confdefs.h <<_ACEOF
2438#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2442#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2439_ACEOF 2443_ACEOF
2440 2444
2441cat >>confdefs.h <<_ACEOF 2445cat >>confdefs.h <<_ACEOF
2442#define PACKAGE_URL "$PACKAGE_URL" 2446#define PACKAGE_URL "$PACKAGE_URL"
2443_ACEOF 2447_ACEOF
2444 2448
2445 2449
2446# Let the site file select an alternate cache file if it wants to. 2450# Let the site file select an alternate cache file if it wants to.
2447# Prefer an explicitly selected file to automatically selected ones. 2451# Prefer an explicitly selected file to automatically selected ones.
2448ac_site_file1=NONE 2452ac_site_file1=NONE
2449ac_site_file2=NONE 2453ac_site_file2=NONE
2450if test -n "$CONFIG_SITE"; then 2454if test -n "$CONFIG_SITE"; then
2451 ac_site_file1=$CONFIG_SITE 2455 # We do not want a PATH search for config.site.
 2456 case $CONFIG_SITE in #((
 2457 -*) ac_site_file1=./$CONFIG_SITE;;
 2458 */*) ac_site_file1=$CONFIG_SITE;;
 2459 *) ac_site_file1=./$CONFIG_SITE;;
 2460 esac
2452elif test "x$prefix" != xNONE; then 2461elif test "x$prefix" != xNONE; then
2453 ac_site_file1=$prefix/share/config.site 2462 ac_site_file1=$prefix/share/config.site
2454 ac_site_file2=$prefix/etc/config.site 2463 ac_site_file2=$prefix/etc/config.site
2455else 2464else
2456 ac_site_file1=$ac_default_prefix/share/config.site 2465 ac_site_file1=$ac_default_prefix/share/config.site
2457 ac_site_file2=$ac_default_prefix/etc/config.site 2466 ac_site_file2=$ac_default_prefix/etc/config.site
2458fi 2467fi
2459for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2468for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2460do 2469do
2461 test "x$ac_site_file" = xNONE && continue 2470 test "x$ac_site_file" = xNONE && continue
2462 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2471 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2464$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2473$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2465 sed 's/^/| /' "$ac_site_file" >&5 2474 sed 's/^/| /' "$ac_site_file" >&5
2466 . "$ac_site_file" 2475 . "$ac_site_file" \
 2476 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 2477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 2478as_fn_error $? "failed to load site script $ac_site_file
 2479See \`config.log' for more details" "$LINENO" 5; }
2467 fi 2480 fi
2468done 2481done
2469 2482
2470if test -r "$cache_file"; then 2483if test -r "$cache_file"; then
2471 # Some versions of bash will fail to source /dev/null (special files 2484 # Some versions of bash will fail to source /dev/null (special files
2472 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2485 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2473 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2486 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2475$as_echo "$as_me: loading cache $cache_file" >&6;} 2488$as_echo "$as_me: loading cache $cache_file" >&6;}
2476 case $cache_file in 2489 case $cache_file in
2477 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2490 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2478 *) . "./$cache_file";; 2491 *) . "./$cache_file";;
2479 esac 2492 esac
@@ -2529,27 +2542,27 @@ $as_echo "$as_me: current value: \`$ac @@ -2529,27 +2542,27 @@ $as_echo "$as_me: current value: \`$ac
2529 *) ac_arg=$ac_var=$ac_new_val ;; 2542 *) ac_arg=$ac_var=$ac_new_val ;;
2530 esac 2543 esac
2531 case " $ac_configure_args " in 2544 case " $ac_configure_args " in
2532 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2545 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2533 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2546 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2534 esac 2547 esac
2535 fi 2548 fi
2536done 2549done
2537if $ac_cache_corrupted; then 2550if $ac_cache_corrupted; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2551 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2552$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2553 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2541$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2554$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2542 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2555 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2543fi 2556fi
2544## -------------------- ## 2557## -------------------- ##
2545## Main body of script. ## 2558## Main body of script. ##
2546## -------------------- ## 2559## -------------------- ##
2547 2560
2548ac_ext=c 2561ac_ext=c
2549ac_cpp='$CPP $CPPFLAGS' 2562ac_cpp='$CPP $CPPFLAGS'
2550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2563ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2564ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552ac_compiler_gnu=$ac_cv_c_compiler_gnu 2565ac_compiler_gnu=$ac_cv_c_compiler_gnu
2553 2566
2554 2567
2555ac_config_headers="$ac_config_headers nbcompat/config.h" 2568ac_config_headers="$ac_config_headers nbcompat/config.h"
@@ -2557,136 +2570,142 @@ ac_config_headers="$ac_config_headers nb @@ -2557,136 +2570,142 @@ ac_config_headers="$ac_config_headers nb
2557test "$program_prefix" != NONE && 2570test "$program_prefix" != NONE &&
2558 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2571 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2559# Use a double $ so make ignores it. 2572# Use a double $ so make ignores it.
2560test "$program_suffix" != NONE && 2573test "$program_suffix" != NONE &&
2561 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2574 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2562# Double any \ or $. 2575# Double any \ or $.
2563# By default was `s,x,x', remove it if useless. 2576# By default was `s,x,x', remove it if useless.
2564ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2577ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2565program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2578program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2566 2579
2567 2580
2568ac_aux_dir= 2581ac_aux_dir=
2569for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2582for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2570 for ac_t in install-sh install.sh shtool; do 2583 if test -f "$ac_dir/install-sh"; then
2571 if test -f "$ac_dir/$ac_t"; then 2584 ac_aux_dir=$ac_dir
2572 ac_aux_dir=$ac_dir 2585 ac_install_sh="$ac_aux_dir/install-sh -c"
2573 ac_install_sh="$ac_aux_dir/$ac_t -c" 2586 break
2574 break 2 2587 elif test -f "$ac_dir/install.sh"; then
2575 fi 2588 ac_aux_dir=$ac_dir
2576 done 2589 ac_install_sh="$ac_aux_dir/install.sh -c"
 2590 break
 2591 elif test -f "$ac_dir/shtool"; then
 2592 ac_aux_dir=$ac_dir
 2593 ac_install_sh="$ac_aux_dir/shtool install -c"
 2594 break
 2595 fi
2577done 2596done
2578if test -z "$ac_aux_dir"; then 2597if test -z "$ac_aux_dir"; then
2579 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2598 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2580fi 2599fi
2581 2600
2582# These three variables are undocumented and unsupported, 2601# These three variables are undocumented and unsupported,
2583# and are intended to be withdrawn in a future Autoconf release. 2602# and are intended to be withdrawn in a future Autoconf release.
2584# They can cause serious problems if a builder's source tree is in a directory 2603# They can cause serious problems if a builder's source tree is in a directory
2585# whose full name contains unusual characters. 2604# whose full name contains unusual characters.
2586ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2605ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2587ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2606ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2588ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2607ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2589 2608
2590 2609
2591# Make sure we can run config.sub. 2610# Make sure we can run config.sub.
2592$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2611$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2593 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2612 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2594 2613
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2596$as_echo_n "checking build system type... " >&6; } 2615$as_echo_n "checking build system type... " >&6; }
2597if test "${ac_cv_build+set}" = set; then : 2616if ${ac_cv_build+:} false; then :
2598 $as_echo_n "(cached) " >&6 2617 $as_echo_n "(cached) " >&6
2599else 2618else
2600 ac_build_alias=$build_alias 2619 ac_build_alias=$build_alias
2601test "x$ac_build_alias" = x && 2620test "x$ac_build_alias" = x &&
2602 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2621 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2603test "x$ac_build_alias" = x && 2622test "x$ac_build_alias" = x &&
2604 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2623 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2605ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2624ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2606 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2625 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2607 2626
2608fi 2627fi
2609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2610$as_echo "$ac_cv_build" >&6; } 2629$as_echo "$ac_cv_build" >&6; }
2611case $ac_cv_build in 2630case $ac_cv_build in
2612*-*-*) ;; 2631*-*-*) ;;
2613*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2632*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2614esac 2633esac
2615build=$ac_cv_build 2634build=$ac_cv_build
2616ac_save_IFS=$IFS; IFS='-' 2635ac_save_IFS=$IFS; IFS='-'
2617set x $ac_cv_build 2636set x $ac_cv_build
2618shift 2637shift
2619build_cpu=$1 2638build_cpu=$1
2620build_vendor=$2 2639build_vendor=$2
2621shift; shift 2640shift; shift
2622# Remember, the first character of IFS is used to create $*, 2641# Remember, the first character of IFS is used to create $*,
2623# except with old shells: 2642# except with old shells:
2624build_os=$* 2643build_os=$*
2625IFS=$ac_save_IFS 2644IFS=$ac_save_IFS
2626case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2645case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2627 2646
2628 2647
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2630$as_echo_n "checking host system type... " >&6; } 2649$as_echo_n "checking host system type... " >&6; }
2631if test "${ac_cv_host+set}" = set; then : 2650if ${ac_cv_host+:} false; then :
2632 $as_echo_n "(cached) " >&6 2651 $as_echo_n "(cached) " >&6
2633else 2652else
2634 if test "x$host_alias" = x; then 2653 if test "x$host_alias" = x; then
2635 ac_cv_host=$ac_cv_build 2654 ac_cv_host=$ac_cv_build
2636else 2655else
2637 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2656 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2638 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2657 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2639fi 2658fi
2640 2659
2641fi 2660fi
2642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2643$as_echo "$ac_cv_host" >&6; } 2662$as_echo "$ac_cv_host" >&6; }
2644case $ac_cv_host in 2663case $ac_cv_host in
2645*-*-*) ;; 2664*-*-*) ;;
2646*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2665*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2647esac 2666esac
2648host=$ac_cv_host 2667host=$ac_cv_host
2649ac_save_IFS=$IFS; IFS='-' 2668ac_save_IFS=$IFS; IFS='-'
2650set x $ac_cv_host 2669set x $ac_cv_host
2651shift 2670shift
2652host_cpu=$1 2671host_cpu=$1
2653host_vendor=$2 2672host_vendor=$2
2654shift; shift 2673shift; shift
2655# Remember, the first character of IFS is used to create $*, 2674# Remember, the first character of IFS is used to create $*,
2656# except with old shells: 2675# except with old shells:
2657host_os=$* 2676host_os=$*
2658IFS=$ac_save_IFS 2677IFS=$ac_save_IFS
2659case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2678case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2660 2679
2661 2680
2662CANONICAL_HOST=$host 2681CANONICAL_HOST=$host
2663 2682
2664 2683
2665 2684
2666# Checks for programs. 2685# Checks for programs.
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2668$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2687$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2669set x ${MAKE-make} 2688set x ${MAKE-make}
2670ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2689ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2671if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2690if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2672 $as_echo_n "(cached) " >&6 2691 $as_echo_n "(cached) " >&6
2673else 2692else
2674 cat >conftest.make <<\_ACEOF 2693 cat >conftest.make <<\_ACEOF
2675SHELL = /bin/sh 2694SHELL = /bin/sh
2676all: 2695all:
2677 @echo '@@@%%%=$(MAKE)=@@@%%%' 2696 @echo '@@@%%%=$(MAKE)=@@@%%%'
2678_ACEOF 2697_ACEOF
2679# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2698# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2680case `${MAKE-make} -f conftest.make 2>/dev/null` in 2699case `${MAKE-make} -f conftest.make 2>/dev/null` in
2681 *@@@%%%=?*=@@@%%%*) 2700 *@@@%%%=?*=@@@%%%*)
2682 eval ac_cv_prog_make_${ac_make}_set=yes;; 2701 eval ac_cv_prog_make_${ac_make}_set=yes;;
2683 *) 2702 *)
2684 eval ac_cv_prog_make_${ac_make}_set=no;; 2703 eval ac_cv_prog_make_${ac_make}_set=no;;
2685esac 2704esac
2686rm -f conftest.make 2705rm -f conftest.make
2687fi 2706fi
2688if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2707if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2690$as_echo "yes" >&6; } 2709$as_echo "yes" >&6; }
2691 SET_MAKE= 2710 SET_MAKE=
2692else 2711else
@@ -2695,27 +2714,27 @@ $as_echo "no" >&6; } @@ -2695,27 +2714,27 @@ $as_echo "no" >&6; }
2695 SET_MAKE="MAKE=${MAKE-make}" 2714 SET_MAKE="MAKE=${MAKE-make}"
2696fi 2715fi
2697 2716
2698ac_ext=c 2717ac_ext=c
2699ac_cpp='$CPP $CPPFLAGS' 2718ac_cpp='$CPP $CPPFLAGS'
2700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2719ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2720ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702ac_compiler_gnu=$ac_cv_c_compiler_gnu 2721ac_compiler_gnu=$ac_cv_c_compiler_gnu
2703if test -n "$ac_tool_prefix"; then 2722if test -n "$ac_tool_prefix"; then
2704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2723 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2705set dummy ${ac_tool_prefix}gcc; ac_word=$2 2724set dummy ${ac_tool_prefix}gcc; ac_word=$2
2706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707$as_echo_n "checking for $ac_word... " >&6; } 2726$as_echo_n "checking for $ac_word... " >&6; }
2708if test "${ac_cv_prog_CC+set}" = set; then : 2727if ${ac_cv_prog_CC+:} false; then :
2709 $as_echo_n "(cached) " >&6 2728 $as_echo_n "(cached) " >&6
2710else 2729else
2711 if test -n "$CC"; then 2730 if test -n "$CC"; then
2712 ac_cv_prog_CC="$CC" # Let the user override the test. 2731 ac_cv_prog_CC="$CC" # Let the user override the test.
2713else 2732else
2714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715for as_dir in $PATH 2734for as_dir in $PATH
2716do 2735do
2717 IFS=$as_save_IFS 2736 IFS=$as_save_IFS
2718 test -z "$as_dir" && as_dir=. 2737 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do 2738 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2740 ac_cv_prog_CC="${ac_tool_prefix}gcc"
@@ -2735,27 +2754,27 @@ $as_echo "$CC" >&6; } @@ -2735,27 +2754,27 @@ $as_echo "$CC" >&6; }
2735else 2754else
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737$as_echo "no" >&6; } 2756$as_echo "no" >&6; }
2738fi 2757fi
2739 2758
2740 2759
2741fi 2760fi
2742if test -z "$ac_cv_prog_CC"; then 2761if test -z "$ac_cv_prog_CC"; then
2743 ac_ct_CC=$CC 2762 ac_ct_CC=$CC
2744 # Extract the first word of "gcc", so it can be a program name with args. 2763 # Extract the first word of "gcc", so it can be a program name with args.
2745set dummy gcc; ac_word=$2 2764set dummy gcc; ac_word=$2
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747$as_echo_n "checking for $ac_word... " >&6; } 2766$as_echo_n "checking for $ac_word... " >&6; }
2748if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2767if ${ac_cv_prog_ac_ct_CC+:} false; then :
2749 $as_echo_n "(cached) " >&6 2768 $as_echo_n "(cached) " >&6
2750else 2769else
2751 if test -n "$ac_ct_CC"; then 2770 if test -n "$ac_ct_CC"; then
2752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2771 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2753else 2772else
2754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755for as_dir in $PATH 2774for as_dir in $PATH
2756do 2775do
2757 IFS=$as_save_IFS 2776 IFS=$as_save_IFS
2758 test -z "$as_dir" && as_dir=. 2777 test -z "$as_dir" && as_dir=.
2759 for ac_exec_ext in '' $ac_executable_extensions; do 2778 for ac_exec_ext in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 ac_cv_prog_ac_ct_CC="gcc" 2780 ac_cv_prog_ac_ct_CC="gcc"
@@ -2788,27 +2807,27 @@ ac_tool_warned=yes ;; @@ -2788,27 +2807,27 @@ ac_tool_warned=yes ;;
2788esac 2807esac
2789 CC=$ac_ct_CC 2808 CC=$ac_ct_CC
2790 fi 2809 fi
2791else 2810else
2792 CC="$ac_cv_prog_CC" 2811 CC="$ac_cv_prog_CC"
2793fi 2812fi
2794 2813
2795if test -z "$CC"; then 2814if test -z "$CC"; then
2796 if test -n "$ac_tool_prefix"; then 2815 if test -n "$ac_tool_prefix"; then
2797 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2816 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2798set dummy ${ac_tool_prefix}cc; ac_word=$2 2817set dummy ${ac_tool_prefix}cc; ac_word=$2
2799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800$as_echo_n "checking for $ac_word... " >&6; } 2819$as_echo_n "checking for $ac_word... " >&6; }
2801if test "${ac_cv_prog_CC+set}" = set; then : 2820if ${ac_cv_prog_CC+:} false; then :
2802 $as_echo_n "(cached) " >&6 2821 $as_echo_n "(cached) " >&6
2803else 2822else
2804 if test -n "$CC"; then 2823 if test -n "$CC"; then
2805 ac_cv_prog_CC="$CC" # Let the user override the test. 2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2806else 2825else
2807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2808for as_dir in $PATH 2827for as_dir in $PATH
2809do 2828do
2810 IFS=$as_save_IFS 2829 IFS=$as_save_IFS
2811 test -z "$as_dir" && as_dir=. 2830 test -z "$as_dir" && as_dir=.
2812 for ac_exec_ext in '' $ac_executable_extensions; do 2831 for ac_exec_ext in '' $ac_executable_extensions; do
2813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2814 ac_cv_prog_CC="${ac_tool_prefix}cc" 2833 ac_cv_prog_CC="${ac_tool_prefix}cc"
@@ -2828,27 +2847,27 @@ $as_echo "$CC" >&6; } @@ -2828,27 +2847,27 @@ $as_echo "$CC" >&6; }
2828else 2847else
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2830$as_echo "no" >&6; } 2849$as_echo "no" >&6; }
2831fi 2850fi
2832 2851
2833 2852
2834 fi 2853 fi
2835fi 2854fi
2836if test -z "$CC"; then 2855if test -z "$CC"; then
2837 # Extract the first word of "cc", so it can be a program name with args. 2856 # Extract the first word of "cc", so it can be a program name with args.
2838set dummy cc; ac_word=$2 2857set dummy cc; ac_word=$2
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840$as_echo_n "checking for $ac_word... " >&6; } 2859$as_echo_n "checking for $ac_word... " >&6; }
2841if test "${ac_cv_prog_CC+set}" = set; then : 2860if ${ac_cv_prog_CC+:} false; then :
2842 $as_echo_n "(cached) " >&6 2861 $as_echo_n "(cached) " >&6
2843else 2862else
2844 if test -n "$CC"; then 2863 if test -n "$CC"; then
2845 ac_cv_prog_CC="$CC" # Let the user override the test. 2864 ac_cv_prog_CC="$CC" # Let the user override the test.
2846else 2865else
2847 ac_prog_rejected=no 2866 ac_prog_rejected=no
2848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2849for as_dir in $PATH 2868for as_dir in $PATH
2850do 2869do
2851 IFS=$as_save_IFS 2870 IFS=$as_save_IFS
2852 test -z "$as_dir" && as_dir=. 2871 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do 2872 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -2887,27 +2906,27 @@ else @@ -2887,27 +2906,27 @@ else
2887$as_echo "no" >&6; } 2906$as_echo "no" >&6; }
2888fi 2907fi
2889 2908
2890 2909
2891fi 2910fi
2892if test -z "$CC"; then 2911if test -z "$CC"; then
2893 if test -n "$ac_tool_prefix"; then 2912 if test -n "$ac_tool_prefix"; then
2894 for ac_prog in cl.exe 2913 for ac_prog in cl.exe
2895 do 2914 do
2896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2897set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2916set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899$as_echo_n "checking for $ac_word... " >&6; } 2918$as_echo_n "checking for $ac_word... " >&6; }
2900if test "${ac_cv_prog_CC+set}" = set; then : 2919if ${ac_cv_prog_CC+:} false; then :
2901 $as_echo_n "(cached) " >&6 2920 $as_echo_n "(cached) " >&6
2902else 2921else
2903 if test -n "$CC"; then 2922 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test. 2923 ac_cv_prog_CC="$CC" # Let the user override the test.
2905else 2924else
2906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907for as_dir in $PATH 2926for as_dir in $PATH
2908do 2927do
2909 IFS=$as_save_IFS 2928 IFS=$as_save_IFS
2910 test -z "$as_dir" && as_dir=. 2929 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do 2930 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2932 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
@@ -2931,27 +2950,27 @@ fi @@ -2931,27 +2950,27 @@ fi
2931 2950
2932 2951
2933 test -n "$CC" && break 2952 test -n "$CC" && break
2934 done 2953 done
2935fi 2954fi
2936if test -z "$CC"; then 2955if test -z "$CC"; then
2937 ac_ct_CC=$CC 2956 ac_ct_CC=$CC
2938 for ac_prog in cl.exe 2957 for ac_prog in cl.exe
2939do 2958do
2940 # Extract the first word of "$ac_prog", so it can be a program name with args. 2959 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941set dummy $ac_prog; ac_word=$2 2960set dummy $ac_prog; ac_word=$2
2942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943$as_echo_n "checking for $ac_word... " >&6; } 2962$as_echo_n "checking for $ac_word... " >&6; }
2944if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2963if ${ac_cv_prog_ac_ct_CC+:} false; then :
2945 $as_echo_n "(cached) " >&6 2964 $as_echo_n "(cached) " >&6
2946else 2965else
2947 if test -n "$ac_ct_CC"; then 2966 if test -n "$ac_ct_CC"; then
2948 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2949else 2968else
2950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951for as_dir in $PATH 2970for as_dir in $PATH
2952do 2971do
2953 IFS=$as_save_IFS 2972 IFS=$as_save_IFS
2954 test -z "$as_dir" && as_dir=. 2973 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do 2974 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2957 ac_cv_prog_ac_ct_CC="$ac_prog" 2976 ac_cv_prog_ac_ct_CC="$ac_prog"
@@ -2985,28 +3004,28 @@ yes:) @@ -2985,28 +3004,28 @@ yes:)
2985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2987ac_tool_warned=yes ;; 3006ac_tool_warned=yes ;;
2988esac 3007esac
2989 CC=$ac_ct_CC 3008 CC=$ac_ct_CC
2990 fi 3009 fi
2991fi 3010fi
2992 3011
2993fi 3012fi
2994 3013
2995 3014
2996test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3015test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2997$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2998as_fn_error "no acceptable C compiler found in \$PATH 3017as_fn_error $? "no acceptable C compiler found in \$PATH
2999See \`config.log' for more details." "$LINENO" 5; } 3018See \`config.log' for more details" "$LINENO" 5; }
3000 3019
3001# Provide some information about the compiler. 3020# Provide some information about the compiler.
3002$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3021$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3003set X $ac_compile 3022set X $ac_compile
3004ac_compiler=$2 3023ac_compiler=$2
3005for ac_option in --version -v -V -qversion; do 3024for ac_option in --version -v -V -qversion; do
3006 { { ac_try="$ac_compiler $ac_option >&5" 3025 { { ac_try="$ac_compiler $ac_option >&5"
3007case "(($ac_try" in 3026case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;; 3028 *) ac_try_echo=$ac_try;;
3010esac 3029esac
3011eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3030eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012$as_echo "$ac_try_echo"; } >&5 3031$as_echo "$ac_try_echo"; } >&5
@@ -3100,29 +3119,28 @@ done @@ -3100,29 +3119,28 @@ done
3100test "$ac_cv_exeext" = no && ac_cv_exeext= 3119test "$ac_cv_exeext" = no && ac_cv_exeext=
3101 3120
3102else 3121else
3103 ac_file='' 3122 ac_file=''
3104fi 3123fi
3105if test -z "$ac_file"; then : 3124if test -z "$ac_file"; then :
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107$as_echo "no" >&6; } 3126$as_echo "no" >&6; }
3108$as_echo "$as_me: failed program was:" >&5 3127$as_echo "$as_me: failed program was:" >&5
3109sed 's/^/| /' conftest.$ac_ext >&5 3128sed 's/^/| /' conftest.$ac_ext >&5
3110 3129
3111{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3130{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113{ as_fn_set_status 77 3132as_fn_error 77 "C compiler cannot create executables
3114as_fn_error "C compiler cannot create executables 3133See \`config.log' for more details" "$LINENO" 5; }
3115See \`config.log' for more details." "$LINENO" 5; }; } 
3116else 3134else
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118$as_echo "yes" >&6; } 3136$as_echo "yes" >&6; }
3119fi 3137fi
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3121$as_echo_n "checking for C compiler default output file name... " >&6; } 3139$as_echo_n "checking for C compiler default output file name... " >&6; }
3122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3123$as_echo "$ac_file" >&6; } 3141$as_echo "$ac_file" >&6; }
3124ac_exeext=$ac_cv_exeext 3142ac_exeext=$ac_cv_exeext
3125 3143
3126rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3144rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3127ac_clean_files=$ac_clean_files_save 3145ac_clean_files=$ac_clean_files_save
3128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
@@ -3144,28 +3162,28 @@ $as_echo "$ac_try_echo"; } >&5 @@ -3144,28 +3162,28 @@ $as_echo "$ac_try_echo"; } >&5
3144# `rm'. 3162# `rm'.
3145for ac_file in conftest.exe conftest conftest.*; do 3163for ac_file in conftest.exe conftest conftest.*; do
3146 test -f "$ac_file" || continue 3164 test -f "$ac_file" || continue
3147 case $ac_file in 3165 case $ac_file in
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3167 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 break;; 3168 break;;
3151 * ) break;; 3169 * ) break;;
3152 esac 3170 esac
3153done 3171done
3154else 3172else
3155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3156$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3157as_fn_error "cannot compute suffix of executables: cannot compile and link 3175as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3158See \`config.log' for more details." "$LINENO" 5; } 3176See \`config.log' for more details" "$LINENO" 5; }
3159fi 3177fi
3160rm -f conftest conftest$ac_cv_exeext 3178rm -f conftest conftest$ac_cv_exeext
3161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3162$as_echo "$ac_cv_exeext" >&6; } 3180$as_echo "$ac_cv_exeext" >&6; }
3163 3181
3164rm -f conftest.$ac_ext 3182rm -f conftest.$ac_ext
3165EXEEXT=$ac_cv_exeext 3183EXEEXT=$ac_cv_exeext
3166ac_exeext=$EXEEXT 3184ac_exeext=$EXEEXT
3167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168/* end confdefs.h. */ 3186/* end confdefs.h. */
3169#include <stdio.h> 3187#include <stdio.h>
3170int 3188int
3171main () 3189main ()
@@ -3202,40 +3220,40 @@ esac @@ -3202,40 +3220,40 @@ esac
3202eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3220eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203$as_echo "$ac_try_echo"; } >&5 3221$as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_try") 2>&5 3222 (eval "$ac_try") 2>&5
3205 ac_status=$? 3223 ac_status=$?
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; }; }; then 3225 test $ac_status = 0; }; }; then
3208 cross_compiling=no 3226 cross_compiling=no
3209 else 3227 else
3210 if test "$cross_compiling" = maybe; then 3228 if test "$cross_compiling" = maybe; then
3211 cross_compiling=yes 3229 cross_compiling=yes
3212 else 3230 else
3213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3232$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215as_fn_error "cannot run C compiled programs. 3233as_fn_error $? "cannot run C compiled programs.
3216If you meant to cross compile, use \`--host'. 3234If you meant to cross compile, use \`--host'.
3217See \`config.log' for more details." "$LINENO" 5; } 3235See \`config.log' for more details" "$LINENO" 5; }
3218 fi 3236 fi
3219 fi 3237 fi
3220fi 3238fi
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3222$as_echo "$cross_compiling" >&6; } 3240$as_echo "$cross_compiling" >&6; }
3223 3241
3224rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3242rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3225ac_clean_files=$ac_clean_files_save 3243ac_clean_files=$ac_clean_files_save
3226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3227$as_echo_n "checking for suffix of object files... " >&6; } 3245$as_echo_n "checking for suffix of object files... " >&6; }
3228if test "${ac_cv_objext+set}" = set; then : 3246if ${ac_cv_objext+:} false; then :
3229 $as_echo_n "(cached) " >&6 3247 $as_echo_n "(cached) " >&6
3230else 3248else
3231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232/* end confdefs.h. */ 3250/* end confdefs.h. */
3233 3251
3234int 3252int
3235main () 3253main ()
3236{ 3254{
3237 3255
3238 ; 3256 ;
3239 return 0; 3257 return 0;
3240} 3258}
3241_ACEOF 3259_ACEOF
@@ -3255,38 +3273,38 @@ $as_echo "$ac_try_echo"; } >&5 @@ -3255,38 +3273,38 @@ $as_echo "$ac_try_echo"; } >&5
3255 test -f "$ac_file" || continue; 3273 test -f "$ac_file" || continue;
3256 case $ac_file in 3274 case $ac_file in
3257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3276 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259 break;; 3277 break;;
3260 esac 3278 esac
3261done 3279done
3262else 3280else
3263 $as_echo "$as_me: failed program was:" >&5 3281 $as_echo "$as_me: failed program was:" >&5
3264sed 's/^/| /' conftest.$ac_ext >&5 3282sed 's/^/| /' conftest.$ac_ext >&5
3265 3283
3266{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3284{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3268as_fn_error "cannot compute suffix of object files: cannot compile 3286as_fn_error $? "cannot compute suffix of object files: cannot compile
3269See \`config.log' for more details." "$LINENO" 5; } 3287See \`config.log' for more details" "$LINENO" 5; }
3270fi 3288fi
3271rm -f conftest.$ac_cv_objext conftest.$ac_ext 3289rm -f conftest.$ac_cv_objext conftest.$ac_ext
3272fi 3290fi
3273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3274$as_echo "$ac_cv_objext" >&6; } 3292$as_echo "$ac_cv_objext" >&6; }
3275OBJEXT=$ac_cv_objext 3293OBJEXT=$ac_cv_objext
3276ac_objext=$OBJEXT 3294ac_objext=$OBJEXT
3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3278$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3296$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3279if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3297if ${ac_cv_c_compiler_gnu+:} false; then :
3280 $as_echo_n "(cached) " >&6 3298 $as_echo_n "(cached) " >&6
3281else 3299else
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283/* end confdefs.h. */ 3301/* end confdefs.h. */
3284 3302
3285int 3303int
3286main () 3304main ()
3287{ 3305{
3288#ifndef __GNUC__ 3306#ifndef __GNUC__
3289 choke me 3307 choke me
3290#endif 3308#endif
3291 3309
3292 ; 3310 ;
@@ -3303,27 +3321,27 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu @@ -3303,27 +3321,27 @@ ac_cv_c_compiler_gnu=$ac_compiler_gnu
3303 3321
3304fi 3322fi
3305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3306$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3324$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3307if test $ac_compiler_gnu = yes; then 3325if test $ac_compiler_gnu = yes; then
3308 GCC=yes 3326 GCC=yes
3309else 3327else
3310 GCC= 3328 GCC=
3311fi 3329fi
3312ac_test_CFLAGS=${CFLAGS+set} 3330ac_test_CFLAGS=${CFLAGS+set}
3313ac_save_CFLAGS=$CFLAGS 3331ac_save_CFLAGS=$CFLAGS
3314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3315$as_echo_n "checking whether $CC accepts -g... " >&6; } 3333$as_echo_n "checking whether $CC accepts -g... " >&6; }
3316if test "${ac_cv_prog_cc_g+set}" = set; then : 3334if ${ac_cv_prog_cc_g+:} false; then :
3317 $as_echo_n "(cached) " >&6 3335 $as_echo_n "(cached) " >&6
3318else 3336else
3319 ac_save_c_werror_flag=$ac_c_werror_flag 3337 ac_save_c_werror_flag=$ac_c_werror_flag
3320 ac_c_werror_flag=yes 3338 ac_c_werror_flag=yes
3321 ac_cv_prog_cc_g=no 3339 ac_cv_prog_cc_g=no
3322 CFLAGS="-g" 3340 CFLAGS="-g"
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324/* end confdefs.h. */ 3342/* end confdefs.h. */
3325 3343
3326int 3344int
3327main () 3345main ()
3328{ 3346{
3329 3347
@@ -3381,27 +3399,27 @@ elif test $ac_cv_prog_cc_g = yes; then @@ -3381,27 +3399,27 @@ elif test $ac_cv_prog_cc_g = yes; then
3381 CFLAGS="-g -O2" 3399 CFLAGS="-g -O2"
3382 else 3400 else
3383 CFLAGS="-g" 3401 CFLAGS="-g"
3384 fi 3402 fi
3385else 3403else
3386 if test "$GCC" = yes; then 3404 if test "$GCC" = yes; then
3387 CFLAGS="-O2" 3405 CFLAGS="-O2"
3388 else 3406 else
3389 CFLAGS= 3407 CFLAGS=
3390 fi 3408 fi
3391fi 3409fi
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3393$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3411$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3394if test "${ac_cv_prog_cc_c89+set}" = set; then : 3412if ${ac_cv_prog_cc_c89+:} false; then :
3395 $as_echo_n "(cached) " >&6 3413 $as_echo_n "(cached) " >&6
3396else 3414else
3397 ac_cv_prog_cc_c89=no 3415 ac_cv_prog_cc_c89=no
3398ac_save_CC=$CC 3416ac_save_CC=$CC
3399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400/* end confdefs.h. */ 3418/* end confdefs.h. */
3401#include <stdarg.h> 3419#include <stdarg.h>
3402#include <stdio.h> 3420#include <stdio.h>
3403#include <sys/types.h> 3421#include <sys/types.h>
3404#include <sys/stat.h> 3422#include <sys/stat.h>
3405/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3423/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3406struct buf { int x; }; 3424struct buf { int x; };
3407FILE * (*rcsopen) (struct buf *, struct stat *, int); 3425FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -3493,27 +3511,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu @@ -3493,27 +3511,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3493# SunOS /usr/etc/install 3511# SunOS /usr/etc/install
3494# IRIX /sbin/install 3512# IRIX /sbin/install
3495# AIX /bin/install 3513# AIX /bin/install
3496# AmigaOS /C/install, which installs bootblocks on floppy discs 3514# AmigaOS /C/install, which installs bootblocks on floppy discs
3497# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3515# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3498# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3516# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3499# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3517# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3500# OS/2's system install, which has a completely different semantic 3518# OS/2's system install, which has a completely different semantic
3501# ./install, which can be erroneously created by make from ./install.sh. 3519# ./install, which can be erroneously created by make from ./install.sh.
3502# Reject install programs that cannot install multiple files. 3520# Reject install programs that cannot install multiple files.
3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3504$as_echo_n "checking for a BSD-compatible install... " >&6; } 3522$as_echo_n "checking for a BSD-compatible install... " >&6; }
3505if test -z "$INSTALL"; then 3523if test -z "$INSTALL"; then
3506if test "${ac_cv_path_install+set}" = set; then : 3524if ${ac_cv_path_install+:} false; then :
3507 $as_echo_n "(cached) " >&6 3525 $as_echo_n "(cached) " >&6
3508else 3526else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510for as_dir in $PATH 3528for as_dir in $PATH
3511do 3529do
3512 IFS=$as_save_IFS 3530 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=. 3531 test -z "$as_dir" && as_dir=.
3514 # Account for people who put trailing slashes in PATH elements. 3532 # Account for people who put trailing slashes in PATH elements.
3515case $as_dir/ in #(( 3533case $as_dir/ in #((
3516 ./ | .// | /[cC]/* | \ 3534 ./ | .// | /[cC]/* | \
3517 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3535 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3518 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3536 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3519 /usr/ucb/* ) ;; 3537 /usr/ucb/* ) ;;
@@ -3585,27 +3603,27 @@ LN_S=$as_ln_s @@ -3585,27 +3603,27 @@ LN_S=$as_ln_s
3585if test "$LN_S" = "ln -s"; then 3603if test "$LN_S" = "ln -s"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3587$as_echo "yes" >&6; } 3605$as_echo "yes" >&6; }
3588else 3606else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3590$as_echo "no, using $LN_S" >&6; } 3608$as_echo "no, using $LN_S" >&6; }
3591fi 3609fi
3592 3610
3593if test -n "$ac_tool_prefix"; then 3611if test -n "$ac_tool_prefix"; then
3594 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3595set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3613set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597$as_echo_n "checking for $ac_word... " >&6; } 3615$as_echo_n "checking for $ac_word... " >&6; }
3598if test "${ac_cv_prog_RANLIB+set}" = set; then : 3616if ${ac_cv_prog_RANLIB+:} false; then :
3599 $as_echo_n "(cached) " >&6 3617 $as_echo_n "(cached) " >&6
3600else 3618else
3601 if test -n "$RANLIB"; then 3619 if test -n "$RANLIB"; then
3602 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3603else 3621else
3604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605for as_dir in $PATH 3623for as_dir in $PATH
3606do 3624do
3607 IFS=$as_save_IFS 3625 IFS=$as_save_IFS
3608 test -z "$as_dir" && as_dir=. 3626 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do 3627 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
@@ -3625,27 +3643,27 @@ $as_echo "$RANLIB" >&6; } @@ -3625,27 +3643,27 @@ $as_echo "$RANLIB" >&6; }
3625else 3643else
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627$as_echo "no" >&6; } 3645$as_echo "no" >&6; }
3628fi 3646fi
3629 3647
3630 3648
3631fi 3649fi
3632if test -z "$ac_cv_prog_RANLIB"; then 3650if test -z "$ac_cv_prog_RANLIB"; then
3633 ac_ct_RANLIB=$RANLIB 3651 ac_ct_RANLIB=$RANLIB
3634 # Extract the first word of "ranlib", so it can be a program name with args. 3652 # Extract the first word of "ranlib", so it can be a program name with args.
3635set dummy ranlib; ac_word=$2 3653set dummy ranlib; ac_word=$2
3636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637$as_echo_n "checking for $ac_word... " >&6; } 3655$as_echo_n "checking for $ac_word... " >&6; }
3638if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3656if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3639 $as_echo_n "(cached) " >&6 3657 $as_echo_n "(cached) " >&6
3640else 3658else
3641 if test -n "$ac_ct_RANLIB"; then 3659 if test -n "$ac_ct_RANLIB"; then
3642 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3643else 3661else
3644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645for as_dir in $PATH 3663for as_dir in $PATH
3646do 3664do
3647 IFS=$as_save_IFS 3665 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=. 3666 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do 3667 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_ac_ct_RANLIB="ranlib" 3669 ac_cv_prog_ac_ct_RANLIB="ranlib"
@@ -3678,27 +3696,27 @@ ac_tool_warned=yes ;; @@ -3678,27 +3696,27 @@ ac_tool_warned=yes ;;
3678esac 3696esac
3679 RANLIB=$ac_ct_RANLIB 3697 RANLIB=$ac_ct_RANLIB
3680 fi 3698 fi
3681else 3699else
3682 RANLIB="$ac_cv_prog_RANLIB" 3700 RANLIB="$ac_cv_prog_RANLIB"
3683fi 3701fi
3684 3702
3685for ac_prog in gawk mawk nawk awk 3703for ac_prog in gawk mawk nawk awk
3686do 3704do
3687 # Extract the first word of "$ac_prog", so it can be a program name with args. 3705 # Extract the first word of "$ac_prog", so it can be a program name with args.
3688set dummy $ac_prog; ac_word=$2 3706set dummy $ac_prog; ac_word=$2
3689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690$as_echo_n "checking for $ac_word... " >&6; } 3708$as_echo_n "checking for $ac_word... " >&6; }
3691if test "${ac_cv_prog_AWK+set}" = set; then : 3709if ${ac_cv_prog_AWK+:} false; then :
3692 $as_echo_n "(cached) " >&6 3710 $as_echo_n "(cached) " >&6
3693else 3711else
3694 if test -n "$AWK"; then 3712 if test -n "$AWK"; then
3695 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3713 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3696else 3714else
3697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698for as_dir in $PATH 3716for as_dir in $PATH
3699do 3717do
3700 IFS=$as_save_IFS 3718 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=. 3719 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do 3720 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_prog_AWK="$ac_prog" 3722 ac_cv_prog_AWK="$ac_prog"
@@ -3718,27 +3736,27 @@ $as_echo "$AWK" >&6; } @@ -3718,27 +3736,27 @@ $as_echo "$AWK" >&6; }
3718else 3736else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720$as_echo "no" >&6; } 3738$as_echo "no" >&6; }
3721fi 3739fi
3722 3740
3723 3741
3724 test -n "$AWK" && break 3742 test -n "$AWK" && break
3725done 3743done
3726 3744
3727# Extract the first word of "ar", so it can be a program name with args. 3745# Extract the first word of "ar", so it can be a program name with args.
3728set dummy ar; ac_word=$2 3746set dummy ar; ac_word=$2
3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730$as_echo_n "checking for $ac_word... " >&6; } 3748$as_echo_n "checking for $ac_word... " >&6; }
3731if test "${ac_cv_prog_AR+set}" = set; then : 3749if ${ac_cv_prog_AR+:} false; then :
3732 $as_echo_n "(cached) " >&6 3750 $as_echo_n "(cached) " >&6
3733else 3751else
3734 if test -n "$AR"; then 3752 if test -n "$AR"; then
3735 ac_cv_prog_AR="$AR" # Let the user override the test. 3753 ac_cv_prog_AR="$AR" # Let the user override the test.
3736else 3754else
3737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738for as_dir in $PATH 3756for as_dir in $PATH
3739do 3757do
3740 IFS=$as_save_IFS 3758 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=. 3759 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do 3760 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_AR="ar" 3762 ac_cv_prog_AR="ar"
@@ -3760,27 +3778,27 @@ else @@ -3760,27 +3778,27 @@ else
3760$as_echo "no" >&6; } 3778$as_echo "no" >&6; }
3761fi 3779fi
3762 3780
3763 3781
3764 3782
3765AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} 3783AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"}
3766 3784
3767AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} 3785AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"}
3768 3786
3769 3787
3770 3788
3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 3789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5
3772$as_echo_n "checking for fparseln in -lutil... " >&6; } 3790$as_echo_n "checking for fparseln in -lutil... " >&6; }
3773if test "${ac_cv_lib_util_fparseln+set}" = set; then : 3791if ${ac_cv_lib_util_fparseln+:} false; then :
3774 $as_echo_n "(cached) " >&6 3792 $as_echo_n "(cached) " >&6
3775else 3793else
3776 ac_check_lib_save_LIBS=$LIBS 3794 ac_check_lib_save_LIBS=$LIBS
3777LIBS="-lutil $LIBS" 3795LIBS="-lutil $LIBS"
3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3796cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779/* end confdefs.h. */ 3797/* end confdefs.h. */
3780 3798
3781/* Override any GCC internal prototype to avoid an error. 3799/* Override any GCC internal prototype to avoid an error.
3782 Use char because int might match the return type of a GCC 3800 Use char because int might match the return type of a GCC
3783 builtin and then its argument prototype would still apply. */ 3801 builtin and then its argument prototype would still apply. */
3784#ifdef __cplusplus 3802#ifdef __cplusplus
3785extern "C" 3803extern "C"
3786#endif 3804#endif
@@ -3794,49 +3812,49 @@ return fparseln (); @@ -3794,49 +3812,49 @@ return fparseln ();
3794} 3812}
3795_ACEOF 3813_ACEOF
3796if ac_fn_c_try_link "$LINENO"; then : 3814if ac_fn_c_try_link "$LINENO"; then :
3797 ac_cv_lib_util_fparseln=yes 3815 ac_cv_lib_util_fparseln=yes
3798else 3816else
3799 ac_cv_lib_util_fparseln=no 3817 ac_cv_lib_util_fparseln=no
3800fi 3818fi
3801rm -f core conftest.err conftest.$ac_objext \ 3819rm -f core conftest.err conftest.$ac_objext \
3802 conftest$ac_exeext conftest.$ac_ext 3820 conftest$ac_exeext conftest.$ac_ext
3803LIBS=$ac_check_lib_save_LIBS 3821LIBS=$ac_check_lib_save_LIBS
3804fi 3822fi
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5 3823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5
3806$as_echo "$ac_cv_lib_util_fparseln" >&6; } 3824$as_echo "$ac_cv_lib_util_fparseln" >&6; }
3807if test "x$ac_cv_lib_util_fparseln" = x""yes; then : 3825if test "x$ac_cv_lib_util_fparseln" = xyes; then :
3808 cat >>confdefs.h <<_ACEOF 3826 cat >>confdefs.h <<_ACEOF
3809#define HAVE_LIBUTIL 1 3827#define HAVE_LIBUTIL 1
3810_ACEOF 3828_ACEOF
3811 3829
3812 LIBS="-lutil $LIBS" 3830 LIBS="-lutil $LIBS"
3813 3831
3814fi 3832fi
3815 3833
3816 3834
3817ac_ext=c 3835ac_ext=c
3818ac_cpp='$CPP $CPPFLAGS' 3836ac_cpp='$CPP $CPPFLAGS'
3819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821ac_compiler_gnu=$ac_cv_c_compiler_gnu 3839ac_compiler_gnu=$ac_cv_c_compiler_gnu
3822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3823$as_echo_n "checking how to run the C preprocessor... " >&6; } 3841$as_echo_n "checking how to run the C preprocessor... " >&6; }
3824# On Suns, sometimes $CPP names a directory. 3842# On Suns, sometimes $CPP names a directory.
3825if test -n "$CPP" && test -d "$CPP"; then 3843if test -n "$CPP" && test -d "$CPP"; then
3826 CPP= 3844 CPP=
3827fi 3845fi
3828if test -z "$CPP"; then 3846if test -z "$CPP"; then
3829 if test "${ac_cv_prog_CPP+set}" = set; then : 3847 if ${ac_cv_prog_CPP+:} false; then :
3830 $as_echo_n "(cached) " >&6 3848 $as_echo_n "(cached) " >&6
3831else 3849else
3832 # Double quotes because CPP needs to be expanded 3850 # Double quotes because CPP needs to be expanded
3833 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3851 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3834 do 3852 do
3835 ac_preproc_ok=false 3853 ac_preproc_ok=false
3836for ac_c_preproc_warn_flag in '' yes 3854for ac_c_preproc_warn_flag in '' yes
3837do 3855do
3838 # Use a header file that comes with gcc, so configuring glibc 3856 # Use a header file that comes with gcc, so configuring glibc
3839 # with a fresh cross-compiler works. 3857 # with a fresh cross-compiler works.
3840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3858 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3841 # <limits.h> exists even on freestanding compilers. 3859 # <limits.h> exists even on freestanding compilers.
3842 # On the NeXT, cc -E runs the code through the compiler's parser, 3860 # On the NeXT, cc -E runs the code through the compiler's parser,
@@ -3846,47 +3864,47 @@ do @@ -3846,47 +3864,47 @@ do
3846#ifdef __STDC__ 3864#ifdef __STDC__
3847# include <limits.h> 3865# include <limits.h>
3848#else 3866#else
3849# include <assert.h> 3867# include <assert.h>
3850#endif 3868#endif
3851 Syntax error 3869 Syntax error
3852_ACEOF 3870_ACEOF
3853if ac_fn_c_try_cpp "$LINENO"; then : 3871if ac_fn_c_try_cpp "$LINENO"; then :
3854 3872
3855else 3873else
3856 # Broken: fails on valid input. 3874 # Broken: fails on valid input.
3857continue 3875continue
3858fi 3876fi
3859rm -f conftest.err conftest.$ac_ext 3877rm -f conftest.err conftest.i conftest.$ac_ext
3860 3878
3861 # OK, works on sane cases. Now check whether nonexistent headers 3879 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how. 3880 # can be detected and how.
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864/* end confdefs.h. */ 3882/* end confdefs.h. */
3865#include <ac_nonexistent.h> 3883#include <ac_nonexistent.h>
3866_ACEOF 3884_ACEOF
3867if ac_fn_c_try_cpp "$LINENO"; then : 3885if ac_fn_c_try_cpp "$LINENO"; then :
3868 # Broken: success on invalid input. 3886 # Broken: success on invalid input.
3869continue 3887continue
3870else 3888else
3871 # Passes both tests. 3889 # Passes both tests.
3872ac_preproc_ok=: 3890ac_preproc_ok=:
3873break 3891break
3874fi 3892fi
3875rm -f conftest.err conftest.$ac_ext 3893rm -f conftest.err conftest.i conftest.$ac_ext
3876 3894
3877done 3895done
3878# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3896# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3879rm -f conftest.err conftest.$ac_ext 3897rm -f conftest.i conftest.err conftest.$ac_ext
3880if $ac_preproc_ok; then : 3898if $ac_preproc_ok; then :
3881 break 3899 break
3882fi 3900fi
3883 3901
3884 done 3902 done
3885 ac_cv_prog_CPP=$CPP 3903 ac_cv_prog_CPP=$CPP
3886 3904
3887fi 3905fi
3888 CPP=$ac_cv_prog_CPP 3906 CPP=$ac_cv_prog_CPP
3889else 3907else
3890 ac_cv_prog_CPP=$CPP 3908 ac_cv_prog_CPP=$CPP
3891fi 3909fi
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
@@ -3905,66 +3923,66 @@ do @@ -3905,66 +3923,66 @@ do
3905#ifdef __STDC__ 3923#ifdef __STDC__
3906# include <limits.h> 3924# include <limits.h>
3907#else 3925#else
3908# include <assert.h> 3926# include <assert.h>
3909#endif 3927#endif
3910 Syntax error 3928 Syntax error
3911_ACEOF 3929_ACEOF
3912if ac_fn_c_try_cpp "$LINENO"; then : 3930if ac_fn_c_try_cpp "$LINENO"; then :
3913 3931
3914else 3932else
3915 # Broken: fails on valid input. 3933 # Broken: fails on valid input.
3916continue 3934continue
3917fi 3935fi
3918rm -f conftest.err conftest.$ac_ext 3936rm -f conftest.err conftest.i conftest.$ac_ext
3919 3937
3920 # OK, works on sane cases. Now check whether nonexistent headers 3938 # OK, works on sane cases. Now check whether nonexistent headers
3921 # can be detected and how. 3939 # can be detected and how.
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923/* end confdefs.h. */ 3941/* end confdefs.h. */
3924#include <ac_nonexistent.h> 3942#include <ac_nonexistent.h>
3925_ACEOF 3943_ACEOF
3926if ac_fn_c_try_cpp "$LINENO"; then : 3944if ac_fn_c_try_cpp "$LINENO"; then :
3927 # Broken: success on invalid input. 3945 # Broken: success on invalid input.
3928continue 3946continue
3929else 3947else
3930 # Passes both tests. 3948 # Passes both tests.
3931ac_preproc_ok=: 3949ac_preproc_ok=:
3932break 3950break
3933fi 3951fi
3934rm -f conftest.err conftest.$ac_ext 3952rm -f conftest.err conftest.i conftest.$ac_ext
3935 3953
3936done 3954done
3937# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3955# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3938rm -f conftest.err conftest.$ac_ext 3956rm -f conftest.i conftest.err conftest.$ac_ext
3939if $ac_preproc_ok; then : 3957if $ac_preproc_ok; then :
3940 3958
3941else 3959else
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3961$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944as_fn_error "C preprocessor \"$CPP\" fails sanity check 3962as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3945See \`config.log' for more details." "$LINENO" 5; } 3963See \`config.log' for more details" "$LINENO" 5; }
3946fi 3964fi
3947 3965
3948ac_ext=c 3966ac_ext=c
3949ac_cpp='$CPP $CPPFLAGS' 3967ac_cpp='$CPP $CPPFLAGS'
3950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3968ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3969ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3952ac_compiler_gnu=$ac_cv_c_compiler_gnu 3970ac_compiler_gnu=$ac_cv_c_compiler_gnu
3953 3971
3954 3972
3955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3956$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3974$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3957if test "${ac_cv_path_GREP+set}" = set; then : 3975if ${ac_cv_path_GREP+:} false; then :
3958 $as_echo_n "(cached) " >&6 3976 $as_echo_n "(cached) " >&6
3959else 3977else
3960 if test -z "$GREP"; then 3978 if test -z "$GREP"; then
3961 ac_path_GREP_found=false 3979 ac_path_GREP_found=false
3962 # Loop through the user's path and test for each of PROGNAME-LIST 3980 # Loop through the user's path and test for each of PROGNAME-LIST
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3982for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3965do 3983do
3966 IFS=$as_save_IFS 3984 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=. 3985 test -z "$as_dir" && as_dir=.
3968 for ac_prog in grep ggrep; do 3986 for ac_prog in grep ggrep; do
3969 for ac_exec_ext in '' $ac_executable_extensions; do 3987 for ac_exec_ext in '' $ac_executable_extensions; do
3970 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3988 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
@@ -3993,41 +4011,41 @@ case `"$ac_path_GREP" --version 2>&1` in @@ -3993,41 +4011,41 @@ case `"$ac_path_GREP" --version 2>&1` in
3993 fi 4011 fi
3994 # 10*(2^10) chars as input seems more than enough 4012 # 10*(2^10) chars as input seems more than enough
3995 test $ac_count -gt 10 && break 4013 test $ac_count -gt 10 && break
3996 done 4014 done
3997 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3998esac 4016esac
3999 4017
4000 $ac_path_GREP_found && break 3 4018 $ac_path_GREP_found && break 3
4001 done 4019 done
4002 done 4020 done
4003 done 4021 done
4004IFS=$as_save_IFS 4022IFS=$as_save_IFS
4005 if test -z "$ac_cv_path_GREP"; then 4023 if test -z "$ac_cv_path_GREP"; then
4006 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4024 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4007 fi 4025 fi
4008else 4026else
4009 ac_cv_path_GREP=$GREP 4027 ac_cv_path_GREP=$GREP
4010fi 4028fi
4011 4029
4012fi 4030fi
4013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4014$as_echo "$ac_cv_path_GREP" >&6; } 4032$as_echo "$ac_cv_path_GREP" >&6; }
4015 GREP="$ac_cv_path_GREP" 4033 GREP="$ac_cv_path_GREP"
4016 4034
4017 4035
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4019$as_echo_n "checking for egrep... " >&6; } 4037$as_echo_n "checking for egrep... " >&6; }
4020if test "${ac_cv_path_EGREP+set}" = set; then : 4038if ${ac_cv_path_EGREP+:} false; then :
4021 $as_echo_n "(cached) " >&6 4039 $as_echo_n "(cached) " >&6
4022else 4040else
4023 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4041 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4024 then ac_cv_path_EGREP="$GREP -E" 4042 then ac_cv_path_EGREP="$GREP -E"
4025 else 4043 else
4026 if test -z "$EGREP"; then 4044 if test -z "$EGREP"; then
4027 ac_path_EGREP_found=false 4045 ac_path_EGREP_found=false
4028 # Loop through the user's path and test for each of PROGNAME-LIST 4046 # Loop through the user's path and test for each of PROGNAME-LIST
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4048for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4031do 4049do
4032 IFS=$as_save_IFS 4050 IFS=$as_save_IFS
4033 test -z "$as_dir" && as_dir=. 4051 test -z "$as_dir" && as_dir=.
@@ -4059,42 +4077,42 @@ case `"$ac_path_EGREP" --version 2>&1` i @@ -4059,42 +4077,42 @@ case `"$ac_path_EGREP" --version 2>&1` i
4059 fi 4077 fi
4060 # 10*(2^10) chars as input seems more than enough 4078 # 10*(2^10) chars as input seems more than enough
4061 test $ac_count -gt 10 && break 4079 test $ac_count -gt 10 && break
4062 done 4080 done
4063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4081 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4064esac 4082esac
4065 4083
4066 $ac_path_EGREP_found && break 3 4084 $ac_path_EGREP_found && break 3
4067 done 4085 done
4068 done 4086 done
4069 done 4087 done
4070IFS=$as_save_IFS 4088IFS=$as_save_IFS
4071 if test -z "$ac_cv_path_EGREP"; then 4089 if test -z "$ac_cv_path_EGREP"; then
4072 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4090 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4073 fi 4091 fi
4074else 4092else
4075 ac_cv_path_EGREP=$EGREP 4093 ac_cv_path_EGREP=$EGREP
4076fi 4094fi
4077 4095
4078 fi 4096 fi
4079fi 4097fi
4080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4081$as_echo "$ac_cv_path_EGREP" >&6; } 4099$as_echo "$ac_cv_path_EGREP" >&6; }
4082 EGREP="$ac_cv_path_EGREP" 4100 EGREP="$ac_cv_path_EGREP"
4083 4101
4084 4102
4085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4086$as_echo_n "checking for ANSI C header files... " >&6; } 4104$as_echo_n "checking for ANSI C header files... " >&6; }
4087if test "${ac_cv_header_stdc+set}" = set; then : 4105if ${ac_cv_header_stdc+:} false; then :
4088 $as_echo_n "(cached) " >&6 4106 $as_echo_n "(cached) " >&6
4089else 4107else
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091/* end confdefs.h. */ 4109/* end confdefs.h. */
4092#include <stdlib.h> 4110#include <stdlib.h>
4093#include <stdarg.h> 4111#include <stdarg.h>
4094#include <string.h> 4112#include <string.h>
4095#include <float.h> 4113#include <float.h>
4096 4114
4097int 4115int
4098main () 4116main ()
4099{ 4117{
4100 4118
@@ -4186,27 +4204,27 @@ fi @@ -4186,27 +4204,27 @@ fi
4186 4204
4187fi 4205fi
4188fi 4206fi
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4190$as_echo "$ac_cv_header_stdc" >&6; } 4208$as_echo "$ac_cv_header_stdc" >&6; }
4191if test $ac_cv_header_stdc = yes; then 4209if test $ac_cv_header_stdc = yes; then
4192 4210
4193$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4211$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4194 4212
4195fi 4213fi
4196 4214
4197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 4215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4198$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4216$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4199if test "${ac_cv_header_time+set}" = set; then : 4217if ${ac_cv_header_time+:} false; then :
4200 $as_echo_n "(cached) " >&6 4218 $as_echo_n "(cached) " >&6
4201else 4219else
4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4203/* end confdefs.h. */ 4221/* end confdefs.h. */
4204#include <sys/types.h> 4222#include <sys/types.h>
4205#include <sys/time.h> 4223#include <sys/time.h>
4206#include <time.h> 4224#include <time.h>
4207 4225
4208int 4226int
4209main () 4227main ()
4210{ 4228{
4211if ((struct tm *) 0) 4229if ((struct tm *) 0)
4212return 0; 4230return 0;
@@ -4226,40 +4244,39 @@ $as_echo "$ac_cv_header_time" >&6; } @@ -4226,40 +4244,39 @@ $as_echo "$ac_cv_header_time" >&6; }
4226if test $ac_cv_header_time = yes; then 4244if test $ac_cv_header_time = yes; then
4227 4245
4228$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4246$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4229 4247
4230fi 4248fi
4231 4249
4232# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4250# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4233for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4251for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4234 inttypes.h stdint.h unistd.h 4252 inttypes.h stdint.h unistd.h
4235do : 4253do :
4236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4254 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4237ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4255ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4238" 4256"
4239eval as_val=\$$as_ac_Header 4257if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4240 if test "x$as_val" = x""yes; then : 
4241 cat >>confdefs.h <<_ACEOF 4258 cat >>confdefs.h <<_ACEOF
4242#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4259#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4243_ACEOF 4260_ACEOF
4244 4261
4245fi 4262fi
4246 4263
4247done 4264done
4248 4265
4249 4266
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 4267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4251$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 4268$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4252if test "${ac_cv_header_stdbool_h+set}" = set; then : 4269if ${ac_cv_header_stdbool_h+:} false; then :
4253 $as_echo_n "(cached) " >&6 4270 $as_echo_n "(cached) " >&6
4254else 4271else
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256/* end confdefs.h. */ 4273/* end confdefs.h. */
4257 4274
4258#include <stdbool.h> 4275#include <stdbool.h>
4259#ifndef bool 4276#ifndef bool
4260 "error: bool is not defined" 4277 "error: bool is not defined"
4261#endif 4278#endif
4262#ifndef false 4279#ifndef false
4263 "error: false is not defined" 4280 "error: false is not defined"
4264#endif 4281#endif
4265#if false 4282#if false
@@ -4271,88 +4288,70 @@ else @@ -4271,88 +4288,70 @@ else
4271#if true != 1 4288#if true != 1
4272 "error: true is not 1" 4289 "error: true is not 1"
4273#endif 4290#endif
4274#ifndef __bool_true_false_are_defined 4291#ifndef __bool_true_false_are_defined
4275 "error: __bool_true_false_are_defined is not defined" 4292 "error: __bool_true_false_are_defined is not defined"
4276#endif 4293#endif
4277 4294
4278 struct s { _Bool s: 1; _Bool t; } s; 4295 struct s { _Bool s: 1; _Bool t; } s;
4279 4296
4280 char a[true == 1 ? 1 : -1]; 4297 char a[true == 1 ? 1 : -1];
4281 char b[false == 0 ? 1 : -1]; 4298 char b[false == 0 ? 1 : -1];
4282 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 4299 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4283 char d[(bool) 0.5 == true ? 1 : -1]; 4300 char d[(bool) 0.5 == true ? 1 : -1];
4284 bool e = &s; 4301 /* See body of main program for 'e'. */
4285 char f[(_Bool) 0.0 == false ? 1 : -1]; 4302 char f[(_Bool) 0.0 == false ? 1 : -1];
4286 char g[true]; 4303 char g[true];
4287 char h[sizeof (_Bool)]; 4304 char h[sizeof (_Bool)];
4288 char i[sizeof s.t]; 4305 char i[sizeof s.t];
4289 enum { j = false, k = true, l = false * true, m = true * 256 }; 4306 enum { j = false, k = true, l = false * true, m = true * 256 };
4290 /* The following fails for 4307 /* The following fails for
4291 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 4308 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4292 _Bool n[m]; 4309 _Bool n[m];
4293 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 4310 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4294 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 4311 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4295# if defined __xlc__ || defined __GNUC__ 
4296 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 
4297 reported by James Lemley on 2005-10-05; see 
4298 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 
4299 This test is not quite right, since xlc is allowed to 
4300 reject this program, as the initializer for xlcbug is 
4301 not one of the forms that C requires support for. 
4302 However, doing the test right would require a runtime 
4303 test, and that would make cross-compilation harder. 
4304 Let us hope that IBM fixes the xlc bug, and also adds 
4305 support for this kind of constant expression. In the 
4306 meantime, this test will reject xlc, which is OK, since 
4307 our stdbool.h substitute should suffice. We also test 
4308 this with GCC, where it should work, to detect more 
4309 quickly whether someone messes up the test in the 
4310 future. */ 
4311 char digs[] = "0123456789"; 
4312 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 
4313# endif 
4314 /* Catch a bug in an HP-UX C compiler. See 4312 /* Catch a bug in an HP-UX C compiler. See
4315 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 4313 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4316 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 4314 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4317 */ 4315 */
4318 _Bool q = true; 4316 _Bool q = true;
4319 _Bool *pq = &q; 4317 _Bool *pq = &q;
4320 4318
4321int 4319int
4322main () 4320main ()
4323{ 4321{
4324 4322
 4323 bool e = &s;
4325 *pq |= q; 4324 *pq |= q;
4326 *pq |= ! q; 4325 *pq |= ! q;
4327 /* Refer to every declared value, to avoid compiler optimizations. */ 4326 /* Refer to every declared value, to avoid compiler optimizations. */
4328 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 4327 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4329 + !m + !n + !o + !p + !q + !pq); 4328 + !m + !n + !o + !p + !q + !pq);
4330 4329
4331 ; 4330 ;
4332 return 0; 4331 return 0;
4333} 4332}
4334_ACEOF 4333_ACEOF
4335if ac_fn_c_try_compile "$LINENO"; then : 4334if ac_fn_c_try_compile "$LINENO"; then :
4336 ac_cv_header_stdbool_h=yes 4335 ac_cv_header_stdbool_h=yes
4337else 4336else
4338 ac_cv_header_stdbool_h=no 4337 ac_cv_header_stdbool_h=no
4339fi 4338fi
4340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4341fi 4340fi
4342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 4341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4343$as_echo "$ac_cv_header_stdbool_h" >&6; } 4342$as_echo "$ac_cv_header_stdbool_h" >&6; }
4344ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 4343ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4345if test "x$ac_cv_type__Bool" = x""yes; then : 4344if test "x$ac_cv_type__Bool" = xyes; then :
4346 4345
4347cat >>confdefs.h <<_ACEOF 4346cat >>confdefs.h <<_ACEOF
4348#define HAVE__BOOL 1 4347#define HAVE__BOOL 1
4349_ACEOF 4348_ACEOF
4350 4349
4351 4350
4352fi 4351fi
4353 4352
4354if test $ac_cv_header_stdbool_h = yes; then 4353if test $ac_cv_header_stdbool_h = yes; then
4355 4354
4356$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 4355$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4357 4356
4358fi 4357fi
@@ -4361,109 +4360,108 @@ fi @@ -4361,109 +4360,108 @@ fi
4361for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \ 4360for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \
4362 fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ 4361 fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \
4363 machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ 4362 machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \
4364 stdarg.h stddef.h stdint.h stdio.h \ 4363 stdarg.h stddef.h stdint.h stdio.h \
4365 stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ 4364 stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \
4366 sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \ 4365 sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \
4367 sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \ 4366 sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \
4368 sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \ 4367 sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \
4369 util.h utime.h 4368 util.h utime.h
4370 4369
4371do : 4370do :
4372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4371 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4373ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4372ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4374eval as_val=\$$as_ac_Header 4373if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4375 if test "x$as_val" = x""yes; then : 
4376 cat >>confdefs.h <<_ACEOF 4374 cat >>confdefs.h <<_ACEOF
4377#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4375#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4378_ACEOF 4376_ACEOF
4379 4377
4380fi 4378fi
4381 4379
4382done 4380done
4383 4381
4384for ac_header in sys/mount.h 4382for ac_header in sys/mount.h
4385do : 4383do :
4386 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " 4384 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "
4387 $ac_includes_default 4385 $ac_includes_default
4388 #ifdef HAVE_SYS_PARAM_H 4386 #ifdef HAVE_SYS_PARAM_H
4389 #include <sys/param.h> 4387 #include <sys/param.h>
4390 #endif 4388 #endif
4391 4389
4392" 4390"
4393if test "x$ac_cv_header_sys_mount_h" = x""yes; then : 4391if test "x$ac_cv_header_sys_mount_h" = xyes; then :
4394 cat >>confdefs.h <<_ACEOF 4392 cat >>confdefs.h <<_ACEOF
4395#define HAVE_SYS_MOUNT_H 1 4393#define HAVE_SYS_MOUNT_H 1
4396_ACEOF 4394_ACEOF
4397 : 4395 :
4398else 4396else
4399 : 4397 :
4400fi 4398fi
4401 4399
4402done 4400done
4403 4401
4404 4402
4405for ac_header in glob.h 4403for ac_header in glob.h
4406do : 4404do :
4407 ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" 4405 ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default"
4408if test "x$ac_cv_header_glob_h" = x""yes; then : 4406if test "x$ac_cv_header_glob_h" = xyes; then :
4409 cat >>confdefs.h <<_ACEOF 4407 cat >>confdefs.h <<_ACEOF
4410#define HAVE_GLOB_H 1 4408#define HAVE_GLOB_H 1
4411_ACEOF 4409_ACEOF
4412 4410
4413fi 4411fi
4414 4412
4415done 4413done
4416 4414
4417$as_echo "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h 4415$as_echo "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h
4418 4416
4419 4417
4420case " $LIBOBJS " in 4418case " $LIBOBJS " in
4421 *" glob.$ac_objext "* ) ;; 4419 *" glob.$ac_objext "* ) ;;
4422 *) LIBOBJS="$LIBOBJS glob.$ac_objext" 4420 *) LIBOBJS="$LIBOBJS glob.$ac_objext"
4423 ;; 4421 ;;
4424esac 4422esac
4425 4423
4426 4424
4427for ac_header in sys/queue.h 4425for ac_header in sys/queue.h
4428do : 4426do :
4429 ac_fn_c_check_header_mongrel "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default" 4427 ac_fn_c_check_header_mongrel "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
4430if test "x$ac_cv_header_sys_queue_h" = x""yes; then : 4428if test "x$ac_cv_header_sys_queue_h" = xyes; then :
4431 cat >>confdefs.h <<_ACEOF 4429 cat >>confdefs.h <<_ACEOF
4432#define HAVE_SYS_QUEUE_H 1 4430#define HAVE_SYS_QUEUE_H 1
4433_ACEOF 4431_ACEOF
4434 4432
4435fi 4433fi
4436 4434
4437done 4435done
4438 4436
4439$as_echo "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h 4437$as_echo "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h
4440 4438
4441 4439
4442 4440
4443for ac_header in regex.h 4441for ac_header in regex.h
4444do : 4442do :
4445 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" 4443 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4446if test "x$ac_cv_header_regex_h" = x""yes; then : 4444if test "x$ac_cv_header_regex_h" = xyes; then :
4447 cat >>confdefs.h <<_ACEOF 4445 cat >>confdefs.h <<_ACEOF
4448#define HAVE_REGEX_H 1 4446#define HAVE_REGEX_H 1
4449_ACEOF 4447_ACEOF
4450 4448
4451fi 4449fi
4452 4450
4453done 4451done
4454 4452
4455ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" 4453ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec"
4456if test "x$ac_cv_func_regexec" = x""yes; then : 4454if test "x$ac_cv_func_regexec" = xyes; then :
4457 : 4455 :
4458else 4456else
4459 4457
4460 $as_echo "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h 4458 $as_echo "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h
4461 4459
4462 4460
4463 case " $LIBOBJS " in 4461 case " $LIBOBJS " in
4464 *" regcomp.$ac_objext "* ) ;; 4462 *" regcomp.$ac_objext "* ) ;;
4465 *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" 4463 *) LIBOBJS="$LIBOBJS regcomp.$ac_objext"
4466 ;; 4464 ;;
4467esac 4465esac
4468 4466
4469 case " $LIBOBJS " in 4467 case " $LIBOBJS " in
@@ -4481,35 +4479,35 @@ esac @@ -4481,35 +4479,35 @@ esac
4481 case " $LIBOBJS " in 4479 case " $LIBOBJS " in
4482 *" regfree.$ac_objext "* ) ;; 4480 *" regfree.$ac_objext "* ) ;;
4483 *) LIBOBJS="$LIBOBJS regfree.$ac_objext" 4481 *) LIBOBJS="$LIBOBJS regfree.$ac_objext"
4484 ;; 4482 ;;
4485esac 4483esac
4486 4484
4487 4485
4488fi 4486fi
4489 4487
4490 4488
4491for ac_header in md5.h 4489for ac_header in md5.h
4492do : 4490do :
4493 ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" 4491 ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default"
4494if test "x$ac_cv_header_md5_h" = x""yes; then : 4492if test "x$ac_cv_header_md5_h" = xyes; then :
4495 cat >>confdefs.h <<_ACEOF 4493 cat >>confdefs.h <<_ACEOF
4496#define HAVE_MD5_H 1 4494#define HAVE_MD5_H 1
4497_ACEOF 4495_ACEOF
4498 4496
4499 4497
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5 4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5
4501$as_echo_n "checking for MD5Init in md5.h... " >&6; } 4499$as_echo_n "checking for MD5Init in md5.h... " >&6; }
4502if test "${pkg_cv_have_md5init+set}" = set; then : 4500if ${pkg_cv_have_md5init+:} false; then :
4503 $as_echo_n "(cached) " >&6 4501 $as_echo_n "(cached) " >&6
4504else 4502else
4505 4503
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507/* end confdefs.h. */ 4505/* end confdefs.h. */
4508 4506
4509 #include <sys/types.h> 4507 #include <sys/types.h>
4510 #include <md5.h> 4508 #include <md5.h>
4511 4509
4512int 4510int
4513main () 4511main ()
4514{ 4512{
4515 4513
@@ -4541,108 +4539,107 @@ $as_echo "$pkg_cv_have_md5init" >&6; } @@ -4541,108 +4539,107 @@ $as_echo "$pkg_cv_have_md5init" >&6; }
4541 : 4539 :
4542 fi 4540 fi
4543 4541
4544 4542
4545fi 4543fi
4546 4544
4547done 4545done
4548 4546
4549 4547
4550for ac_header in md5.h rmd160.h sha1.h sha2.h 4548for ac_header in md5.h rmd160.h sha1.h sha2.h
4551do : 4549do :
4552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4553ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4551ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4554eval as_val=\$$as_ac_Header 4552if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4555 if test "x$as_val" = x""yes; then : 
4556 cat >>confdefs.h <<_ACEOF 4553 cat >>confdefs.h <<_ACEOF
4557#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4554#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4558_ACEOF 4555_ACEOF
4559 4556
4560fi 4557fi
4561 4558
4562done 4559done
4563 4560
4564ac_fn_c_check_func "$LINENO" "MD5File" "ac_cv_func_MD5File" 4561ac_fn_c_check_func "$LINENO" "MD5File" "ac_cv_func_MD5File"
4565if test "x$ac_cv_func_MD5File" = x""yes; then : 4562if test "x$ac_cv_func_MD5File" = xyes; then :
4566 : 4563 :
4567else 4564else
4568 4565
4569 $as_echo "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h 4566 $as_echo "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h
4570 4567
4571 4568
4572 case " $LIBOBJS " in 4569 case " $LIBOBJS " in
4573 *" md5c.$ac_objext "* ) ;; 4570 *" md5c.$ac_objext "* ) ;;
4574 *) LIBOBJS="$LIBOBJS md5c.$ac_objext" 4571 *) LIBOBJS="$LIBOBJS md5c.$ac_objext"
4575 ;; 4572 ;;
4576esac 4573esac
4577 4574
4578 case " $LIBOBJS " in 4575 case " $LIBOBJS " in
4579 *" md5hl.$ac_objext "* ) ;; 4576 *" md5hl.$ac_objext "* ) ;;
4580 *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" 4577 *) LIBOBJS="$LIBOBJS md5hl.$ac_objext"
4581 ;; 4578 ;;
4582esac 4579esac
4583 4580
4584 4581
4585fi 4582fi
4586 4583
4587ac_fn_c_check_func "$LINENO" "RMD160File" "ac_cv_func_RMD160File" 4584ac_fn_c_check_func "$LINENO" "RMD160File" "ac_cv_func_RMD160File"
4588if test "x$ac_cv_func_RMD160File" = x""yes; then : 4585if test "x$ac_cv_func_RMD160File" = xyes; then :
4589 : 4586 :
4590else 4587else
4591 4588
4592 $as_echo "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h 4589 $as_echo "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h
4593 4590
4594 4591
4595 case " $LIBOBJS " in 4592 case " $LIBOBJS " in
4596 *" rmd160.$ac_objext "* ) ;; 4593 *" rmd160.$ac_objext "* ) ;;
4597 *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" 4594 *) LIBOBJS="$LIBOBJS rmd160.$ac_objext"
4598 ;; 4595 ;;
4599esac 4596esac
4600 4597
4601 case " $LIBOBJS " in 4598 case " $LIBOBJS " in
4602 *" rmd160hl.$ac_objext "* ) ;; 4599 *" rmd160hl.$ac_objext "* ) ;;
4603 *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" 4600 *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext"
4604 ;; 4601 ;;
4605esac 4602esac
4606 4603
4607 4604
4608fi 4605fi
4609 4606
4610ac_fn_c_check_func "$LINENO" "SHA1File" "ac_cv_func_SHA1File" 4607ac_fn_c_check_func "$LINENO" "SHA1File" "ac_cv_func_SHA1File"
4611if test "x$ac_cv_func_SHA1File" = x""yes; then : 4608if test "x$ac_cv_func_SHA1File" = xyes; then :
4612 : 4609 :
4613else 4610else
4614 4611
4615 $as_echo "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h 4612 $as_echo "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h
4616 4613
4617 4614
4618 case " $LIBOBJS " in 4615 case " $LIBOBJS " in
4619 *" sha1.$ac_objext "* ) ;; 4616 *" sha1.$ac_objext "* ) ;;
4620 *) LIBOBJS="$LIBOBJS sha1.$ac_objext" 4617 *) LIBOBJS="$LIBOBJS sha1.$ac_objext"
4621 ;; 4618 ;;
4622esac 4619esac
4623 4620
4624 case " $LIBOBJS " in 4621 case " $LIBOBJS " in
4625 *" sha1hl.$ac_objext "* ) ;; 4622 *" sha1hl.$ac_objext "* ) ;;
4626 *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" 4623 *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext"
4627 ;; 4624 ;;
4628esac 4625esac
4629 4626
4630 4627
4631fi 4628fi
4632 4629
4633 4630
4634ac_fn_c_check_func "$LINENO" "SHA512_File" "ac_cv_func_SHA512_File" 4631ac_fn_c_check_func "$LINENO" "SHA512_File" "ac_cv_func_SHA512_File"
4635if test "x$ac_cv_func_SHA512_File" = x""yes; then : 4632if test "x$ac_cv_func_SHA512_File" = xyes; then :
4636 : 4633 :
4637else 4634else
4638 4635
4639 $as_echo "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h 4636 $as_echo "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h
4640 4637
4641 4638
4642 case " $LIBOBJS " in 4639 case " $LIBOBJS " in
4643 *" sha2.$ac_objext "* ) ;; 4640 *" sha2.$ac_objext "* ) ;;
4644 *) LIBOBJS="$LIBOBJS sha2.$ac_objext" 4641 *) LIBOBJS="$LIBOBJS sha2.$ac_objext"
4645 ;; 4642 ;;
4646esac 4643esac
4647 4644
4648 case " $LIBOBJS " in 4645 case " $LIBOBJS " in
@@ -4666,166 +4663,168 @@ case $host in @@ -4666,166 +4663,168 @@ case $host in
4666 ;; 4663 ;;
4667esac 4664esac
4668 4665
4669# Check whether --enable-db was given. 4666# Check whether --enable-db was given.
4670if test "${enable_db+set}" = set; then : 4667if test "${enable_db+set}" = set; then :
4671 enableval=$enable_db; 4668 enableval=$enable_db;
4672fi 4669fi
4673 4670
4674WITH_DB=$enable_db 4671WITH_DB=$enable_db
4675 4672
4676for ac_func in issetugid 4673for ac_func in issetugid
4677do : 4674do :
4678 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" 4675 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
4679if test "x$ac_cv_func_issetugid" = x""yes; then : 4676if test "x$ac_cv_func_issetugid" = xyes; then :
4680 cat >>confdefs.h <<_ACEOF 4677 cat >>confdefs.h <<_ACEOF
4681#define HAVE_ISSETUGID 1 4678#define HAVE_ISSETUGID 1
4682_ACEOF 4679_ACEOF
4683 4680
4684fi 4681fi
4685done 4682done
4686 4683
4687 4684
4688# Check whether --enable-bsd-getopt was given. 4685# Check whether --enable-bsd-getopt was given.
4689if test "${enable_bsd_getopt+set}" = set; then : 4686if test "${enable_bsd_getopt+set}" = set; then :
4690 enableval=$enable_bsd_getopt; 4687 enableval=$enable_bsd_getopt;
4691fi 4688fi
4692 4689
4693 4690
4694ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" " 4691ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" "
4695 #include <stdio.h> 4692 #include <stdio.h>
4696 #include <stdlib.h> 4693 #include <stdlib.h>
4697 #include <unistd.h> 4694 #include <unistd.h>
4698 4695
4699" 4696"
4700if test "x$ac_cv_have_decl_optarg" = x""yes; then : 4697if test "x$ac_cv_have_decl_optarg" = xyes; then :
4701 ac_have_decl=1 4698 ac_have_decl=1
4702else 4699else
4703 ac_have_decl=0 4700 ac_have_decl=0
4704fi 4701fi
4705 4702
4706cat >>confdefs.h <<_ACEOF 4703cat >>confdefs.h <<_ACEOF
4707#define HAVE_DECL_OPTARG $ac_have_decl 4704#define HAVE_DECL_OPTARG $ac_have_decl
4708_ACEOF 4705_ACEOF
4709if test $ac_have_decl = 1; then : 4706if test $ac_have_decl = 1; then :
4710 : 4707 :
4711else 4708else
4712 : 4709 :
4713fi 4710fi
4714ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " 4711ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" "
4715 #include <stdio.h> 4712 #include <stdio.h>
4716 #include <stdlib.h> 4713 #include <stdlib.h>
4717 #include <unistd.h> 4714 #include <unistd.h>
4718 4715
4719" 4716"
4720if test "x$ac_cv_have_decl_optind" = x""yes; then : 4717if test "x$ac_cv_have_decl_optind" = xyes; then :
4721 ac_have_decl=1 4718 ac_have_decl=1
4722else 4719else
4723 ac_have_decl=0 4720 ac_have_decl=0
4724fi 4721fi
4725 4722
4726cat >>confdefs.h <<_ACEOF 4723cat >>confdefs.h <<_ACEOF
4727#define HAVE_DECL_OPTIND $ac_have_decl 4724#define HAVE_DECL_OPTIND $ac_have_decl
4728_ACEOF 4725_ACEOF
4729if test $ac_have_decl = 1; then : 4726if test $ac_have_decl = 1; then :
4730 : 4727 :
4731else 4728else
4732 : 4729 :
4733fi 4730fi
4734ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " 4731ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" "
4735 #include <stdio.h> 4732 #include <stdio.h>
4736 #include <stdlib.h> 4733 #include <stdlib.h>
4737 #include <unistd.h> 4734 #include <unistd.h>
4738 4735
4739" 4736"
4740if test "x$ac_cv_have_decl_optreset" = x""yes; then : 4737if test "x$ac_cv_have_decl_optreset" = xyes; then :
4741 ac_have_decl=1 4738 ac_have_decl=1
4742else 4739else
4743 ac_have_decl=0 4740 ac_have_decl=0
4744fi 4741fi
4745 4742
4746cat >>confdefs.h <<_ACEOF 4743cat >>confdefs.h <<_ACEOF
4747#define HAVE_DECL_OPTRESET $ac_have_decl 4744#define HAVE_DECL_OPTRESET $ac_have_decl
4748_ACEOF 4745_ACEOF
4749if test $ac_have_decl = 1; then : 4746if test $ac_have_decl = 1; then :
4750 : 4747 :
4751else 4748else
4752 : 4749 :
4753fi 4750fi
4754 4751
4755 4752
4756 4753our_getopt_long=no
4757for ac_header in getopt.h 4754for ac_header in getopt.h
4758do : 4755do :
4759 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" 4756 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
4760if test "x$ac_cv_header_getopt_h" = x""yes; then : 4757if test "x$ac_cv_header_getopt_h" = xyes; then :
4761 cat >>confdefs.h <<_ACEOF 4758 cat >>confdefs.h <<_ACEOF
4762#define HAVE_GETOPT_H 1 4759#define HAVE_GETOPT_H 1
4763_ACEOF 4760_ACEOF
4764 ac_fn_c_check_type "$LINENO" "struct option" "ac_cv_type_struct_option" "#include <getopt.h> 4761 ac_fn_c_check_type "$LINENO" "struct option" "ac_cv_type_struct_option" "#include <getopt.h>
4765" 4762"
4766if test "x$ac_cv_type_struct_option" = x""yes; then : 4763if test "x$ac_cv_type_struct_option" = xyes; then :
4767 4764
4768cat >>confdefs.h <<_ACEOF 4765cat >>confdefs.h <<_ACEOF
4769#define HAVE_STRUCT_OPTION 1 4766#define HAVE_STRUCT_OPTION 1
4770_ACEOF 4767_ACEOF
4771 4768
4772: 4769:
4773else 4770else
4774 case " $LIBOBJS " in 4771 our_getopt_long=yes
4775 *" getopt_long.$ac_objext "* ) ;; 
4776 *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" 
4777 ;; 
4778esac 
4779 
4780fi 4772fi
4781 4773
4782else 4774else
4783 case " $LIBOBJS " in 4775 our_getopt_long=yes
4784 *" getopt_long.$ac_objext "* ) ;; 
4785 *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" 
4786 ;; 
4787esac 
4788 
4789 4776
4790fi 4777fi
4791 4778
4792done 4779done
4793 4780
4794 4781
4795if test "$enable_bsd_getopt" = yes; then 4782if test "$enable_bsd_getopt" = yes; then
4796 if test "$ac_cv_have_decl_optreset" = no; then 4783 if test "$ac_cv_have_decl_optreset" = no; then
 4784 { $as_echo "$as_me:${as_lineno-$LINENO}: Using included getopt and getopt_long" >&5
 4785$as_echo "$as_me: Using included getopt and getopt_long" >&6;}
4797 case " $LIBOBJS " in 4786 case " $LIBOBJS " in
4798 *" getopt.$ac_objext "* ) ;; 4787 *" getopt.$ac_objext "* ) ;;
4799 *) LIBOBJS="$LIBOBJS getopt.$ac_objext" 4788 *) LIBOBJS="$LIBOBJS getopt.$ac_objext"
4800 ;; 4789 ;;
4801esac 4790esac
4802 4791
 4792 our_getopt_long=yes
4803 fi 4793 fi
4804fi 4794fi
4805 4795
 4796if test "$our_getopt_long" = "yes"; then
 4797 case " $LIBOBJS " in
 4798 *" getopt_long.$ac_objext "* ) ;;
 4799 *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext"
 4800 ;;
 4801esac
 4802
 4803fi
 4804
4806pkg_use_nbcompat_vis=yes 4805pkg_use_nbcompat_vis=yes
4807for ac_header in vis.h 4806for ac_header in vis.h
4808do : 4807do :
4809 ac_fn_c_check_header_mongrel "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default" 4808 ac_fn_c_check_header_mongrel "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default"
4810if test "x$ac_cv_header_vis_h" = x""yes; then : 4809if test "x$ac_cv_header_vis_h" = xyes; then :
4811 cat >>confdefs.h <<_ACEOF 4810 cat >>confdefs.h <<_ACEOF
4812#define HAVE_VIS_H 1 4811#define HAVE_VIS_H 1
4813_ACEOF 4812_ACEOF
4814 4813
4815 4814
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5 4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5
4817$as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } 4816$as_echo_n "checking for VIS_WHITE in vis.h... " >&6; }
4818if test "${pkg_cv_have_vis_white+set}" = set; then : 4817if ${pkg_cv_have_vis_white+:} false; then :
4819 $as_echo_n "(cached) " >&6 4818 $as_echo_n "(cached) " >&6
4820else 4819else
4821 4820
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823/* end confdefs.h. */ 4822/* end confdefs.h. */
4824 4823
4825 #include <sys/types.h> 4824 #include <sys/types.h>
4826 #include <vis.h> 4825 #include <vis.h>
4827 4826
4828int 4827int
4829main () 4828main ()
4830{ 4829{
4831 int X = VIS_WHITE; ; 4830 int X = VIS_WHITE; ;
@@ -4839,41 +4838,39 @@ else @@ -4839,41 +4838,39 @@ else
4839 pkg_cv_have_vis_white=no 4838 pkg_cv_have_vis_white=no
4840fi 4839fi
4841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 4841
4843fi 4842fi
4844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5 4843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5
4845$as_echo "$pkg_cv_have_vis_white" >&6; } 4844$as_echo "$pkg_cv_have_vis_white" >&6; }
4846 if test "x$pkg_cv_have_vis_white" = "xyes"; then 4845 if test "x$pkg_cv_have_vis_white" = "xyes"; then
4847 4846
4848 for ac_func in strunvis strvis strsvis svis unvis vis 4847 for ac_func in strunvis strvis strsvis svis unvis vis
4849do : 4848do :
4850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4851ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4850ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4852eval as_val=\$$as_ac_var 4851if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4853 if test "x$as_val" = x""yes; then : 
4854 cat >>confdefs.h <<_ACEOF 4852 cat >>confdefs.h <<_ACEOF
4855#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4853#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4856_ACEOF 4854_ACEOF
4857 4855
4858fi 4856fi
4859done 4857done
4860 4858
4861 for ac_func in strunvis strvis strsvis svis unvis vis 4859 for ac_func in strunvis strvis strsvis svis unvis vis
4862do : 4860do :
4863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4864ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4862ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4865eval as_val=\$$as_ac_var 4863if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4866 if test "x$as_val" = x""yes; then : 
4867 cat >>confdefs.h <<_ACEOF 4864 cat >>confdefs.h <<_ACEOF
4868#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4865#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4869_ACEOF 4866_ACEOF
4870 pkg_use_nbcompat_vis=no 4867 pkg_use_nbcompat_vis=no
4871else 4868else
4872 pkg_use_nbcompat_vis=yes; break 4869 pkg_use_nbcompat_vis=yes; break
4873fi 4870fi
4874done 4871done
4875 4872
4876 4873
4877 else 4874 else
4878 4875
4879 : 4876 :
@@ -4896,27 +4893,27 @@ if test $pkg_use_nbcompat_vis = yes; the @@ -4896,27 +4893,27 @@ if test $pkg_use_nbcompat_vis = yes; the
4896esac 4893esac
4897 4894
4898 case " $LIBOBJS " in 4895 case " $LIBOBJS " in
4899 *" unvis.$ac_objext "* ) ;; 4896 *" unvis.$ac_objext "* ) ;;
4900 *) LIBOBJS="$LIBOBJS unvis.$ac_objext" 4897 *) LIBOBJS="$LIBOBJS unvis.$ac_objext"
4901 ;; 4898 ;;
4902esac 4899esac
4903 4900
4904fi 4901fi
4905 4902
4906 4903
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
4908$as_echo_n "checking for __attribute__... " >&6; } 4905$as_echo_n "checking for __attribute__... " >&6; }
4909if test "${ac_cv___attribute__+set}" = set; then : 4906if ${ac_cv___attribute__+:} false; then :
4910 $as_echo_n "(cached) " >&6 4907 $as_echo_n "(cached) " >&6
4911else 4908else
4912 4909
4913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4910cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914/* end confdefs.h. */ 4911/* end confdefs.h. */
4915#include <stdlib.h> 4912#include <stdlib.h>
4916static void foo(void) __attribute__ ((noreturn)); 4913static void foo(void) __attribute__ ((noreturn));
4917 4914
4918static void 4915static void
4919foo(void) 4916foo(void)
4920{ 4917{
4921 exit(1); 4918 exit(1);
4922} 4919}
@@ -4929,39 +4926,39 @@ else @@ -4929,39 +4926,39 @@ else
4929fi 4926fi
4930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931fi 4928fi
4932 4929
4933if test "$ac_cv___attribute__" = "yes"; then 4930if test "$ac_cv___attribute__" = "yes"; then
4934 4931
4935$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h 4932$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
4936 4933
4937fi 4934fi
4938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
4939$as_echo "$ac_cv___attribute__" >&6; } 4936$as_echo "$ac_cv___attribute__" >&6; }
4940 4937
4941ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4938ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4942if test "x$ac_cv_type_size_t" = x""yes; then : 4939if test "x$ac_cv_type_size_t" = xyes; then :
4943 4940
4944else 4941else
4945 4942
4946cat >>confdefs.h <<_ACEOF 4943cat >>confdefs.h <<_ACEOF
4947#define size_t unsigned int 4944#define size_t unsigned int
4948_ACEOF 4945_ACEOF
4949 4946
4950fi 4947fi
4951 4948
4952 4949
4953 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 4950 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
4954if test "x$ac_cv_type_uintptr_t" = x""yes; then : 4951if test "x$ac_cv_type_uintptr_t" = xyes; then :
4955 4952
4956$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 4953$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
4957 4954
4958else 4955else
4959 for ac_type in 'unsigned int' 'unsigned long int' \ 4956 for ac_type in 'unsigned int' 'unsigned long int' \
4960 'unsigned long long int'; do 4957 'unsigned long long int'; do
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962/* end confdefs.h. */ 4959/* end confdefs.h. */
4963$ac_includes_default 4960$ac_includes_default
4964int 4961int
4965main () 4962main ()
4966{ 4963{
4967static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 4964static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
@@ -5087,82 +5084,82 @@ ac_fn_c_check_type "$LINENO" "long long" @@ -5087,82 +5084,82 @@ ac_fn_c_check_type "$LINENO" "long long"
5087#include <stdlib.h> 5084#include <stdlib.h>
5088#include <stddef.h> 5085#include <stddef.h>
5089#endif 5086#endif
5090#if HAVE_INTTYPES_H 5087#if HAVE_INTTYPES_H
5091#include <inttypes.h> 5088#include <inttypes.h>
5092#endif 5089#endif
5093#if HAVE_SYS_TYPES_H 5090#if HAVE_SYS_TYPES_H
5094#include <sys/types.h> 5091#include <sys/types.h>
5095#endif 5092#endif
5096#if HAVE_SYS_BITYPES_H 5093#if HAVE_SYS_BITYPES_H
5097#include <sys/bitypes.h> 5094#include <sys/bitypes.h>
5098#endif 5095#endif
5099" 5096"
5100if test "x$ac_cv_type_long_long" = x""yes; then : 5097if test "x$ac_cv_type_long_long" = xyes; then :
5101 5098
5102cat >>confdefs.h <<_ACEOF 5099cat >>confdefs.h <<_ACEOF
5103#define HAVE_LONG_LONG 1 5100#define HAVE_LONG_LONG 1
5104_ACEOF 5101_ACEOF
5105 5102
5106 5103
5107fi 5104fi
5108ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "#if STDC_HEADERS 5105ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "#if STDC_HEADERS
5109#include <stdlib.h> 5106#include <stdlib.h>
5110#include <stddef.h> 5107#include <stddef.h>
5111#endif 5108#endif
5112#if HAVE_INTTYPES_H 5109#if HAVE_INTTYPES_H
5113#include <inttypes.h> 5110#include <inttypes.h>
5114#endif 5111#endif
5115#if HAVE_SYS_TYPES_H 5112#if HAVE_SYS_TYPES_H
5116#include <sys/types.h> 5113#include <sys/types.h>
5117#endif 5114#endif
5118#if HAVE_SYS_BITYPES_H 5115#if HAVE_SYS_BITYPES_H
5119#include <sys/bitypes.h> 5116#include <sys/bitypes.h>
5120#endif 5117#endif
5121" 5118"
5122if test "x$ac_cv_type_long_double" = x""yes; then : 5119if test "x$ac_cv_type_long_double" = xyes; then :
5123 5120
5124cat >>confdefs.h <<_ACEOF 5121cat >>confdefs.h <<_ACEOF
5125#define HAVE_LONG_DOUBLE 1 5122#define HAVE_LONG_DOUBLE 1
5126_ACEOF 5123_ACEOF
5127 5124
5128 5125
5129fi 5126fi
5130 5127
5131ac_fn_c_check_type "$LINENO" "fsid_t" "ac_cv_type_fsid_t" "#if HAVE_SYS_TYPES_H 5128ac_fn_c_check_type "$LINENO" "fsid_t" "ac_cv_type_fsid_t" "#if HAVE_SYS_TYPES_H
5132#include <sys/types.h> 5129#include <sys/types.h>
5133#endif 5130#endif
5134#if HAVE_SYS_PARAM_H 5131#if HAVE_SYS_PARAM_H
5135#include <sys/param.h> 5132#include <sys/param.h>
5136#endif 5133#endif
5137#if HAVE_SYS_MOUNT_H 5134#if HAVE_SYS_MOUNT_H
5138#include <sys/mount.h> 5135#include <sys/mount.h>
5139#endif 5136#endif
5140#if HAVE_SYS_VFS_H 5137#if HAVE_SYS_VFS_H
5141#include <sys/vfs.h> 5138#include <sys/vfs.h>
5142#endif 5139#endif
5143" 5140"
5144if test "x$ac_cv_type_fsid_t" = x""yes; then : 5141if test "x$ac_cv_type_fsid_t" = xyes; then :
5145 5142
5146cat >>confdefs.h <<_ACEOF 5143cat >>confdefs.h <<_ACEOF
5147#define HAVE_FSID_T 1 5144#define HAVE_FSID_T 1
5148_ACEOF 5145_ACEOF
5149 5146
5150 5147
5151fi 5148fi
5152 5149
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5154$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5151$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5155if test "${ac_cv_c_bigendian+set}" = set; then : 5152if ${ac_cv_c_bigendian+:} false; then :
5156 $as_echo_n "(cached) " >&6 5153 $as_echo_n "(cached) " >&6
5157else 5154else
5158 ac_cv_c_bigendian=unknown 5155 ac_cv_c_bigendian=unknown
5159 # See if we're dealing with a universal compiler. 5156 # See if we're dealing with a universal compiler.
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161/* end confdefs.h. */ 5158/* end confdefs.h. */
5162#ifndef __APPLE_CC__ 5159#ifndef __APPLE_CC__
5163 not a universal capable compiler 5160 not a universal capable compiler
5164 #endif 5161 #endif
5165 typedef int dummy; 5162 typedef int dummy;
5166 5163
5167_ACEOF 5164_ACEOF
5168if ac_fn_c_try_compile "$LINENO"; then : 5165if ac_fn_c_try_compile "$LINENO"; then :
@@ -5360,81 +5357,80 @@ fi @@ -5360,81 +5357,80 @@ fi
5360$as_echo "$ac_cv_c_bigendian" >&6; } 5357$as_echo "$ac_cv_c_bigendian" >&6; }
5361 case $ac_cv_c_bigendian in #( 5358 case $ac_cv_c_bigendian in #(
5362 yes) 5359 yes)
5363 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 5360 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5364;; #( 5361;; #(
5365 no) 5362 no)
5366 ;; #( 5363 ;; #(
5367 universal) 5364 universal)
5368 5365
5369$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 5366$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5370 5367
5371 ;; #( 5368 ;; #(
5372 *) 5369 *)
5373 as_fn_error "unknown endianness 5370 as_fn_error $? "unknown endianness
5374 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 5371 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5375 esac 5372 esac
5376 5373
5377# The cast to long int works around a bug in the HP C Compiler 5374# The cast to long int works around a bug in the HP C Compiler
5378# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5375# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5379# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5376# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5380# This bug is HP SR number 8606223364. 5377# This bug is HP SR number 8606223364.
5381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 5378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
5382$as_echo_n "checking size of off_t... " >&6; } 5379$as_echo_n "checking size of off_t... " >&6; }
5383if test "${ac_cv_sizeof_off_t+set}" = set; then : 5380if ${ac_cv_sizeof_off_t+:} false; then :
5384 $as_echo_n "(cached) " >&6 5381 $as_echo_n "(cached) " >&6
5385else 5382else
5386 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 5383 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
5387 5384
5388else 5385else
5389 if test "$ac_cv_type_off_t" = yes; then 5386 if test "$ac_cv_type_off_t" = yes; then
5390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5388$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5392{ as_fn_set_status 77 5389as_fn_error 77 "cannot compute sizeof (off_t)
5393as_fn_error "cannot compute sizeof (off_t) 5390See \`config.log' for more details" "$LINENO" 5; }
5394See \`config.log' for more details." "$LINENO" 5; }; } 
5395 else 5391 else
5396 ac_cv_sizeof_off_t=0 5392 ac_cv_sizeof_off_t=0
5397 fi 5393 fi
5398fi 5394fi
5399 5395
5400fi 5396fi
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 5397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
5402$as_echo "$ac_cv_sizeof_off_t" >&6; } 5398$as_echo "$ac_cv_sizeof_off_t" >&6; }
5403 5399
5404 5400
5405 5401
5406cat >>confdefs.h <<_ACEOF 5402cat >>confdefs.h <<_ACEOF
5407#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 5403#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
5408_ACEOF 5404_ACEOF
5409 5405
5410 5406
5411 5407
5412# Checks for library functions. 5408# Checks for library functions.
5413for ac_header in stdlib.h 5409for ac_header in stdlib.h
5414do : 5410do :
5415 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5411 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5416if test "x$ac_cv_header_stdlib_h" = x""yes; then : 5412if test "x$ac_cv_header_stdlib_h" = xyes; then :
5417 cat >>confdefs.h <<_ACEOF 5413 cat >>confdefs.h <<_ACEOF
5418#define HAVE_STDLIB_H 1 5414#define HAVE_STDLIB_H 1
5419_ACEOF 5415_ACEOF
5420 5416
5421fi 5417fi
5422 5418
5423done 5419done
5424 5420
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 5421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5426$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 5422$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5427if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : 5423if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5428 $as_echo_n "(cached) " >&6 5424 $as_echo_n "(cached) " >&6
5429else 5425else
5430 if test "$cross_compiling" = yes; then : 5426 if test "$cross_compiling" = yes; then :
5431 ac_cv_func_malloc_0_nonnull=no 5427 ac_cv_func_malloc_0_nonnull=no
5432else 5428else
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434/* end confdefs.h. */ 5430/* end confdefs.h. */
5435#if defined STDC_HEADERS || defined HAVE_STDLIB_H 5431#if defined STDC_HEADERS || defined HAVE_STDLIB_H
5436# include <stdlib.h> 5432# include <stdlib.h>
5437#else 5433#else
5438char *malloc (); 5434char *malloc ();
5439#endif 5435#endif
5440 5436
@@ -5468,50 +5464,50 @@ else @@ -5468,50 +5464,50 @@ else
5468 case " $LIBOBJS " in 5464 case " $LIBOBJS " in
5469 *" malloc.$ac_objext "* ) ;; 5465 *" malloc.$ac_objext "* ) ;;
5470 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 5466 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5471 ;; 5467 ;;
5472esac 5468esac
5473 5469
5474 5470
5475$as_echo "#define malloc rpl_malloc" >>confdefs.h 5471$as_echo "#define malloc rpl_malloc" >>confdefs.h
5476 5472
5477fi 5473fi
5478 5474
5479 5475
5480ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 5476ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
5481if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : 5477if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
5482 ac_have_decl=1 5478 ac_have_decl=1
5483else 5479else
5484 ac_have_decl=0 5480 ac_have_decl=0
5485fi 5481fi
5486 5482
5487cat >>confdefs.h <<_ACEOF 5483cat >>confdefs.h <<_ACEOF
5488#define HAVE_DECL_STRERROR_R $ac_have_decl 5484#define HAVE_DECL_STRERROR_R $ac_have_decl
5489_ACEOF 5485_ACEOF
5490 5486
5491for ac_func in strerror_r 5487for ac_func in strerror_r
5492do : 5488do :
5493 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 5489 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
5494if test "x$ac_cv_func_strerror_r" = x""yes; then : 5490if test "x$ac_cv_func_strerror_r" = xyes; then :
5495 cat >>confdefs.h <<_ACEOF 5491 cat >>confdefs.h <<_ACEOF
5496#define HAVE_STRERROR_R 1 5492#define HAVE_STRERROR_R 1
5497_ACEOF 5493_ACEOF
5498 5494
5499fi 5495fi
5500done 5496done
5501 5497
5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 5498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
5503$as_echo_n "checking whether strerror_r returns char *... " >&6; } 5499$as_echo_n "checking whether strerror_r returns char *... " >&6; }
5504if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : 5500if ${ac_cv_func_strerror_r_char_p+:} false; then :
5505 $as_echo_n "(cached) " >&6 5501 $as_echo_n "(cached) " >&6
5506else 5502else
5507 5503
5508 ac_cv_func_strerror_r_char_p=no 5504 ac_cv_func_strerror_r_char_p=no
5509 if test $ac_cv_have_decl_strerror_r = yes; then 5505 if test $ac_cv_have_decl_strerror_r = yes; then
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511/* end confdefs.h. */ 5507/* end confdefs.h. */
5512$ac_includes_default 5508$ac_includes_default
5513int 5509int
5514main () 5510main ()
5515{ 5511{
5516 5512
5517 char buf[100]; 5513 char buf[100];
@@ -5560,65 +5556,64 @@ fi @@ -5560,65 +5556,64 @@ fi
5560 5556
5561 fi 5557 fi
5562 5558
5563fi 5559fi
5564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 5560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
5565$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 5561$as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
5566if test $ac_cv_func_strerror_r_char_p = yes; then 5562if test $ac_cv_func_strerror_r_char_p = yes; then
5567 5563
5568$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 5564$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
5569 5565
5570fi 5566fi
5571 5567
5572ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 5568ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5573if test "x$ac_cv_type_pid_t" = x""yes; then : 5569if test "x$ac_cv_type_pid_t" = xyes; then :
5574 5570
5575else 5571else
5576 5572
5577cat >>confdefs.h <<_ACEOF 5573cat >>confdefs.h <<_ACEOF
5578#define pid_t int 5574#define pid_t int
5579_ACEOF 5575_ACEOF
5580 5576
5581fi 5577fi
5582 5578
5583for ac_header in vfork.h 5579for ac_header in vfork.h
5584do : 5580do :
5585 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 5581 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5586if test "x$ac_cv_header_vfork_h" = x""yes; then : 5582if test "x$ac_cv_header_vfork_h" = xyes; then :
5587 cat >>confdefs.h <<_ACEOF 5583 cat >>confdefs.h <<_ACEOF
5588#define HAVE_VFORK_H 1 5584#define HAVE_VFORK_H 1
5589_ACEOF 5585_ACEOF
5590 5586
5591fi 5587fi
5592 5588
5593done 5589done
5594 5590
5595for ac_func in fork vfork 5591for ac_func in fork vfork
5596do : 5592do :
5597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5598ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5594ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5599eval as_val=\$$as_ac_var 5595if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5600 if test "x$as_val" = x""yes; then : 
5601 cat >>confdefs.h <<_ACEOF 5596 cat >>confdefs.h <<_ACEOF
5602#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5597#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5603_ACEOF 5598_ACEOF
5604 5599
5605fi 5600fi
5606done 5601done
5607 5602
5608if test "x$ac_cv_func_fork" = xyes; then 5603if test "x$ac_cv_func_fork" = xyes; then
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5610$as_echo_n "checking for working fork... " >&6; } 5605$as_echo_n "checking for working fork... " >&6; }
5611if test "${ac_cv_func_fork_works+set}" = set; then : 5606if ${ac_cv_func_fork_works+:} false; then :
5612 $as_echo_n "(cached) " >&6 5607 $as_echo_n "(cached) " >&6
5613else 5608else
5614 if test "$cross_compiling" = yes; then : 5609 if test "$cross_compiling" = yes; then :
5615 ac_cv_func_fork_works=cross 5610 ac_cv_func_fork_works=cross
5616else 5611else
5617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5618/* end confdefs.h. */ 5613/* end confdefs.h. */
5619$ac_includes_default 5614$ac_includes_default
5620int 5615int
5621main () 5616main ()
5622{ 5617{
5623 5618
5624 /* By Ruediger Kuhlmann. */ 5619 /* By Ruediger Kuhlmann. */
@@ -5651,27 +5646,27 @@ if test "x$ac_cv_func_fork_works" = xcro @@ -5651,27 +5646,27 @@ if test "x$ac_cv_func_fork_works" = xcro
5651 ac_cv_func_fork_works=no 5646 ac_cv_func_fork_works=no
5652 ;; 5647 ;;
5653 *) 5648 *)
5654 ac_cv_func_fork_works=yes 5649 ac_cv_func_fork_works=yes
5655 ;; 5650 ;;
5656 esac 5651 esac
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5658$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 5653$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5659fi 5654fi
5660ac_cv_func_vfork_works=$ac_cv_func_vfork 5655ac_cv_func_vfork_works=$ac_cv_func_vfork
5661if test "x$ac_cv_func_vfork" = xyes; then 5656if test "x$ac_cv_func_vfork" = xyes; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5663$as_echo_n "checking for working vfork... " >&6; } 5658$as_echo_n "checking for working vfork... " >&6; }
5664if test "${ac_cv_func_vfork_works+set}" = set; then : 5659if ${ac_cv_func_vfork_works+:} false; then :
5665 $as_echo_n "(cached) " >&6 5660 $as_echo_n "(cached) " >&6
5666else 5661else
5667 if test "$cross_compiling" = yes; then : 5662 if test "$cross_compiling" = yes; then :
5668 ac_cv_func_vfork_works=cross 5663 ac_cv_func_vfork_works=cross
5669else 5664else
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671/* end confdefs.h. */ 5666/* end confdefs.h. */
5672/* Thanks to Paul Eggert for this test. */ 5667/* Thanks to Paul Eggert for this test. */
5673$ac_includes_default 5668$ac_includes_default
5674#include <sys/wait.h> 5669#include <sys/wait.h>
5675#ifdef HAVE_VFORK_H 5670#ifdef HAVE_VFORK_H
5676# include <vfork.h> 5671# include <vfork.h>
5677#endif 5672#endif
@@ -5787,103 +5782,482 @@ else @@ -5787,103 +5782,482 @@ else
5787 5782
5788$as_echo "#define vfork fork" >>confdefs.h 5783$as_echo "#define vfork fork" >>confdefs.h
5789 5784
5790fi 5785fi
5791if test "x$ac_cv_func_fork_works" = xyes; then 5786if test "x$ac_cv_func_fork_works" = xyes; then
5792 5787
5793$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 5788$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5794 5789
5795fi 5790fi
5796 5791
5797for ac_func in vprintf 5792for ac_func in vprintf
5798do : 5793do :
5799 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5794 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
5800if test "x$ac_cv_func_vprintf" = x""yes; then : 5795if test "x$ac_cv_func_vprintf" = xyes; then :
5801 cat >>confdefs.h <<_ACEOF 5796 cat >>confdefs.h <<_ACEOF
5802#define HAVE_VPRINTF 1 5797#define HAVE_VPRINTF 1
5803_ACEOF 5798_ACEOF
5804 5799
5805ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5800ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5806if test "x$ac_cv_func__doprnt" = x""yes; then : 5801if test "x$ac_cv_func__doprnt" = xyes; then :
5807 5802
5808$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 5803$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
5809 5804
5810fi 5805fi
5811 5806
5812fi 5807fi
5813done 5808done
5814 5809
5815 5810
5816 5811
5817ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h> 5812ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h>
5818" 5813"
5819if test "x$ac_cv_have_decl_snprintf" = x""yes; then : 5814if test "x$ac_cv_have_decl_snprintf" = xyes; then :
5820 ac_have_decl=1 5815 ac_have_decl=1
5821else 5816else
5822 ac_have_decl=0 5817 ac_have_decl=0
5823fi 5818fi
5824 5819
5825cat >>confdefs.h <<_ACEOF 5820cat >>confdefs.h <<_ACEOF
5826#define HAVE_DECL_SNPRINTF $ac_have_decl 5821#define HAVE_DECL_SNPRINTF $ac_have_decl
5827_ACEOF 5822_ACEOF
5828ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include <stdio.h> 5823ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include <stdio.h>
5829" 5824"
5830if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : 5825if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
5831 ac_have_decl=1 5826 ac_have_decl=1
5832else 5827else
5833 ac_have_decl=0 5828 ac_have_decl=0
5834fi 5829fi
5835 5830
5836cat >>confdefs.h <<_ACEOF 5831cat >>confdefs.h <<_ACEOF
5837#define HAVE_DECL_VASPRINTF $ac_have_decl 5832#define HAVE_DECL_VASPRINTF $ac_have_decl
5838_ACEOF 5833_ACEOF
5839 5834
5840 5835
5841case $host_os in 5836case $host_os in
5842darwin*) 5837darwin*)
5843 # NetBSD PR 38488: warnx(3) escapes certain characters like \n 5838 # NetBSD PR 38488: warnx(3) escapes certain characters like \n
5844 ac_cv_func_warn=no 5839 ac_cv_func_warn=no
5845 ;; 5840 ;;
5846esac 5841esac
5847 5842
5848for ac_func in asprintf err fgetln fnmatch fparseln getenv isblank \ 5843ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
5849 lchflags lchmod lchown lutimes mkdtemp mkstemp setenv setgroupent \ 5844if test "x$ac_cv_func_asprintf" = xyes; then :
5850 setpassent setprogname shquote snprintf statvfs strdup strerror \ 5845 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
5851 strlcat strlcpy strmode strsep strtoll unsetenv usleep utimes warn 
5852 5846
5853do : 5847else
5854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5848 case " $LIBOBJS " in
5855ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5849 *" asprintf.$ac_objext "* ) ;;
5856eval as_val=\$$as_ac_var 5850 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
5857 if test "x$as_val" = x""yes; then : 5851 ;;
5858 cat >>confdefs.h <<_ACEOF 5852esac
5859#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5853
5860_ACEOF 5854fi
 5855
 5856ac_fn_c_check_func "$LINENO" "err" "ac_cv_func_err"
 5857if test "x$ac_cv_func_err" = xyes; then :
 5858 $as_echo "#define HAVE_ERR 1" >>confdefs.h
5861 5859
5862else 5860else
5863 case " $LIBOBJS " in 5861 case " $LIBOBJS " in
5864 *" $ac_func.$ac_objext "* ) ;; 5862 *" err.$ac_objext "* ) ;;
5865 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 5863 *) LIBOBJS="$LIBOBJS err.$ac_objext"
 5864 ;;
 5865esac
 5866
 5867fi
 5868
 5869ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln"
 5870if test "x$ac_cv_func_fgetln" = xyes; then :
 5871 $as_echo "#define HAVE_FGETLN 1" >>confdefs.h
 5872
 5873else
 5874 case " $LIBOBJS " in
 5875 *" fgetln.$ac_objext "* ) ;;
 5876 *) LIBOBJS="$LIBOBJS fgetln.$ac_objext"
 5877 ;;
 5878esac
 5879
 5880fi
 5881
 5882ac_fn_c_check_func "$LINENO" "fnmatch" "ac_cv_func_fnmatch"
 5883if test "x$ac_cv_func_fnmatch" = xyes; then :
 5884 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
 5885
 5886else
 5887 case " $LIBOBJS " in
 5888 *" fnmatch.$ac_objext "* ) ;;
 5889 *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
 5890 ;;
 5891esac
 5892
 5893fi
 5894
 5895ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln"
 5896if test "x$ac_cv_func_fparseln" = xyes; then :
 5897 $as_echo "#define HAVE_FPARSELN 1" >>confdefs.h
 5898
 5899else
 5900 case " $LIBOBJS " in
 5901 *" fparseln.$ac_objext "* ) ;;
 5902 *) LIBOBJS="$LIBOBJS fparseln.$ac_objext"
 5903 ;;
 5904esac
 5905
 5906fi
 5907
 5908ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
 5909if test "x$ac_cv_func_getenv" = xyes; then :
 5910 $as_echo "#define HAVE_GETENV 1" >>confdefs.h
 5911
 5912else
 5913 case " $LIBOBJS " in
 5914 *" getenv.$ac_objext "* ) ;;
 5915 *) LIBOBJS="$LIBOBJS getenv.$ac_objext"
 5916 ;;
 5917esac
 5918
 5919fi
 5920
 5921ac_fn_c_check_func "$LINENO" "isblank" "ac_cv_func_isblank"
 5922if test "x$ac_cv_func_isblank" = xyes; then :
 5923 $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h
 5924
 5925else
 5926 case " $LIBOBJS " in
 5927 *" isblank.$ac_objext "* ) ;;
 5928 *) LIBOBJS="$LIBOBJS isblank.$ac_objext"
 5929 ;;
 5930esac
 5931
 5932fi
 5933
 5934ac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags"
 5935if test "x$ac_cv_func_lchflags" = xyes; then :
 5936 $as_echo "#define HAVE_LCHFLAGS 1" >>confdefs.h
 5937
 5938else
 5939 case " $LIBOBJS " in
 5940 *" lchflags.$ac_objext "* ) ;;
 5941 *) LIBOBJS="$LIBOBJS lchflags.$ac_objext"
 5942 ;;
 5943esac
 5944
 5945fi
 5946
 5947ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod"
 5948if test "x$ac_cv_func_lchmod" = xyes; then :
 5949 $as_echo "#define HAVE_LCHMOD 1" >>confdefs.h
 5950
 5951else
 5952 case " $LIBOBJS " in
 5953 *" lchmod.$ac_objext "* ) ;;
 5954 *) LIBOBJS="$LIBOBJS lchmod.$ac_objext"
 5955 ;;
 5956esac
 5957
 5958fi
 5959
 5960ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
 5961if test "x$ac_cv_func_lchown" = xyes; then :
 5962 $as_echo "#define HAVE_LCHOWN 1" >>confdefs.h
 5963
 5964else
 5965 case " $LIBOBJS " in
 5966 *" lchown.$ac_objext "* ) ;;
 5967 *) LIBOBJS="$LIBOBJS lchown.$ac_objext"
 5968 ;;
 5969esac
 5970
 5971fi
 5972
 5973ac_fn_c_check_func "$LINENO" "lutimes" "ac_cv_func_lutimes"
 5974if test "x$ac_cv_func_lutimes" = xyes; then :
 5975 $as_echo "#define HAVE_LUTIMES 1" >>confdefs.h
 5976
 5977else
 5978 case " $LIBOBJS " in
 5979 *" lutimes.$ac_objext "* ) ;;
 5980 *) LIBOBJS="$LIBOBJS lutimes.$ac_objext"
 5981 ;;
 5982esac
 5983
 5984fi
 5985
 5986ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
 5987if test "x$ac_cv_func_mkdtemp" = xyes; then :
 5988 $as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h
 5989
 5990else
 5991 case " $LIBOBJS " in
 5992 *" mkdtemp.$ac_objext "* ) ;;
 5993 *) LIBOBJS="$LIBOBJS mkdtemp.$ac_objext"
 5994 ;;
 5995esac
 5996
 5997fi
 5998
 5999ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
 6000if test "x$ac_cv_func_mkstemp" = xyes; then :
 6001 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
 6002
 6003else
 6004 case " $LIBOBJS " in
 6005 *" mkstemp.$ac_objext "* ) ;;
 6006 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 6007 ;;
 6008esac
 6009
 6010fi
 6011
 6012ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
 6013if test "x$ac_cv_func_setenv" = xyes; then :
 6014 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
 6015
 6016else
 6017 case " $LIBOBJS " in
 6018 *" setenv.$ac_objext "* ) ;;
 6019 *) LIBOBJS="$LIBOBJS setenv.$ac_objext"
 6020 ;;
 6021esac
 6022
 6023fi
 6024
 6025ac_fn_c_check_func "$LINENO" "setgroupent" "ac_cv_func_setgroupent"
 6026if test "x$ac_cv_func_setgroupent" = xyes; then :
 6027 $as_echo "#define HAVE_SETGROUPENT 1" >>confdefs.h
 6028
 6029else
 6030 case " $LIBOBJS " in
 6031 *" setgroupent.$ac_objext "* ) ;;
 6032 *) LIBOBJS="$LIBOBJS setgroupent.$ac_objext"
 6033 ;;
 6034esac
 6035
 6036fi
 6037
 6038ac_fn_c_check_func "$LINENO" "setpassent" "ac_cv_func_setpassent"
 6039if test "x$ac_cv_func_setpassent" = xyes; then :
 6040 $as_echo "#define HAVE_SETPASSENT 1" >>confdefs.h
 6041
 6042else
 6043 case " $LIBOBJS " in
 6044 *" setpassent.$ac_objext "* ) ;;
 6045 *) LIBOBJS="$LIBOBJS setpassent.$ac_objext"
 6046 ;;
 6047esac
 6048
 6049fi
 6050
 6051ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
 6052if test "x$ac_cv_func_setprogname" = xyes; then :
 6053 $as_echo "#define HAVE_SETPROGNAME 1" >>confdefs.h
 6054
 6055else
 6056 case " $LIBOBJS " in
 6057 *" setprogname.$ac_objext "* ) ;;
 6058 *) LIBOBJS="$LIBOBJS setprogname.$ac_objext"
 6059 ;;
 6060esac
 6061
 6062fi
 6063
 6064ac_fn_c_check_func "$LINENO" "shquote" "ac_cv_func_shquote"
 6065if test "x$ac_cv_func_shquote" = xyes; then :
 6066 $as_echo "#define HAVE_SHQUOTE 1" >>confdefs.h
 6067
 6068else
 6069 case " $LIBOBJS " in
 6070 *" shquote.$ac_objext "* ) ;;
 6071 *) LIBOBJS="$LIBOBJS shquote.$ac_objext"
 6072 ;;
 6073esac
 6074
 6075fi
 6076
 6077ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
 6078if test "x$ac_cv_func_snprintf" = xyes; then :
 6079 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
 6080
 6081else
 6082 case " $LIBOBJS " in
 6083 *" snprintf.$ac_objext "* ) ;;
 6084 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
 6085 ;;
 6086esac
 6087
 6088fi
 6089
 6090ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs"
 6091if test "x$ac_cv_func_statvfs" = xyes; then :
 6092 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
 6093
 6094else
 6095 case " $LIBOBJS " in
 6096 *" statvfs.$ac_objext "* ) ;;
 6097 *) LIBOBJS="$LIBOBJS statvfs.$ac_objext"
 6098 ;;
 6099esac
 6100
 6101fi
 6102
 6103ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
 6104if test "x$ac_cv_func_strdup" = xyes; then :
 6105 $as_echo "#define HAVE_STRDUP 1" >>confdefs.h
 6106
 6107else
 6108 case " $LIBOBJS " in
 6109 *" strdup.$ac_objext "* ) ;;
 6110 *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
 6111 ;;
 6112esac
 6113
 6114fi
 6115
 6116ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
 6117if test "x$ac_cv_func_strerror" = xyes; then :
 6118 $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
 6119
 6120else
 6121 case " $LIBOBJS " in
 6122 *" strerror.$ac_objext "* ) ;;
 6123 *) LIBOBJS="$LIBOBJS strerror.$ac_objext"
 6124 ;;
 6125esac
 6126
 6127fi
 6128
 6129ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
 6130if test "x$ac_cv_func_strlcat" = xyes; then :
 6131 $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
 6132
 6133else
 6134 case " $LIBOBJS " in
 6135 *" strlcat.$ac_objext "* ) ;;
 6136 *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
 6137 ;;
 6138esac
 6139
 6140fi
 6141
 6142ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
 6143if test "x$ac_cv_func_strlcpy" = xyes; then :
 6144 $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
 6145
 6146else
 6147 case " $LIBOBJS " in
 6148 *" strlcpy.$ac_objext "* ) ;;
 6149 *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
 6150 ;;
 6151esac
 6152
 6153fi
 6154
 6155ac_fn_c_check_func "$LINENO" "strmode" "ac_cv_func_strmode"
 6156if test "x$ac_cv_func_strmode" = xyes; then :
 6157 $as_echo "#define HAVE_STRMODE 1" >>confdefs.h
 6158
 6159else
 6160 case " $LIBOBJS " in
 6161 *" strmode.$ac_objext "* ) ;;
 6162 *) LIBOBJS="$LIBOBJS strmode.$ac_objext"
 6163 ;;
 6164esac
 6165
 6166fi
 6167
 6168ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep"
 6169if test "x$ac_cv_func_strsep" = xyes; then :
 6170 $as_echo "#define HAVE_STRSEP 1" >>confdefs.h
 6171
 6172else
 6173 case " $LIBOBJS " in
 6174 *" strsep.$ac_objext "* ) ;;
 6175 *) LIBOBJS="$LIBOBJS strsep.$ac_objext"
 6176 ;;
 6177esac
 6178
 6179fi
 6180
 6181ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll"
 6182if test "x$ac_cv_func_strtoll" = xyes; then :
 6183 $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h
 6184
 6185else
 6186 case " $LIBOBJS " in
 6187 *" strtoll.$ac_objext "* ) ;;
 6188 *) LIBOBJS="$LIBOBJS strtoll.$ac_objext"
 6189 ;;
 6190esac
 6191
 6192fi
 6193
 6194ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
 6195if test "x$ac_cv_func_unsetenv" = xyes; then :
 6196 $as_echo "#define HAVE_UNSETENV 1" >>confdefs.h
 6197
 6198else
 6199 case " $LIBOBJS " in
 6200 *" unsetenv.$ac_objext "* ) ;;
 6201 *) LIBOBJS="$LIBOBJS unsetenv.$ac_objext"
 6202 ;;
 6203esac
 6204
 6205fi
 6206
 6207ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep"
 6208if test "x$ac_cv_func_usleep" = xyes; then :
 6209 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
 6210
 6211else
 6212 case " $LIBOBJS " in
 6213 *" usleep.$ac_objext "* ) ;;
 6214 *) LIBOBJS="$LIBOBJS usleep.$ac_objext"
 6215 ;;
 6216esac
 6217
 6218fi
 6219
 6220ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
 6221if test "x$ac_cv_func_utimes" = xyes; then :
 6222 $as_echo "#define HAVE_UTIMES 1" >>confdefs.h
 6223
 6224else
 6225 case " $LIBOBJS " in
 6226 *" utimes.$ac_objext "* ) ;;
 6227 *) LIBOBJS="$LIBOBJS utimes.$ac_objext"
 6228 ;;
 6229esac
 6230
 6231fi
 6232
 6233ac_fn_c_check_func "$LINENO" "warn" "ac_cv_func_warn"
 6234if test "x$ac_cv_func_warn" = xyes; then :
 6235 $as_echo "#define HAVE_WARN 1" >>confdefs.h
 6236
 6237else
 6238 case " $LIBOBJS " in
 6239 *" warn.$ac_objext "* ) ;;
 6240 *) LIBOBJS="$LIBOBJS warn.$ac_objext"
5866 ;; 6241 ;;
5867esac 6242esac
5868 6243
5869fi 6244fi
5870done 
5871 6245
5872 6246
5873 6247
5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 6248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5875$as_echo_n "checking for library containing socket... " >&6; } 6249$as_echo_n "checking for library containing socket... " >&6; }
5876if test "${ac_cv_search_socket+set}" = set; then : 6250if ${ac_cv_search_socket+:} false; then :
5877 $as_echo_n "(cached) " >&6 6251 $as_echo_n "(cached) " >&6
5878else 6252else
5879 ac_func_search_save_LIBS=$LIBS 6253 ac_func_search_save_LIBS=$LIBS
5880cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5881/* end confdefs.h. */ 6255/* end confdefs.h. */
5882 6256
5883/* Override any GCC internal prototype to avoid an error. 6257/* Override any GCC internal prototype to avoid an error.
5884 Use char because int might match the return type of a GCC 6258 Use char because int might match the return type of a GCC
5885 builtin and then its argument prototype would still apply. */ 6259 builtin and then its argument prototype would still apply. */
5886#ifdef __cplusplus 6260#ifdef __cplusplus
5887extern "C" 6261extern "C"
5888#endif 6262#endif
5889char socket (); 6263char socket ();
@@ -5897,49 +6271,49 @@ return socket (); @@ -5897,49 +6271,49 @@ return socket ();
5897_ACEOF 6271_ACEOF
5898for ac_lib in '' socket network; do 6272for ac_lib in '' socket network; do
5899 if test -z "$ac_lib"; then 6273 if test -z "$ac_lib"; then
5900 ac_res="none required" 6274 ac_res="none required"
5901 else 6275 else
5902 ac_res=-l$ac_lib 6276 ac_res=-l$ac_lib
5903 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5904 fi 6278 fi
5905 if ac_fn_c_try_link "$LINENO"; then : 6279 if ac_fn_c_try_link "$LINENO"; then :
5906 ac_cv_search_socket=$ac_res 6280 ac_cv_search_socket=$ac_res
5907fi 6281fi
5908rm -f core conftest.err conftest.$ac_objext \ 6282rm -f core conftest.err conftest.$ac_objext \
5909 conftest$ac_exeext 6283 conftest$ac_exeext
5910 if test "${ac_cv_search_socket+set}" = set; then : 6284 if ${ac_cv_search_socket+:} false; then :
5911 break 6285 break
5912fi 6286fi
5913done 6287done
5914if test "${ac_cv_search_socket+set}" = set; then : 6288if ${ac_cv_search_socket+:} false; then :
5915 6289
5916else 6290else
5917 ac_cv_search_socket=no 6291 ac_cv_search_socket=no
5918fi 6292fi
5919rm conftest.$ac_ext 6293rm conftest.$ac_ext
5920LIBS=$ac_func_search_save_LIBS 6294LIBS=$ac_func_search_save_LIBS
5921fi 6295fi
5922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 6296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5923$as_echo "$ac_cv_search_socket" >&6; } 6297$as_echo "$ac_cv_search_socket" >&6; }
5924ac_res=$ac_cv_search_socket 6298ac_res=$ac_cv_search_socket
5925if test "$ac_res" != no; then : 6299if test "$ac_res" != no; then :
5926 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6300 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5927 6301
5928fi 6302fi
5929 6303
5930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 6304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
5931$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 6305$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5932if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 6306if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
5933 $as_echo_n "(cached) " >&6 6307 $as_echo_n "(cached) " >&6
5934else 6308else
5935 ac_check_lib_save_LIBS=$LIBS 6309 ac_check_lib_save_LIBS=$LIBS
5936LIBS="-lnsl $LIBS" 6310LIBS="-lnsl $LIBS"
5937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6311cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5938/* end confdefs.h. */ 6312/* end confdefs.h. */
5939 6313
5940/* Override any GCC internal prototype to avoid an error. 6314/* Override any GCC internal prototype to avoid an error.
5941 Use char because int might match the return type of a GCC 6315 Use char because int might match the return type of a GCC
5942 builtin and then its argument prototype would still apply. */ 6316 builtin and then its argument prototype would still apply. */
5943#ifdef __cplusplus 6317#ifdef __cplusplus
5944extern "C" 6318extern "C"
5945#endif 6319#endif
@@ -5953,351 +6327,343 @@ return gethostbyname (); @@ -5953,351 +6327,343 @@ return gethostbyname ();
5953} 6327}
5954_ACEOF 6328_ACEOF
5955if ac_fn_c_try_link "$LINENO"; then : 6329if ac_fn_c_try_link "$LINENO"; then :
5956 ac_cv_lib_nsl_gethostbyname=yes 6330 ac_cv_lib_nsl_gethostbyname=yes
5957else 6331else
5958 ac_cv_lib_nsl_gethostbyname=no 6332 ac_cv_lib_nsl_gethostbyname=no
5959fi 6333fi
5960rm -f core conftest.err conftest.$ac_objext \ 6334rm -f core conftest.err conftest.$ac_objext \
5961 conftest$ac_exeext conftest.$ac_ext 6335 conftest$ac_exeext conftest.$ac_ext
5962LIBS=$ac_check_lib_save_LIBS 6336LIBS=$ac_check_lib_save_LIBS
5963fi 6337fi
5964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 6338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
5965$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 6339$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5966if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 6340if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
5967 cat >>confdefs.h <<_ACEOF 6341 cat >>confdefs.h <<_ACEOF
5968#define HAVE_LIBNSL 1 6342#define HAVE_LIBNSL 1
5969_ACEOF 6343_ACEOF
5970 6344
5971 LIBS="-lnsl $LIBS" 6345 LIBS="-lnsl $LIBS"
5972 6346
5973fi 6347fi
5974 6348
5975 6349
5976need_getaddrinfo=no 6350need_getaddrinfo=no
5977ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef HAVE_SYS_TYPES_H 6351ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef HAVE_SYS_TYPES_H
5978# include <sys/types.h> 6352# include <sys/types.h>
5979#endif 6353#endif
5980 6354
5981#include <sys/socket.h> 6355#include <sys/socket.h>
5982 6356
5983" 6357"
5984if test "x$ac_cv_type_socklen_t" = x""yes; then : 6358if test "x$ac_cv_type_socklen_t" = xyes; then :
5985 6359
5986cat >>confdefs.h <<_ACEOF 6360cat >>confdefs.h <<_ACEOF
5987#define HAVE_SOCKLEN_T 1 6361#define HAVE_SOCKLEN_T 1
5988_ACEOF 6362_ACEOF
5989 6363
5990 6364
5991fi 6365fi
5992 6366
5993ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h> 6367ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include <netdb.h>
5994" 6368"
5995if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : 6369if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
5996 6370
5997cat >>confdefs.h <<_ACEOF 6371cat >>confdefs.h <<_ACEOF
5998#define HAVE_STRUCT_ADDRINFO 1 6372#define HAVE_STRUCT_ADDRINFO 1
5999_ACEOF 6373_ACEOF
6000 6374
6001 6375
6002fi 6376fi
6003 6377
6004ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef HAVE_SYS_TYPES_H 6378ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef HAVE_SYS_TYPES_H
6005# include <sys/types.h> 6379# include <sys/types.h>
6006#endif 6380#endif
6007#include <netinet/in.h> 6381#include <netinet/in.h>
6008 6382
6009" 6383"
6010if test "x$ac_cv_type_struct_in6_addr" = x""yes; then : 6384if test "x$ac_cv_type_struct_in6_addr" = xyes; then :
6011 6385
6012cat >>confdefs.h <<_ACEOF 6386cat >>confdefs.h <<_ACEOF
6013#define HAVE_STRUCT_IN6_ADDR 1 6387#define HAVE_STRUCT_IN6_ADDR 1
6014_ACEOF 6388_ACEOF
6015 6389
6016 6390
6017fi 6391fi
6018 6392
6019ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef HAVE_SYS_TYPES_H 6393ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef HAVE_SYS_TYPES_H
6020# include <sys/types.h> 6394# include <sys/types.h>
6021#endif 6395#endif
6022#include <netinet/in.h> 6396#include <netinet/in.h>
6023 6397
6024" 6398"
6025if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : 6399if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
6026 6400
6027cat >>confdefs.h <<_ACEOF 6401cat >>confdefs.h <<_ACEOF
6028#define HAVE_STRUCT_SOCKADDR_IN6 1 6402#define HAVE_STRUCT_SOCKADDR_IN6 1
6029_ACEOF 6403_ACEOF
6030 6404
6031 6405
6032fi 6406fi
6033 6407
6034ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#ifdef HAVE_SYS_TYPES_H 6408ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#ifdef HAVE_SYS_TYPES_H
6035# include <sys/types.h> 6409# include <sys/types.h>
6036#endif 6410#endif
6037#include <sys/socket.h> 6411#include <sys/socket.h>
6038 6412
6039" 6413"
6040if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : 6414if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
6041 6415
6042cat >>confdefs.h <<_ACEOF 6416cat >>confdefs.h <<_ACEOF
6043#define HAVE_STRUCT_SOCKADDR_STORAGE 1 6417#define HAVE_STRUCT_SOCKADDR_STORAGE 1
6044_ACEOF 6418_ACEOF
6045 6419
6046 6420
6047fi 6421fi
6048 6422
6049for ac_func in getnameinfo gai_strerror getaddrinfo 6423for ac_func in getnameinfo gai_strerror getaddrinfo
6050do : 6424do :
6051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6052ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6426ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6053eval as_val=\$$as_ac_var 6427if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6054 if test "x$as_val" = x""yes; then : 
6055 cat >>confdefs.h <<_ACEOF 6428 cat >>confdefs.h <<_ACEOF
6056#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6429#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6057_ACEOF 6430_ACEOF
6058 : 6431 :
6059else 6432else
6060 need_getaddrinfo=yes 6433 need_getaddrinfo=yes
6061fi 6434fi
6062done 6435done
6063 6436
6064if test $need_getaddrinfo = yes; then 6437if test $need_getaddrinfo = yes; then
6065 case " $LIBOBJS " in 6438 case " $LIBOBJS " in
6066 *" getaddrinfo.$ac_objext "* ) ;; 6439 *" getaddrinfo.$ac_objext "* ) ;;
6067 *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" 6440 *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
6068 ;; 6441 ;;
6069esac 6442esac
6070 6443
6071fi 6444fi
6072 6445
6073need_findenv=no 6446need_findenv=no
6074for ac_func in getenv setenv unsetenv 6447for ac_func in getenv setenv unsetenv
6075do : 6448do :
6076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6077ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6450ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6078eval as_val=\$$as_ac_var 6451if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6079 if test "x$as_val" = x""yes; then : 
6080 cat >>confdefs.h <<_ACEOF 6452 cat >>confdefs.h <<_ACEOF
6081#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6453#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6082_ACEOF 6454_ACEOF
6083 : 6455 :
6084else 6456else
6085 need_findenv=yes 6457 need_findenv=yes
6086fi 6458fi
6087done 6459done
6088 6460
6089if test $need_findenv = yes; then 6461if test $need_findenv = yes; then
6090 case " $LIBOBJS " in 6462 case " $LIBOBJS " in
6091 *" findenv.$ac_objext "* ) ;; 6463 *" findenv.$ac_objext "* ) ;;
6092 *) LIBOBJS="$LIBOBJS findenv.$ac_objext" 6464 *) LIBOBJS="$LIBOBJS findenv.$ac_objext"
6093 ;; 6465 ;;
6094esac 6466esac
6095 6467
6096fi 6468fi
6097 6469
6098need_gettemp=no 6470need_gettemp=no
6099for ac_func in mkdtemp mkstemp 6471for ac_func in mkdtemp mkstemp
6100do : 6472do :
6101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6102ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6474ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6103eval as_val=\$$as_ac_var 6475if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6104 if test "x$as_val" = x""yes; then : 
6105 cat >>confdefs.h <<_ACEOF 6476 cat >>confdefs.h <<_ACEOF
6106#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6477#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6107_ACEOF 6478_ACEOF
6108 : 6479 :
6109else 6480else
6110 need_gettemp=yes 6481 need_gettemp=yes
6111fi 6482fi
6112done 6483done
6113 6484
6114if test $need_gettemp = yes; then 6485if test $need_gettemp = yes; then
6115 case " $LIBOBJS " in 6486 case " $LIBOBJS " in
6116 *" gettemp.$ac_objext "* ) ;; 6487 *" gettemp.$ac_objext "* ) ;;
6117 *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" 6488 *) LIBOBJS="$LIBOBJS gettemp.$ac_objext"
6118 ;; 6489 ;;
6119esac 6490esac
6120 6491
6121fi 6492fi
6122 6493
6123for ac_func in bcopy bzero memset memcpy setlocale 6494for ac_func in bcopy bzero memset memcpy setlocale
6124do : 6495do :
6125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6126ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6497ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6127eval as_val=\$$as_ac_var 6498if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6128 if test "x$as_val" = x""yes; then : 
6129 cat >>confdefs.h <<_ACEOF 6499 cat >>confdefs.h <<_ACEOF
6130#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6500#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6131_ACEOF 6501_ACEOF
6132 6502
6133fi 6503fi
6134done 6504done
6135 6505
6136 6506
6137need_setmode=no 6507need_setmode=no
6138for ac_func in getmode setmode 6508for ac_func in getmode setmode
6139do : 6509do :
6140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6141ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6511ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6142eval as_val=\$$as_ac_var 6512if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6143 if test "x$as_val" = x""yes; then : 
6144 cat >>confdefs.h <<_ACEOF 6513 cat >>confdefs.h <<_ACEOF
6145#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6514#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6146_ACEOF 6515_ACEOF
6147 : 6516 :
6148else 6517else
6149 need_setmode=yes 6518 need_setmode=yes
6150fi 6519fi
6151done 6520done
6152 6521
6153 6522
6154if test $need_setmode = yes; then 6523if test $need_setmode = yes; then
6155 case " $LIBOBJS " in 6524 case " $LIBOBJS " in
6156 *" setmode.$ac_objext "* ) ;; 6525 *" setmode.$ac_objext "* ) ;;
6157 *) LIBOBJS="$LIBOBJS setmode.$ac_objext" 6526 *) LIBOBJS="$LIBOBJS setmode.$ac_objext"
6158 ;; 6527 ;;
6159esac 6528esac
6160 6529
6161fi 6530fi
6162 6531
6163ac_fn_c_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default" 6532ac_fn_c_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default"
6164if test "x$ac_cv_have_decl_endgrent" = x""yes; then : 6533if test "x$ac_cv_have_decl_endgrent" = xyes; then :
6165 ac_have_decl=1 6534 ac_have_decl=1
6166else 6535else
6167 ac_have_decl=0 6536 ac_have_decl=0
6168fi 6537fi
6169 6538
6170cat >>confdefs.h <<_ACEOF 6539cat >>confdefs.h <<_ACEOF
6171#define HAVE_DECL_ENDGRENT $ac_have_decl 6540#define HAVE_DECL_ENDGRENT $ac_have_decl
6172_ACEOF 6541_ACEOF
6173ac_fn_c_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default" 6542ac_fn_c_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default"
6174if test "x$ac_cv_have_decl_endpwent" = x""yes; then : 6543if test "x$ac_cv_have_decl_endpwent" = xyes; then :
6175 ac_have_decl=1 6544 ac_have_decl=1
6176else 6545else
6177 ac_have_decl=0 6546 ac_have_decl=0
6178fi 6547fi
6179 6548
6180cat >>confdefs.h <<_ACEOF 6549cat >>confdefs.h <<_ACEOF
6181#define HAVE_DECL_ENDPWENT $ac_have_decl 6550#define HAVE_DECL_ENDPWENT $ac_have_decl
6182_ACEOF 6551_ACEOF
6183 6552
6184 6553
6185need_pwcache=no 6554need_pwcache=no
6186for ac_func in gid_from_group group_from_gid pwcache_groupdb \ 6555for ac_func in gid_from_group group_from_gid pwcache_groupdb \
6187 pwcache_userdb uid_from_user user_from_uid \ 6556 pwcache_userdb uid_from_user user_from_uid \
6188 6557
6189do : 6558do :
6190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6191ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6560ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6192eval as_val=\$$as_ac_var 6561if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6193 if test "x$as_val" = x""yes; then : 
6194 cat >>confdefs.h <<_ACEOF 6562 cat >>confdefs.h <<_ACEOF
6195#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6563#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6196_ACEOF 6564_ACEOF
6197 : 6565 :
6198else 6566else
6199 need_pwcache=yes 6567 need_pwcache=yes
6200fi 6568fi
6201done 6569done
6202 6570
6203 6571
6204if test $need_pwcache = yes; then 6572if test $need_pwcache = yes; then
6205 case " $LIBOBJS " in 6573 case " $LIBOBJS " in
6206 *" pwcache.$ac_objext "* ) ;; 6574 *" pwcache.$ac_objext "* ) ;;
6207 *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" 6575 *) LIBOBJS="$LIBOBJS pwcache.$ac_objext"
6208 ;; 6576 ;;
6209esac 6577esac
6210 6578
6211fi 6579fi
6212 6580
6213ac_fn_c_check_func "$LINENO" "fts_open" "ac_cv_func_fts_open" 6581ac_fn_c_check_func "$LINENO" "fts_open" "ac_cv_func_fts_open"
6214if test "x$ac_cv_func_fts_open" = x""yes; then : 6582if test "x$ac_cv_func_fts_open" = xyes; then :
6215 : 6583 :
6216else 6584else
6217 6585
6218 $as_echo "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h 6586 $as_echo "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h
6219 6587
6220 6588
6221 case " $LIBOBJS " in 6589 case " $LIBOBJS " in
6222 *" fts.$ac_objext "* ) ;; 6590 *" fts.$ac_objext "* ) ;;
6223 *) LIBOBJS="$LIBOBJS fts.$ac_objext" 6591 *) LIBOBJS="$LIBOBJS fts.$ac_objext"
6224 ;; 6592 ;;
6225esac 6593esac
6226 6594
6227 6595
6228fi 6596fi
6229 6597
6230 6598
6231ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm" 6599ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm"
6232if test "x$ac_cv_func_timegm" = x""yes; then : 6600if test "x$ac_cv_func_timegm" = xyes; then :
6233 : 6601 :
6234else 6602else
6235 case " $LIBOBJS " in 6603 case " $LIBOBJS " in
6236 *" timegm.$ac_objext "* ) ;; 6604 *" timegm.$ac_objext "* ) ;;
6237 *) LIBOBJS="$LIBOBJS timegm.$ac_objext" 6605 *) LIBOBJS="$LIBOBJS timegm.$ac_objext"
6238 ;; 6606 ;;
6239esac 6607esac
6240 6608
6241fi 6609fi
6242 6610
6243 6611
6244# Handle Darwin 7 having a poll() compatibility function. Be 6612# Handle Darwin 7 having a poll() compatibility function. Be
6245# conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then 6613# conservative -- if we don't find one of <poll.h> or <sys/poll.h>, then
6246# use our own poll() implementation. 6614# use our own poll() implementation.
6247# 6615#
6248pkg_cv_have_poll_h=no 6616pkg_cv_have_poll_h=no
6249for ac_header in poll.h sys/poll.h 6617for ac_header in poll.h sys/poll.h
6250do : 6618do :
6251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6252ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6620ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6253eval as_val=\$$as_ac_Header 6621if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6254 if test "x$as_val" = x""yes; then : 
6255 cat >>confdefs.h <<_ACEOF 6622 cat >>confdefs.h <<_ACEOF
6256#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6623#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6257_ACEOF 6624_ACEOF
6258 6625
6259fi 6626fi
6260 6627
6261done 6628done
6262 6629
6263for ac_header in poll.h sys/poll.h 6630for ac_header in poll.h sys/poll.h
6264do : 6631do :
6265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6266ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 6633ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6267eval as_val=\$$as_ac_Header 6634if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6268 if test "x$as_val" = x""yes; then : 
6269 cat >>confdefs.h <<_ACEOF 6635 cat >>confdefs.h <<_ACEOF
6270#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6636#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6271_ACEOF 6637_ACEOF
6272 pkg_cv_have_poll_h=yes 6638 pkg_cv_have_poll_h=yes
6273fi 6639fi
6274 6640
6275done 6641done
6276 6642
6277 6643
6278pkg_use_nbcompat_poll=yes 6644pkg_use_nbcompat_poll=yes
6279if test $pkg_cv_have_poll_h = yes; then 6645if test $pkg_cv_have_poll_h = yes; then
6280 pkg_use_nbcompat_poll=no 6646 pkg_use_nbcompat_poll=no
6281fi 6647fi
6282 6648
6283if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then 6649if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then
6284 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" 6650 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
6285if test "x$ac_cv_func_poll" = x""yes; then : 6651if test "x$ac_cv_func_poll" = xyes; then :
6286 6652
6287 6653
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5 6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5
6289$as_echo_n "checking if poll() is implemented natively... " >&6; } 6655$as_echo_n "checking if poll() is implemented natively... " >&6; }
6290if test "${pkg_cv_native_poll+set}" = set; then : 6656if ${pkg_cv_native_poll+:} false; then :
6291 $as_echo_n "(cached) " >&6 6657 $as_echo_n "(cached) " >&6
6292else 6658else
6293 6659
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295/* end confdefs.h. */ 6661/* end confdefs.h. */
6296 #if HAVE_POLL_H 6662 #if HAVE_POLL_H
6297 #include <poll.h> 6663 #include <poll.h>
6298 #endif 6664 #endif
6299 #if HAVE_SYS_POLL_H 6665 #if HAVE_SYS_POLL_H
6300 #include <sys/poll.h> 6666 #include <sys/poll.h>
6301 #endif 6667 #endif
6302 6668
6303int 6669int
@@ -6339,41 +6705,40 @@ if test $pkg_use_nbcompat_poll = yes; th @@ -6339,41 +6705,40 @@ if test $pkg_use_nbcompat_poll = yes; th
6339 6705
6340 case " $LIBOBJS " in 6706 case " $LIBOBJS " in
6341 *" poll.$ac_objext "* ) ;; 6707 *" poll.$ac_objext "* ) ;;
6342 *) LIBOBJS="$LIBOBJS poll.$ac_objext" 6708 *) LIBOBJS="$LIBOBJS poll.$ac_objext"
6343 ;; 6709 ;;
6344esac 6710esac
6345 6711
6346fi 6712fi
6347 6713
6348for ac_func in getpassphrase getpgrp memmove select 6714for ac_func in getpassphrase getpgrp memmove select
6349do : 6715do :
6350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6351ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6717ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6352eval as_val=\$$as_ac_var 6718if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6353 if test "x$as_val" = x""yes; then : 
6354 cat >>confdefs.h <<_ACEOF 6719 cat >>confdefs.h <<_ACEOF
6355#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6720#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6356_ACEOF 6721_ACEOF
6357 6722
6358fi 6723fi
6359done 6724done
6360 6725
6361 6726
6362ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" 6727ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp"
6363if test "x$ac_cv_func_getpgrp" = x""yes; then : 6728if test "x$ac_cv_func_getpgrp" = xyes; then :
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
6365$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 6730$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
6366if test "${ac_cv_func_getpgrp_void+set}" = set; then : 6731if ${ac_cv_func_getpgrp_void+:} false; then :
6367 $as_echo_n "(cached) " >&6 6732 $as_echo_n "(cached) " >&6
6368else 6733else
6369 # Use it with a single arg. 6734 # Use it with a single arg.
6370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6371/* end confdefs.h. */ 6736/* end confdefs.h. */
6372$ac_includes_default 6737$ac_includes_default
6373int 6738int
6374main () 6739main ()
6375{ 6740{
6376getpgrp (0); 6741getpgrp (0);
6377 ; 6742 ;
6378 return 0; 6743 return 0;
6379} 6744}
@@ -6389,106 +6754,106 @@ fi @@ -6389,106 +6754,106 @@ fi
6389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 6754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
6390$as_echo "$ac_cv_func_getpgrp_void" >&6; } 6755$as_echo "$ac_cv_func_getpgrp_void" >&6; }
6391if test $ac_cv_func_getpgrp_void = yes; then 6756if test $ac_cv_func_getpgrp_void = yes; then
6392 6757
6393$as_echo "#define GETPGRP_VOID 1" >>confdefs.h 6758$as_echo "#define GETPGRP_VOID 1" >>confdefs.h
6394 6759
6395fi 6760fi
6396 6761
6397fi 6762fi
6398 6763
6399 6764
6400ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" " #include <sys/statfs.h> 6765ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" " #include <sys/statfs.h>
6401" 6766"
6402if test "x$ac_cv_member_struct_statfs_f_flags" = x""yes; then : 6767if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
6403 6768
6404cat >>confdefs.h <<_ACEOF 6769cat >>confdefs.h <<_ACEOF
6405#define HAVE_STRUCT_STATFS_F_FLAGS 1 6770#define HAVE_STRUCT_STATFS_F_FLAGS 1
6406_ACEOF 6771_ACEOF
6407 6772
6408: 6773:
6409else 6774else
6410 : 6775 :
6411fi 6776fi
6412 6777
6413ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsize" "ac_cv_member_struct_statfs_f_fsize" " #include <sys/statfs.h> 6778ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsize" "ac_cv_member_struct_statfs_f_fsize" " #include <sys/statfs.h>
6414" 6779"
6415if test "x$ac_cv_member_struct_statfs_f_fsize" = x""yes; then : 6780if test "x$ac_cv_member_struct_statfs_f_fsize" = xyes; then :
6416 6781
6417cat >>confdefs.h <<_ACEOF 6782cat >>confdefs.h <<_ACEOF
6418#define HAVE_STRUCT_STATFS_F_FSIZE 1 6783#define HAVE_STRUCT_STATFS_F_FSIZE 1
6419_ACEOF 6784_ACEOF
6420 6785
6421: 6786:
6422else 6787else
6423 : 6788 :
6424fi 6789fi
6425 6790
6426ac_fn_c_check_member "$LINENO" "struct statfs" "f_iosize" "ac_cv_member_struct_statfs_f_iosize" " #include <sys/statfs.h> 6791ac_fn_c_check_member "$LINENO" "struct statfs" "f_iosize" "ac_cv_member_struct_statfs_f_iosize" " #include <sys/statfs.h>
6427" 6792"
6428if test "x$ac_cv_member_struct_statfs_f_iosize" = x""yes; then : 6793if test "x$ac_cv_member_struct_statfs_f_iosize" = xyes; then :
6429 6794
6430cat >>confdefs.h <<_ACEOF 6795cat >>confdefs.h <<_ACEOF
6431#define HAVE_STRUCT_STATFS_F_IOSIZE 1 6796#define HAVE_STRUCT_STATFS_F_IOSIZE 1
6432_ACEOF 6797_ACEOF
6433 6798
6434: 6799:
6435else 6800else
6436 : 6801 :
6437fi 6802fi
6438 6803
6439ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" " #include <sys/types.h> 6804ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" " #include <sys/types.h>
6440 #if HAVE_DIRENT_H 6805 #if HAVE_DIRENT_H
6441 # include <dirent.h> 6806 # include <dirent.h>
6442 #else 6807 #else
6443 # define dirent direct 6808 # define dirent direct
6444 # if HAVE_SYS_NDIR_H 6809 # if HAVE_SYS_NDIR_H
6445 # include <sys/ndir.h> 6810 # include <sys/ndir.h>
6446 # endif 6811 # endif
6447 # if HAVE_SYS_DIR_H 6812 # if HAVE_SYS_DIR_H
6448 # include <sys/dir.h> 6813 # include <sys/dir.h>
6449 # endif 6814 # endif
6450 # if HAVE_NDIR_H 6815 # if HAVE_NDIR_H
6451 # include <ndir.h> 6816 # include <ndir.h>
6452 # endif 6817 # endif
6453 #endif 6818 #endif
6454" 6819"
6455if test "x$ac_cv_member_struct_dirent_d_namlen" = x""yes; then : 6820if test "x$ac_cv_member_struct_dirent_d_namlen" = xyes; then :
6456 6821
6457cat >>confdefs.h <<_ACEOF 6822cat >>confdefs.h <<_ACEOF
6458#define HAVE_STRUCT_DIRENT_D_NAMLEN 1 6823#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
6459_ACEOF 6824_ACEOF
6460 6825
6461: 6826:
6462else 6827else
6463 : 6828 :
6464fi 6829fi
6465ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" " #include <sys/types.h> 6830ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" " #include <sys/types.h>
6466 #if HAVE_DIRENT_H 6831 #if HAVE_DIRENT_H
6467 # include <dirent.h> 6832 # include <dirent.h>
6468 #else 6833 #else
6469 # define dirent direct 6834 # define dirent direct
6470 # if HAVE_SYS_NDIR_H 6835 # if HAVE_SYS_NDIR_H
6471 # include <sys/ndir.h> 6836 # include <sys/ndir.h>
6472 # endif 6837 # endif
6473 # if HAVE_SYS_DIR_H 6838 # if HAVE_SYS_DIR_H
6474 # include <sys/dir.h> 6839 # include <sys/dir.h>
6475 # endif 6840 # endif
6476 # if HAVE_NDIR_H 6841 # if HAVE_NDIR_H
6477 # include <ndir.h> 6842 # include <ndir.h>
6478 # endif 6843 # endif
6479 #endif 6844 #endif
6480" 6845"
6481if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then : 6846if test "x$ac_cv_member_DIR_dd_fd" = xyes; then :
6482 6847
6483cat >>confdefs.h <<_ACEOF 6848cat >>confdefs.h <<_ACEOF
6484#define HAVE_DIR_DD_FD 1 6849#define HAVE_DIR_DD_FD 1
6485_ACEOF 6850_ACEOF
6486 6851
6487: 6852:
6488else 6853else
6489 : 6854 :
6490fi 6855fi
6491 6856
6492 6857
6493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5 6858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
6494$as_echo_n "checking for dirfd... " >&6; } 6859$as_echo_n "checking for dirfd... " >&6; }
@@ -6605,43 +6970,38 @@ else @@ -6605,43 +6970,38 @@ else
6605$as_echo "no" >&6; } 6970$as_echo "no" >&6; }
6606 6971
6607fi 6972fi
6608rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6973rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6609 conftest.$ac_objext conftest.beam conftest.$ac_ext 6974 conftest.$ac_objext conftest.beam conftest.$ac_ext
6610fi 6975fi
6611 6976
6612 fi 6977 fi
6613 6978
6614 if test $can_printf_longlong = yes; then 6979 if test $can_printf_longlong = yes; then
6615 $as_echo "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h 6980 $as_echo "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h
6616 6981
6617 6982
6618 for ac_func in strtoll 6983 ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll"
6619do : 6984if test "x$ac_cv_func_strtoll" = xyes; then :
6620 ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" 6985 $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h
6621if test "x$ac_cv_func_strtoll" = x""yes; then : 
6622 cat >>confdefs.h <<_ACEOF 
6623#define HAVE_STRTOLL 1 
6624_ACEOF 
6625 6986
6626else 6987else
6627 case " $LIBOBJS " in 6988 case " $LIBOBJS " in
6628 *" $ac_func.$ac_objext "* ) ;; 6989 *" strtoll.$ac_objext "* ) ;;
6629 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6990 *) LIBOBJS="$LIBOBJS strtoll.$ac_objext"
6630 ;; 6991 ;;
6631esac 6992esac
6632 6993
6633fi 6994fi
6634done 
6635 6995
6636 6996
6637 fi 6997 fi
6638 6998
6639fi 6999fi
6640 7000
6641 7001
6642 7002
6643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5 7003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5
6644$as_echo_n "checking if vsnprintf is standards compliant... " >&6; } 7004$as_echo_n "checking if vsnprintf is standards compliant... " >&6; }
6645have_std_vsnprintf=no 7005have_std_vsnprintf=no
6646if test "$cross_compiling" = yes; then : 7006if test "$cross_compiling" = yes; then :
6647 : 7007 :
@@ -6747,62 +7107,74 @@ $as_echo "$as_me: WARNING: cache variabl @@ -6747,62 +7107,74 @@ $as_echo "$as_me: WARNING: cache variabl
6747 esac | 7107 esac |
6748 sort 7108 sort
6749) | 7109) |
6750 sed ' 7110 sed '
6751 /^ac_cv_env_/b end 7111 /^ac_cv_env_/b end
6752 t clear 7112 t clear
6753 :clear 7113 :clear
6754 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7114 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6755 t end 7115 t end
6756 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7116 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6757 :end' >>confcache 7117 :end' >>confcache
6758if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7118if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6759 if test -w "$cache_file"; then 7119 if test -w "$cache_file"; then
6760 test "x$cache_file" != "x/dev/null" && 7120 if test "x$cache_file" != "x/dev/null"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6762$as_echo "$as_me: updating cache $cache_file" >&6;} 7122$as_echo "$as_me: updating cache $cache_file" >&6;}
6763 cat confcache >$cache_file 7123 if test ! -f "$cache_file" || test -h "$cache_file"; then
 7124 cat confcache >"$cache_file"
 7125 else
 7126 case $cache_file in #(
 7127 */* | ?:*)
 7128 mv -f confcache "$cache_file"$$ &&
 7129 mv -f "$cache_file"$$ "$cache_file" ;; #(
 7130 *)
 7131 mv -f confcache "$cache_file" ;;
 7132 esac
 7133 fi
 7134 fi
6764 else 7135 else
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7136 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6766$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7137$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6767 fi 7138 fi
6768fi 7139fi
6769rm -f confcache 7140rm -f confcache
6770 7141
6771test "x$prefix" = xNONE && prefix=$ac_default_prefix 7142test "x$prefix" = xNONE && prefix=$ac_default_prefix
6772# Let make expand exec_prefix. 7143# Let make expand exec_prefix.
6773test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7144test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6774 7145
6775DEFS=-DHAVE_CONFIG_H 7146DEFS=-DHAVE_CONFIG_H
6776 7147
6777ac_libobjs= 7148ac_libobjs=
6778ac_ltlibobjs= 7149ac_ltlibobjs=
 7150U=
6779for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7151for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6780 # 1. Remove the extension, and $U if already installed. 7152 # 1. Remove the extension, and $U if already installed.
6781 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7153 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6782 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7154 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6783 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7155 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6784 # will be set to the directory where LIBOBJS objects are built. 7156 # will be set to the directory where LIBOBJS objects are built.
6785 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7157 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6786 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7158 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6787done 7159done
6788LIBOBJS=$ac_libobjs 7160LIBOBJS=$ac_libobjs
6789 7161
6790LTLIBOBJS=$ac_ltlibobjs 7162LTLIBOBJS=$ac_ltlibobjs
6791 7163
6792 7164
6793 7165
6794 7166
6795: ${CONFIG_STATUS=./config.status} 7167: "${CONFIG_STATUS=./config.status}"
6796ac_write_fail=0 7168ac_write_fail=0
6797ac_clean_files_save=$ac_clean_files 7169ac_clean_files_save=$ac_clean_files
6798ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7170ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6799{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7171{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6800$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7172$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6801as_write_fail=0 7173as_write_fail=0
6802cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7174cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6803#! $SHELL 7175#! $SHELL
6804# Generated by $as_me. 7176# Generated by $as_me.
6805# Run this file to recreate the current configuration. 7177# Run this file to recreate the current configuration.
6806# Compiler output produced by configure, useful for debugging 7178# Compiler output produced by configure, useful for debugging
6807# configure, is in config.log if it exists. 7179# configure, is in config.log if it exists.
6808 7180
@@ -6883,26 +7255,27 @@ if test "${PATH_SEPARATOR+set}" != set;  @@ -6883,26 +7255,27 @@ if test "${PATH_SEPARATOR+set}" != set;
6883 PATH_SEPARATOR=';' 7255 PATH_SEPARATOR=';'
6884 } 7256 }
6885fi 7257fi
6886 7258
6887 7259
6888# IFS 7260# IFS
6889# We need space, tab and new line, in precisely that order. Quoting is 7261# We need space, tab and new line, in precisely that order. Quoting is
6890# there to prevent editors from complaining about space-tab. 7262# there to prevent editors from complaining about space-tab.
6891# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7263# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6892# splitting by setting IFS to empty value.) 7264# splitting by setting IFS to empty value.)
6893IFS=" "" $as_nl" 7265IFS=" "" $as_nl"
6894 7266
6895# Find who we are. Look in the path if we contain no directory separator. 7267# Find who we are. Look in the path if we contain no directory separator.
 7268as_myself=
6896case $0 in #(( 7269case $0 in #((
6897 *[\\/]* ) as_myself=$0 ;; 7270 *[\\/]* ) as_myself=$0 ;;
6898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899for as_dir in $PATH 7272for as_dir in $PATH
6900do 7273do
6901 IFS=$as_save_IFS 7274 IFS=$as_save_IFS
6902 test -z "$as_dir" && as_dir=. 7275 test -z "$as_dir" && as_dir=.
6903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6904 done 7277 done
6905IFS=$as_save_IFS 7278IFS=$as_save_IFS
6906 7279
6907 ;; 7280 ;;
6908esac 7281esac
@@ -6928,39 +7301,39 @@ PS1='$ ' @@ -6928,39 +7301,39 @@ PS1='$ '
6928PS2='> ' 7301PS2='> '
6929PS4='+ ' 7302PS4='+ '
6930 7303
6931# NLS nuisances. 7304# NLS nuisances.
6932LC_ALL=C 7305LC_ALL=C
6933export LC_ALL 7306export LC_ALL
6934LANGUAGE=C 7307LANGUAGE=C
6935export LANGUAGE 7308export LANGUAGE
6936 7309
6937# CDPATH. 7310# CDPATH.
6938(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7311(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6939 7312
6940 7313
6941# as_fn_error ERROR [LINENO LOG_FD] 7314# as_fn_error STATUS ERROR [LINENO LOG_FD]
6942# --------------------------------- 7315# ----------------------------------------
6943# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7316# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6944# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7317# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6945# script with status $?, using 1 if that was 0. 7318# script with STATUS, using 1 if that was 0.
6946as_fn_error () 7319as_fn_error ()
6947{ 7320{
6948 as_status=$?; test $as_status -eq 0 && as_status=1 7321 as_status=$1; test $as_status -eq 0 && as_status=1
6949 if test "$3"; then 7322 if test "$4"; then
6950 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7323 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 7324 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6952 fi 7325 fi
6953 $as_echo "$as_me: error: $1" >&2 7326 $as_echo "$as_me: error: $2" >&2
6954 as_fn_exit $as_status 7327 as_fn_exit $as_status
6955} # as_fn_error 7328} # as_fn_error
6956 7329
6957 7330
6958# as_fn_set_status STATUS 7331# as_fn_set_status STATUS
6959# ----------------------- 7332# -----------------------
6960# Set $? to STATUS, without forking. 7333# Set $? to STATUS, without forking.
6961as_fn_set_status () 7334as_fn_set_status ()
6962{ 7335{
6963 return $1 7336 return $1
6964} # as_fn_set_status 7337} # as_fn_set_status
6965 7338
6966# as_fn_exit STATUS 7339# as_fn_exit STATUS
@@ -7136,27 +7509,27 @@ $as_echo X"$as_dir" | @@ -7136,27 +7509,27 @@ $as_echo X"$as_dir" |
7136 } 7509 }
7137 /^X\(\/\/\)$/{ 7510 /^X\(\/\/\)$/{
7138 s//\1/ 7511 s//\1/
7139 q 7512 q
7140 } 7513 }
7141 /^X\(\/\).*/{ 7514 /^X\(\/\).*/{
7142 s//\1/ 7515 s//\1/
7143 q 7516 q
7144 } 7517 }
7145 s/.*/./; q'` 7518 s/.*/./; q'`
7146 test -d "$as_dir" && break 7519 test -d "$as_dir" && break
7147 done 7520 done
7148 test -z "$as_dirs" || eval "mkdir $as_dirs" 7521 test -z "$as_dirs" || eval "mkdir $as_dirs"
7149 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 7522 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7150 7523
7151 7524
7152} # as_fn_mkdir_p 7525} # as_fn_mkdir_p
7153if mkdir -p . 2>/dev/null; then 7526if mkdir -p . 2>/dev/null; then
7154 as_mkdir_p='mkdir -p "$as_dir"' 7527 as_mkdir_p='mkdir -p "$as_dir"'
7155else 7528else
7156 test -d ./-p && rmdir ./-p 7529 test -d ./-p && rmdir ./-p
7157 as_mkdir_p=false 7530 as_mkdir_p=false
7158fi 7531fi
7159 7532
7160if test -x / >/dev/null 2>&1; then 7533if test -x / >/dev/null 2>&1; then
7161 as_test_x='test -x' 7534 as_test_x='test -x'
7162else 7535else
@@ -7190,27 +7563,27 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr @@ -7190,27 +7563,27 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
7190exec 6>&1 7563exec 6>&1
7191## ----------------------------------- ## 7564## ----------------------------------- ##
7192## Main body of $CONFIG_STATUS script. ## 7565## Main body of $CONFIG_STATUS script. ##
7193## ----------------------------------- ## 7566## ----------------------------------- ##
7194_ASEOF 7567_ASEOF
7195test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7568test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7196 7569
7197cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7570cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7198# Save the log message, to keep $0 and so on meaningful, and to 7571# Save the log message, to keep $0 and so on meaningful, and to
7199# report actual input values of CONFIG_FILES etc. instead of their 7572# report actual input values of CONFIG_FILES etc. instead of their
7200# values after options handling. 7573# values after options handling.
7201ac_log=" 7574ac_log="
7202This file was extended by libnbcompat $as_me 20080605, which was 7575This file was extended by libnbcompat $as_me 20080605, which was
7203generated by GNU Autoconf 2.65. Invocation command line was 7576generated by GNU Autoconf 2.68. Invocation command line was
7204 7577
7205 CONFIG_FILES = $CONFIG_FILES 7578 CONFIG_FILES = $CONFIG_FILES
7206 CONFIG_HEADERS = $CONFIG_HEADERS 7579 CONFIG_HEADERS = $CONFIG_HEADERS
7207 CONFIG_LINKS = $CONFIG_LINKS 7580 CONFIG_LINKS = $CONFIG_LINKS
7208 CONFIG_COMMANDS = $CONFIG_COMMANDS 7581 CONFIG_COMMANDS = $CONFIG_COMMANDS
7209 $ $0 $@ 7582 $ $0 $@
7210 7583
7211on `(hostname || uname -n) 2>/dev/null | sed 1q` 7584on `(hostname || uname -n) 2>/dev/null | sed 1q`
7212" 7585"
7213 7586
7214_ACEOF 7587_ACEOF
7215 7588
7216case $ac_config_files in *" 7589case $ac_config_files in *"
@@ -7252,94 +7625,100 @@ Usage: $0 [OPTION]... [TAG]... @@ -7252,94 +7625,100 @@ Usage: $0 [OPTION]... [TAG]...
7252Configuration files: 7625Configuration files:
7253$config_files 7626$config_files
7254 7627
7255Configuration headers: 7628Configuration headers:
7256$config_headers 7629$config_headers
7257 7630
7258Report bugs to <grant@NetBSD.org>." 7631Report bugs to <grant@NetBSD.org>."
7259 7632
7260_ACEOF 7633_ACEOF
7261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7262ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7635ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7263ac_cs_version="\\ 7636ac_cs_version="\\
7264libnbcompat config.status 20080605 7637libnbcompat config.status 20080605
7265configured by $0, generated by GNU Autoconf 2.65, 7638configured by $0, generated by GNU Autoconf 2.68,
7266 with options \\"\$ac_cs_config\\" 7639 with options \\"\$ac_cs_config\\"
7267 7640
7268Copyright (C) 2009 Free Software Foundation, Inc. 7641Copyright (C) 2010 Free Software Foundation, Inc.
7269This config.status script is free software; the Free Software Foundation 7642This config.status script is free software; the Free Software Foundation
7270gives unlimited permission to copy, distribute and modify it." 7643gives unlimited permission to copy, distribute and modify it."
7271 7644
7272ac_pwd='$ac_pwd' 7645ac_pwd='$ac_pwd'
7273srcdir='$srcdir' 7646srcdir='$srcdir'
7274INSTALL='$INSTALL' 7647INSTALL='$INSTALL'
7275AWK='$AWK' 7648AWK='$AWK'
7276test -n "\$AWK" || AWK=awk 7649test -n "\$AWK" || AWK=awk
7277_ACEOF 7650_ACEOF
7278 7651
7279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7280# The default lists apply if the user does not specify any file. 7653# The default lists apply if the user does not specify any file.
7281ac_need_defaults=: 7654ac_need_defaults=:
7282while test $# != 0 7655while test $# != 0
7283do 7656do
7284 case $1 in 7657 case $1 in
7285 --*=*) 7658 --*=?*)
7286 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7659 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7287 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7660 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7288 ac_shift=: 7661 ac_shift=:
7289 ;; 7662 ;;
 7663 --*=)
 7664 ac_option=`expr "X$1" : 'X\([^=]*\)='`
 7665 ac_optarg=
 7666 ac_shift=:
 7667 ;;
7290 *) 7668 *)
7291 ac_option=$1 7669 ac_option=$1
7292 ac_optarg=$2 7670 ac_optarg=$2
7293 ac_shift=shift 7671 ac_shift=shift
7294 ;; 7672 ;;
7295 esac 7673 esac
7296 7674
7297 case $ac_option in 7675 case $ac_option in
7298 # Handling of the options. 7676 # Handling of the options.
7299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7677 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7300 ac_cs_recheck=: ;; 7678 ac_cs_recheck=: ;;
7301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7679 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7302 $as_echo "$ac_cs_version"; exit ;; 7680 $as_echo "$ac_cs_version"; exit ;;
7303 --config | --confi | --conf | --con | --co | --c ) 7681 --config | --confi | --conf | --con | --co | --c )
7304 $as_echo "$ac_cs_config"; exit ;; 7682 $as_echo "$ac_cs_config"; exit ;;
7305 --debug | --debu | --deb | --de | --d | -d ) 7683 --debug | --debu | --deb | --de | --d | -d )
7306 debug=: ;; 7684 debug=: ;;
7307 --file | --fil | --fi | --f ) 7685 --file | --fil | --fi | --f )
7308 $ac_shift 7686 $ac_shift
7309 case $ac_optarg in 7687 case $ac_optarg in
7310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7688 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 7689 '') as_fn_error $? "missing file argument" ;;
7311 esac 7690 esac
7312 as_fn_append CONFIG_FILES " '$ac_optarg'" 7691 as_fn_append CONFIG_FILES " '$ac_optarg'"
7313 ac_need_defaults=false;; 7692 ac_need_defaults=false;;
7314 --header | --heade | --head | --hea ) 7693 --header | --heade | --head | --hea )
7315 $ac_shift 7694 $ac_shift
7316 case $ac_optarg in 7695 case $ac_optarg in
7317 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7696 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7318 esac 7697 esac
7319 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7698 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7320 ac_need_defaults=false;; 7699 ac_need_defaults=false;;
7321 --he | --h) 7700 --he | --h)
7322 # Conflict between --help and --header 7701 # Conflict between --help and --header
7323 as_fn_error "ambiguous option: \`$1' 7702 as_fn_error $? "ambiguous option: \`$1'
7324Try \`$0 --help' for more information.";; 7703Try \`$0 --help' for more information.";;
7325 --help | --hel | -h ) 7704 --help | --hel | -h )
7326 $as_echo "$ac_cs_usage"; exit ;; 7705 $as_echo "$ac_cs_usage"; exit ;;
7327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7328 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7707 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7329 ac_cs_silent=: ;; 7708 ac_cs_silent=: ;;
7330 7709
7331 # This is an error. 7710 # This is an error.
7332 -*) as_fn_error "unrecognized option: \`$1' 7711 -*) as_fn_error $? "unrecognized option: \`$1'
7333Try \`$0 --help' for more information." ;; 7712Try \`$0 --help' for more information." ;;
7334 7713
7335 *) as_fn_append ac_config_targets " $1" 7714 *) as_fn_append ac_config_targets " $1"
7336 ac_need_defaults=false ;; 7715 ac_need_defaults=false ;;
7337 7716
7338 esac 7717 esac
7339 shift 7718 shift
7340done 7719done
7341 7720
7342ac_configure_extra_args= 7721ac_configure_extra_args=
7343 7722
7344if $ac_cs_silent; then 7723if $ac_cs_silent; then
7345 exec 6>/dev/null 7724 exec 6>/dev/null
@@ -7371,114 +7750,116 @@ _ASBOX @@ -7371,114 +7750,116 @@ _ASBOX
7371_ACEOF 7750_ACEOF
7372cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7373_ACEOF 7752_ACEOF
7374 7753
7375cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7376 7755
7377# Handling of arguments. 7756# Handling of arguments.
7378for ac_config_target in $ac_config_targets 7757for ac_config_target in $ac_config_targets
7379do 7758do
7380 case $ac_config_target in 7759 case $ac_config_target in
7381 "nbcompat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;; 7760 "nbcompat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;;
7382 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7761 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7383 7762
7384 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7763 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7385 esac 7764 esac
7386done 7765done
7387 7766
7388 7767
7389# If the user did not use the arguments to specify the items to instantiate, 7768# If the user did not use the arguments to specify the items to instantiate,
7390# then the envvar interface is used. Set only those that are not. 7769# then the envvar interface is used. Set only those that are not.
7391# We use the long form for the default assignment because of an extremely 7770# We use the long form for the default assignment because of an extremely
7392# bizarre bug on SunOS 4.1.3. 7771# bizarre bug on SunOS 4.1.3.
7393if $ac_need_defaults; then 7772if $ac_need_defaults; then
7394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7773 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7774 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7396fi 7775fi
7397 7776
7398# Have a temporary directory for convenience. Make it in the build tree 7777# Have a temporary directory for convenience. Make it in the build tree
7399# simply because there is no reason against having it here, and in addition, 7778# simply because there is no reason against having it here, and in addition,
7400# creating and moving files from /tmp can sometimes cause problems. 7779# creating and moving files from /tmp can sometimes cause problems.
7401# Hook for its removal unless debugging. 7780# Hook for its removal unless debugging.
7402# Note that there is a small window in which the directory will not be cleaned: 7781# Note that there is a small window in which the directory will not be cleaned:
7403# after its creation but before its name has been assigned to `$tmp'. 7782# after its creation but before its name has been assigned to `$tmp'.
7404$debug || 7783$debug ||
7405{ 7784{
7406 tmp= 7785 tmp= ac_tmp=
7407 trap 'exit_status=$? 7786 trap 'exit_status=$?
7408 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7787 : "${ac_tmp:=$tmp}"
 7788 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7409' 0 7789' 0
7410 trap 'as_fn_exit 1' 1 2 13 15 7790 trap 'as_fn_exit 1' 1 2 13 15
7411} 7791}
7412# Create a (secure) tmp directory for tmp files. 7792# Create a (secure) tmp directory for tmp files.
7413 7793
7414{ 7794{
7415 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7795 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7416 test -n "$tmp" && test -d "$tmp" 7796 test -d "$tmp"
7417} || 7797} ||
7418{ 7798{
7419 tmp=./conf$$-$RANDOM 7799 tmp=./conf$$-$RANDOM
7420 (umask 077 && mkdir "$tmp") 7800 (umask 077 && mkdir "$tmp")
7421} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7801} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 7802ac_tmp=$tmp
7422 7803
7423# Set up the scripts for CONFIG_FILES section. 7804# Set up the scripts for CONFIG_FILES section.
7424# No need to generate them if there are no CONFIG_FILES. 7805# No need to generate them if there are no CONFIG_FILES.
7425# This happens for instance with `./config.status config.h'. 7806# This happens for instance with `./config.status config.h'.
7426if test -n "$CONFIG_FILES"; then 7807if test -n "$CONFIG_FILES"; then
7427 7808
7428 7809
7429ac_cr=`echo X | tr X '\015'` 7810ac_cr=`echo X | tr X '\015'`
7430# On cygwin, bash can eat \r inside `` if the user requested igncr. 7811# On cygwin, bash can eat \r inside `` if the user requested igncr.
7431# But we know of no other shell where ac_cr would be empty at this 7812# But we know of no other shell where ac_cr would be empty at this
7432# point, so we can use a bashism as a fallback. 7813# point, so we can use a bashism as a fallback.
7433if test "x$ac_cr" = x; then 7814if test "x$ac_cr" = x; then
7434 eval ac_cr=\$\'\\r\' 7815 eval ac_cr=\$\'\\r\'
7435fi 7816fi
7436ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7817ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7437if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7818if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7438 ac_cs_awk_cr='\r' 7819 ac_cs_awk_cr='\\r'
7439else 7820else
7440 ac_cs_awk_cr=$ac_cr 7821 ac_cs_awk_cr=$ac_cr
7441fi 7822fi
7442 7823
7443echo 'BEGIN {' >"$tmp/subs1.awk" && 7824echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7444_ACEOF 7825_ACEOF
7445 7826
7446 7827
7447{ 7828{
7448 echo "cat >conf$$subs.awk <<_ACEOF" && 7829 echo "cat >conf$$subs.awk <<_ACEOF" &&
7449 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7830 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7450 echo "_ACEOF" 7831 echo "_ACEOF"
7451} >conf$$subs.sh || 7832} >conf$$subs.sh ||
7452 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7453ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7834ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7454ac_delim='%!_!# ' 7835ac_delim='%!_!# '
7455for ac_last_try in false false false false false :; do 7836for ac_last_try in false false false false false :; do
7456 . ./conf$$subs.sh || 7837 . ./conf$$subs.sh ||
7457 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7838 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7458 7839
7459 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7840 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7460 if test $ac_delim_n = $ac_delim_num; then 7841 if test $ac_delim_n = $ac_delim_num; then
7461 break 7842 break
7462 elif $ac_last_try; then 7843 elif $ac_last_try; then
7463 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7844 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7464 else 7845 else
7465 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7846 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7466 fi 7847 fi
7467done 7848done
7468rm -f conf$$subs.sh 7849rm -f conf$$subs.sh
7469 7850
7470cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7851cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7471cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7852cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7472_ACEOF 7853_ACEOF
7473sed -n ' 7854sed -n '
7474h 7855h
7475s/^/S["/; s/!.*/"]=/ 7856s/^/S["/; s/!.*/"]=/
7476p 7857p
7477g 7858g
7478s/^[^!]*!// 7859s/^[^!]*!//
7479:repl 7860:repl
7480t repl 7861t repl
7481s/'"$ac_delim"'$// 7862s/'"$ac_delim"'$//
7482t delim 7863t delim
7483:nl 7864:nl
7484h 7865h
@@ -7506,27 +7887,27 @@ s/["\\]/\\&/g; s/^/"/; s/$/"\\/ @@ -7506,27 +7887,27 @@ s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7506p 7887p
7507g 7888g
7508s/.\{148\}// 7889s/.\{148\}//
7509t delim 7890t delim
7510' <conf$$subs.awk | sed ' 7891' <conf$$subs.awk | sed '
7511/^[^""]/{ 7892/^[^""]/{
7512 N 7893 N
7513 s/\n// 7894 s/\n//
7514} 7895}
7515' >>$CONFIG_STATUS || ac_write_fail=1 7896' >>$CONFIG_STATUS || ac_write_fail=1
7516rm -f conf$$subs.awk 7897rm -f conf$$subs.awk
7517cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7898cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7518_ACAWK 7899_ACAWK
7519cat >>"\$tmp/subs1.awk" <<_ACAWK && 7900cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7520 for (key in S) S_is_set[key] = 1 7901 for (key in S) S_is_set[key] = 1
7521 FS = "" 7902 FS = ""
7522 7903
7523} 7904}
7524{ 7905{
7525 line = $ 0 7906 line = $ 0
7526 nfields = split(line, field, "@") 7907 nfields = split(line, field, "@")
7527 substed = 0 7908 substed = 0
7528 len = length(field[1]) 7909 len = length(field[1])
7529 for (i = 2; i < nfields; i++) { 7910 for (i = 2; i < nfields; i++) {
7530 key = field[i] 7911 key = field[i]
7531 keylen = length(key) 7912 keylen = length(key)
7532 if (S_is_set[key]) { 7913 if (S_is_set[key]) {
@@ -7538,69 +7919,77 @@ cat >>"\$tmp/subs1.awk" <<_ACAWK && @@ -7538,69 +7919,77 @@ cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7538 len += 1 + keylen 7919 len += 1 + keylen
7539 } 7920 }
7540 7921
7541 print line 7922 print line
7542} 7923}
7543 7924
7544_ACAWK 7925_ACAWK
7545_ACEOF 7926_ACEOF
7546cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7927cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7547if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7928if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7548 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7929 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7549else 7930else
7550 cat 7931 cat
7551fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7932fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7552 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7933 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7553_ACEOF 7934_ACEOF
7554 7935
7555# VPATH may cause trouble with some makes, so we remove $(srcdir), 7936# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7556# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7937# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7557# trailing colons and then remove the whole line if VPATH becomes empty 7938# trailing colons and then remove the whole line if VPATH becomes empty
7558# (actually we leave an empty line to preserve line numbers). 7939# (actually we leave an empty line to preserve line numbers).
7559if test "x$srcdir" = x.; then 7940if test "x$srcdir" = x.; then
7560 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7941 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7561s/:*\$(srcdir):*/:/ 7942h
7562s/:*\${srcdir}:*/:/ 7943s///
7563s/:*@srcdir@:*/:/ 7944s/^/:/
7564s/^\([^=]*=[ ]*\):*/\1/ 7945s/[ ]*$/:/
 7946s/:\$(srcdir):/:/g
 7947s/:\${srcdir}:/:/g
 7948s/:@srcdir@:/:/g
 7949s/^:*//
7565s/:*$// 7950s/:*$//
 7951x
 7952s/\(=[ ]*\).*/\1/
 7953G
 7954s/\n//
7566s/^[^=]*=[ ]*$// 7955s/^[^=]*=[ ]*$//
7567}' 7956}'
7568fi 7957fi
7569 7958
7570cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7959cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7571fi # test -n "$CONFIG_FILES" 7960fi # test -n "$CONFIG_FILES"
7572 7961
7573# Set up the scripts for CONFIG_HEADERS section. 7962# Set up the scripts for CONFIG_HEADERS section.
7574# No need to generate them if there are no CONFIG_HEADERS. 7963# No need to generate them if there are no CONFIG_HEADERS.
7575# This happens for instance with `./config.status Makefile'. 7964# This happens for instance with `./config.status Makefile'.
7576if test -n "$CONFIG_HEADERS"; then 7965if test -n "$CONFIG_HEADERS"; then
7577cat >"$tmp/defines.awk" <<\_ACAWK || 7966cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7578BEGIN { 7967BEGIN {
7579_ACEOF 7968_ACEOF
7580 7969
7581# Transform confdefs.h into an awk script `defines.awk', embedded as 7970# Transform confdefs.h into an awk script `defines.awk', embedded as
7582# here-document in config.status, that substitutes the proper values into 7971# here-document in config.status, that substitutes the proper values into
7583# config.h.in to produce config.h. 7972# config.h.in to produce config.h.
7584 7973
7585# Create a delimiter string that does not exist in confdefs.h, to ease 7974# Create a delimiter string that does not exist in confdefs.h, to ease
7586# handling of long lines. 7975# handling of long lines.
7587ac_delim='%!_!# ' 7976ac_delim='%!_!# '
7588for ac_last_try in false false :; do 7977for ac_last_try in false false :; do
7589 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7978 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7590 if test -z "$ac_t"; then 7979 if test -z "$ac_tt"; then
7591 break 7980 break
7592 elif $ac_last_try; then 7981 elif $ac_last_try; then
7593 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7982 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7594 else 7983 else
7595 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7984 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7596 fi 7985 fi
7597done 7986done
7598 7987
7599# For the awk script, D is an array of macro values keyed by name, 7988# For the awk script, D is an array of macro values keyed by name,
7600# likewise P contains macro parameters if any. Preserve backslash 7989# likewise P contains macro parameters if any. Preserve backslash
7601# newline sequences. 7990# newline sequences.
7602 7991
7603ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7992ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7604sed -n ' 7993sed -n '
7605s/.\{148\}/&'"$ac_delim"'/g 7994s/.\{148\}/&'"$ac_delim"'/g
7606t rset 7995t rset
@@ -7665,95 +8054,95 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ @@ -7665,95 +8054,95 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
7665 # Replace #undef with comments. This is necessary, for example, 8054 # Replace #undef with comments. This is necessary, for example,
7666 # in the case of _POSIX_SOURCE, which is predefined and required 8055 # in the case of _POSIX_SOURCE, which is predefined and required
7667 # on some systems where configure will not decide to define it. 8056 # on some systems where configure will not decide to define it.
7668 if (defundef == "undef") { 8057 if (defundef == "undef") {
7669 print "/*", prefix defundef, macro, "*/" 8058 print "/*", prefix defundef, macro, "*/"
7670 next 8059 next
7671 } 8060 }
7672 } 8061 }
7673} 8062}
7674{ print } 8063{ print }
7675_ACAWK 8064_ACAWK
7676_ACEOF 8065_ACEOF
7677cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7678 as_fn_error "could not setup config headers machinery" "$LINENO" 5 8067 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7679fi # test -n "$CONFIG_HEADERS" 8068fi # test -n "$CONFIG_HEADERS"
7680 8069
7681 8070
7682eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 8071eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7683shift 8072shift
7684for ac_tag 8073for ac_tag
7685do 8074do
7686 case $ac_tag in 8075 case $ac_tag in
7687 :[FHLC]) ac_mode=$ac_tag; continue;; 8076 :[FHLC]) ac_mode=$ac_tag; continue;;
7688 esac 8077 esac
7689 case $ac_mode$ac_tag in 8078 case $ac_mode$ac_tag in
7690 :[FHL]*:*);; 8079 :[FHL]*:*);;
7691 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 8080 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7692 :[FH]-) ac_tag=-:-;; 8081 :[FH]-) ac_tag=-:-;;
7693 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8082 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7694 esac 8083 esac
7695 ac_save_IFS=$IFS 8084 ac_save_IFS=$IFS
7696 IFS=: 8085 IFS=:
7697 set x $ac_tag 8086 set x $ac_tag
7698 IFS=$ac_save_IFS 8087 IFS=$ac_save_IFS
7699 shift 8088 shift
7700 ac_file=$1 8089 ac_file=$1
7701 shift 8090 shift
7702 8091
7703 case $ac_mode in 8092 case $ac_mode in
7704 :L) ac_source=$1;; 8093 :L) ac_source=$1;;
7705 :[FH]) 8094 :[FH])
7706 ac_file_inputs= 8095 ac_file_inputs=
7707 for ac_f 8096 for ac_f
7708 do 8097 do
7709 case $ac_f in 8098 case $ac_f in
7710 -) ac_f="$tmp/stdin";; 8099 -) ac_f="$ac_tmp/stdin";;
7711 *) # Look for the file first in the build tree, then in the source tree 8100 *) # Look for the file first in the build tree, then in the source tree
7712 # (if the path is not absolute). The absolute path cannot be DOS-style, 8101 # (if the path is not absolute). The absolute path cannot be DOS-style,
7713 # because $ac_f cannot contain `:'. 8102 # because $ac_f cannot contain `:'.
7714 test -f "$ac_f" || 8103 test -f "$ac_f" ||
7715 case $ac_f in 8104 case $ac_f in
7716 [\\/$]*) false;; 8105 [\\/$]*) false;;
7717 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8106 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7718 esac || 8107 esac ||
7719 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8108 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7720 esac 8109 esac
7721 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8110 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7722 as_fn_append ac_file_inputs " '$ac_f'" 8111 as_fn_append ac_file_inputs " '$ac_f'"
7723 done 8112 done
7724 8113
7725 # Let's still pretend it is `configure' which instantiates (i.e., don't 8114 # Let's still pretend it is `configure' which instantiates (i.e., don't
7726 # use $as_me), people would be surprised to read: 8115 # use $as_me), people would be surprised to read:
7727 # /* config.h. Generated by config.status. */ 8116 # /* config.h. Generated by config.status. */
7728 configure_input='Generated from '` 8117 configure_input='Generated from '`
7729 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8118 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7730 `' by configure.' 8119 `' by configure.'
7731 if test x"$ac_file" != x-; then 8120 if test x"$ac_file" != x-; then
7732 configure_input="$ac_file. $configure_input" 8121 configure_input="$ac_file. $configure_input"
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7734$as_echo "$as_me: creating $ac_file" >&6;} 8123$as_echo "$as_me: creating $ac_file" >&6;}
7735 fi 8124 fi
7736 # Neutralize special characters interpreted by sed in replacement strings. 8125 # Neutralize special characters interpreted by sed in replacement strings.
7737 case $configure_input in #( 8126 case $configure_input in #(
7738 *\&* | *\|* | *\\* ) 8127 *\&* | *\|* | *\\* )
7739 ac_sed_conf_input=`$as_echo "$configure_input" | 8128 ac_sed_conf_input=`$as_echo "$configure_input" |
7740 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8129 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7741 *) ac_sed_conf_input=$configure_input;; 8130 *) ac_sed_conf_input=$configure_input;;
7742 esac 8131 esac
7743 8132
7744 case $ac_tag in 8133 case $ac_tag in
7745 *:-:* | *:-) cat >"$tmp/stdin" \ 8134 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7746 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 8135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7747 esac 8136 esac
7748 ;; 8137 ;;
7749 esac 8138 esac
7750 8139
7751 ac_dir=`$as_dirname -- "$ac_file" || 8140 ac_dir=`$as_dirname -- "$ac_file" ||
7752$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8141$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7753 X"$ac_file" : 'X\(//\)[^/]' \| \ 8142 X"$ac_file" : 'X\(//\)[^/]' \| \
7754 X"$ac_file" : 'X\(//\)$' \| \ 8143 X"$ac_file" : 'X\(//\)$' \| \
7755 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8144 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7756$as_echo X"$ac_file" | 8145$as_echo X"$ac_file" |
7757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7758 s//\1/ 8147 s//\1/
7759 q 8148 q
@@ -7863,95 +8252,96 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri @@ -7863,95 +8252,96 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
7863s|@configure_input@|$ac_sed_conf_input|;t t 8252s|@configure_input@|$ac_sed_conf_input|;t t
7864s&@top_builddir@&$ac_top_builddir_sub&;t t 8253s&@top_builddir@&$ac_top_builddir_sub&;t t
7865s&@top_build_prefix@&$ac_top_build_prefix&;t t 8254s&@top_build_prefix@&$ac_top_build_prefix&;t t
7866s&@srcdir@&$ac_srcdir&;t t 8255s&@srcdir@&$ac_srcdir&;t t
7867s&@abs_srcdir@&$ac_abs_srcdir&;t t 8256s&@abs_srcdir@&$ac_abs_srcdir&;t t
7868s&@top_srcdir@&$ac_top_srcdir&;t t 8257s&@top_srcdir@&$ac_top_srcdir&;t t
7869s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8258s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7870s&@builddir@&$ac_builddir&;t t 8259s&@builddir@&$ac_builddir&;t t
7871s&@abs_builddir@&$ac_abs_builddir&;t t 8260s&@abs_builddir@&$ac_abs_builddir&;t t
7872s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8261s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7873s&@INSTALL@&$ac_INSTALL&;t t 8262s&@INSTALL@&$ac_INSTALL&;t t
7874$ac_datarootdir_hack 8263$ac_datarootdir_hack
7875" 8264"
7876eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 8265eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7877 || as_fn_error "could not create $ac_file" "$LINENO" 5 8266 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7878 8267
7879test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8268test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8269 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
 8271 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7883which seems to be undefined. Please make sure it is defined." >&5 8273which seems to be undefined. Please make sure it is defined" >&5
7884$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8274$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7885which seems to be undefined. Please make sure it is defined." >&2;} 8275which seems to be undefined. Please make sure it is defined" >&2;}
7886 8276
7887 rm -f "$tmp/stdin" 8277 rm -f "$ac_tmp/stdin"
7888 case $ac_file in 8278 case $ac_file in
7889 -) cat "$tmp/out" && rm -f "$tmp/out";; 8279 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7890 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 8280 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7891 esac \ 8281 esac \
7892 || as_fn_error "could not create $ac_file" "$LINENO" 5 8282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7893 ;; 8283 ;;
7894 :H) 8284 :H)
7895 # 8285 #
7896 # CONFIG_HEADER 8286 # CONFIG_HEADER
7897 # 8287 #
7898 if test x"$ac_file" != x-; then 8288 if test x"$ac_file" != x-; then
7899 { 8289 {
7900 $as_echo "/* $configure_input */" \ 8290 $as_echo "/* $configure_input */" \
7901 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 8291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7902 } >"$tmp/config.h" \ 8292 } >"$ac_tmp/config.h" \
7903 || as_fn_error "could not create $ac_file" "$LINENO" 5 8293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7904 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 8294 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8295 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7906$as_echo "$as_me: $ac_file is unchanged" >&6;} 8296$as_echo "$as_me: $ac_file is unchanged" >&6;}
7907 else 8297 else
7908 rm -f "$ac_file" 8298 rm -f "$ac_file"
7909 mv "$tmp/config.h" "$ac_file" \ 8299 mv "$ac_tmp/config.h" "$ac_file" \
7910 || as_fn_error "could not create $ac_file" "$LINENO" 5 8300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7911 fi 8301 fi
7912 else 8302 else
7913 $as_echo "/* $configure_input */" \ 8303 $as_echo "/* $configure_input */" \
7914 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 8304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7915 || as_fn_error "could not create -" "$LINENO" 5 8305 || as_fn_error $? "could not create -" "$LINENO" 5
7916 fi 8306 fi
7917 ;; 8307 ;;
7918 8308
7919 8309
7920 esac 8310 esac
7921 8311
7922done # for ac_tag 8312done # for ac_tag
7923 8313
7924 8314
7925as_fn_exit 0 8315as_fn_exit 0
7926_ACEOF 8316_ACEOF
7927ac_clean_files=$ac_clean_files_save 8317ac_clean_files=$ac_clean_files_save
7928 8318
7929test $ac_write_fail = 0 || 8319test $ac_write_fail = 0 ||
7930 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 8320 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7931 8321
7932 8322
7933# configure is writing to config.log, and then calls config.status. 8323# configure is writing to config.log, and then calls config.status.
7934# config.status does its own redirection, appending to config.log. 8324# config.status does its own redirection, appending to config.log.
7935# Unfortunately, on DOS this fails, as config.log is still kept open 8325# Unfortunately, on DOS this fails, as config.log is still kept open
7936# by configure, so config.status won't be able to write to it; its 8326# by configure, so config.status won't be able to write to it; its
7937# output is simply discarded. So we exec the FD to /dev/null, 8327# output is simply discarded. So we exec the FD to /dev/null,
7938# effectively closing config.log, so it can be properly (re)opened and 8328# effectively closing config.log, so it can be properly (re)opened and
7939# appended to by config.status. When coming back to configure, we 8329# appended to by config.status. When coming back to configure, we
7940# need to make the FD available again. 8330# need to make the FD available again.
7941if test "$no_create" != yes; then 8331if test "$no_create" != yes; then
7942 ac_cs_success=: 8332 ac_cs_success=:
7943 ac_config_status_args= 8333 ac_config_status_args=
7944 test "$silent" = yes && 8334 test "$silent" = yes &&
7945 ac_config_status_args="$ac_config_status_args --quiet" 8335 ac_config_status_args="$ac_config_status_args --quiet"
7946 exec 5>/dev/null 8336 exec 5>/dev/null
7947 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8337 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7948 exec 5>>config.log 8338 exec 5>>config.log
7949 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8339 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7950 # would make configure fail if this is the last instruction. 8340 # would make configure fail if this is the last instruction.
7951 $ac_cs_success || as_fn_exit $? 8341 $ac_cs_success || as_fn_exit 1
7952fi 8342fi
7953if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8343if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7955$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8345$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7956fi 8346fi
7957 8347

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

--- pkgsrc/pkgtools/libnbcompat/files/configure.ac 2010/04/20 00:32:22 1.77
+++ pkgsrc/pkgtools/libnbcompat/files/configure.ac 2011/12/28 19:19:31 1.78
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1dnl $NetBSD: configure.ac,v 1.77 2010/04/20 00:32:22 joerg Exp $ 1dnl $NetBSD: configure.ac,v 1.78 2011/12/28 19:19:31 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], [20080605], [grant@NetBSD.org]) 5AC_INIT([libnbcompat], [20080605], [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.
@@ -151,41 +151,45 @@ AC_ARG_ENABLE([db], @@ -151,41 +151,45 @@ AC_ARG_ENABLE([db],
151AC_SUBST(WITH_DB, $enable_db) 151AC_SUBST(WITH_DB, $enable_db)
152AC_CHECK_FUNCS(issetugid) 152AC_CHECK_FUNCS(issetugid)
153 153
154AC_ARG_ENABLE([bsd-getopt], 154AC_ARG_ENABLE([bsd-getopt],
155 [AS_HELP_STRING([--enable-bsd-getopt], 155 [AS_HELP_STRING([--enable-bsd-getopt],
156 [force use of BSDish getopt implementation])]) 156 [force use of BSDish getopt implementation])])
157 157
158AC_CHECK_DECLS([optarg, optind, optreset], [:], [:], [ 158AC_CHECK_DECLS([optarg, optind, optreset], [:], [:], [
159 #include <stdio.h> 159 #include <stdio.h>
160 #include <stdlib.h> 160 #include <stdlib.h>
161 #include <unistd.h> 161 #include <unistd.h>
162]) 162])
163 163
164 164our_getopt_long=no
165AC_CHECK_HEADERS([getopt.h], 165AC_CHECK_HEADERS([getopt.h],
166 [ AC_CHECK_TYPES([struct option], 166 [ AC_CHECK_TYPES([struct option], [:],
167 [:], 167 [ our_getopt_long=yes ], [#include <getopt.h>])],
168 [ AC_LIBOBJ(getopt_long)], 168 [ our_getopt_long=yes ]
169 [#include <getopt.h>])], 
170 [ AC_LIBOBJ(getopt_long)] 
171) 169)
172 170
173if test "$enable_bsd_getopt" = yes; then 171if test "$enable_bsd_getopt" = yes; then
174 if test "$ac_cv_have_decl_optreset" = no; then 172 if test "$ac_cv_have_decl_optreset" = no; then
 173 AC_MSG_NOTICE([Using included getopt and getopt_long])
175 AC_LIBOBJ(getopt) 174 AC_LIBOBJ(getopt)
 175 our_getopt_long=yes
176 fi 176 fi
177fi 177fi
178 178
 179if test "$our_getopt_long" = "yes"; then
 180 AC_LIBOBJ(getopt_long)
 181fi
 182
179dnl Check that this vis.h has *vis()-related functions because Solaris' 183dnl Check that this vis.h has *vis()-related functions because Solaris'
180dnl vis.h doesn't. Also, only consider the header found if it defines 184dnl vis.h doesn't. Also, only consider the header found if it defines
181dnl all of the functions that we need. 185dnl all of the functions that we need.
182dnl 186dnl
183pkg_use_nbcompat_vis=yes 187pkg_use_nbcompat_vis=yes
184AC_CHECK_HEADERS([vis.h], [ 188AC_CHECK_HEADERS([vis.h], [
185 AC_MSG_TRY_COMPILE([for VIS_WHITE in vis.h], pkg_cv_have_vis_white, [ 189 AC_MSG_TRY_COMPILE([for VIS_WHITE in vis.h], pkg_cv_have_vis_white, [
186 #include <sys/types.h> 190 #include <sys/types.h>
187 #include <vis.h> 191 #include <vis.h>
188 ], [ int X = VIS_WHITE; ], [ 192 ], [ int X = VIS_WHITE; ], [
189 AC_CHECK_FUNCS([strunvis strvis strsvis svis unvis vis]) 193 AC_CHECK_FUNCS([strunvis strvis strsvis svis unvis vis])
190 AC_CHECK_FUNCS([strunvis strvis strsvis svis unvis vis], 194 AC_CHECK_FUNCS([strunvis strvis strsvis svis unvis vis],
191 [pkg_use_nbcompat_vis=no], 195 [pkg_use_nbcompat_vis=no],