1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 04AUTOCONF.dpatch by <hesso@pool.math.tu-berlin.de>
4
## DP: Rerun autoconf. Adding it as a build-dep is likely to cause surprises
5
## DP: when versions change, so I'd rather take the burden to run it manually
6
## DP: and check its output.
9
diff -Naur screen-4.0.3.orig/configure screen-4.0.3/configure
10
--- screen-4.0.3.orig/configure 2008-06-01 23:39:48.000000000 +0200
11
+++ screen-4.0.3/configure 2008-06-01 23:40:07.000000000 +0200
14
-# From configure.in Revision: 1.18 .
15
+# From configure.in Revision: 1.27 .
16
# Guess values for system-dependent variables and create Makefiles.
17
-# Generated by GNU Autoconf 2.57.
18
+# Generated by GNU Autoconf 2.61.
20
-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
21
-# Free Software Foundation, Inc.
22
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
23
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
24
# This configure script is free software; the Free Software Foundation
25
# gives unlimited permission to copy, distribute and modify it.
26
## --------------------- ##
27
## M4sh Initialization. ##
28
## --------------------- ##
30
-# Be Bourne compatible
31
+# Be more Bourne compatible
32
+DUALCASE=1; export DUALCASE # for MKS sh
33
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37
# is contrary to our usage. Disable this feature.
38
alias -g '${1+"$@"}'='"$@"'
39
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41
+ setopt NO_GLOB_SUBST
43
+ case `(set -o) 2>/dev/null` in
44
+ *posix*) set -o posix ;;
53
+# Avoid depending upon Character Ranges.
54
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
57
+as_cr_digits='0123456789'
58
+as_cr_alnum=$as_cr_Letters$as_cr_digits
60
+# The user is always right.
61
+if test "${PATH_SEPARATOR+set}" != set; then
62
+ echo "#! /bin/sh" >conf$$.sh
63
+ echo "exit 0" >>conf$$.sh
65
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
73
# Support unset when possible.
74
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
75
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
+# We need space, tab and new line, in precisely that order. Quoting is
84
+# there to prevent editors from complaining about space-tab.
85
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
+# splitting by setting IFS to empty value.)
91
+# Find who we are. Look in the path if we contain no directory separator.
93
+ *[\\/]* ) as_myself=$0 ;;
94
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
+ test -z "$as_dir" && as_dir=.
99
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
+# We did not find ourselves, most probably we were run as `sh COMMAND'
106
+# in which case we are not to be found in the path.
107
+if test "x$as_myself" = x; then
110
+if test ! -f "$as_myself"; then
111
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
+ { (exit 1); exit 1; }
115
# Work around bugs in pre-3.0 UWIN ksh.
116
-$as_unset ENV MAIL MAILPATH
117
+for as_var in ENV MAIL MAILPATH
118
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
127
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
128
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
129
eval $as_var=C; export $as_var
132
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
-if expr a : '\(a\)' >/dev/null 2>&1; then
138
+if expr a : '\(a\)' >/dev/null 2>&1 &&
139
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
145
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
146
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
150
@@ -64,206 +129,447 @@
153
# Name of the executable.
154
-as_me=`$as_basename "$0" ||
155
+as_me=`$as_basename -- "$0" ||
156
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
157
X"$0" : 'X\(//\)$' \| \
158
- X"$0" : 'X\(/\)$' \| \
159
- . : '\(.\)' 2>/dev/null ||
160
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
162
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
163
- /^X\/\(\/\/\)$/{ s//\1/; q; }
164
- /^X\/\(\/\).*/{ s//\1/; q; }
166
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
183
-# PATH needs CR, and LINENO needs CR and PATH.
184
-# Avoid depending upon Character Ranges.
185
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
186
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
187
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
188
-as_cr_digits='0123456789'
189
-as_cr_alnum=$as_cr_Letters$as_cr_digits
191
-# The user is always right.
192
-if test "${PATH_SEPARATOR+set}" != set; then
193
- echo "#! /bin/sh" >conf$$.sh
194
- echo "exit 0" >>conf$$.sh
196
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
202
+if test "x$CONFIG_SHELL" = x; then
203
+ if (eval ":") 2>/dev/null; then
204
+ as_have_required=yes
206
+ as_have_required=no
209
+ if test $as_have_required = yes && (eval ":
210
+(as_func_return () {
213
+as_func_success () {
216
+as_func_failure () {
219
+as_func_ret_success () {
222
+as_func_ret_failure () {
227
+if as_func_success; then
231
+ echo as_func_success failed.
234
+if as_func_failure; then
236
+ echo as_func_failure succeeded.
239
- as_lineno_1=$LINENO
240
- as_lineno_2=$LINENO
241
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
242
- test "x$as_lineno_1" != "x$as_lineno_2" &&
243
- test "x$as_lineno_3" = "x$as_lineno_2" || {
244
- # Find who we are. Look in the path if we contain no path at all
247
- *[\\/]* ) as_myself=$0 ;;
248
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
252
- test -z "$as_dir" && as_dir=.
253
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
255
+if as_func_ret_success; then
259
+ echo as_func_ret_success failed.
264
- # We did not find ourselves, most probably we were run as `sh COMMAND'
265
- # in which case we are not to be found in the path.
266
- if test "x$as_myself" = x; then
269
- if test ! -f "$as_myself"; then
270
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
271
- { (exit 1); exit 1; }; }
273
- case $CONFIG_SHELL in
275
+if as_func_ret_failure; then
277
+ echo as_func_ret_failure succeeded.
280
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
284
+ echo positional parameters were not saved.
287
+test \$exitcode = 0) || { (exit 1); exit 1; }
290
+ as_lineno_1=\$LINENO
291
+ as_lineno_2=\$LINENO
292
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
293
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
294
+") 2> /dev/null; then
297
+ as_candidate_shells=
298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
299
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
302
test -z "$as_dir" && as_dir=.
303
- for as_base in sh bash ksh sh5; do
307
- if ("$as_dir/$as_base" -c '
308
+ for as_base in sh bash ksh sh5; do
309
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
316
+ for as_shell in $as_candidate_shells $SHELL; do
317
+ # Try only shells that exist, to save several forks.
318
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
319
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
320
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
323
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
324
+ # is contrary to our usage. Disable this feature.
325
+ alias -g '${1+"$@"}'='"$@"'
326
+ setopt NO_GLOB_SUBST
328
+ case `(set -o) 2>/dev/null` in
329
+ *posix*) set -o posix ;;
338
+ CONFIG_SHELL=$as_shell
339
+ as_have_required=yes
340
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
341
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
344
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
345
+ # is contrary to our usage. Disable this feature.
346
+ alias -g '${1+"$@"}'='"$@"'
347
+ setopt NO_GLOB_SUBST
349
+ case `(set -o) 2>/dev/null` in
350
+ *posix*) set -o posix ;;
357
+(as_func_return () {
360
+as_func_success () {
363
+as_func_failure () {
366
+as_func_ret_success () {
369
+as_func_ret_failure () {
374
+if as_func_success; then
378
+ echo as_func_success failed.
381
+if as_func_failure; then
383
+ echo as_func_failure succeeded.
386
+if as_func_ret_success; then
390
+ echo as_func_ret_success failed.
393
+if as_func_ret_failure; then
395
+ echo as_func_ret_failure succeeded.
398
+if ( set x; as_func_ret_success y && test x = "$1" ); then
402
+ echo positional parameters were not saved.
405
+test $exitcode = 0) || { (exit 1); exit 1; }
410
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
411
test "x$as_lineno_1" != "x$as_lineno_2" &&
412
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
413
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
414
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
415
- CONFIG_SHELL=$as_dir/$as_base
416
- export CONFIG_SHELL
417
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
424
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
435
+ if test "x$CONFIG_SHELL" != x; then
436
+ for as_var in BASH_ENV ENV
437
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
439
+ export CONFIG_SHELL
440
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
444
+ if test $as_have_required = no; then
445
+ echo This script requires a shell more modern than all the
446
+ echo shells that I found on your system. Please install a
447
+ echo modern shell, or manually run the script under such a
448
+ echo shell if you do have one.
449
+ { (exit 1); exit 1; }
459
+(eval "as_func_return () {
462
+as_func_success () {
465
+as_func_failure () {
468
+as_func_ret_success () {
471
+as_func_ret_failure () {
476
+if as_func_success; then
480
+ echo as_func_success failed.
483
+if as_func_failure; then
485
+ echo as_func_failure succeeded.
488
+if as_func_ret_success; then
492
+ echo as_func_ret_success failed.
495
+if as_func_ret_failure; then
497
+ echo as_func_ret_failure succeeded.
500
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
504
+ echo positional parameters were not saved.
507
+test \$exitcode = 0") || {
508
+ echo No shell found that supports shell functions.
509
+ echo Please tell autoconf@gnu.org about your system,
510
+ echo including any error possibly output before this
516
+ as_lineno_1=$LINENO
517
+ as_lineno_2=$LINENO
518
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
519
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
521
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
522
# uniformly replaced by the line number. The first 'sed' inserts a
523
- # line-number line before each line; the second 'sed' does the real
524
- # work. The second script uses 'N' to pair each line-number line
525
- # with the numbered line, and appends trailing '-' during
526
- # substitution so that $LINENO is not a special case at line end.
527
+ # line-number line after each line using $LINENO; the second 'sed'
528
+ # does the real work. The second script uses 'N' to pair each
529
+ # line-number line with the line containing $LINENO, and appends
530
+ # trailing '-' during substitution so that $LINENO is not a special
531
+ # case at line end.
532
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
533
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
534
- sed '=' <$as_myself |
535
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
536
+ # E. McMahon (1931-1989) for sed's syntax. :-)
549
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
551
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
554
- s,^['$as_cr_digits']*\n,,
557
- chmod +x $as_me.lineno ||
558
+ chmod +x "$as_me.lineno" ||
559
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
560
{ (exit 1); exit 1; }; }
562
# Don't try to exec as it changes $[0], causing all sort of problems
563
# (the dirname of $[0] is not the place where we might find the
564
- # original and so on. Autoconf is especially sensible to this).
566
+ # original and so on. Autoconf is especially sensitive to this).
567
+ . "./$as_me.lineno"
568
# Exit status is that of the last command.
573
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
574
- *c*,-n*) ECHO_N= ECHO_C='
576
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
577
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
578
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
584
+ECHO_C= ECHO_N= ECHO_T=
587
+ case `echo 'x\c'` in
588
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
595
-if expr a : '\(a\)' >/dev/null 2>&1; then
596
+if expr a : '\(a\)' >/dev/null 2>&1 &&
597
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
603
rm -f conf$$ conf$$.exe conf$$.file
604
+if test -d conf$$.dir; then
605
+ rm -f conf$$.dir/conf$$.file
611
if ln -s conf$$.file conf$$ 2>/dev/null; then
612
- # We could just check for DJGPP; but this test a) works b) is more generic
613
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
614
- if test -f conf$$.exe; then
615
- # Don't use ln at all; we don't have any links
617
+ # ... but there are two gotchas:
618
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
619
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
620
+ # In both cases, we have to default to `cp -p'.
621
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
626
elif ln conf$$.file conf$$ 2>/dev/null; then
631
-rm -f conf$$ conf$$.exe conf$$.file
632
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
633
+rmdir conf$$.dir 2>/dev/null
635
if mkdir -p . 2>/dev/null; then
638
+ test -d ./-p && rmdir ./-p
642
-as_executable_p="test -f"
643
+if test -x / >/dev/null 2>&1; then
644
+ as_test_x='test -x'
646
+ if ls -dL / >/dev/null 2>&1; then
653
+ if test -d "$1"; then
659
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
660
+ ???[sx]*):;;*)false;;esac;fi
664
+as_executable_p=$as_test_x
666
# Sed expression to map a string onto a valid CPP name.
667
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
668
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
670
# Sed expression to map a string onto a valid variable name.
671
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
672
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
676
-# We need space, tab and new line, in precisely that order.
684
+exec 7<&0 </dev/null 6>&1
687
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
688
# so uname gets run too.
689
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
696
ac_default_prefix=/usr/local
698
ac_config_libobj_dir=.
704
SHELL=${CONFIG_SHELL-/bin/sh}
706
-# Maximum number of lines to put in a shell here document.
707
-# This variable seems obsolete. It should probably be removed, and
708
-# only ac_max_sed_lines should be used.
709
-: ${ac_max_here_lines=38}
711
# Identity of this package.
714
@@ -275,42 +581,107 @@
715
# Factoring default headers for most tests.
716
ac_includes_default="\
718
-#if HAVE_SYS_TYPES_H
719
+#ifdef HAVE_SYS_TYPES_H
720
# include <sys/types.h>
723
+#ifdef HAVE_SYS_STAT_H
724
# include <sys/stat.h>
732
+# ifdef HAVE_STDLIB_H
737
-# if !STDC_HEADERS && HAVE_MEMORY_H
738
+#ifdef HAVE_STRING_H
739
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
745
+#ifdef HAVE_STRINGS_H
746
# include <strings.h>
749
+#ifdef HAVE_INTTYPES_H
750
# include <inttypes.h>
753
-# include <stdint.h>
757
+#ifdef HAVE_STDINT_H
758
+# include <stdint.h>
760
+#ifdef HAVE_UNISTD_H
764
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION ac_prefix_program CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA WRITEPATH XTERMPATH LIBOBJS LTLIBOBJS'
765
+ac_subst_vars='SHELL
774
+program_transform_name
823
+ ac_precious_vars='build_alias
834
# Initialize some variables set by options.
836
@@ -337,34 +708,48 @@
837
# and all the variables that are supposed to be based on exec_prefix
838
# by default will actually change.
839
# Use braces instead of parens because sh, perl, etc. also accept them.
840
+# (The list follows the same order as the GNU Coding Standards.)
841
bindir='${exec_prefix}/bin'
842
sbindir='${exec_prefix}/sbin'
843
libexecdir='${exec_prefix}/libexec'
844
-datadir='${prefix}/share'
845
+datarootdir='${prefix}/share'
846
+datadir='${datarootdir}'
847
sysconfdir='${prefix}/etc'
848
sharedstatedir='${prefix}/com'
849
localstatedir='${prefix}/var'
850
-libdir='${exec_prefix}/lib'
851
includedir='${prefix}/include'
852
oldincludedir='/usr/include'
853
-infodir='${prefix}/info'
854
-mandir='${prefix}/man'
855
+docdir='${datarootdir}/doc/${PACKAGE}'
856
+infodir='${datarootdir}/info'
861
+libdir='${exec_prefix}/lib'
862
+localedir='${datarootdir}/locale'
863
+mandir='${datarootdir}/man'
869
# If the previous option needs an argument, assign it.
870
if test -n "$ac_prev"; then
871
- eval "$ac_prev=\$ac_option"
872
+ eval $ac_prev=\$ac_option
877
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
879
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880
+ *) ac_optarg=yes ;;
883
# Accept the important Cygnus configure options, so we can diagnose typos.
886
+ case $ac_dashdash$ac_option in
890
-bindir | --bindir | --bindi | --bind | --bin | --bi)
892
@@ -386,33 +771,45 @@
894
cache_file=config.cache ;;
896
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
897
+ -datadir | --datadir | --datadi | --datad)
899
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
901
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
902
datadir=$ac_optarg ;;
904
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
905
+ | --dataroo | --dataro | --datar)
906
+ ac_prev=datarootdir ;;
907
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
908
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
909
+ datarootdir=$ac_optarg ;;
911
-disable-* | --disable-*)
912
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
913
# Reject names that are not valid shell variable names.
914
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
915
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
917
{ (exit 1); exit 1; }; }
918
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
919
- eval "enable_$ac_feature=no" ;;
920
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
921
+ eval enable_$ac_feature=no ;;
923
+ -docdir | --docdir | --docdi | --doc | --do)
925
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
926
+ docdir=$ac_optarg ;;
928
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
931
+ dvidir=$ac_optarg ;;
933
-enable-* | --enable-*)
934
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935
# Reject names that are not valid shell variable names.
936
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
937
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
938
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
939
{ (exit 1); exit 1; }; }
940
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
942
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
943
- *) ac_optarg=yes ;;
945
- eval "enable_$ac_feature='$ac_optarg'" ;;
946
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
947
+ eval enable_$ac_feature=\$ac_optarg ;;
949
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952
-host=* | --host=* | --hos=* | --ho=*)
953
host_alias=$ac_optarg ;;
955
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959
+ htmldir=$ac_optarg ;;
961
-includedir | --includedir | --includedi | --included | --include \
962
| --includ | --inclu | --incl | --inc)
963
ac_prev=includedir ;;
964
@@ -463,13 +866,16 @@
965
| --libexe=* | --libex=* | --libe=*)
966
libexecdir=$ac_optarg ;;
968
+ -localedir | --localedir | --localedi | --localed | --locale)
969
+ ac_prev=localedir ;;
970
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
971
+ localedir=$ac_optarg ;;
973
-localstatedir | --localstatedir | --localstatedi | --localstated \
974
- | --localstate | --localstat | --localsta | --localst \
975
- | --locals | --local | --loca | --loc | --lo)
976
+ | --localstate | --localstat | --localsta | --localst | --locals)
977
ac_prev=localstatedir ;;
978
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
980
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
981
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
982
localstatedir=$ac_optarg ;;
984
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
986
| --progr-tra=* | --program-tr=* | --program-t=*)
987
program_transform_name=$ac_optarg ;;
989
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
991
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
992
+ pdfdir=$ac_optarg ;;
994
+ -psdir | --psdir | --psdi | --psd | --ps)
996
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
997
+ psdir=$ac_optarg ;;
999
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000
| -silent | --silent | --silen | --sile | --sil)
1002
@@ -586,24 +1002,20 @@
1004
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1005
# Reject names that are not valid shell variable names.
1006
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1007
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1009
{ (exit 1); exit 1; }; }
1010
- ac_package=`echo $ac_package| sed 's/-/_/g'`
1011
- case $ac_option in
1012
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1013
- *) ac_optarg=yes ;;
1015
- eval "with_$ac_package='$ac_optarg'" ;;
1016
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1017
+ eval with_$ac_package=\$ac_optarg ;;
1019
-without-* | --without-*)
1020
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1021
# Reject names that are not valid shell variable names.
1022
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1023
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1024
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1025
{ (exit 1); exit 1; }; }
1026
- ac_package=`echo $ac_package | sed 's/-/_/g'`
1027
- eval "with_$ac_package=no" ;;
1028
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1029
+ eval with_$ac_package=no ;;
1032
# Obsolete; use --with-x.
1033
@@ -634,8 +1046,7 @@
1034
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1035
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1036
{ (exit 1); exit 1; }; }
1037
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1038
- eval "$ac_envvar='$ac_optarg'"
1039
+ eval $ac_envvar=\$ac_optarg
1040
export $ac_envvar ;;
1043
@@ -655,27 +1066,19 @@
1044
{ (exit 1); exit 1; }; }
1047
-# Be sure to have absolute paths.
1048
-for ac_var in exec_prefix prefix
1050
- eval ac_val=$`echo $ac_var`
1052
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1053
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1054
- { (exit 1); exit 1; }; };;
1058
-# Be sure to have absolute paths.
1059
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1060
- localstatedir libdir includedir oldincludedir infodir mandir
1061
+# Be sure to have absolute directory names.
1062
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1064
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065
+ libdir localedir mandir
1067
- eval ac_val=$`echo $ac_var`
1068
+ eval ac_val=\$$ac_var
1070
- [\\/$]* | ?:[\\/]* ) ;;
1071
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1072
- { (exit 1); exit 1; }; };;
1073
+ [\\/$]* | ?:[\\/]* ) continue;;
1074
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1076
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1077
+ { (exit 1); exit 1; }; }
1080
# There might be people who depend on the old broken behavior: `$host'
1081
@@ -702,76 +1105,78 @@
1082
test "$silent" = yes && exec 6>/dev/null
1085
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1086
+ac_ls_di=`ls -di .` &&
1087
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1088
+ { echo "$as_me: error: Working directory cannot be determined" >&2
1089
+ { (exit 1); exit 1; }; }
1090
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1092
+ { (exit 1); exit 1; }; }
1095
# Find the source files, if location was not specified.
1096
if test -z "$srcdir"; then
1097
ac_srcdir_defaulted=yes
1098
- # Try the directory containing this script, then its parent.
1099
- ac_confdir=`(dirname "$0") 2>/dev/null ||
1100
+ # Try the directory containing this script, then the parent directory.
1101
+ ac_confdir=`$as_dirname -- "$0" ||
1102
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1103
- X"$0" : 'X\(//\)[^/]' \| \
1104
- X"$0" : 'X\(//\)$' \| \
1105
- X"$0" : 'X\(/\)' \| \
1106
- . : '\(.\)' 2>/dev/null ||
1107
+ X"$0" : 'X\(//\)[^/]' \| \
1108
+ X"$0" : 'X\(//\)$' \| \
1109
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1111
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1112
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1113
- /^X\(\/\/\)$/{ s//\1/; q; }
1114
- /^X\(\/\).*/{ s//\1/; q; }
1116
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1120
+ /^X\(\/\/\)[^/].*/{
1134
- if test ! -r $srcdir/$ac_unique_file; then
1135
+ if test ! -r "$srcdir/$ac_unique_file"; then
1139
ac_srcdir_defaulted=no
1141
-if test ! -r $srcdir/$ac_unique_file; then
1142
- if test "$ac_srcdir_defaulted" = yes; then
1143
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1144
- { (exit 1); exit 1; }; }
1146
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1147
- { (exit 1); exit 1; }; }
1150
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1151
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1152
- { (exit 1); exit 1; }; }
1153
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1154
-ac_env_build_alias_set=${build_alias+set}
1155
-ac_env_build_alias_value=$build_alias
1156
-ac_cv_env_build_alias_set=${build_alias+set}
1157
-ac_cv_env_build_alias_value=$build_alias
1158
-ac_env_host_alias_set=${host_alias+set}
1159
-ac_env_host_alias_value=$host_alias
1160
-ac_cv_env_host_alias_set=${host_alias+set}
1161
-ac_cv_env_host_alias_value=$host_alias
1162
-ac_env_target_alias_set=${target_alias+set}
1163
-ac_env_target_alias_value=$target_alias
1164
-ac_cv_env_target_alias_set=${target_alias+set}
1165
-ac_cv_env_target_alias_value=$target_alias
1166
-ac_env_CC_set=${CC+set}
1167
-ac_env_CC_value=$CC
1168
-ac_cv_env_CC_set=${CC+set}
1169
-ac_cv_env_CC_value=$CC
1170
-ac_env_CFLAGS_set=${CFLAGS+set}
1171
-ac_env_CFLAGS_value=$CFLAGS
1172
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
1173
-ac_cv_env_CFLAGS_value=$CFLAGS
1174
-ac_env_LDFLAGS_set=${LDFLAGS+set}
1175
-ac_env_LDFLAGS_value=$LDFLAGS
1176
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1177
-ac_cv_env_LDFLAGS_value=$LDFLAGS
1178
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1179
-ac_env_CPPFLAGS_value=$CPPFLAGS
1180
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1181
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1182
-ac_env_CPP_set=${CPP+set}
1183
-ac_env_CPP_value=$CPP
1184
-ac_cv_env_CPP_set=${CPP+set}
1185
-ac_cv_env_CPP_value=$CPP
1188
+if test ! -r "$srcdir/$ac_unique_file"; then
1189
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1190
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1191
+ { (exit 1); exit 1; }; }
1193
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1196
+ { (exit 1); exit 1; }; }
1198
+# When building in place, set srcdir=.
1199
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1202
+# Remove unnecessary trailing slashes from srcdir.
1203
+# Double slashes in file names in object file debugging info
1204
+# mess up M-x gdb in Emacs.
1206
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1208
+for ac_var in $ac_precious_vars; do
1209
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210
+ eval ac_env_${ac_var}_value=\$${ac_var}
1211
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1216
# Report the --help message.
1218
if test "$ac_init_help" = "long"; then
1219
@@ -798,14 +1203,11 @@
1220
-n, --no-create do not create output files
1221
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1226
Installation directories:
1227
--prefix=PREFIX install architecture-independent files in PREFIX
1228
- [$ac_default_prefix]
1229
+ [$ac_default_prefix]
1230
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1234
By default, \`make install' will install all the files in
1235
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1236
@@ -818,15 +1220,22 @@
1237
--bindir=DIR user executables [EPREFIX/bin]
1238
--sbindir=DIR system admin executables [EPREFIX/sbin]
1239
--libexecdir=DIR program executables [EPREFIX/libexec]
1240
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
1241
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1242
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1243
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1244
--libdir=DIR object code libraries [EPREFIX/lib]
1245
--includedir=DIR C header files [PREFIX/include]
1246
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1247
- --infodir=DIR info documentation [PREFIX/info]
1248
- --mandir=DIR man documentation [PREFIX/man]
1249
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1250
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1251
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1252
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1253
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1254
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1255
+ --htmldir=DIR html documentation [DOCDIR]
1256
+ --dvidir=DIR dvi documentation [DOCDIR]
1257
+ --pdfdir=DIR pdf documentation [DOCDIR]
1258
+ --psdir=DIR ps documentation [DOCDIR]
1262
@@ -860,94 +1269,95 @@
1263
CFLAGS C compiler flags
1264
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1265
nonstandard directory <lib dir>
1266
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1267
- headers in a nonstandard directory <include dir>
1268
+ LIBS libraries to pass to the linker, e.g. -l<library>
1269
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1270
+ you have headers in a nonstandard directory <include dir>
1273
Use these variables to override the choices made by `configure' or to help
1274
it to find libraries and programs with nonstandard names/locations.
1280
if test "$ac_init_help" = "recursive"; then
1281
# If there are subdirs, report their specific --help.
1283
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1284
- test -d $ac_dir || continue
1285
+ test -d "$ac_dir" || continue
1288
-if test "$ac_dir" != .; then
1290
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1292
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1293
- # A "../" for each directory in $ac_dir_suffix.
1294
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1296
- ac_dir_suffix= ac_top_builddir=
1298
+ # A ".." for each directory in $ac_dir_suffix.
1299
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1300
+ case $ac_top_builddir_sub in
1301
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1305
+ac_abs_top_builddir=$ac_pwd
1306
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307
+# for backward compatibility:
1308
+ac_top_builddir=$ac_top_build_prefix
1311
- .) # No --srcdir option. We are building in place.
1312
+ .) # We are building in place.
1314
- if test -z "$ac_top_builddir"; then
1317
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1319
- [\\/]* | ?:[\\/]* ) # Absolute path.
1320
+ ac_top_srcdir=$ac_top_builddir_sub
1321
+ ac_abs_top_srcdir=$ac_pwd ;;
1322
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1323
ac_srcdir=$srcdir$ac_dir_suffix;
1324
- ac_top_srcdir=$srcdir ;;
1325
- *) # Relative path.
1326
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1327
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1329
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1331
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1332
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1333
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1334
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1337
- # Check for guested configure; otherwise get Cygnus style configure.
1338
- if test -f $ac_srcdir/configure.gnu; then
1340
- $SHELL $ac_srcdir/configure.gnu --help=recursive
1341
- elif test -f $ac_srcdir/configure; then
1343
- $SHELL $ac_srcdir/configure --help=recursive
1344
- elif test -f $ac_srcdir/configure.ac ||
1345
- test -f $ac_srcdir/configure.in; then
1347
- $ac_configure --help
1348
+ ac_top_srcdir=$srcdir
1349
+ ac_abs_top_srcdir=$srcdir ;;
1350
+ *) # Relative name.
1351
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1353
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1355
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357
+ cd "$ac_dir" || { ac_status=$?; continue; }
1358
+ # Check for guested configure.
1359
+ if test -f "$ac_srcdir/configure.gnu"; then
1361
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362
+ elif test -f "$ac_srcdir/configure"; then
1364
+ $SHELL "$ac_srcdir/configure" --help=recursive
1366
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1369
+ fi || ac_status=$?
1370
+ cd "$ac_pwd" || { ac_status=$?; break; }
1374
-test -n "$ac_init_help" && exit 0
1375
+test -n "$ac_init_help" && exit $ac_status
1376
if $ac_init_version; then
1379
+generated by GNU Autoconf 2.61
1381
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1382
-Free Software Foundation, Inc.
1383
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1384
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1385
This configure script is free software; the Free Software Foundation
1386
gives unlimited permission to copy, distribute and modify it.
1393
+cat >config.log <<_ACEOF
1394
This file contains any messages produced by compilers while
1395
running configure, to aid debugging if configure makes a mistake.
1397
It was created by $as_me, which was
1398
-generated by GNU Autoconf 2.57. Invocation command line was
1399
+generated by GNU Autoconf 2.61. Invocation command line was
1408
@@ -966,7 +1376,7 @@
1409
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1410
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1411
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1412
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1413
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1414
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1415
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1416
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1417
@@ -980,6 +1390,7 @@
1418
test -z "$as_dir" && as_dir=.
1419
echo "PATH: $as_dir"
1425
@@ -1001,7 +1412,6 @@
1430
ac_must_keep_next=false
1433
@@ -1012,7 +1422,7 @@
1434
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1435
| -silent | --silent | --silen | --sile | --sil)
1437
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1439
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1442
@@ -1020,23 +1430,21 @@
1444
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1445
if test $ac_must_keep_next = true; then
1446
- ac_must_keep_next=false # Got value, back to normal.
1447
+ ac_must_keep_next=false # Got value, back to normal.
1450
- *=* | --config-cache | -C | -disable-* | --disable-* \
1451
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1452
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1453
- | -with-* | --with-* | -without-* | --without-* | --x)
1454
- case "$ac_configure_args0 " in
1455
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1458
- -* ) ac_must_keep_next=true ;;
1461
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1462
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1463
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1464
+ | -with-* | --with-* | -without-* | --without-* | --x)
1465
+ case "$ac_configure_args0 " in
1466
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1469
+ -* ) ac_must_keep_next=true ;;
1472
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1473
- # Get rid of the leading space.
1475
+ ac_configure_args="$ac_configure_args '$ac_arg'"
1479
@@ -1047,8 +1455,8 @@
1480
# When interrupted or exit'd, cleanup temporary files, and complete
1481
# config.log. We remove comments because anyway the quotes in there
1482
# would cause problems or look ugly.
1483
-# WARNING: Be sure not to use single quotes in there, as some shells,
1484
-# such as our DU 5.0 friend, will then `close' the trap.
1485
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1486
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1487
trap 'exit_status=$?
1488
# Save into config.log some information that might help in debugging.
1490
@@ -1061,20 +1469,34 @@
1493
# The following way of writing the cache mishandles newlines in values,
1496
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1497
+ eval ac_val=\$$ac_var
1498
+ case $ac_val in #(
1500
+ case $ac_var in #(
1501
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1502
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1504
+ case $ac_var in #(
1505
+ _ | IFS | as_nl) ;; #(
1506
+ *) $as_unset $ac_var ;;
1511
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1513
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1514
+ *${as_nl}ac_space=\ *)
1516
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1517
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1519
+ "s/'\''/'\''\\\\'\'''\''/g;
1520
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1524
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1525
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535
@@ -1085,22 +1507,28 @@
1537
for ac_var in $ac_subst_vars
1539
- eval ac_val=$`echo $ac_var`
1540
- echo "$ac_var='"'"'$ac_val'"'"'"
1541
+ eval ac_val=\$$ac_var
1543
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545
+ echo "$ac_var='\''$ac_val'\''"
1549
if test -n "$ac_subst_files"; then
1551
-## ------------- ##
1552
-## Output files. ##
1553
-## ------------- ##
1554
+## ------------------- ##
1555
+## File substitutions. ##
1556
+## ------------------- ##
1559
for ac_var in $ac_subst_files
1561
- eval ac_val=$`echo $ac_var`
1562
- echo "$ac_var='"'"'$ac_val'"'"'"
1563
+ eval ac_val=\$$ac_var
1565
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1567
+ echo "$ac_var='\''$ac_val'\''"
1571
@@ -1112,26 +1540,24 @@
1575
- sed "/^$/d" confdefs.h | sort
1579
test "$ac_signal" != 0 &&
1580
echo "$as_me: caught signal $ac_signal"
1581
echo "$as_me: exit $exit_status"
1583
- rm -f core core.* *.core &&
1584
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1585
+ rm -f core *.core core.conftest.* &&
1586
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1590
for ac_signal in 1 2 13 15; do
1591
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1595
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1596
-rm -rf conftest* confdefs.h
1597
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1599
+rm -f -r conftest* confdefs.h
1601
# Predefined preprocessor variables.
1603
@@ -1162,14 +1588,17 @@
1605
# Let the site file select an alternate cache file if it wants to.
1606
# Prefer explicitly selected file to automatically selected ones.
1607
-if test -z "$CONFIG_SITE"; then
1608
- if test "x$prefix" != xNONE; then
1609
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1611
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1613
+if test -n "$CONFIG_SITE"; then
1614
+ set x "$CONFIG_SITE"
1615
+elif test "x$prefix" != xNONE; then
1616
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1618
+ set x "$ac_default_prefix/share/config.site" \
1619
+ "$ac_default_prefix/etc/config.site"
1621
-for ac_site_file in $CONFIG_SITE; do
1625
if test -r "$ac_site_file"; then
1626
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1627
echo "$as_me: loading site script $ac_site_file" >&6;}
1628
@@ -1185,8 +1614,8 @@
1629
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1630
echo "$as_me: loading cache $cache_file" >&6;}
1632
- [\\/]* | ?:[\\/]* ) . $cache_file;;
1633
- *) . ./$cache_file;;
1634
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1635
+ *) . "./$cache_file";;
1639
@@ -1198,12 +1627,11 @@
1640
# Check that the precious variables saved in the cache have kept the same
1642
ac_cache_corrupted=false
1643
-for ac_var in `(set) 2>&1 |
1644
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1645
+for ac_var in $ac_precious_vars; do
1646
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1647
eval ac_new_set=\$ac_env_${ac_var}_set
1648
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1649
- eval ac_new_val="\$ac_env_${ac_var}_value"
1650
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1651
+ eval ac_new_val=\$ac_env_${ac_var}_value
1652
case $ac_old_set,$ac_new_set in
1654
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1655
@@ -1216,20 +1644,19 @@
1658
if test "x$ac_old_val" != "x$ac_new_val"; then
1659
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1660
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1661
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1662
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1663
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1664
echo "$as_me: former value: $ac_old_val" >&2;}
1665
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1666
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1667
echo "$as_me: current value: $ac_new_val" >&2;}
1668
- ac_cache_corrupted=:
1669
+ ac_cache_corrupted=:
1672
# Pass precious variables to config.status.
1673
if test "$ac_new_set" = set; then
1675
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1676
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1677
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1678
*) ac_arg=$ac_var=$ac_new_val ;;
1680
case " $ac_configure_args " in
1681
@@ -1246,12 +1673,6 @@
1682
{ (exit 1); exit 1; }; }
1686
-ac_cpp='$CPP $CPPFLAGS'
1687
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1688
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1689
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694
@@ -1268,9 +1689,14 @@
1699
+ac_cpp='$CPP $CPPFLAGS'
1700
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1701
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1702
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1705
- ac_config_headers="$ac_config_headers config.h"
1706
+ac_config_headers="$ac_config_headers config.h"
1710
@@ -1285,8 +1711,8 @@
1711
echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1712
# Extract the first word of "screen", so it can be a program name with args.
1713
set dummy screen; ac_word=$2
1714
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1715
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1716
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1717
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1718
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1719
echo $ECHO_N "(cached) $ECHO_C" >&6
1721
@@ -1301,52 +1727,75 @@
1723
test -z "$as_dir" && as_dir=.
1724
for ac_exec_ext in '' $ac_executable_extensions; do
1725
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1727
ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1728
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738
ac_prefix_program=$ac_cv_path_ac_prefix_program
1740
if test -n "$ac_prefix_program"; then
1741
- echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1742
-echo "${ECHO_T}$ac_prefix_program" >&6
1743
+ { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1744
+echo "${ECHO_T}$ac_prefix_program" >&6; }
1746
- echo "$as_me:$LINENO: result: no" >&5
1747
-echo "${ECHO_T}no" >&6
1748
+ { echo "$as_me:$LINENO: result: no" >&5
1749
+echo "${ECHO_T}no" >&6; }
1752
- if test -n $ac_prefix_program; then
1753
- prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1755
+ if test -n "$ac_prefix_program"; then
1756
+ prefix=`$as_dirname -- "$ac_prefix_program" ||
1757
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1758
- X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1759
- X"$ac_prefix_program" : 'X\(//\)$' \| \
1760
- X"$ac_prefix_program" : 'X\(/\)' \| \
1761
- . : '\(.\)' 2>/dev/null ||
1762
+ X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1763
+ X"$ac_prefix_program" : 'X\(//\)$' \| \
1764
+ X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
1765
echo X"$ac_prefix_program" |
1766
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1767
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1768
- /^X\(\/\/\)$/{ s//\1/; q; }
1769
- /^X\(\/\).*/{ s//\1/; q; }
1771
- prefix=`(dirname "$prefix") 2>/dev/null ||
1772
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1776
+ /^X\(\/\/\)[^/].*/{
1789
+ prefix=`$as_dirname -- "$prefix" ||
1790
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1791
- X"$prefix" : 'X\(//\)[^/]' \| \
1792
- X"$prefix" : 'X\(//\)$' \| \
1793
- X"$prefix" : 'X\(/\)' \| \
1794
- . : '\(.\)' 2>/dev/null ||
1795
+ X"$prefix" : 'X\(//\)[^/]' \| \
1796
+ X"$prefix" : 'X\(//\)$' \| \
1797
+ X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
1799
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1800
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1801
- /^X\(\/\/\)$/{ s//\1/; q; }
1802
- /^X\(\/\).*/{ s//\1/; q; }
1804
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1808
+ /^X\(\/\/\)[^/].*/{
1824
@@ -1354,8 +1803,8 @@
1825
echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1826
# Extract the first word of "gzip", so it can be a program name with args.
1827
set dummy gzip; ac_word=$2
1828
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1829
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1831
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1832
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1833
echo $ECHO_N "(cached) $ECHO_C" >&6
1835
@@ -1370,52 +1819,75 @@
1837
test -z "$as_dir" && as_dir=.
1838
for ac_exec_ext in '' $ac_executable_extensions; do
1839
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1841
ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1842
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852
ac_prefix_program=$ac_cv_path_ac_prefix_program
1854
if test -n "$ac_prefix_program"; then
1855
- echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1856
-echo "${ECHO_T}$ac_prefix_program" >&6
1857
+ { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1858
+echo "${ECHO_T}$ac_prefix_program" >&6; }
1860
- echo "$as_me:$LINENO: result: no" >&5
1861
-echo "${ECHO_T}no" >&6
1862
+ { echo "$as_me:$LINENO: result: no" >&5
1863
+echo "${ECHO_T}no" >&6; }
1866
- if test -n $ac_prefix_program; then
1867
- prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1869
+ if test -n "$ac_prefix_program"; then
1870
+ prefix=`$as_dirname -- "$ac_prefix_program" ||
1871
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1872
- X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1873
- X"$ac_prefix_program" : 'X\(//\)$' \| \
1874
- X"$ac_prefix_program" : 'X\(/\)' \| \
1875
- . : '\(.\)' 2>/dev/null ||
1876
+ X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1877
+ X"$ac_prefix_program" : 'X\(//\)$' \| \
1878
+ X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
1879
echo X"$ac_prefix_program" |
1880
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1881
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1882
- /^X\(\/\/\)$/{ s//\1/; q; }
1883
- /^X\(\/\).*/{ s//\1/; q; }
1885
- prefix=`(dirname "$prefix") 2>/dev/null ||
1886
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1890
+ /^X\(\/\/\)[^/].*/{
1903
+ prefix=`$as_dirname -- "$prefix" ||
1904
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1905
- X"$prefix" : 'X\(//\)[^/]' \| \
1906
- X"$prefix" : 'X\(//\)$' \| \
1907
- X"$prefix" : 'X\(/\)' \| \
1908
- . : '\(.\)' 2>/dev/null ||
1909
+ X"$prefix" : 'X\(//\)[^/]' \| \
1910
+ X"$prefix" : 'X\(//\)$' \| \
1911
+ X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
1913
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1914
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1915
- /^X\(\/\/\)$/{ s//\1/; q; }
1916
- /^X\(\/\).*/{ s//\1/; q; }
1918
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1922
+ /^X\(\/\/\)[^/].*/{
1938
@@ -1429,8 +1901,8 @@
1939
if test -n "$ac_tool_prefix"; then
1940
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1941
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1942
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1943
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1944
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1945
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1946
if test "${ac_cv_prog_CC+set}" = set; then
1947
echo $ECHO_N "(cached) $ECHO_C" >&6
1949
@@ -1443,32 +1915,34 @@
1951
test -z "$as_dir" && as_dir=.
1952
for ac_exec_ext in '' $ac_executable_extensions; do
1953
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1955
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1956
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1966
if test -n "$CC"; then
1967
- echo "$as_me:$LINENO: result: $CC" >&5
1968
-echo "${ECHO_T}$CC" >&6
1969
+ { echo "$as_me:$LINENO: result: $CC" >&5
1970
+echo "${ECHO_T}$CC" >&6; }
1972
- echo "$as_me:$LINENO: result: no" >&5
1973
-echo "${ECHO_T}no" >&6
1974
+ { echo "$as_me:$LINENO: result: no" >&5
1975
+echo "${ECHO_T}no" >&6; }
1980
if test -z "$ac_cv_prog_CC"; then
1982
# Extract the first word of "gcc", so it can be a program name with args.
1983
set dummy gcc; ac_word=$2
1984
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1985
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1986
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1987
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1988
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1989
echo $ECHO_N "(cached) $ECHO_C" >&6
1991
@@ -1481,36 +1955,51 @@
1993
test -z "$as_dir" && as_dir=.
1994
for ac_exec_ext in '' $ac_executable_extensions; do
1995
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1997
ac_cv_prog_ac_ct_CC="gcc"
1998
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2008
if test -n "$ac_ct_CC"; then
2009
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2010
-echo "${ECHO_T}$ac_ct_CC" >&6
2011
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2012
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2014
- echo "$as_me:$LINENO: result: no" >&5
2015
-echo "${ECHO_T}no" >&6
2016
+ { echo "$as_me:$LINENO: result: no" >&5
2017
+echo "${ECHO_T}no" >&6; }
2021
+ if test "x$ac_ct_CC" = x; then
2024
+ case $cross_compiling:$ac_tool_warned in
2026
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2027
+whose name does not start with the host triplet. If you think this
2028
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2029
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2030
+whose name does not start with the host triplet. If you think this
2031
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2032
+ac_tool_warned=yes ;;
2040
if test -z "$CC"; then
2041
- if test -n "$ac_tool_prefix"; then
2042
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2043
+ if test -n "$ac_tool_prefix"; then
2044
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2045
set dummy ${ac_tool_prefix}cc; ac_word=$2
2046
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2047
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2049
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2050
if test "${ac_cv_prog_CC+set}" = set; then
2051
echo $ECHO_N "(cached) $ECHO_C" >&6
2053
@@ -1523,74 +2012,34 @@
2055
test -z "$as_dir" && as_dir=.
2056
for ac_exec_ext in '' $ac_executable_extensions; do
2057
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059
ac_cv_prog_CC="${ac_tool_prefix}cc"
2060
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070
if test -n "$CC"; then
2071
- echo "$as_me:$LINENO: result: $CC" >&5
2072
-echo "${ECHO_T}$CC" >&6
2074
- echo "$as_me:$LINENO: result: no" >&5
2075
-echo "${ECHO_T}no" >&6
2079
-if test -z "$ac_cv_prog_CC"; then
2081
- # Extract the first word of "cc", so it can be a program name with args.
2082
-set dummy cc; ac_word=$2
2083
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2084
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2085
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2086
- echo $ECHO_N "(cached) $ECHO_C" >&6
2088
- if test -n "$ac_ct_CC"; then
2089
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2091
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092
-for as_dir in $PATH
2095
- test -z "$as_dir" && as_dir=.
2096
- for ac_exec_ext in '' $ac_executable_extensions; do
2097
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2098
- ac_cv_prog_ac_ct_CC="cc"
2099
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2108
-if test -n "$ac_ct_CC"; then
2109
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2110
-echo "${ECHO_T}$ac_ct_CC" >&6
2111
+ { echo "$as_me:$LINENO: result: $CC" >&5
2112
+echo "${ECHO_T}$CC" >&6; }
2114
- echo "$as_me:$LINENO: result: no" >&5
2115
-echo "${ECHO_T}no" >&6
2116
+ { echo "$as_me:$LINENO: result: no" >&5
2117
+echo "${ECHO_T}no" >&6; }
2122
- CC="$ac_cv_prog_CC"
2127
if test -z "$CC"; then
2128
# Extract the first word of "cc", so it can be a program name with args.
2129
set dummy cc; ac_word=$2
2130
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2131
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2133
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2134
if test "${ac_cv_prog_CC+set}" = set; then
2135
echo $ECHO_N "(cached) $ECHO_C" >&6
2137
@@ -1604,7 +2053,7 @@
2139
test -z "$as_dir" && as_dir=.
2140
for ac_exec_ext in '' $ac_executable_extensions; do
2141
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2144
ac_prog_rejected=yes
2146
@@ -1615,6 +2064,7 @@
2152
if test $ac_prog_rejected = yes; then
2153
# We found a bogon in the path, so make sure we never use it.
2154
@@ -1632,22 +2082,23 @@
2157
if test -n "$CC"; then
2158
- echo "$as_me:$LINENO: result: $CC" >&5
2159
-echo "${ECHO_T}$CC" >&6
2160
+ { echo "$as_me:$LINENO: result: $CC" >&5
2161
+echo "${ECHO_T}$CC" >&6; }
2163
- echo "$as_me:$LINENO: result: no" >&5
2164
-echo "${ECHO_T}no" >&6
2165
+ { echo "$as_me:$LINENO: result: no" >&5
2166
+echo "${ECHO_T}no" >&6; }
2171
if test -z "$CC"; then
2172
if test -n "$ac_tool_prefix"; then
2174
+ for ac_prog in cl.exe
2176
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2177
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2178
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2179
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2181
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182
if test "${ac_cv_prog_CC+set}" = set; then
2183
echo $ECHO_N "(cached) $ECHO_C" >&6
2185
@@ -1660,36 +2111,38 @@
2187
test -z "$as_dir" && as_dir=.
2188
for ac_exec_ext in '' $ac_executable_extensions; do
2189
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2192
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202
if test -n "$CC"; then
2203
- echo "$as_me:$LINENO: result: $CC" >&5
2204
-echo "${ECHO_T}$CC" >&6
2205
+ { echo "$as_me:$LINENO: result: $CC" >&5
2206
+echo "${ECHO_T}$CC" >&6; }
2208
- echo "$as_me:$LINENO: result: no" >&5
2209
-echo "${ECHO_T}no" >&6
2210
+ { echo "$as_me:$LINENO: result: no" >&5
2211
+echo "${ECHO_T}no" >&6; }
2215
test -n "$CC" && break
2218
if test -z "$CC"; then
2221
+ for ac_prog in cl.exe
2223
# Extract the first word of "$ac_prog", so it can be a program name with args.
2224
set dummy $ac_prog; ac_word=$2
2225
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2226
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2228
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2230
echo $ECHO_N "(cached) $ECHO_C" >&6
2232
@@ -1702,29 +2155,45 @@
2234
test -z "$as_dir" && as_dir=.
2235
for ac_exec_ext in '' $ac_executable_extensions; do
2236
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2237
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238
ac_cv_prog_ac_ct_CC="$ac_prog"
2239
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2249
if test -n "$ac_ct_CC"; then
2250
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2251
-echo "${ECHO_T}$ac_ct_CC" >&6
2252
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2253
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2255
- echo "$as_me:$LINENO: result: no" >&5
2256
-echo "${ECHO_T}no" >&6
2257
+ { echo "$as_me:$LINENO: result: no" >&5
2258
+echo "${ECHO_T}no" >&6; }
2262
test -n "$ac_ct_CC" && break
2266
+ if test "x$ac_ct_CC" = x; then
2269
+ case $cross_compiling:$ac_tool_warned in
2271
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2272
+whose name does not start with the host triplet. If you think this
2273
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2274
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2275
+whose name does not start with the host triplet. If you think this
2276
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2277
+ac_tool_warned=yes ;;
2284
@@ -1737,27 +2206,40 @@
2285
{ (exit 1); exit 1; }; }
2287
# Provide some information about the compiler.
2288
-echo "$as_me:$LINENO:" \
2289
- "checking for C compiler version" >&5
2290
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2291
ac_compiler=`set X $ac_compile; echo $2`
2292
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2293
- (eval $ac_compiler --version </dev/null >&5) 2>&5
2294
+{ (ac_try="$ac_compiler --version >&5"
2295
+case "(($ac_try" in
2296
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297
+ *) ac_try_echo=$ac_try;;
2299
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2300
+ (eval "$ac_compiler --version >&5") 2>&5
2302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303
(exit $ac_status); }
2304
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2305
- (eval $ac_compiler -v </dev/null >&5) 2>&5
2306
+{ (ac_try="$ac_compiler -v >&5"
2307
+case "(($ac_try" in
2308
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2309
+ *) ac_try_echo=$ac_try;;
2311
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2312
+ (eval "$ac_compiler -v >&5") 2>&5
2314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315
(exit $ac_status); }
2316
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2317
- (eval $ac_compiler -V </dev/null >&5) 2>&5
2318
+{ (ac_try="$ac_compiler -V >&5"
2319
+case "(($ac_try" in
2320
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321
+ *) ac_try_echo=$ac_try;;
2323
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2324
+ (eval "$ac_compiler -V >&5") 2>&5
2326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
(exit $ac_status); }
2329
cat >conftest.$ac_ext <<_ACEOF
2330
-#line $LINENO "configure"
2333
cat confdefs.h >>conftest.$ac_ext
2334
@@ -1777,47 +2259,77 @@
2335
# Try to create an executable without -o first, disregard a.out.
2336
# It will help us diagnose broken compilers, and finding out an intuition
2338
-echo "$as_me:$LINENO: checking for C compiler default output" >&5
2339
-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2340
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2341
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2342
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2343
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2344
- (eval $ac_link_default) 2>&5
2346
+# List of possible output files, starting from the most likely.
2347
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2348
+# only as a last resort. b.out is created by i960 compilers.
2349
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2351
+# The IRIX 6 linker writes into existing files which may not be
2352
+# executable, retaining their permissions. Remove them first so a
2353
+# subsequent execution test works.
2355
+for ac_file in $ac_files
2358
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2359
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2364
+if { (ac_try="$ac_link_default"
2365
+case "(($ac_try" in
2366
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367
+ *) ac_try_echo=$ac_try;;
2369
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370
+ (eval "$ac_link_default") 2>&5
2372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
(exit $ac_status); }; then
2374
- # Find the output, starting from the most likely. This scheme is
2375
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2378
-# Be careful to initialize this variable, since it used to be cached.
2379
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2381
-# b.out is created by i960 compilers.
2382
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2383
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2384
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2385
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2386
+# so that the user can short-circuit this test for compilers unknown to
2388
+for ac_file in $ac_files ''
2390
test -f "$ac_file" || continue
2392
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2394
- conftest.$ac_ext )
2395
- # This is the source file.
2397
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2400
- # We found the default executable, but exeext='' is most
2401
- # certainly right.
2403
+ # We found the default executable, but exeext='' is most
2404
+ # certainly right.
2407
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2408
- # FIXME: I believe we export ac_cv_exeext for Libtool,
2409
- # but it would be cool to find out if it's true. Does anybody
2410
- # maintain Libtool? --akim.
2411
- export ac_cv_exeext
2413
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2415
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2417
+ # We set ac_cv_exeext here because the later test for it is not
2418
+ # safe: cross compilers may not add the suffix if given an `-o'
2419
+ # argument, so we may need to know it at that point already.
2420
+ # Even if this section looks crufty: it has the advantage of
2421
+ # actually working.
2428
+test "$ac_cv_exeext" = no && ac_cv_exeext=
2434
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2435
+echo "${ECHO_T}$ac_file" >&6; }
2436
+if test -z "$ac_file"; then
2437
echo "$as_me: failed program was:" >&5
2438
sed 's/^/| /' conftest.$ac_ext >&5
2440
@@ -1829,19 +2341,21 @@
2443
ac_exeext=$ac_cv_exeext
2444
-echo "$as_me:$LINENO: result: $ac_file" >&5
2445
-echo "${ECHO_T}$ac_file" >&6
2447
-# Check the compiler produces executables we can run. If not, either
2448
+# Check that the compiler produces executables we can run. If not, either
2449
# the compiler is broken, or we cross compile.
2450
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2451
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2452
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2453
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2454
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2455
# If not cross compiling, check that we can run a simple program.
2456
if test "$cross_compiling" != yes; then
2457
if { ac_try='./$ac_file'
2458
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2459
- (eval $ac_try) 2>&5
2460
+ { (case "(($ac_try" in
2461
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462
+ *) ac_try_echo=$ac_try;;
2464
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465
+ (eval "$ac_try") 2>&5
2467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468
(exit $ac_status); }; }; then
2469
@@ -1860,22 +2374,27 @@
2473
-echo "$as_me:$LINENO: result: yes" >&5
2474
-echo "${ECHO_T}yes" >&6
2475
+{ echo "$as_me:$LINENO: result: yes" >&5
2476
+echo "${ECHO_T}yes" >&6; }
2478
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2479
ac_clean_files=$ac_clean_files_save
2480
-# Check the compiler produces executables we can run. If not, either
2481
+# Check that the compiler produces executables we can run. If not, either
2482
# the compiler is broken, or we cross compile.
2483
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2484
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2485
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2486
-echo "${ECHO_T}$cross_compiling" >&6
2488
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2489
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2490
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2491
- (eval $ac_link) 2>&5
2492
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2493
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2494
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2495
+echo "${ECHO_T}$cross_compiling" >&6; }
2497
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2498
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2499
+if { (ac_try="$ac_link"
2500
+case "(($ac_try" in
2501
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502
+ *) ac_try_echo=$ac_try;;
2504
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2505
+ (eval "$ac_link") 2>&5
2507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508
(exit $ac_status); }; then
2509
@@ -1886,10 +2405,9 @@
2510
for ac_file in conftest.exe conftest conftest.*; do
2511
test -f "$ac_file" || continue
2513
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2514
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2515
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2516
- export ac_cv_exeext
2522
@@ -1902,19 +2420,18 @@
2525
rm -f conftest$ac_cv_exeext
2526
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2527
-echo "${ECHO_T}$ac_cv_exeext" >&6
2528
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2529
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2531
rm -f conftest.$ac_ext
2532
EXEEXT=$ac_cv_exeext
2534
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2535
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2536
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2537
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2538
if test "${ac_cv_objext+set}" = set; then
2539
echo $ECHO_N "(cached) $ECHO_C" >&6
2541
cat >conftest.$ac_ext <<_ACEOF
2542
-#line $LINENO "configure"
2545
cat confdefs.h >>conftest.$ac_ext
2546
@@ -1930,14 +2447,20 @@
2549
rm -f conftest.o conftest.obj
2550
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551
- (eval $ac_compile) 2>&5
2552
+if { (ac_try="$ac_compile"
2553
+case "(($ac_try" in
2554
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555
+ *) ac_try_echo=$ac_try;;
2557
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2558
+ (eval "$ac_compile") 2>&5
2560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
(exit $ac_status); }; then
2562
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2563
+ for ac_file in conftest.o conftest.obj conftest.*; do
2564
+ test -f "$ac_file" || continue;
2566
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2567
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2568
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2571
@@ -1955,17 +2478,16 @@
2573
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2575
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576
-echo "${ECHO_T}$ac_cv_objext" >&6
2577
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2578
+echo "${ECHO_T}$ac_cv_objext" >&6; }
2579
OBJEXT=$ac_cv_objext
2581
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2582
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2583
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2584
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2585
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2586
echo $ECHO_N "(cached) $ECHO_C" >&6
2588
cat >conftest.$ac_ext <<_ACEOF
2589
-#line $LINENO "configure"
2592
cat confdefs.h >>conftest.$ac_ext
2593
@@ -1984,41 +2506,87 @@
2596
rm -f conftest.$ac_objext
2597
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598
- (eval $ac_compile) 2>&5
2600
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601
- (exit $ac_status); } &&
2602
- { ac_try='test -s conftest.$ac_objext'
2603
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604
- (eval $ac_try) 2>&5
2605
+if { (ac_try="$ac_compile"
2606
+case "(($ac_try" in
2607
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608
+ *) ac_try_echo=$ac_try;;
2610
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2611
+ (eval "$ac_compile") 2>conftest.er1
2613
+ grep -v '^ *+' conftest.er1 >conftest.err
2614
+ rm -f conftest.er1
2615
+ cat conftest.err >&5
2616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
- (exit $ac_status); }; }; then
2618
+ (exit $ac_status); } && {
2619
+ test -z "$ac_c_werror_flag" ||
2620
+ test ! -s conftest.err
2621
+ } && test -s conftest.$ac_objext; then
2624
echo "$as_me: failed program was:" >&5
2625
sed 's/^/| /' conftest.$ac_ext >&5
2628
+ ac_compiler_gnu=no
2630
-rm -f conftest.$ac_objext conftest.$ac_ext
2632
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2633
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2636
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2637
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2638
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2639
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2640
GCC=`test $ac_compiler_gnu = yes && echo yes`
2641
ac_test_CFLAGS=${CFLAGS+set}
2642
ac_save_CFLAGS=$CFLAGS
2644
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2645
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2646
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2647
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2648
if test "${ac_cv_prog_cc_g+set}" = set; then
2649
echo $ECHO_N "(cached) $ECHO_C" >&6
2651
- cat >conftest.$ac_ext <<_ACEOF
2652
-#line $LINENO "configure"
2653
+ ac_save_c_werror_flag=$ac_c_werror_flag
2654
+ ac_c_werror_flag=yes
2655
+ ac_cv_prog_cc_g=no
2657
+ cat >conftest.$ac_ext <<_ACEOF
2660
+cat confdefs.h >>conftest.$ac_ext
2661
+cat >>conftest.$ac_ext <<_ACEOF
2662
+/* end confdefs.h. */
2672
+rm -f conftest.$ac_objext
2673
+if { (ac_try="$ac_compile"
2674
+case "(($ac_try" in
2675
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676
+ *) ac_try_echo=$ac_try;;
2678
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679
+ (eval "$ac_compile") 2>conftest.er1
2681
+ grep -v '^ *+' conftest.er1 >conftest.err
2682
+ rm -f conftest.er1
2683
+ cat conftest.err >&5
2684
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685
+ (exit $ac_status); } && {
2686
+ test -z "$ac_c_werror_flag" ||
2687
+ test ! -s conftest.err
2688
+ } && test -s conftest.$ac_objext; then
2689
+ ac_cv_prog_cc_g=yes
2691
+ echo "$as_me: failed program was:" >&5
2692
+sed 's/^/| /' conftest.$ac_ext >&5
2695
+ cat >conftest.$ac_ext <<_ACEOF
2698
cat confdefs.h >>conftest.$ac_ext
2699
@@ -2034,28 +2602,80 @@
2702
rm -f conftest.$ac_objext
2703
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2704
- (eval $ac_compile) 2>&5
2705
+if { (ac_try="$ac_compile"
2706
+case "(($ac_try" in
2707
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2708
+ *) ac_try_echo=$ac_try;;
2710
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711
+ (eval "$ac_compile") 2>conftest.er1
2713
+ grep -v '^ *+' conftest.er1 >conftest.err
2714
+ rm -f conftest.er1
2715
+ cat conftest.err >&5
2716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717
- (exit $ac_status); } &&
2718
- { ac_try='test -s conftest.$ac_objext'
2719
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720
- (eval $ac_try) 2>&5
2721
+ (exit $ac_status); } && {
2722
+ test -z "$ac_c_werror_flag" ||
2723
+ test ! -s conftest.err
2724
+ } && test -s conftest.$ac_objext; then
2727
+ echo "$as_me: failed program was:" >&5
2728
+sed 's/^/| /' conftest.$ac_ext >&5
2730
+ ac_c_werror_flag=$ac_save_c_werror_flag
2732
+ cat >conftest.$ac_ext <<_ACEOF
2735
+cat confdefs.h >>conftest.$ac_ext
2736
+cat >>conftest.$ac_ext <<_ACEOF
2737
+/* end confdefs.h. */
2747
+rm -f conftest.$ac_objext
2748
+if { (ac_try="$ac_compile"
2749
+case "(($ac_try" in
2750
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751
+ *) ac_try_echo=$ac_try;;
2753
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754
+ (eval "$ac_compile") 2>conftest.er1
2756
+ grep -v '^ *+' conftest.er1 >conftest.err
2757
+ rm -f conftest.er1
2758
+ cat conftest.err >&5
2759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760
- (exit $ac_status); }; }; then
2761
+ (exit $ac_status); } && {
2762
+ test -z "$ac_c_werror_flag" ||
2763
+ test ! -s conftest.err
2764
+ } && test -s conftest.$ac_objext; then
2767
echo "$as_me: failed program was:" >&5
2768
sed 's/^/| /' conftest.$ac_ext >&5
2773
-rm -f conftest.$ac_objext conftest.$ac_ext
2775
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2781
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2782
+ ac_c_werror_flag=$ac_save_c_werror_flag
2784
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2785
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2786
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2787
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2788
if test "$ac_test_CFLAGS" = set; then
2789
CFLAGS=$ac_save_CFLAGS
2790
elif test $ac_cv_prog_cc_g = yes; then
2791
@@ -2071,15 +2691,14 @@
2795
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2796
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2797
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
2798
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2799
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2800
+if test "${ac_cv_prog_cc_c89+set}" = set; then
2801
echo $ECHO_N "(cached) $ECHO_C" >&6
2803
- ac_cv_prog_cc_stdc=no
2804
+ ac_cv_prog_cc_c89=no
2806
cat >conftest.$ac_ext <<_ACEOF
2807
-#line $LINENO "configure"
2810
cat confdefs.h >>conftest.$ac_ext
2811
@@ -2107,6 +2726,21 @@
2816
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2817
+ function prototypes and stuff, but not '\xHH' hex character constants.
2818
+ These don't provoke an error unfortunately, instead are silently treated
2819
+ as 'x'. The following induces an error, until -std is added to get
2820
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2821
+ array size at least. It's necessary to write '\x00'==0 to get something
2822
+ that's true only with -std. */
2823
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2825
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2826
+ inside strings and character constants. */
2828
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2830
int test (int i, double x);
2831
struct s1 {int (*f) (int a);};
2832
struct s2 {int (*f) (double a);};
2833
@@ -2121,232 +2755,119 @@
2837
-# Don't try gcc -ansi; that turns off useful extensions and
2838
-# breaks some systems' header files.
2839
-# AIX -qlanglvl=ansi
2840
-# Ultrix and OSF/1 -std1
2841
-# HP-UX 10.20 and later -Ae
2842
-# HP-UX older versions -Aa -D_HPUX_SOURCE
2843
-# SVR4 -Xc -D__EXTENSIONS__
2844
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2845
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2846
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2848
CC="$ac_save_CC $ac_arg"
2849
rm -f conftest.$ac_objext
2850
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2851
- (eval $ac_compile) 2>&5
2853
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854
- (exit $ac_status); } &&
2855
- { ac_try='test -s conftest.$ac_objext'
2856
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857
- (eval $ac_try) 2>&5
2858
+if { (ac_try="$ac_compile"
2859
+case "(($ac_try" in
2860
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861
+ *) ac_try_echo=$ac_try;;
2863
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2864
+ (eval "$ac_compile") 2>conftest.er1
2866
+ grep -v '^ *+' conftest.er1 >conftest.err
2867
+ rm -f conftest.er1
2868
+ cat conftest.err >&5
2869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870
- (exit $ac_status); }; }; then
2871
- ac_cv_prog_cc_stdc=$ac_arg
2873
+ (exit $ac_status); } && {
2874
+ test -z "$ac_c_werror_flag" ||
2875
+ test ! -s conftest.err
2876
+ } && test -s conftest.$ac_objext; then
2877
+ ac_cv_prog_cc_c89=$ac_arg
2879
echo "$as_me: failed program was:" >&5
2880
sed 's/^/| /' conftest.$ac_ext >&5
2884
-rm -f conftest.$ac_objext
2886
+rm -f core conftest.err conftest.$ac_objext
2887
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2889
-rm -f conftest.$ac_ext conftest.$ac_objext
2890
+rm -f conftest.$ac_ext
2895
-case "x$ac_cv_prog_cc_stdc" in
2897
- echo "$as_me:$LINENO: result: none needed" >&5
2898
-echo "${ECHO_T}none needed" >&6 ;;
2900
+case "x$ac_cv_prog_cc_c89" in
2902
+ { echo "$as_me:$LINENO: result: none needed" >&5
2903
+echo "${ECHO_T}none needed" >&6; } ;;
2905
+ { echo "$as_me:$LINENO: result: unsupported" >&5
2906
+echo "${ECHO_T}unsupported" >&6; } ;;
2908
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2909
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2910
- CC="$CC $ac_cv_prog_cc_stdc" ;;
2911
+ CC="$CC $ac_cv_prog_cc_c89"
2912
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2913
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2916
-# Some people use a C++ compiler to compile C. Since we use `exit',
2917
-# in C++ we need to declare it. In case someone uses the same compiler
2918
-# for both compiling C and C++ we need to have the C++ compiler decide
2919
-# the declaration of exit, since it's the most demanding environment.
2920
-cat >conftest.$ac_ext <<_ACEOF
2921
-#ifndef __cplusplus
2925
-rm -f conftest.$ac_objext
2926
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927
- (eval $ac_compile) 2>&5
2929
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930
- (exit $ac_status); } &&
2931
- { ac_try='test -s conftest.$ac_objext'
2932
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933
- (eval $ac_try) 2>&5
2935
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936
- (exit $ac_status); }; }; then
2937
- for ac_declaration in \
2939
- '#include <stdlib.h>' \
2940
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
2941
- 'extern "C" void std::exit (int); using std::exit;' \
2942
- 'extern "C" void exit (int) throw ();' \
2943
- 'extern "C" void exit (int);' \
2944
- 'void exit (int);'
2947
+ac_cpp='$CPP $CPPFLAGS'
2948
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953
+ac_cpp='$CPP $CPPFLAGS'
2954
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2958
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2959
+# On Suns, sometimes $CPP names a directory.
2960
+if test -n "$CPP" && test -d "$CPP"; then
2963
+if test -z "$CPP"; then
2964
+ if test "${ac_cv_prog_CPP+set}" = set; then
2965
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2967
+ # Double quotes because CPP needs to be expanded
2968
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2970
+ ac_preproc_ok=false
2971
+for ac_c_preproc_warn_flag in '' yes
2973
+ # Use a header file that comes with gcc, so configuring glibc
2974
+ # with a fresh cross-compiler works.
2975
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2976
+ # <limits.h> exists even on freestanding compilers.
2977
+ # On the NeXT, cc -E runs the code through the compiler's parser,
2978
+ # not just through cpp. "Syntax error" is here to catch this case.
2979
cat >conftest.$ac_ext <<_ACEOF
2980
-#line $LINENO "configure"
2983
cat confdefs.h >>conftest.$ac_ext
2984
cat >>conftest.$ac_ext <<_ACEOF
2985
/* end confdefs.h. */
2986
-#include <stdlib.h>
2996
+# include <limits.h>
2998
+# include <assert.h>
3002
-rm -f conftest.$ac_objext
3003
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3004
- (eval $ac_compile) 2>&5
3006
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007
- (exit $ac_status); } &&
3008
- { ac_try='test -s conftest.$ac_objext'
3009
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010
- (eval $ac_try) 2>&5
3011
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3012
+case "(($ac_try" in
3013
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
+ *) ac_try_echo=$ac_try;;
3016
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3019
+ grep -v '^ *+' conftest.er1 >conftest.err
3020
+ rm -f conftest.er1
3021
+ cat conftest.err >&5
3022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023
- (exit $ac_status); }; }; then
3026
- echo "$as_me: failed program was:" >&5
3027
-sed 's/^/| /' conftest.$ac_ext >&5
3031
-rm -f conftest.$ac_objext conftest.$ac_ext
3032
- cat >conftest.$ac_ext <<_ACEOF
3033
-#line $LINENO "configure"
3036
-cat confdefs.h >>conftest.$ac_ext
3037
-cat >>conftest.$ac_ext <<_ACEOF
3038
-/* end confdefs.h. */
3048
-rm -f conftest.$ac_objext
3049
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3050
- (eval $ac_compile) 2>&5
3052
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
- (exit $ac_status); } &&
3054
- { ac_try='test -s conftest.$ac_objext'
3055
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056
- (eval $ac_try) 2>&5
3058
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059
- (exit $ac_status); }; }; then
3062
- echo "$as_me: failed program was:" >&5
3063
-sed 's/^/| /' conftest.$ac_ext >&5
3066
-rm -f conftest.$ac_objext conftest.$ac_ext
3069
-if test -n "$ac_declaration"; then
3070
- echo '#ifdef __cplusplus' >>confdefs.h
3071
- echo $ac_declaration >>confdefs.h
3072
- echo '#endif' >>confdefs.h
3076
- echo "$as_me: failed program was:" >&5
3077
-sed 's/^/| /' conftest.$ac_ext >&5
3080
-rm -f conftest.$ac_objext conftest.$ac_ext
3082
-ac_cpp='$CPP $CPPFLAGS'
3083
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3084
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3085
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3088
-ac_cpp='$CPP $CPPFLAGS'
3089
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3090
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3091
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3092
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3093
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3094
-# On Suns, sometimes $CPP names a directory.
3095
-if test -n "$CPP" && test -d "$CPP"; then
3098
-if test -z "$CPP"; then
3099
- if test "${ac_cv_prog_CPP+set}" = set; then
3100
- echo $ECHO_N "(cached) $ECHO_C" >&6
3102
- # Double quotes because CPP needs to be expanded
3103
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3105
- ac_preproc_ok=false
3106
-for ac_c_preproc_warn_flag in '' yes
3108
- # Use a header file that comes with gcc, so configuring glibc
3109
- # with a fresh cross-compiler works.
3110
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3111
- # <limits.h> exists even on freestanding compilers.
3112
- # On the NeXT, cc -E runs the code through the compiler's parser,
3113
- # not just through cpp. "Syntax error" is here to catch this case.
3114
- cat >conftest.$ac_ext <<_ACEOF
3115
-#line $LINENO "configure"
3118
-cat confdefs.h >>conftest.$ac_ext
3119
-cat >>conftest.$ac_ext <<_ACEOF
3120
-/* end confdefs.h. */
3122
-# include <limits.h>
3124
-# include <assert.h>
3128
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3129
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3131
- grep -v '^ *+' conftest.er1 >conftest.err
3132
- rm -f conftest.er1
3133
- cat conftest.err >&5
3134
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135
- (exit $ac_status); } >/dev/null; then
3136
- if test -s conftest.err; then
3137
- ac_cpp_err=$ac_c_preproc_warn_flag
3144
-if test -z "$ac_cpp_err"; then
3145
+ (exit $ac_status); } >/dev/null && {
3146
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3147
+ test ! -s conftest.err
3151
echo "$as_me: failed program was:" >&5
3152
@@ -2355,12 +2876,12 @@
3153
# Broken: fails on valid input.
3157
rm -f conftest.err conftest.$ac_ext
3159
- # OK, works on sane cases. Now check whether non-existent headers
3160
+ # OK, works on sane cases. Now check whether nonexistent headers
3161
# can be detected and how.
3162
cat >conftest.$ac_ext <<_ACEOF
3163
-#line $LINENO "configure"
3166
cat confdefs.h >>conftest.$ac_ext
3167
@@ -2368,23 +2889,22 @@
3168
/* end confdefs.h. */
3169
#include <ac_nonexistent.h>
3171
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3172
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3173
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3174
+case "(($ac_try" in
3175
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176
+ *) ac_try_echo=$ac_try;;
3178
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3179
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3181
grep -v '^ *+' conftest.er1 >conftest.err
3183
cat conftest.err >&5
3184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185
- (exit $ac_status); } >/dev/null; then
3186
- if test -s conftest.err; then
3187
- ac_cpp_err=$ac_c_preproc_warn_flag
3194
-if test -z "$ac_cpp_err"; then
3195
+ (exit $ac_status); } >/dev/null && {
3196
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3197
+ test ! -s conftest.err
3199
# Broken: success on invalid input.
3202
@@ -2395,6 +2915,7 @@
3207
rm -f conftest.err conftest.$ac_ext
3210
@@ -2412,8 +2933,8 @@
3214
-echo "$as_me:$LINENO: result: $CPP" >&5
3215
-echo "${ECHO_T}$CPP" >&6
3216
+{ echo "$as_me:$LINENO: result: $CPP" >&5
3217
+echo "${ECHO_T}$CPP" >&6; }
3219
for ac_c_preproc_warn_flag in '' yes
3221
@@ -2424,7 +2945,6 @@
3222
# On the NeXT, cc -E runs the code through the compiler's parser,
3223
# not just through cpp. "Syntax error" is here to catch this case.
3224
cat >conftest.$ac_ext <<_ACEOF
3225
-#line $LINENO "configure"
3228
cat confdefs.h >>conftest.$ac_ext
3229
@@ -2435,25 +2955,24 @@
3231
# include <assert.h>
3236
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3237
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3238
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3239
+case "(($ac_try" in
3240
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241
+ *) ac_try_echo=$ac_try;;
3243
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3246
grep -v '^ *+' conftest.er1 >conftest.err
3248
cat conftest.err >&5
3249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
- (exit $ac_status); } >/dev/null; then
3251
- if test -s conftest.err; then
3252
- ac_cpp_err=$ac_c_preproc_warn_flag
3259
-if test -z "$ac_cpp_err"; then
3260
+ (exit $ac_status); } >/dev/null && {
3261
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3262
+ test ! -s conftest.err
3266
echo "$as_me: failed program was:" >&5
3267
@@ -2462,12 +2981,12 @@
3268
# Broken: fails on valid input.
3272
rm -f conftest.err conftest.$ac_ext
3274
- # OK, works on sane cases. Now check whether non-existent headers
3275
+ # OK, works on sane cases. Now check whether nonexistent headers
3276
# can be detected and how.
3277
cat >conftest.$ac_ext <<_ACEOF
3278
-#line $LINENO "configure"
3281
cat confdefs.h >>conftest.$ac_ext
3282
@@ -2475,23 +2994,22 @@
3283
/* end confdefs.h. */
3284
#include <ac_nonexistent.h>
3286
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3287
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3288
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3289
+case "(($ac_try" in
3290
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291
+ *) ac_try_echo=$ac_try;;
3293
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3296
grep -v '^ *+' conftest.er1 >conftest.err
3298
cat conftest.err >&5
3299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300
- (exit $ac_status); } >/dev/null; then
3301
- if test -s conftest.err; then
3302
- ac_cpp_err=$ac_c_preproc_warn_flag
3309
-if test -z "$ac_cpp_err"; then
3310
+ (exit $ac_status); } >/dev/null && {
3311
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3312
+ test ! -s conftest.err
3314
# Broken: success on invalid input.
3317
@@ -2502,6 +3020,7 @@
3322
rm -f conftest.err conftest.$ac_ext
3325
@@ -2525,30 +3044,176 @@
3329
-echo "$as_me:$LINENO: checking for egrep" >&5
3330
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3331
-if test "${ac_cv_prog_egrep+set}" = set; then
3332
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3333
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3334
+if test "${ac_cv_path_GREP+set}" = set; then
3335
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3337
+ # Extract the first word of "grep ggrep" to use in msg output
3338
+if test -z "$GREP"; then
3339
+set dummy grep ggrep; ac_prog_name=$2
3340
+if test "${ac_cv_path_GREP+set}" = set; then
3341
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3343
+ ac_path_GREP_found=false
3344
+# Loop through the user's path and test for each of PROGNAME-LIST
3345
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3349
+ test -z "$as_dir" && as_dir=.
3350
+ for ac_prog in grep ggrep; do
3351
+ for ac_exec_ext in '' $ac_executable_extensions; do
3352
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3353
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3354
+ # Check for GNU ac_path_GREP and select it if it is found.
3355
+ # Check for GNU $ac_path_GREP
3356
+case `"$ac_path_GREP" --version 2>&1` in
3358
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3361
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3364
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3365
+ mv "conftest.tmp" "conftest.in"
3366
+ cp "conftest.in" "conftest.nl"
3367
+ echo 'GREP' >> "conftest.nl"
3368
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3369
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3370
+ ac_count=`expr $ac_count + 1`
3371
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
3372
+ # Best one so far, save it but keep looking for a better one
3373
+ ac_cv_path_GREP="$ac_path_GREP"
3374
+ ac_path_GREP_max=$ac_count
3376
+ # 10*(2^10) chars as input seems more than enough
3377
+ test $ac_count -gt 10 && break
3379
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3383
+ $ac_path_GREP_found && break 3
3393
+GREP="$ac_cv_path_GREP"
3394
+if test -z "$GREP"; then
3395
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3396
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3397
+ { (exit 1); exit 1; }; }
3401
+ ac_cv_path_GREP=$GREP
3406
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3407
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3408
+ GREP="$ac_cv_path_GREP"
3411
+{ echo "$as_me:$LINENO: checking for egrep" >&5
3412
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3413
+if test "${ac_cv_path_EGREP+set}" = set; then
3414
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3416
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3417
+ then ac_cv_path_EGREP="$GREP -E"
3419
+ # Extract the first word of "egrep" to use in msg output
3420
+if test -z "$EGREP"; then
3421
+set dummy egrep; ac_prog_name=$2
3422
+if test "${ac_cv_path_EGREP+set}" = set; then
3423
echo $ECHO_N "(cached) $ECHO_C" >&6
3425
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3426
- then ac_cv_prog_egrep='grep -E'
3427
- else ac_cv_prog_egrep='egrep'
3428
+ ac_path_EGREP_found=false
3429
+# Loop through the user's path and test for each of PROGNAME-LIST
3430
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3434
+ test -z "$as_dir" && as_dir=.
3435
+ for ac_prog in egrep; do
3436
+ for ac_exec_ext in '' $ac_executable_extensions; do
3437
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3438
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3439
+ # Check for GNU ac_path_EGREP and select it if it is found.
3440
+ # Check for GNU $ac_path_EGREP
3441
+case `"$ac_path_EGREP" --version 2>&1` in
3443
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3446
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3449
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3450
+ mv "conftest.tmp" "conftest.in"
3451
+ cp "conftest.in" "conftest.nl"
3452
+ echo 'EGREP' >> "conftest.nl"
3453
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3454
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3455
+ ac_count=`expr $ac_count + 1`
3456
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3457
+ # Best one so far, save it but keep looking for a better one
3458
+ ac_cv_path_EGREP="$ac_path_EGREP"
3459
+ ac_path_EGREP_max=$ac_count
3461
+ # 10*(2^10) chars as input seems more than enough
3462
+ test $ac_count -gt 10 && break
3464
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3468
+ $ac_path_EGREP_found && break 3
3478
+EGREP="$ac_cv_path_EGREP"
3479
+if test -z "$EGREP"; then
3480
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3481
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3482
+ { (exit 1); exit 1; }; }
3486
+ ac_cv_path_EGREP=$EGREP
3492
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3493
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3494
- EGREP=$ac_cv_prog_egrep
3495
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3496
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3497
+ EGREP="$ac_cv_path_EGREP"
3500
if test $ac_cv_c_compiler_gnu = yes; then
3501
- echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3502
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3503
+ { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3504
+echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3505
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3506
echo $ECHO_N "(cached) $ECHO_C" >&6
3508
ac_pattern="Autoconf.*'x'"
3509
cat >conftest.$ac_ext <<_ACEOF
3510
-#line $LINENO "configure"
3513
cat confdefs.h >>conftest.$ac_ext
3514
@@ -2568,7 +3233,6 @@
3516
if test $ac_cv_prog_gcc_traditional = no; then
3517
cat >conftest.$ac_ext <<_ACEOF
3518
-#line $LINENO "configure"
3521
cat confdefs.h >>conftest.$ac_ext
3522
@@ -2585,116 +3249,93 @@
3526
-echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3527
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3528
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3529
+echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3530
if test $ac_cv_prog_gcc_traditional = yes; then
3531
CC="$CC -traditional"
3535
-echo "$as_me:$LINENO: checking for library containing strerror" >&5
3536
-echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3537
+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3538
+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3539
if test "${ac_cv_search_strerror+set}" = set; then
3540
echo $ECHO_N "(cached) $ECHO_C" >&6
3542
ac_func_search_save_LIBS=$LIBS
3543
-ac_cv_search_strerror=no
3544
cat >conftest.$ac_ext <<_ACEOF
3545
-#line $LINENO "configure"
3548
cat confdefs.h >>conftest.$ac_ext
3549
cat >>conftest.$ac_ext <<_ACEOF
3550
/* end confdefs.h. */
3552
-/* Override any gcc2 internal prototype to avoid an error. */
3553
+/* Override any GCC internal prototype to avoid an error.
3554
+ Use char because int might match the return type of a GCC
3555
+ builtin and then its argument prototype would still apply. */
3559
-/* We use char because int might match the return type of a gcc2
3560
- builtin and then its argument prototype would still apply. */
3566
+return strerror ();
3571
-rm -f conftest.$ac_objext conftest$ac_exeext
3572
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3573
- (eval $ac_link) 2>&5
3575
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576
- (exit $ac_status); } &&
3577
- { ac_try='test -s conftest$ac_exeext'
3578
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579
- (eval $ac_try) 2>&5
3580
+for ac_lib in '' cposix; do
3581
+ if test -z "$ac_lib"; then
3582
+ ac_res="none required"
3585
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3587
+ rm -f conftest.$ac_objext conftest$ac_exeext
3588
+if { (ac_try="$ac_link"
3589
+case "(($ac_try" in
3590
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
+ *) ac_try_echo=$ac_try;;
3593
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3594
+ (eval "$ac_link") 2>conftest.er1
3596
+ grep -v '^ *+' conftest.er1 >conftest.err
3597
+ rm -f conftest.er1
3598
+ cat conftest.err >&5
3599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600
- (exit $ac_status); }; }; then
3601
- ac_cv_search_strerror="none required"
3602
+ (exit $ac_status); } && {
3603
+ test -z "$ac_c_werror_flag" ||
3604
+ test ! -s conftest.err
3605
+ } && test -s conftest$ac_exeext &&
3606
+ $as_test_x conftest$ac_exeext; then
3607
+ ac_cv_search_strerror=$ac_res
3609
echo "$as_me: failed program was:" >&5
3610
sed 's/^/| /' conftest.$ac_ext >&5
3613
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3614
-if test "$ac_cv_search_strerror" = no; then
3615
- for ac_lib in cposix; do
3616
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3617
- cat >conftest.$ac_ext <<_ACEOF
3618
-#line $LINENO "configure"
3621
-cat confdefs.h >>conftest.$ac_ext
3622
-cat >>conftest.$ac_ext <<_ACEOF
3623
-/* end confdefs.h. */
3625
-/* Override any gcc2 internal prototype to avoid an error. */
3629
-/* We use char because int might match the return type of a gcc2
3630
- builtin and then its argument prototype would still apply. */
3640
-rm -f conftest.$ac_objext conftest$ac_exeext
3641
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3642
- (eval $ac_link) 2>&5
3644
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645
- (exit $ac_status); } &&
3646
- { ac_try='test -s conftest$ac_exeext'
3647
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648
- (eval $ac_try) 2>&5
3650
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651
- (exit $ac_status); }; }; then
3652
- ac_cv_search_strerror="-l$ac_lib"
3655
- echo "$as_me: failed program was:" >&5
3656
-sed 's/^/| /' conftest.$ac_ext >&5
3659
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3660
+ conftest$ac_exeext
3661
+ if test "${ac_cv_search_strerror+set}" = set; then
3664
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3667
+if test "${ac_cv_search_strerror+set}" = set; then
3670
+ ac_cv_search_strerror=no
3672
+rm conftest.$ac_ext
3673
LIBS=$ac_func_search_save_LIBS
3675
-echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3676
-echo "${ECHO_T}$ac_cv_search_strerror" >&6
3677
-if test "$ac_cv_search_strerror" != no; then
3678
- test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3679
+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3680
+echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3681
+ac_res=$ac_cv_search_strerror
3682
+if test "$ac_res" != no; then
3683
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3687
@@ -2707,7 +3348,6 @@
3688
{ (exit 1); exit 1; }; }
3690
cat >conftest.$ac_ext <<_ACEOF
3691
-#line $LINENO "configure"
3694
cat confdefs.h >>conftest.$ac_ext
3695
@@ -2716,13 +3356,22 @@
3698
rm -f conftest$ac_exeext
3699
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3700
- (eval $ac_link) 2>&5
3701
+if { (ac_try="$ac_link"
3702
+case "(($ac_try" in
3703
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704
+ *) ac_try_echo=$ac_try;;
3706
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3707
+ (eval "$ac_link") 2>&5
3709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3711
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712
- (eval $ac_try) 2>&5
3713
+ { (case "(($ac_try" in
3714
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715
+ *) ac_try_echo=$ac_try;;
3717
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718
+ (eval "$ac_try") 2>&5
3720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721
(exit $ac_status); }; }; then
3722
@@ -2745,9 +3394,11 @@
3726
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3727
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3732
if test "$cross_compiling" = yes; then
3733
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3734
See \`config.log' for more details." >&5
3735
@@ -2756,7 +3407,6 @@
3736
{ (exit 1); exit 1; }; }
3738
cat >conftest.$ac_ext <<_ACEOF
3739
-#line $LINENO "configure"
3742
cat confdefs.h >>conftest.$ac_ext
3743
@@ -2765,13 +3415,22 @@
3746
rm -f conftest$ac_exeext
3747
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3748
- (eval $ac_link) 2>&5
3749
+if { (ac_try="$ac_link"
3750
+case "(($ac_try" in
3751
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3752
+ *) ac_try_echo=$ac_try;;
3754
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3755
+ (eval "$ac_link") 2>&5
3757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3759
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760
- (eval $ac_try) 2>&5
3761
+ { (case "(($ac_try" in
3762
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763
+ *) ac_try_echo=$ac_try;;
3765
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3766
+ (eval "$ac_try") 2>&5
3768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
(exit $ac_status); }; }; then
3770
@@ -2792,9 +3451,11 @@
3771
echo "$as_me: error: Can't run the compiler - sorry" >&2;}
3772
{ (exit 1); exit 1; }; }
3774
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3775
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3780
if test "$cross_compiling" = yes; then
3781
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3782
See \`config.log' for more details." >&5
3783
@@ -2803,7 +3464,6 @@
3784
{ (exit 1); exit 1; }; }
3786
cat >conftest.$ac_ext <<_ACEOF
3787
-#line $LINENO "configure"
3790
cat confdefs.h >>conftest.$ac_ext
3791
@@ -2818,13 +3478,22 @@
3794
rm -f conftest$ac_exeext
3795
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796
- (eval $ac_link) 2>&5
3797
+if { (ac_try="$ac_link"
3798
+case "(($ac_try" in
3799
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800
+ *) ac_try_echo=$ac_try;;
3802
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803
+ (eval "$ac_link") 2>&5
3805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3807
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808
- (eval $ac_try) 2>&5
3809
+ { (case "(($ac_try" in
3810
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811
+ *) ac_try_echo=$ac_try;;
3813
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814
+ (eval "$ac_try") 2>&5
3816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817
(exit $ac_status); }; }; then
3818
@@ -2837,15 +3506,17 @@
3819
sed 's/^/| /' conftest.$ac_ext >&5
3822
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3823
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3828
for ac_prog in gawk mawk nawk awk
3830
# Extract the first word of "$ac_prog", so it can be a program name with args.
3831
set dummy $ac_prog; ac_word=$2
3832
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3833
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3834
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3835
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3836
if test "${ac_cv_prog_AWK+set}" = set; then
3837
echo $ECHO_N "(cached) $ECHO_C" >&6
3839
@@ -2858,53 +3529,61 @@
3841
test -z "$as_dir" && as_dir=.
3842
for ac_exec_ext in '' $ac_executable_extensions; do
3843
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3845
ac_cv_prog_AWK="$ac_prog"
3846
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3856
if test -n "$AWK"; then
3857
- echo "$as_me:$LINENO: result: $AWK" >&5
3858
-echo "${ECHO_T}$AWK" >&6
3859
+ { echo "$as_me:$LINENO: result: $AWK" >&5
3860
+echo "${ECHO_T}$AWK" >&6; }
3862
- echo "$as_me:$LINENO: result: no" >&5
3863
-echo "${ECHO_T}no" >&6
3864
+ { echo "$as_me:$LINENO: result: no" >&5
3865
+echo "${ECHO_T}no" >&6; }
3869
test -n "$AWK" && break
3874
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3875
- if test -f $ac_dir/install-sh; then
3876
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3877
+ if test -f "$ac_dir/install-sh"; then
3879
ac_install_sh="$ac_aux_dir/install-sh -c"
3881
- elif test -f $ac_dir/install.sh; then
3882
+ elif test -f "$ac_dir/install.sh"; then
3884
ac_install_sh="$ac_aux_dir/install.sh -c"
3886
- elif test -f $ac_dir/shtool; then
3887
+ elif test -f "$ac_dir/shtool"; then
3889
ac_install_sh="$ac_aux_dir/shtool install -c"
3893
if test -z "$ac_aux_dir"; then
3894
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3895
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
3896
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3897
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3898
{ (exit 1); exit 1; }; }
3900
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3901
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3902
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3904
+# These three variables are undocumented and unsupported,
3905
+# and are intended to be withdrawn in a future Autoconf release.
3906
+# They can cause serious problems if a builder's source tree is in a directory
3907
+# whose full name contains unusual characters.
3908
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3909
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3910
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3913
# Find a good install program. We prefer a C program (faster),
3914
# so one script is as good as another. But avoid the broken or
3915
@@ -2917,9 +3596,10 @@
3916
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3917
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3918
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3919
+# OS/2's system install, which has a completely different semantic
3920
# ./install, which can be erroneously created by make from ./install.sh.
3921
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3922
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3923
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3924
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3925
if test -z "$INSTALL"; then
3926
if test "${ac_cv_path_install+set}" = set; then
3927
echo $ECHO_N "(cached) $ECHO_C" >&6
3928
@@ -2933,6 +3613,7 @@
3930
./ | .// | /cC/* | \
3931
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3932
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3935
# OSF1 and SCO ODT 3.0 have their own names for install.
3936
@@ -2940,40 +3621,41 @@
3938
for ac_prog in ginstall scoinst install; do
3939
for ac_exec_ext in '' $ac_executable_extensions; do
3940
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3941
- if test $ac_prog = install &&
3942
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3943
- # AIX install. It has an incompatible calling convention.
3945
- elif test $ac_prog = install &&
3946
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3947
- # program-specific install script used by HP pwplus--don't use.
3950
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3954
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3955
+ if test $ac_prog = install &&
3956
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3957
+ # AIX install. It has an incompatible calling convention.
3959
+ elif test $ac_prog = install &&
3960
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3961
+ # program-specific install script used by HP pwplus--don't use.
3964
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3977
if test "${ac_cv_path_install+set}" = set; then
3978
INSTALL=$ac_cv_path_install
3980
- # As a last resort, use the slow shell script. We don't cache a
3981
- # path for INSTALL within a source directory, because that will
3982
+ # As a last resort, use the slow shell script. Don't cache a
3983
+ # value for INSTALL within a source directory, because that will
3984
# break other packages using the cache if that directory is
3985
- # removed, or if the path is relative.
3986
+ # removed, or if the value is a relative name.
3987
INSTALL=$ac_install_sh
3990
-echo "$as_me:$LINENO: result: $INSTALL" >&5
3991
-echo "${ECHO_T}$INSTALL" >&6
3992
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3993
+echo "${ECHO_T}$INSTALL" >&6; }
3995
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3996
# It thinks the first close brace ends the variable substitution.
3997
@@ -2992,37 +3674,42 @@
4001
-echo "$as_me:$LINENO: checking if a system-wide socket dir should be used" >&5
4002
-echo $ECHO_N "checking if a system-wide socket dir should be used... $ECHO_C" >&6
4003
-# Check whether --enable-socket-dir or --disable-socket-dir was given.
4004
+{ echo "$as_me:$LINENO: checking if a system-wide socket dir should be used" >&5
4005
+echo $ECHO_N "checking if a system-wide socket dir should be used... $ECHO_C" >&6; }
4006
+# Check whether --enable-socket-dir was given.
4007
if test "${enable_socket_dir+set}" = set; then
4008
- enableval="$enable_socket_dir"
4010
- echo "$as_me:$LINENO: result: no. ~/.screen will be used instead." >&5
4011
-echo "${ECHO_T}no. ~/.screen will be used instead." >&6
4012
+ enableval=$enable_socket_dir;
4013
+ { echo "$as_me:$LINENO: result: no. ~/.screen will be used instead." >&5
4014
+echo "${ECHO_T}no. ~/.screen will be used instead." >&6; }
4018
- echo "$as_me:$LINENO: result: yes" >&5
4019
-echo "${ECHO_T}yes" >&6
4020
- echo "$as_me:$LINENO: checking for the socket dir" >&5
4021
-echo $ECHO_N "checking for the socket dir... $ECHO_C" >&6
4022
+ { echo "$as_me:$LINENO: result: yes" >&5
4023
+echo "${ECHO_T}yes" >&6; }
4024
+ { echo "$as_me:$LINENO: checking for the socket dir" >&5
4025
+echo $ECHO_N "checking for the socket dir... $ECHO_C" >&6; }
4026
SOCKDIR="(eff_uid ? \"/tmp/uscreens\" : \"/tmp/screens\")"
4028
-# Check whether --with-socket-dir or --without-socket-dir was given.
4029
+# Check whether --with-socket-dir was given.
4030
if test "${with_socket_dir+set}" = set; then
4031
- withval="$with_socket_dir"
4032
- SOCKDIR="\"${withval}\""
4034
- echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5
4035
-echo "${ECHO_T}${SOCKDIR}" >&6
4036
+ withval=$with_socket_dir;
4037
+ case "${withval}" in
4038
+ *\"*) SOCKDIR="${withval}" ;;
4039
+ *) SOCKDIR="\"${withval}\"" ;;
4044
+ { echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5
4045
+echo "${ECHO_T}${SOCKDIR}" >&6; }
4046
cat >>confdefs.h <<_ACEOF
4047
#define SOCKDIR $SOCKDIR
4057
if test -n "$ISC"; then
4058
@@ -3048,7 +3735,6 @@
4059
{ echo "$as_me:$LINENO: checking mld library..." >&5
4060
echo "$as_me: checking mld library..." >&6;}
4061
cat >conftest.$ac_ext <<_ACEOF
4062
-#line $LINENO "configure"
4065
cat confdefs.h >>conftest.$ac_ext
4066
@@ -3064,25 +3750,33 @@
4069
rm -f conftest.$ac_objext conftest$ac_exeext
4070
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4071
- (eval $ac_link) 2>&5
4073
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
- (exit $ac_status); } &&
4075
- { ac_try='test -s conftest$ac_exeext'
4076
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077
- (eval $ac_try) 2>&5
4078
+if { (ac_try="$ac_link"
4079
+case "(($ac_try" in
4080
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081
+ *) ac_try_echo=$ac_try;;
4083
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084
+ (eval "$ac_link") 2>conftest.er1
4086
+ grep -v '^ *+' conftest.er1 >conftest.err
4087
+ rm -f conftest.er1
4088
+ cat conftest.err >&5
4089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090
- (exit $ac_status); }; }; then
4091
+ (exit $ac_status); } && {
4092
+ test -z "$ac_c_werror_flag" ||
4093
+ test ! -s conftest.err
4094
+ } && test -s conftest$ac_exeext &&
4095
+ $as_test_x conftest$ac_exeext; then
4098
echo "$as_me: failed program was:" >&5
4099
sed 's/^/| /' conftest.$ac_ext >&5
4104
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4106
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4107
+ conftest$ac_exeext conftest.$ac_ext
4108
if test -r /dev/ptc; then
4109
cat >>confdefs.h <<\_ACEOF
4111
@@ -3091,7 +3785,6 @@
4112
{ echo "$as_me:$LINENO: checking wait3..." >&5
4113
echo "$as_me: checking wait3..." >&6;}
4114
cat >conftest.$ac_ext <<_ACEOF
4115
-#line $LINENO "configure"
4118
cat confdefs.h >>conftest.$ac_ext
4119
@@ -3107,26 +3800,31 @@
4122
rm -f conftest.$ac_objext conftest$ac_exeext
4123
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4124
- (eval $ac_link) 2>&5
4125
+if { (ac_try="$ac_link"
4126
+case "(($ac_try" in
4127
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128
+ *) ac_try_echo=$ac_try;;
4130
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131
+ (eval "$ac_link") 2>conftest.er1
4133
+ grep -v '^ *+' conftest.er1 >conftest.err
4134
+ rm -f conftest.er1
4135
+ cat conftest.err >&5
4136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137
- (exit $ac_status); } &&
4138
- { ac_try='test -s conftest$ac_exeext'
4139
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140
- (eval $ac_try) 2>&5
4142
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143
- (exit $ac_status); }; }; then
4144
+ (exit $ac_status); } && {
4145
+ test -z "$ac_c_werror_flag" ||
4146
+ test ! -s conftest.err
4147
+ } && test -s conftest$ac_exeext &&
4148
+ $as_test_x conftest$ac_exeext; then
4151
echo "$as_me: failed program was:" >&5
4152
sed 's/^/| /' conftest.$ac_ext >&5
4154
-{ echo "$as_me:$LINENO: checking wait2..." >&5
4155
+ { echo "$as_me:$LINENO: checking wait2..." >&5
4156
echo "$as_me: checking wait2..." >&6;}
4157
cat >conftest.$ac_ext <<_ACEOF
4158
-#line $LINENO "configure"
4161
cat confdefs.h >>conftest.$ac_ext
4162
@@ -3142,17 +3840,23 @@
4165
rm -f conftest.$ac_objext conftest$ac_exeext
4166
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167
- (eval $ac_link) 2>&5
4169
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170
- (exit $ac_status); } &&
4171
- { ac_try='test -s conftest$ac_exeext'
4172
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173
- (eval $ac_try) 2>&5
4174
+if { (ac_try="$ac_link"
4175
+case "(($ac_try" in
4176
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
+ *) ac_try_echo=$ac_try;;
4179
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4180
+ (eval "$ac_link") 2>conftest.er1
4182
+ grep -v '^ *+' conftest.er1 >conftest.err
4183
+ rm -f conftest.er1
4184
+ cat conftest.err >&5
4185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
- (exit $ac_status); }; }; then
4187
+ (exit $ac_status); } && {
4188
+ test -z "$ac_c_werror_flag" ||
4189
+ test ! -s conftest.err
4190
+ } && test -s conftest$ac_exeext &&
4191
+ $as_test_x conftest$ac_exeext; then
4192
cat >>confdefs.h <<\_ACEOF
4195
@@ -3162,10 +3866,15 @@
4196
echo "$as_me: failed program was:" >&5
4197
sed 's/^/| /' conftest.$ac_ext >&5
4201
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4203
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4204
+ conftest$ac_exeext conftest.$ac_ext
4206
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4208
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4209
+ conftest$ac_exeext conftest.$ac_ext
4213
@@ -3173,7 +3882,6 @@
4214
{ echo "$as_me:$LINENO: checking for Ultrix..." >&5
4215
echo "$as_me: checking for Ultrix..." >&6;}
4216
cat >conftest.$ac_ext <<_ACEOF
4217
-#line $LINENO "configure"
4220
cat confdefs.h >>conftest.$ac_ext
4221
@@ -3197,7 +3905,6 @@
4222
{ echo "$as_me:$LINENO: checking Pyramid OSX..." >&5
4223
echo "$as_me: checking Pyramid OSX..." >&6;}
4224
cat >conftest.$ac_ext <<_ACEOF
4225
-#line $LINENO "configure"
4228
cat confdefs.h >>conftest.$ac_ext
4229
@@ -3213,17 +3920,23 @@
4232
rm -f conftest.$ac_objext conftest$ac_exeext
4233
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4234
- (eval $ac_link) 2>&5
4236
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237
- (exit $ac_status); } &&
4238
- { ac_try='test -s conftest$ac_exeext'
4239
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240
- (eval $ac_try) 2>&5
4241
+if { (ac_try="$ac_link"
4242
+case "(($ac_try" in
4243
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244
+ *) ac_try_echo=$ac_try;;
4246
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4247
+ (eval "$ac_link") 2>conftest.er1
4249
+ grep -v '^ *+' conftest.er1 >conftest.err
4250
+ rm -f conftest.er1
4251
+ cat conftest.err >&5
4252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253
- (exit $ac_status); }; }; then
4254
+ (exit $ac_status); } && {
4255
+ test -z "$ac_c_werror_flag" ||
4256
+ test ! -s conftest.err
4257
+ } && test -s conftest$ac_exeext &&
4258
+ $as_test_x conftest$ac_exeext; then
4259
cat >>confdefs.h <<\_ACEOF
4262
@@ -3232,15 +3945,16 @@
4263
echo "$as_me: failed program was:" >&5
4264
sed 's/^/| /' conftest.$ac_ext >&5
4269
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4271
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272
+ conftest$ac_exeext conftest.$ac_ext
4275
{ echo "$as_me:$LINENO: checking for butterfly..." >&5
4276
echo "$as_me: checking for butterfly..." >&6;}
4277
cat >conftest.$ac_ext <<_ACEOF
4278
-#line $LINENO "configure"
4281
cat confdefs.h >>conftest.$ac_ext
4282
@@ -3265,7 +3979,6 @@
4283
{ echo "$as_me:$LINENO: checking for POSIX.1..." >&5
4284
echo "$as_me: checking for POSIX.1..." >&6;}
4285
cat >conftest.$ac_ext <<_ACEOF
4286
-#line $LINENO "configure"
4289
cat confdefs.h >>conftest.$ac_ext
4290
@@ -3294,7 +4007,6 @@
4291
{ echo "$as_me:$LINENO: checking for System V..." >&5
4292
echo "$as_me: checking for System V..." >&6;}
4293
cat >conftest.$ac_ext <<_ACEOF
4294
-#line $LINENO "configure"
4297
cat confdefs.h >>conftest.$ac_ext
4298
@@ -3312,33 +4024,38 @@
4301
rm -f conftest.$ac_objext
4302
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4303
- (eval $ac_compile) 2>&5
4305
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306
- (exit $ac_status); } &&
4307
- { ac_try='test -s conftest.$ac_objext'
4308
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309
- (eval $ac_try) 2>&5
4310
+if { (ac_try="$ac_compile"
4311
+case "(($ac_try" in
4312
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313
+ *) ac_try_echo=$ac_try;;
4315
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316
+ (eval "$ac_compile") 2>conftest.er1
4318
+ grep -v '^ *+' conftest.er1 >conftest.err
4319
+ rm -f conftest.er1
4320
+ cat conftest.err >&5
4321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322
- (exit $ac_status); }; }; then
4323
+ (exit $ac_status); } && {
4324
+ test -z "$ac_c_werror_flag" ||
4325
+ test ! -s conftest.err
4326
+ } && test -s conftest.$ac_objext; then
4329
echo "$as_me: failed program was:" >&5
4330
sed 's/^/| /' conftest.$ac_ext >&5
4332
-cat >>confdefs.h <<\_ACEOF
4333
+ cat >>confdefs.h <<\_ACEOF
4338
-rm -f conftest.$ac_objext conftest.$ac_ext
4340
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342
{ echo "$as_me:$LINENO: checking for sequent/ptx..." >&5
4343
echo "$as_me: checking for sequent/ptx..." >&6;}
4344
cat >conftest.$ac_ext <<_ACEOF
4345
-#line $LINENO "configure"
4348
cat confdefs.h >>conftest.$ac_ext
4349
@@ -3360,13 +4077,12 @@
4351
{ echo "$as_me:$LINENO: checking SVR4..." >&5
4352
echo "$as_me: checking SVR4..." >&6;}
4353
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4354
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4355
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4356
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4357
if test "${ac_cv_header_stdc+set}" = set; then
4358
echo $ECHO_N "(cached) $ECHO_C" >&6
4360
cat >conftest.$ac_ext <<_ACEOF
4361
-#line $LINENO "configure"
4364
cat confdefs.h >>conftest.$ac_ext
4365
@@ -3386,30 +4102,35 @@
4368
rm -f conftest.$ac_objext
4369
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4370
- (eval $ac_compile) 2>&5
4372
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373
- (exit $ac_status); } &&
4374
- { ac_try='test -s conftest.$ac_objext'
4375
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376
- (eval $ac_try) 2>&5
4377
+if { (ac_try="$ac_compile"
4378
+case "(($ac_try" in
4379
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380
+ *) ac_try_echo=$ac_try;;
4382
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383
+ (eval "$ac_compile") 2>conftest.er1
4385
+ grep -v '^ *+' conftest.er1 >conftest.err
4386
+ rm -f conftest.er1
4387
+ cat conftest.err >&5
4388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389
- (exit $ac_status); }; }; then
4390
+ (exit $ac_status); } && {
4391
+ test -z "$ac_c_werror_flag" ||
4392
+ test ! -s conftest.err
4393
+ } && test -s conftest.$ac_objext; then
4394
ac_cv_header_stdc=yes
4396
echo "$as_me: failed program was:" >&5
4397
sed 's/^/| /' conftest.$ac_ext >&5
4399
-ac_cv_header_stdc=no
4400
+ ac_cv_header_stdc=no
4402
-rm -f conftest.$ac_objext conftest.$ac_ext
4404
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4406
if test $ac_cv_header_stdc = yes; then
4407
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4408
cat >conftest.$ac_ext <<_ACEOF
4409
-#line $LINENO "configure"
4412
cat confdefs.h >>conftest.$ac_ext
4413
@@ -3431,7 +4152,6 @@
4414
if test $ac_cv_header_stdc = yes; then
4415
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4416
cat >conftest.$ac_ext <<_ACEOF
4417
-#line $LINENO "configure"
4420
cat confdefs.h >>conftest.$ac_ext
4421
@@ -3456,21 +4176,21 @@
4424
cat >conftest.$ac_ext <<_ACEOF
4425
-#line $LINENO "configure"
4428
cat confdefs.h >>conftest.$ac_ext
4429
cat >>conftest.$ac_ext <<_ACEOF
4430
/* end confdefs.h. */
4432
+#include <stdlib.h>
4433
#if ((' ' & 0x0FF) == 0x020)
4434
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4435
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4437
# define ISLOWER(c) \
4438
- (('a' <= (c) && (c) <= 'i') \
4439
- || ('j' <= (c) && (c) <= 'r') \
4440
- || ('s' <= (c) && (c) <= 'z'))
4441
+ (('a' <= (c) && (c) <= 'i') \
4442
+ || ('j' <= (c) && (c) <= 'r') \
4443
+ || ('s' <= (c) && (c) <= 'z'))
4444
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4447
@@ -3481,19 +4201,28 @@
4449
for (i = 0; i < 256; i++)
4450
if (XOR (islower (i), ISLOWER (i))
4451
- || toupper (i) != TOUPPER (i))
4454
+ || toupper (i) != TOUPPER (i))
4459
rm -f conftest$ac_exeext
4460
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4461
- (eval $ac_link) 2>&5
4462
+if { (ac_try="$ac_link"
4463
+case "(($ac_try" in
4464
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465
+ *) ac_try_echo=$ac_try;;
4467
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4468
+ (eval "$ac_link") 2>&5
4470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4472
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473
- (eval $ac_try) 2>&5
4474
+ { (case "(($ac_try" in
4475
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476
+ *) ac_try_echo=$ac_try;;
4478
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4479
+ (eval "$ac_try") 2>&5
4481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482
(exit $ac_status); }; }; then
4483
@@ -3506,12 +4235,14 @@
4485
ac_cv_header_stdc=no
4487
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4488
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4494
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4495
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
4496
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4497
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4498
if test $ac_cv_header_stdc = yes; then
4500
cat >>confdefs.h <<\_ACEOF
4501
@@ -3531,16 +4262,15 @@
4504
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4505
- inttypes.h stdint.h unistd.h
4506
+ inttypes.h stdint.h unistd.h
4508
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4509
-echo "$as_me:$LINENO: checking for $ac_header" >&5
4510
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4511
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4512
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4513
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4514
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4515
echo $ECHO_N "(cached) $ECHO_C" >&6
4517
cat >conftest.$ac_ext <<_ACEOF
4518
-#line $LINENO "configure"
4521
cat confdefs.h >>conftest.$ac_ext
4522
@@ -3551,28 +4281,35 @@
4523
#include <$ac_header>
4525
rm -f conftest.$ac_objext
4526
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4527
- (eval $ac_compile) 2>&5
4529
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530
- (exit $ac_status); } &&
4531
- { ac_try='test -s conftest.$ac_objext'
4532
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533
- (eval $ac_try) 2>&5
4534
+if { (ac_try="$ac_compile"
4535
+case "(($ac_try" in
4536
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4537
+ *) ac_try_echo=$ac_try;;
4539
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4540
+ (eval "$ac_compile") 2>conftest.er1
4542
+ grep -v '^ *+' conftest.er1 >conftest.err
4543
+ rm -f conftest.er1
4544
+ cat conftest.err >&5
4545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546
- (exit $ac_status); }; }; then
4547
+ (exit $ac_status); } && {
4548
+ test -z "$ac_c_werror_flag" ||
4549
+ test ! -s conftest.err
4550
+ } && test -s conftest.$ac_objext; then
4551
eval "$as_ac_Header=yes"
4553
echo "$as_me: failed program was:" >&5
4554
sed 's/^/| /' conftest.$ac_ext >&5
4556
-eval "$as_ac_Header=no"
4557
+ eval "$as_ac_Header=no"
4559
-rm -f conftest.$ac_objext conftest.$ac_ext
4561
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4564
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4565
+ac_res=`eval echo '${'$as_ac_Header'}'`
4566
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4567
+echo "${ECHO_T}$ac_res" >&6; }
4568
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4569
cat >>confdefs.h <<_ACEOF
4570
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4571
@@ -3584,7 +4321,6 @@
4574
cat >conftest.$ac_ext <<_ACEOF
4575
-#line $LINENO "configure"
4578
cat confdefs.h >>conftest.$ac_ext
4579
@@ -3601,31 +4337,36 @@
4582
rm -f conftest.$ac_objext conftest$ac_exeext
4583
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4584
- (eval $ac_link) 2>&5
4586
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587
- (exit $ac_status); } &&
4588
- { ac_try='test -s conftest$ac_exeext'
4589
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590
- (eval $ac_try) 2>&5
4591
+if { (ac_try="$ac_link"
4592
+case "(($ac_try" in
4593
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594
+ *) ac_try_echo=$ac_try;;
4596
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4597
+ (eval "$ac_link") 2>conftest.er1
4599
+ grep -v '^ *+' conftest.er1 >conftest.err
4600
+ rm -f conftest.er1
4601
+ cat conftest.err >&5
4602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
- (exit $ac_status); }; }; then
4604
+ (exit $ac_status); } && {
4605
+ test -z "$ac_c_werror_flag" ||
4606
+ test ! -s conftest.err
4607
+ } && test -s conftest$ac_exeext &&
4608
+ $as_test_x conftest$ac_exeext; then
4609
if test "${ac_cv_header_dwarf_h+set}" = set; then
4610
- echo "$as_me:$LINENO: checking for dwarf.h" >&5
4611
-echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6
4612
+ { echo "$as_me:$LINENO: checking for dwarf.h" >&5
4613
+echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6; }
4614
if test "${ac_cv_header_dwarf_h+set}" = set; then
4615
echo $ECHO_N "(cached) $ECHO_C" >&6
4617
-echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4618
-echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6
4619
+{ echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4620
+echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6; }
4622
# Is the header compilable?
4623
-echo "$as_me:$LINENO: checking dwarf.h usability" >&5
4624
-echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6
4625
+{ echo "$as_me:$LINENO: checking dwarf.h usability" >&5
4626
+echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6; }
4627
cat >conftest.$ac_ext <<_ACEOF
4628
-#line $LINENO "configure"
4631
cat confdefs.h >>conftest.$ac_ext
4632
@@ -3635,33 +4376,38 @@
4635
rm -f conftest.$ac_objext
4636
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4637
- (eval $ac_compile) 2>&5
4639
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
- (exit $ac_status); } &&
4641
- { ac_try='test -s conftest.$ac_objext'
4642
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
- (eval $ac_try) 2>&5
4644
+if { (ac_try="$ac_compile"
4645
+case "(($ac_try" in
4646
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647
+ *) ac_try_echo=$ac_try;;
4649
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650
+ (eval "$ac_compile") 2>conftest.er1
4652
+ grep -v '^ *+' conftest.er1 >conftest.err
4653
+ rm -f conftest.er1
4654
+ cat conftest.err >&5
4655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
- (exit $ac_status); }; }; then
4657
+ (exit $ac_status); } && {
4658
+ test -z "$ac_c_werror_flag" ||
4659
+ test ! -s conftest.err
4660
+ } && test -s conftest.$ac_objext; then
4661
ac_header_compiler=yes
4663
echo "$as_me: failed program was:" >&5
4664
sed 's/^/| /' conftest.$ac_ext >&5
4666
-ac_header_compiler=no
4667
+ ac_header_compiler=no
4669
-rm -f conftest.$ac_objext conftest.$ac_ext
4670
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4671
-echo "${ECHO_T}$ac_header_compiler" >&6
4673
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4675
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4677
# Is the header present?
4678
-echo "$as_me:$LINENO: checking dwarf.h presence" >&5
4679
-echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6
4680
+{ echo "$as_me:$LINENO: checking dwarf.h presence" >&5
4681
+echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6; }
4682
cat >conftest.$ac_ext <<_ACEOF
4683
-#line $LINENO "configure"
4686
cat confdefs.h >>conftest.$ac_ext
4687
@@ -3669,23 +4415,22 @@
4688
/* end confdefs.h. */
4691
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4692
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4693
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4694
+case "(($ac_try" in
4695
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696
+ *) ac_try_echo=$ac_try;;
4698
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4699
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4701
grep -v '^ *+' conftest.er1 >conftest.err
4703
cat conftest.err >&5
4704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705
- (exit $ac_status); } >/dev/null; then
4706
- if test -s conftest.err; then
4707
- ac_cpp_err=$ac_c_preproc_warn_flag
4714
-if test -z "$ac_cpp_err"; then
4715
+ (exit $ac_status); } >/dev/null && {
4716
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4717
+ test ! -s conftest.err
4719
ac_header_preproc=yes
4721
echo "$as_me: failed program was:" >&5
4722
@@ -3693,52 +4438,45 @@
4724
ac_header_preproc=no
4727
rm -f conftest.err conftest.$ac_ext
4728
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4729
-echo "${ECHO_T}$ac_header_preproc" >&6
4730
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4731
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4733
# So? What about this header?
4734
-case $ac_header_compiler:$ac_header_preproc in
4736
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4738
{ echo "$as_me:$LINENO: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4739
echo "$as_me: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4740
- { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
4741
-echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
4744
-## ------------------------------------ ##
4745
-## Report this to bug-autoconf@gnu.org. ##
4746
-## ------------------------------------ ##
4749
- sed "s/^/$as_me: WARNING: /" >&2
4750
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the compiler's result" >&5
4751
+echo "$as_me: WARNING: dwarf.h: proceeding with the compiler's result" >&2;}
4752
+ ac_header_preproc=yes
4756
{ echo "$as_me:$LINENO: WARNING: dwarf.h: present but cannot be compiled" >&5
4757
echo "$as_me: WARNING: dwarf.h: present but cannot be compiled" >&2;}
4758
- { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5
4759
-echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;}
4760
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5
4761
+echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;}
4762
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: see the Autoconf documentation" >&5
4763
+echo "$as_me: WARNING: dwarf.h: see the Autoconf documentation" >&2;}
4764
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: section \"Present But Cannot Be Compiled\"" >&5
4765
+echo "$as_me: WARNING: dwarf.h: section \"Present But Cannot Be Compiled\"" >&2;}
4766
{ echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
4767
echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
4770
-## ------------------------------------ ##
4771
-## Report this to bug-autoconf@gnu.org. ##
4772
-## ------------------------------------ ##
4775
- sed "s/^/$as_me: WARNING: /" >&2
4776
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: in the future, the compiler will take precedence" >&5
4777
+echo "$as_me: WARNING: dwarf.h: in the future, the compiler will take precedence" >&2;}
4781
-echo "$as_me:$LINENO: checking for dwarf.h" >&5
4782
-echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6
4783
+{ echo "$as_me:$LINENO: checking for dwarf.h" >&5
4784
+echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6; }
4785
if test "${ac_cv_header_dwarf_h+set}" = set; then
4786
echo $ECHO_N "(cached) $ECHO_C" >&6
4788
ac_cv_header_dwarf_h=$ac_header_preproc
4790
-echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4791
-echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6
4792
+{ echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4793
+echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6; }
4796
if test $ac_cv_header_dwarf_h = yes; then
4797
@@ -3751,19 +4489,18 @@
4800
if test "${ac_cv_header_elf_h+set}" = set; then
4801
- echo "$as_me:$LINENO: checking for elf.h" >&5
4802
-echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
4803
+ { echo "$as_me:$LINENO: checking for elf.h" >&5
4804
+echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
4805
if test "${ac_cv_header_elf_h+set}" = set; then
4806
echo $ECHO_N "(cached) $ECHO_C" >&6
4808
-echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4809
-echo "${ECHO_T}$ac_cv_header_elf_h" >&6
4810
+{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4811
+echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
4813
# Is the header compilable?
4814
-echo "$as_me:$LINENO: checking elf.h usability" >&5
4815
-echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
4816
+{ echo "$as_me:$LINENO: checking elf.h usability" >&5
4817
+echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6; }
4818
cat >conftest.$ac_ext <<_ACEOF
4819
-#line $LINENO "configure"
4822
cat confdefs.h >>conftest.$ac_ext
4823
@@ -3773,33 +4510,38 @@
4826
rm -f conftest.$ac_objext
4827
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828
- (eval $ac_compile) 2>&5
4830
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831
- (exit $ac_status); } &&
4832
- { ac_try='test -s conftest.$ac_objext'
4833
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834
- (eval $ac_try) 2>&5
4835
+if { (ac_try="$ac_compile"
4836
+case "(($ac_try" in
4837
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838
+ *) ac_try_echo=$ac_try;;
4840
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841
+ (eval "$ac_compile") 2>conftest.er1
4843
+ grep -v '^ *+' conftest.er1 >conftest.err
4844
+ rm -f conftest.er1
4845
+ cat conftest.err >&5
4846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847
- (exit $ac_status); }; }; then
4848
+ (exit $ac_status); } && {
4849
+ test -z "$ac_c_werror_flag" ||
4850
+ test ! -s conftest.err
4851
+ } && test -s conftest.$ac_objext; then
4852
ac_header_compiler=yes
4854
echo "$as_me: failed program was:" >&5
4855
sed 's/^/| /' conftest.$ac_ext >&5
4857
-ac_header_compiler=no
4858
+ ac_header_compiler=no
4860
-rm -f conftest.$ac_objext conftest.$ac_ext
4861
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4862
-echo "${ECHO_T}$ac_header_compiler" >&6
4864
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4866
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4868
# Is the header present?
4869
-echo "$as_me:$LINENO: checking elf.h presence" >&5
4870
-echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
4871
+{ echo "$as_me:$LINENO: checking elf.h presence" >&5
4872
+echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6; }
4873
cat >conftest.$ac_ext <<_ACEOF
4874
-#line $LINENO "configure"
4877
cat confdefs.h >>conftest.$ac_ext
4878
@@ -3807,23 +4549,22 @@
4879
/* end confdefs.h. */
4882
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4883
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4884
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4885
+case "(($ac_try" in
4886
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887
+ *) ac_try_echo=$ac_try;;
4889
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4892
grep -v '^ *+' conftest.er1 >conftest.err
4894
cat conftest.err >&5
4895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896
- (exit $ac_status); } >/dev/null; then
4897
- if test -s conftest.err; then
4898
- ac_cpp_err=$ac_c_preproc_warn_flag
4905
-if test -z "$ac_cpp_err"; then
4906
+ (exit $ac_status); } >/dev/null && {
4907
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4908
+ test ! -s conftest.err
4910
ac_header_preproc=yes
4912
echo "$as_me: failed program was:" >&5
4913
@@ -3831,52 +4572,45 @@
4915
ac_header_preproc=no
4918
rm -f conftest.err conftest.$ac_ext
4919
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4920
-echo "${ECHO_T}$ac_header_preproc" >&6
4921
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4922
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4924
# So? What about this header?
4925
-case $ac_header_compiler:$ac_header_preproc in
4927
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4929
{ echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4930
echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4931
- { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
4932
-echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
4935
-## ------------------------------------ ##
4936
-## Report this to bug-autoconf@gnu.org. ##
4937
-## ------------------------------------ ##
4940
- sed "s/^/$as_me: WARNING: /" >&2
4941
+ { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
4942
+echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
4943
+ ac_header_preproc=yes
4947
{ echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
4948
echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
4949
- { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
4950
-echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
4951
+ { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
4952
+echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
4953
+ { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
4954
+echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
4955
+ { echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
4956
+echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
4957
{ echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
4958
echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
4961
-## ------------------------------------ ##
4962
-## Report this to bug-autoconf@gnu.org. ##
4963
-## ------------------------------------ ##
4966
- sed "s/^/$as_me: WARNING: /" >&2
4967
+ { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
4968
+echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
4972
-echo "$as_me:$LINENO: checking for elf.h" >&5
4973
-echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
4974
+{ echo "$as_me:$LINENO: checking for elf.h" >&5
4975
+echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
4976
if test "${ac_cv_header_elf_h+set}" = set; then
4977
echo $ECHO_N "(cached) $ECHO_C" >&6
4979
ac_cv_header_elf_h=$ac_header_preproc
4981
-echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4982
-echo "${ECHO_T}$ac_cv_header_elf_h" >&6
4983
+{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4984
+echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
4987
if test $ac_cv_header_elf_h = yes; then
4988
@@ -3898,20 +4632,21 @@
4989
echo "$as_me: failed program was:" >&5
4990
sed 's/^/| /' conftest.$ac_ext >&5
4995
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4997
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998
+ conftest$ac_exeext conftest.$ac_ext
5000
{ echo "$as_me:$LINENO: checking for Solaris 2.x..." >&5
5001
echo "$as_me: checking for Solaris 2.x..." >&6;}
5002
cat >conftest.$ac_ext <<_ACEOF
5003
-#line $LINENO "configure"
5006
cat confdefs.h >>conftest.$ac_ext
5007
cat >>conftest.$ac_ext <<_ACEOF
5008
/* end confdefs.h. */
5009
-#if defined(__SVR4) && defined(__sun)
5010
+#if defined(SVR4) && defined(sun)
5014
@@ -3928,7 +4663,6 @@
5015
{ echo "$as_me:$LINENO: checking BSD job jontrol..." >&5
5016
echo "$as_me: checking BSD job jontrol..." >&6;}
5017
cat >conftest.$ac_ext <<_ACEOF
5018
-#line $LINENO "configure"
5021
cat confdefs.h >>conftest.$ac_ext
5022
@@ -3957,17 +4691,23 @@
5025
rm -f conftest.$ac_objext conftest$ac_exeext
5026
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5027
- (eval $ac_link) 2>&5
5029
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
- (exit $ac_status); } &&
5031
- { ac_try='test -s conftest$ac_exeext'
5032
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033
- (eval $ac_try) 2>&5
5034
+if { (ac_try="$ac_link"
5035
+case "(($ac_try" in
5036
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5037
+ *) ac_try_echo=$ac_try;;
5039
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5040
+ (eval "$ac_link") 2>conftest.er1
5042
+ grep -v '^ *+' conftest.er1 >conftest.err
5043
+ rm -f conftest.er1
5044
+ cat conftest.err >&5
5045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046
- (exit $ac_status); }; }; then
5047
+ (exit $ac_status); } && {
5048
+ test -z "$ac_c_werror_flag" ||
5049
+ test ! -s conftest.err
5050
+ } && test -s conftest$ac_exeext &&
5051
+ $as_test_x conftest$ac_exeext; then
5052
echo "- you have jobcontrol" 1>&6
5053
cat >>confdefs.h <<\_ACEOF
5055
@@ -3977,15 +4717,16 @@
5056
echo "$as_me: failed program was:" >&5
5057
sed 's/^/| /' conftest.$ac_ext >&5
5059
-echo "- you don't have jobcontrol" 1>&6
5060
+ echo "- you don't have jobcontrol" 1>&6
5063
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5065
-{ echo "$as_me:$LINENO: checking setreuid..." >&5
5066
-echo "$as_me: checking setreuid..." >&6;}
5067
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068
+ conftest$ac_exeext conftest.$ac_ext
5070
+{ echo "$as_me:$LINENO: checking setresuid..." >&5
5071
+echo "$as_me: checking setresuid..." >&6;}
5072
cat >conftest.$ac_ext <<_ACEOF
5073
-#line $LINENO "configure"
5076
cat confdefs.h >>conftest.$ac_ext
5077
@@ -3996,28 +4737,80 @@
5091
rm -f conftest.$ac_objext conftest$ac_exeext
5092
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5093
- (eval $ac_link) 2>&5
5094
+if { (ac_try="$ac_link"
5095
+case "(($ac_try" in
5096
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097
+ *) ac_try_echo=$ac_try;;
5099
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5100
+ (eval "$ac_link") 2>conftest.er1
5102
+ grep -v '^ *+' conftest.er1 >conftest.err
5103
+ rm -f conftest.er1
5104
+ cat conftest.err >&5
5105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106
- (exit $ac_status); } &&
5107
- { ac_try='test -s conftest$ac_exeext'
5108
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5109
- (eval $ac_try) 2>&5
5110
+ (exit $ac_status); } && {
5111
+ test -z "$ac_c_werror_flag" ||
5112
+ test ! -s conftest.err
5113
+ } && test -s conftest$ac_exeext &&
5114
+ $as_test_x conftest$ac_exeext; then
5115
+ cat >>confdefs.h <<\_ACEOF
5116
+#define HAVE_SETRESUID 1
5120
+ echo "$as_me: failed program was:" >&5
5121
+sed 's/^/| /' conftest.$ac_ext >&5
5126
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5127
+ conftest$ac_exeext conftest.$ac_ext
5128
+{ echo "$as_me:$LINENO: checking setreuid..." >&5
5129
+echo "$as_me: checking setreuid..." >&6;}
5130
+cat >conftest.$ac_ext <<_ACEOF
5133
+cat confdefs.h >>conftest.$ac_ext
5134
+cat >>conftest.$ac_ext <<_ACEOF
5135
+/* end confdefs.h. */
5147
+rm -f conftest.$ac_objext conftest$ac_exeext
5148
+if { (ac_try="$ac_link"
5149
+case "(($ac_try" in
5150
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5151
+ *) ac_try_echo=$ac_try;;
5153
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5154
+ (eval "$ac_link") 2>conftest.er1
5156
+ grep -v '^ *+' conftest.er1 >conftest.err
5157
+ rm -f conftest.er1
5158
+ cat conftest.err >&5
5159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
- (exit $ac_status); }; }; then
5161
+ (exit $ac_status); } && {
5162
+ test -z "$ac_c_werror_flag" ||
5163
+ test ! -s conftest.err
5164
+ } && test -s conftest$ac_exeext &&
5165
+ $as_test_x conftest$ac_exeext; then
5166
cat >>confdefs.h <<\_ACEOF
5167
#define HAVE_SETREUID 1
5169
@@ -4026,12 +4819,14 @@
5170
echo "$as_me: failed program was:" >&5
5171
sed 's/^/| /' conftest.$ac_ext >&5
5175
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5177
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5178
+ conftest$ac_exeext conftest.$ac_ext
5179
{ echo "$as_me:$LINENO: checking seteuid..." >&5
5180
echo "$as_me: checking seteuid..." >&6;}
5181
cat >conftest.$ac_ext <<_ACEOF
5182
-#line $LINENO "configure"
5185
cat confdefs.h >>conftest.$ac_ext
5186
@@ -4042,7 +4837,7 @@
5190
-#if defined(linux) || defined(NeXT) || defined(_AUX_SOURCE) || defined(AUX) || defined(ultrix) || (defined(__sun) && defined(__SVR4)) || defined(ISC) || defined(sony_news)
5191
+#if defined(linux) || defined(NeXT) || defined(_AUX_SOURCE) || defined(AUX) || defined(ultrix) || (defined(sun) && defined(SVR4)) || defined(ISC) || defined(sony_news)
5192
seteuid_is_broken(0);
5195
@@ -4053,17 +4848,23 @@
5198
rm -f conftest.$ac_objext conftest$ac_exeext
5199
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5200
- (eval $ac_link) 2>&5
5202
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203
- (exit $ac_status); } &&
5204
- { ac_try='test -s conftest$ac_exeext'
5205
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5206
- (eval $ac_try) 2>&5
5207
+if { (ac_try="$ac_link"
5208
+case "(($ac_try" in
5209
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210
+ *) ac_try_echo=$ac_try;;
5212
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213
+ (eval "$ac_link") 2>conftest.er1
5215
+ grep -v '^ *+' conftest.er1 >conftest.err
5216
+ rm -f conftest.er1
5217
+ cat conftest.err >&5
5218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219
- (exit $ac_status); }; }; then
5220
+ (exit $ac_status); } && {
5221
+ test -z "$ac_c_werror_flag" ||
5222
+ test ! -s conftest.err
5223
+ } && test -s conftest$ac_exeext &&
5224
+ $as_test_x conftest$ac_exeext; then
5225
cat >>confdefs.h <<\_ACEOF
5226
#define HAVE_SETEUID 1
5228
@@ -4072,14 +4873,16 @@
5229
echo "$as_me: failed program was:" >&5
5230
sed 's/^/| /' conftest.$ac_ext >&5
5234
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5236
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5237
+ conftest$ac_exeext conftest.$ac_ext
5240
{ echo "$as_me:$LINENO: checking select..." >&5
5241
echo "$as_me: checking select..." >&6;}
5242
cat >conftest.$ac_ext <<_ACEOF
5243
-#line $LINENO "configure"
5246
cat confdefs.h >>conftest.$ac_ext
5247
@@ -4095,27 +4898,32 @@
5250
rm -f conftest.$ac_objext conftest$ac_exeext
5251
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5252
- (eval $ac_link) 2>&5
5254
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255
- (exit $ac_status); } &&
5256
- { ac_try='test -s conftest$ac_exeext'
5257
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5258
- (eval $ac_try) 2>&5
5259
+if { (ac_try="$ac_link"
5260
+case "(($ac_try" in
5261
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5262
+ *) ac_try_echo=$ac_try;;
5264
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5265
+ (eval "$ac_link") 2>conftest.er1
5267
+ grep -v '^ *+' conftest.er1 >conftest.err
5268
+ rm -f conftest.er1
5269
+ cat conftest.err >&5
5270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271
- (exit $ac_status); }; }; then
5272
+ (exit $ac_status); } && {
5273
+ test -z "$ac_c_werror_flag" ||
5274
+ test ! -s conftest.err
5275
+ } && test -s conftest$ac_exeext &&
5276
+ $as_test_x conftest$ac_exeext; then
5279
echo "$as_me: failed program was:" >&5
5280
sed 's/^/| /' conftest.$ac_ext >&5
5282
-LIBS="$LIBS -lnet -lnsl"
5283
+ LIBS="$LIBS -lnet -lnsl"
5284
{ echo "$as_me:$LINENO: checking select with $LIBS..." >&5
5285
echo "$as_me: checking select with $LIBS..." >&6;}
5286
cat >conftest.$ac_ext <<_ACEOF
5287
-#line $LINENO "configure"
5290
cat confdefs.h >>conftest.$ac_ext
5291
@@ -4131,30 +4939,40 @@
5294
rm -f conftest.$ac_objext conftest$ac_exeext
5295
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5296
- (eval $ac_link) 2>&5
5298
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299
- (exit $ac_status); } &&
5300
- { ac_try='test -s conftest$ac_exeext'
5301
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5302
- (eval $ac_try) 2>&5
5303
+if { (ac_try="$ac_link"
5304
+case "(($ac_try" in
5305
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5306
+ *) ac_try_echo=$ac_try;;
5308
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5309
+ (eval "$ac_link") 2>conftest.er1
5311
+ grep -v '^ *+' conftest.er1 >conftest.err
5312
+ rm -f conftest.er1
5313
+ cat conftest.err >&5
5314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315
- (exit $ac_status); }; }; then
5316
+ (exit $ac_status); } && {
5317
+ test -z "$ac_c_werror_flag" ||
5318
+ test ! -s conftest.err
5319
+ } && test -s conftest$ac_exeext &&
5320
+ $as_test_x conftest$ac_exeext; then
5323
echo "$as_me: failed program was:" >&5
5324
sed 's/^/| /' conftest.$ac_ext >&5
5326
-{ { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
5327
+ { { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
5328
echo "$as_me: error: !!! no select - no screen" >&2;}
5329
{ (exit 1); exit 1; }; }
5331
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5333
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5334
+ conftest$ac_exeext conftest.$ac_ext
5337
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5339
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5340
+ conftest$ac_exeext conftest.$ac_ext
5342
{ echo "$as_me:$LINENO: checking fifos..." >&5
5343
echo "$as_me: checking fifos..." >&6;}
5344
@@ -4166,7 +4984,6 @@
5345
{ (exit 1); exit 1; }; }
5347
cat >conftest.$ac_ext <<_ACEOF
5348
-#line $LINENO "configure"
5351
cat confdefs.h >>conftest.$ac_ext
5352
@@ -4239,13 +5056,22 @@
5355
rm -f conftest$ac_exeext
5356
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5357
- (eval $ac_link) 2>&5
5358
+if { (ac_try="$ac_link"
5359
+case "(($ac_try" in
5360
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361
+ *) ac_try_echo=$ac_try;;
5363
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5364
+ (eval "$ac_link") 2>&5
5366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5368
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369
- (eval $ac_try) 2>&5
5370
+ { (case "(($ac_try" in
5371
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372
+ *) ac_try_echo=$ac_try;;
5374
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375
+ (eval "$ac_try") 2>&5
5377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378
(exit $ac_status); }; }; then
5379
@@ -4260,8 +5086,10 @@
5380
echo "- your fifos are not usable" 1>&6
5383
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5384
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5388
rm -f /tmp/conftest*
5390
if test -n "$fifo"; then
5391
@@ -4275,7 +5103,6 @@
5392
{ (exit 1); exit 1; }; }
5394
cat >conftest.$ac_ext <<_ACEOF
5395
-#line $LINENO "configure"
5398
cat confdefs.h >>conftest.$ac_ext
5399
@@ -4328,13 +5155,22 @@
5402
rm -f conftest$ac_exeext
5403
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5404
- (eval $ac_link) 2>&5
5405
+if { (ac_try="$ac_link"
5406
+case "(($ac_try" in
5407
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408
+ *) ac_try_echo=$ac_try;;
5410
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411
+ (eval "$ac_link") 2>&5
5413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5415
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416
- (eval $ac_try) 2>&5
5417
+ { (case "(($ac_try" in
5418
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419
+ *) ac_try_echo=$ac_try;;
5421
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422
+ (eval "$ac_try") 2>&5
5424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425
(exit $ac_status); }; }; then
5426
@@ -4352,8 +5188,10 @@
5430
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5431
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5435
rm -f /tmp/conftest*
5438
@@ -4368,7 +5206,6 @@
5439
{ (exit 1); exit 1; }; }
5441
cat >conftest.$ac_ext <<_ACEOF
5442
-#line $LINENO "configure"
5445
cat confdefs.h >>conftest.$ac_ext
5446
@@ -4427,13 +5264,22 @@
5449
rm -f conftest$ac_exeext
5450
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5451
- (eval $ac_link) 2>&5
5452
+if { (ac_try="$ac_link"
5453
+case "(($ac_try" in
5454
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455
+ *) ac_try_echo=$ac_try;;
5457
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458
+ (eval "$ac_link") 2>&5
5460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5462
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463
- (eval $ac_try) 2>&5
5464
+ { (case "(($ac_try" in
5465
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5466
+ *) ac_try_echo=$ac_try;;
5468
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469
+ (eval "$ac_try") 2>&5
5471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472
(exit $ac_status); }; }; then
5473
@@ -4448,8 +5294,10 @@
5474
echo "- your sockets are not usable" 1>&6
5477
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5478
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5482
rm -f /tmp/conftest*
5484
if test -n "$sock"; then
5485
@@ -4463,7 +5311,6 @@
5486
{ (exit 1); exit 1; }; }
5488
cat >conftest.$ac_ext <<_ACEOF
5489
-#line $LINENO "configure"
5492
cat confdefs.h >>conftest.$ac_ext
5493
@@ -4497,13 +5344,22 @@
5496
rm -f conftest$ac_exeext
5497
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5498
- (eval $ac_link) 2>&5
5499
+if { (ac_try="$ac_link"
5500
+case "(($ac_try" in
5501
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502
+ *) ac_try_echo=$ac_try;;
5504
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505
+ (eval "$ac_link") 2>&5
5507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5509
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5510
- (eval $ac_try) 2>&5
5511
+ { (case "(($ac_try" in
5512
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5513
+ *) ac_try_echo=$ac_try;;
5515
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516
+ (eval "$ac_try") 2>&5
5518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519
(exit $ac_status); }; }; then
5520
@@ -4522,8 +5378,10 @@
5524
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5525
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5529
rm -f /tmp/conftest*
5532
@@ -4541,11 +5399,7 @@
5533
echo "- as your fifos are broken lets use the sockets." 1>&6
5536
- echo "- both sockets and fifos usable. let's take fifos." 1>&6
5538
- cat >>confdefs.h <<\_ACEOF
5539
-#define NAMEDPIPE 1
5541
+ echo "- both sockets and fifos usable. let's take sockets." 1>&6
5545
@@ -4576,7 +5430,6 @@
5546
{ (exit 1); exit 1; }; }
5548
cat >conftest.$ac_ext <<_ACEOF
5549
-#line $LINENO "configure"
5552
cat confdefs.h >>conftest.$ac_ext
5553
@@ -4683,13 +5536,22 @@
5556
rm -f conftest$ac_exeext
5557
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558
- (eval $ac_link) 2>&5
5559
+if { (ac_try="$ac_link"
5560
+case "(($ac_try" in
5561
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5562
+ *) ac_try_echo=$ac_try;;
5564
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5565
+ (eval "$ac_link") 2>&5
5567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5569
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570
- (eval $ac_try) 2>&5
5571
+ { (case "(($ac_try" in
5572
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573
+ *) ac_try_echo=$ac_try;;
5575
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576
+ (eval "$ac_try") 2>&5
5578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579
(exit $ac_status); }; }; then
5580
@@ -4707,13 +5569,14 @@
5584
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5585
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5590
{ echo "$as_me:$LINENO: checking for tgetent..." >&5
5591
echo "$as_me: checking for tgetent..." >&6;}
5592
cat >conftest.$ac_ext <<_ACEOF
5593
-#line $LINENO "configure"
5596
cat confdefs.h >>conftest.$ac_ext
5597
@@ -4729,28 +5592,33 @@
5600
rm -f conftest.$ac_objext conftest$ac_exeext
5601
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5602
- (eval $ac_link) 2>&5
5604
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605
- (exit $ac_status); } &&
5606
- { ac_try='test -s conftest$ac_exeext'
5607
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608
- (eval $ac_try) 2>&5
5609
+if { (ac_try="$ac_link"
5610
+case "(($ac_try" in
5611
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612
+ *) ac_try_echo=$ac_try;;
5614
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5615
+ (eval "$ac_link") 2>conftest.er1
5617
+ grep -v '^ *+' conftest.er1 >conftest.err
5618
+ rm -f conftest.er1
5619
+ cat conftest.err >&5
5620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
- (exit $ac_status); }; }; then
5622
+ (exit $ac_status); } && {
5623
+ test -z "$ac_c_werror_flag" ||
5624
+ test ! -s conftest.err
5625
+ } && test -s conftest$ac_exeext &&
5626
+ $as_test_x conftest$ac_exeext; then
5629
echo "$as_me: failed program was:" >&5
5630
sed 's/^/| /' conftest.$ac_ext >&5
5633
-LIBS="-lcurses $olibs"
5634
-{ echo "$as_me:$LINENO: checking libcurses..." >&5
5635
-echo "$as_me: checking libcurses..." >&6;}
5637
+LIBS="-lncursesw $olibs"
5638
+{ echo "$as_me:$LINENO: checking libncursesw..." >&5
5639
+echo "$as_me: checking libncursesw..." >&6;}
5640
cat >conftest.$ac_ext <<_ACEOF
5641
-#line $LINENO "configure"
5644
cat confdefs.h >>conftest.$ac_ext
5645
@@ -4760,39 +5628,38 @@
5651
-__sorry_hpux_libcurses_is_totally_broken_in_10_10();
5653
tgetent((char *)0, (char *)0);
5660
rm -f conftest.$ac_objext conftest$ac_exeext
5661
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5662
- (eval $ac_link) 2>&5
5664
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665
- (exit $ac_status); } &&
5666
- { ac_try='test -s conftest$ac_exeext'
5667
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668
- (eval $ac_try) 2>&5
5669
+if { (ac_try="$ac_link"
5670
+case "(($ac_try" in
5671
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672
+ *) ac_try_echo=$ac_try;;
5674
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675
+ (eval "$ac_link") 2>conftest.er1
5677
+ grep -v '^ *+' conftest.er1 >conftest.err
5678
+ rm -f conftest.er1
5679
+ cat conftest.err >&5
5680
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681
- (exit $ac_status); }; }; then
5682
+ (exit $ac_status); } && {
5683
+ test -z "$ac_c_werror_flag" ||
5684
+ test ! -s conftest.err
5685
+ } && test -s conftest$ac_exeext &&
5686
+ $as_test_x conftest$ac_exeext; then
5689
echo "$as_me: failed program was:" >&5
5690
sed 's/^/| /' conftest.$ac_ext >&5
5692
-LIBS="-ltermcap $olibs"
5693
-{ echo "$as_me:$LINENO: checking libtermcap..." >&5
5694
-echo "$as_me: checking libtermcap..." >&6;}
5695
+ LIBS="-lncurses $olibs"
5696
+{ echo "$as_me:$LINENO: checking libncurses..." >&5
5697
+echo "$as_me: checking libncurses..." >&6;}
5698
cat >conftest.$ac_ext <<_ACEOF
5699
-#line $LINENO "configure"
5702
cat confdefs.h >>conftest.$ac_ext
5703
@@ -4808,27 +5675,32 @@
5706
rm -f conftest.$ac_objext conftest$ac_exeext
5707
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5708
- (eval $ac_link) 2>&5
5710
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711
- (exit $ac_status); } &&
5712
- { ac_try='test -s conftest$ac_exeext'
5713
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5714
- (eval $ac_try) 2>&5
5715
+if { (ac_try="$ac_link"
5716
+case "(($ac_try" in
5717
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5718
+ *) ac_try_echo=$ac_try;;
5720
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5721
+ (eval "$ac_link") 2>conftest.er1
5723
+ grep -v '^ *+' conftest.er1 >conftest.err
5724
+ rm -f conftest.er1
5725
+ cat conftest.err >&5
5726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727
- (exit $ac_status); }; }; then
5728
+ (exit $ac_status); } && {
5729
+ test -z "$ac_c_werror_flag" ||
5730
+ test ! -s conftest.err
5731
+ } && test -s conftest$ac_exeext &&
5732
+ $as_test_x conftest$ac_exeext; then
5735
echo "$as_me: failed program was:" >&5
5736
sed 's/^/| /' conftest.$ac_ext >&5
5738
-LIBS="-ltermlib $olibs"
5739
-{ echo "$as_me:$LINENO: checking libtermlib..." >&5
5740
-echo "$as_me: checking libtermlib..." >&6;}
5741
+ LIBS="-lcurses $olibs"
5742
+{ echo "$as_me:$LINENO: checking libcurses..." >&5
5743
+echo "$as_me: checking libcurses..." >&6;}
5744
cat >conftest.$ac_ext <<_ACEOF
5745
-#line $LINENO "configure"
5748
cat confdefs.h >>conftest.$ac_ext
5749
@@ -4838,33 +5710,44 @@
5755
+__sorry_hpux_libcurses_is_totally_broken_in_10_10();
5757
tgetent((char *)0, (char *)0);
5764
rm -f conftest.$ac_objext conftest$ac_exeext
5765
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5766
- (eval $ac_link) 2>&5
5767
+if { (ac_try="$ac_link"
5768
+case "(($ac_try" in
5769
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770
+ *) ac_try_echo=$ac_try;;
5772
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773
+ (eval "$ac_link") 2>conftest.er1
5775
+ grep -v '^ *+' conftest.er1 >conftest.err
5776
+ rm -f conftest.er1
5777
+ cat conftest.err >&5
5778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779
- (exit $ac_status); } &&
5780
- { ac_try='test -s conftest$ac_exeext'
5781
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5782
- (eval $ac_try) 2>&5
5784
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785
- (exit $ac_status); }; }; then
5786
+ (exit $ac_status); } && {
5787
+ test -z "$ac_c_werror_flag" ||
5788
+ test ! -s conftest.err
5789
+ } && test -s conftest$ac_exeext &&
5790
+ $as_test_x conftest$ac_exeext; then
5793
echo "$as_me: failed program was:" >&5
5794
sed 's/^/| /' conftest.$ac_ext >&5
5796
-LIBS="-lncurses $olibs"
5797
-{ echo "$as_me:$LINENO: checking libncurses..." >&5
5798
-echo "$as_me: checking libncurses..." >&6;}
5799
+ LIBS="-ltermcap $olibs"
5800
+{ echo "$as_me:$LINENO: checking libtermcap..." >&5
5801
+echo "$as_me: checking libtermcap..." >&6;}
5802
cat >conftest.$ac_ext <<_ACEOF
5803
-#line $LINENO "configure"
5806
cat confdefs.h >>conftest.$ac_ext
5807
@@ -4880,35 +5763,96 @@
5810
rm -f conftest.$ac_objext conftest$ac_exeext
5811
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5812
- (eval $ac_link) 2>&5
5813
+if { (ac_try="$ac_link"
5814
+case "(($ac_try" in
5815
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5816
+ *) ac_try_echo=$ac_try;;
5818
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819
+ (eval "$ac_link") 2>conftest.er1
5821
+ grep -v '^ *+' conftest.er1 >conftest.err
5822
+ rm -f conftest.er1
5823
+ cat conftest.err >&5
5824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825
- (exit $ac_status); } &&
5826
- { ac_try='test -s conftest$ac_exeext'
5827
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828
- (eval $ac_try) 2>&5
5829
+ (exit $ac_status); } && {
5830
+ test -z "$ac_c_werror_flag" ||
5831
+ test ! -s conftest.err
5832
+ } && test -s conftest$ac_exeext &&
5833
+ $as_test_x conftest$ac_exeext; then
5836
+ echo "$as_me: failed program was:" >&5
5837
+sed 's/^/| /' conftest.$ac_ext >&5
5839
+ LIBS="-ltermlib $olibs"
5840
+{ echo "$as_me:$LINENO: checking libtermlib..." >&5
5841
+echo "$as_me: checking libtermlib..." >&6;}
5842
+cat >conftest.$ac_ext <<_ACEOF
5845
+cat confdefs.h >>conftest.$ac_ext
5846
+cat >>conftest.$ac_ext <<_ACEOF
5847
+/* end confdefs.h. */
5852
+tgetent((char *)0, (char *)0);
5857
+rm -f conftest.$ac_objext conftest$ac_exeext
5858
+if { (ac_try="$ac_link"
5859
+case "(($ac_try" in
5860
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861
+ *) ac_try_echo=$ac_try;;
5863
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864
+ (eval "$ac_link") 2>conftest.er1
5866
+ grep -v '^ *+' conftest.er1 >conftest.err
5867
+ rm -f conftest.er1
5868
+ cat conftest.err >&5
5869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870
- (exit $ac_status); }; }; then
5871
+ (exit $ac_status); } && {
5872
+ test -z "$ac_c_werror_flag" ||
5873
+ test ! -s conftest.err
5874
+ } && test -s conftest$ac_exeext &&
5875
+ $as_test_x conftest$ac_exeext; then
5878
echo "$as_me: failed program was:" >&5
5879
sed 's/^/| /' conftest.$ac_ext >&5
5881
-{ { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
5882
+ { { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
5883
echo "$as_me: error: !!! no tgetent - no screen" >&2;}
5884
{ (exit 1); exit 1; }; }
5886
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5888
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5889
+ conftest$ac_exeext conftest.$ac_ext
5892
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5893
+ conftest$ac_exeext conftest.$ac_ext
5895
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5897
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5898
+ conftest$ac_exeext conftest.$ac_ext
5900
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5902
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5903
+ conftest$ac_exeext conftest.$ac_ext
5905
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5907
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5908
+ conftest$ac_exeext conftest.$ac_ext
5910
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5912
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5913
+ conftest$ac_exeext conftest.$ac_ext
5915
if test "$cross_compiling" = yes; then
5916
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5917
@@ -4918,7 +5862,6 @@
5918
{ (exit 1); exit 1; }; }
5920
cat >conftest.$ac_ext <<_ACEOF
5921
-#line $LINENO "configure"
5924
cat confdefs.h >>conftest.$ac_ext
5925
@@ -4931,13 +5874,22 @@
5928
rm -f conftest$ac_exeext
5929
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5930
- (eval $ac_link) 2>&5
5931
+if { (ac_try="$ac_link"
5932
+case "(($ac_try" in
5933
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5934
+ *) ac_try_echo=$ac_try;;
5936
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5937
+ (eval "$ac_link") 2>&5
5939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5941
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942
- (eval $ac_try) 2>&5
5943
+ { (case "(($ac_try" in
5944
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5945
+ *) ac_try_echo=$ac_try;;
5947
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5948
+ (eval "$ac_try") 2>&5
5950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951
(exit $ac_status); }; }; then
5952
@@ -4955,12 +5907,13 @@
5956
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5957
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5961
{ echo "$as_me:$LINENO: checking ospeed..." >&5
5962
echo "$as_me: checking ospeed..." >&6;}
5963
cat >conftest.$ac_ext <<_ACEOF
5964
-#line $LINENO "configure"
5967
cat confdefs.h >>conftest.$ac_ext
5968
@@ -4976,28 +5929,36 @@
5971
rm -f conftest.$ac_objext conftest$ac_exeext
5972
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5973
- (eval $ac_link) 2>&5
5975
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976
- (exit $ac_status); } &&
5977
- { ac_try='test -s conftest$ac_exeext'
5978
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979
- (eval $ac_try) 2>&5
5980
+if { (ac_try="$ac_link"
5981
+case "(($ac_try" in
5982
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983
+ *) ac_try_echo=$ac_try;;
5985
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986
+ (eval "$ac_link") 2>conftest.er1
5988
+ grep -v '^ *+' conftest.er1 >conftest.err
5989
+ rm -f conftest.er1
5990
+ cat conftest.err >&5
5991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
- (exit $ac_status); }; }; then
5993
+ (exit $ac_status); } && {
5994
+ test -z "$ac_c_werror_flag" ||
5995
+ test ! -s conftest.err
5996
+ } && test -s conftest$ac_exeext &&
5997
+ $as_test_x conftest$ac_exeext; then
6000
echo "$as_me: failed program was:" >&5
6001
sed 's/^/| /' conftest.$ac_ext >&5
6003
-cat >>confdefs.h <<\_ACEOF
6004
+ cat >>confdefs.h <<\_ACEOF
6005
#define NEED_OSPEED 1
6009
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6011
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6012
+ conftest$ac_exeext conftest.$ac_ext
6014
{ echo "$as_me:$LINENO: checking for /dev/ptc..." >&5
6015
echo "$as_me: checking for /dev/ptc..." >&6;}
6016
@@ -5013,7 +5974,6 @@
6018
if test -c /dev/ptmx ; then
6019
cat >conftest.$ac_ext <<_ACEOF
6020
-#line $LINENO "configure"
6023
cat confdefs.h >>conftest.$ac_ext
6024
@@ -5029,17 +5989,23 @@
6027
rm -f conftest.$ac_objext conftest$ac_exeext
6028
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6029
- (eval $ac_link) 2>&5
6031
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032
- (exit $ac_status); } &&
6033
- { ac_try='test -s conftest$ac_exeext'
6034
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035
- (eval $ac_try) 2>&5
6036
+if { (ac_try="$ac_link"
6037
+case "(($ac_try" in
6038
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039
+ *) ac_try_echo=$ac_try;;
6041
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042
+ (eval "$ac_link") 2>conftest.er1
6044
+ grep -v '^ *+' conftest.er1 >conftest.err
6045
+ rm -f conftest.er1
6046
+ cat conftest.err >&5
6047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048
- (exit $ac_status); }; }; then
6049
+ (exit $ac_status); } && {
6050
+ test -z "$ac_c_werror_flag" ||
6051
+ test ! -s conftest.err
6052
+ } && test -s conftest$ac_exeext &&
6053
+ $as_test_x conftest$ac_exeext; then
6054
cat >>confdefs.h <<\_ACEOF
6055
#define HAVE_SVR4_PTYS 1
6057
@@ -5049,86 +6015,99 @@
6058
echo "$as_me: failed program was:" >&5
6059
sed 's/^/| /' conftest.$ac_ext >&5
6063
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6065
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6066
+ conftest$ac_exeext conftest.$ac_ext
6070
for ac_func in getpt
6072
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6073
-echo "$as_me:$LINENO: checking for $ac_func" >&5
6074
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6075
-if eval "test \"\${$as_ac_var+set}\" = set"; then
6076
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6077
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6078
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6079
echo $ECHO_N "(cached) $ECHO_C" >&6
6081
cat >conftest.$ac_ext <<_ACEOF
6082
-#line $LINENO "configure"
6085
cat confdefs.h >>conftest.$ac_ext
6086
cat >>conftest.$ac_ext <<_ACEOF
6087
/* end confdefs.h. */
6088
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6089
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6090
+#define $ac_func innocuous_$ac_func
6092
/* System header to define __stub macros and hopefully few prototypes,
6093
which can conflict with char $ac_func (); below.
6094
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6095
<limits.h> exists even on freestanding compilers. */
6098
# include <limits.h>
6100
# include <assert.h>
6102
-/* Override any gcc2 internal prototype to avoid an error. */
6106
+/* Override any GCC internal prototype to avoid an error.
6107
+ Use char because int might match the return type of a GCC
6108
+ builtin and then its argument prototype would still apply. */
6113
-/* We use char because int might match the return type of a gcc2
6114
- builtin and then its argument prototype would still apply. */
6116
/* The GNU C library defines this for functions which it implements
6117
to always fail with ENOSYS. Some functions are actually named
6118
something starting with __ and the normal name is an alias. */
6119
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6120
+#if defined __stub_$ac_func || defined __stub___$ac_func
6123
-char (*f) () = $ac_func;
6132
-return f != $ac_func;
6133
+return $ac_func ();
6138
rm -f conftest.$ac_objext conftest$ac_exeext
6139
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6140
- (eval $ac_link) 2>&5
6142
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143
- (exit $ac_status); } &&
6144
- { ac_try='test -s conftest$ac_exeext'
6145
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146
- (eval $ac_try) 2>&5
6147
+if { (ac_try="$ac_link"
6148
+case "(($ac_try" in
6149
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6150
+ *) ac_try_echo=$ac_try;;
6152
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6153
+ (eval "$ac_link") 2>conftest.er1
6155
+ grep -v '^ *+' conftest.er1 >conftest.err
6156
+ rm -f conftest.er1
6157
+ cat conftest.err >&5
6158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159
- (exit $ac_status); }; }; then
6160
+ (exit $ac_status); } && {
6161
+ test -z "$ac_c_werror_flag" ||
6162
+ test ! -s conftest.err
6163
+ } && test -s conftest$ac_exeext &&
6164
+ $as_test_x conftest$ac_exeext; then
6165
eval "$as_ac_var=yes"
6167
echo "$as_me: failed program was:" >&5
6168
sed 's/^/| /' conftest.$ac_ext >&5
6170
-eval "$as_ac_var=no"
6171
+ eval "$as_ac_var=no"
6173
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6175
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6176
+ conftest$ac_exeext conftest.$ac_ext
6178
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6179
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6180
+ac_res=`eval echo '${'$as_ac_var'}'`
6181
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6182
+echo "${ECHO_T}$ac_res" >&6; }
6183
if test `eval echo '${'$as_ac_var'}'` = yes; then
6184
cat >>confdefs.h <<_ACEOF
6185
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6186
@@ -5143,138 +6122,155 @@
6187
for ac_func in openpty
6189
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6190
-echo "$as_me:$LINENO: checking for $ac_func" >&5
6191
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6192
-if eval "test \"\${$as_ac_var+set}\" = set"; then
6193
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6194
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6195
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6196
echo $ECHO_N "(cached) $ECHO_C" >&6
6198
cat >conftest.$ac_ext <<_ACEOF
6199
-#line $LINENO "configure"
6202
cat confdefs.h >>conftest.$ac_ext
6203
cat >>conftest.$ac_ext <<_ACEOF
6204
/* end confdefs.h. */
6205
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6206
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6207
+#define $ac_func innocuous_$ac_func
6209
/* System header to define __stub macros and hopefully few prototypes,
6210
which can conflict with char $ac_func (); below.
6211
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6212
<limits.h> exists even on freestanding compilers. */
6215
# include <limits.h>
6217
# include <assert.h>
6219
-/* Override any gcc2 internal prototype to avoid an error. */
6223
+/* Override any GCC internal prototype to avoid an error.
6224
+ Use char because int might match the return type of a GCC
6225
+ builtin and then its argument prototype would still apply. */
6230
-/* We use char because int might match the return type of a gcc2
6231
- builtin and then its argument prototype would still apply. */
6233
/* The GNU C library defines this for functions which it implements
6234
to always fail with ENOSYS. Some functions are actually named
6235
something starting with __ and the normal name is an alias. */
6236
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6237
+#if defined __stub_$ac_func || defined __stub___$ac_func
6240
-char (*f) () = $ac_func;
6249
-return f != $ac_func;
6250
+return $ac_func ();
6255
rm -f conftest.$ac_objext conftest$ac_exeext
6256
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6257
- (eval $ac_link) 2>&5
6259
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
- (exit $ac_status); } &&
6261
- { ac_try='test -s conftest$ac_exeext'
6262
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263
- (eval $ac_try) 2>&5
6264
+if { (ac_try="$ac_link"
6265
+case "(($ac_try" in
6266
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6267
+ *) ac_try_echo=$ac_try;;
6269
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270
+ (eval "$ac_link") 2>conftest.er1
6272
+ grep -v '^ *+' conftest.er1 >conftest.err
6273
+ rm -f conftest.er1
6274
+ cat conftest.err >&5
6275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276
- (exit $ac_status); }; }; then
6277
+ (exit $ac_status); } && {
6278
+ test -z "$ac_c_werror_flag" ||
6279
+ test ! -s conftest.err
6280
+ } && test -s conftest$ac_exeext &&
6281
+ $as_test_x conftest$ac_exeext; then
6282
eval "$as_ac_var=yes"
6284
echo "$as_me: failed program was:" >&5
6285
sed 's/^/| /' conftest.$ac_ext >&5
6287
-eval "$as_ac_var=no"
6288
+ eval "$as_ac_var=no"
6290
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6292
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6293
+ conftest$ac_exeext conftest.$ac_ext
6295
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6296
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6297
+ac_res=`eval echo '${'$as_ac_var'}'`
6298
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6299
+echo "${ECHO_T}$ac_res" >&6; }
6300
if test `eval echo '${'$as_ac_var'}'` = yes; then
6301
cat >>confdefs.h <<_ACEOF
6302
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6306
- echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
6307
-echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
6308
+ { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
6309
+echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
6310
if test "${ac_cv_lib_util_openpty+set}" = set; then
6311
echo $ECHO_N "(cached) $ECHO_C" >&6
6313
ac_check_lib_save_LIBS=$LIBS
6315
cat >conftest.$ac_ext <<_ACEOF
6316
-#line $LINENO "configure"
6319
cat confdefs.h >>conftest.$ac_ext
6320
cat >>conftest.$ac_ext <<_ACEOF
6321
/* end confdefs.h. */
6323
-/* Override any gcc2 internal prototype to avoid an error. */
6324
+/* Override any GCC internal prototype to avoid an error.
6325
+ Use char because int might match the return type of a GCC
6326
+ builtin and then its argument prototype would still apply. */
6330
-/* We use char because int might match the return type of a gcc2
6331
- builtin and then its argument prototype would still apply. */
6342
rm -f conftest.$ac_objext conftest$ac_exeext
6343
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6344
- (eval $ac_link) 2>&5
6346
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347
- (exit $ac_status); } &&
6348
- { ac_try='test -s conftest$ac_exeext'
6349
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350
- (eval $ac_try) 2>&5
6351
+if { (ac_try="$ac_link"
6352
+case "(($ac_try" in
6353
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6354
+ *) ac_try_echo=$ac_try;;
6356
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6357
+ (eval "$ac_link") 2>conftest.er1
6359
+ grep -v '^ *+' conftest.er1 >conftest.err
6360
+ rm -f conftest.er1
6361
+ cat conftest.err >&5
6362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363
- (exit $ac_status); }; }; then
6364
+ (exit $ac_status); } && {
6365
+ test -z "$ac_c_werror_flag" ||
6366
+ test ! -s conftest.err
6367
+ } && test -s conftest$ac_exeext &&
6368
+ $as_test_x conftest$ac_exeext; then
6369
ac_cv_lib_util_openpty=yes
6371
echo "$as_me: failed program was:" >&5
6372
sed 's/^/| /' conftest.$ac_ext >&5
6374
-ac_cv_lib_util_openpty=no
6375
+ ac_cv_lib_util_openpty=no
6377
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6379
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6380
+ conftest$ac_exeext conftest.$ac_ext
6381
LIBS=$ac_check_lib_save_LIBS
6383
-echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
6384
-echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
6385
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
6386
+echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
6387
if test $ac_cv_lib_util_openpty = yes; then
6388
cat >>confdefs.h <<\_ACEOF
6389
#define HAVE_OPENPTY 1
6390
@@ -5295,7 +6291,6 @@
6393
cat >conftest.$ac_ext <<_ACEOF
6394
-#line $LINENO "configure"
6397
cat confdefs.h >>conftest.$ac_ext
6398
@@ -5328,17 +6323,17 @@
6402
-# Check whether --with-pty-mode or --without-pty-mode was given.
6403
+# Check whether --with-pty-mode was given.
6404
if test "${with_pty_mode+set}" = set; then
6405
- withval="$with_pty_mode"
6406
- ptymode="${withval}"
6408
+ withval=$with_pty_mode; ptymode="${withval}"
6411
-# Check whether --with-pty-group or --without-pty-group was given.
6413
+# Check whether --with-pty-group was given.
6414
if test "${with_pty_group+set}" = set; then
6415
- withval="$with_pty_group"
6416
- ptygrp="${withval}"
6418
+ withval=$with_pty_group; ptygrp="${withval}"
6421
test -n "$ptymode" || ptymode=0620
6422
if test -n "$ptygrp" ; then
6423
cat >>confdefs.h <<_ACEOF
6424
@@ -5362,7 +6357,6 @@
6425
{ (exit 1); exit 1; }; }
6427
cat >conftest.$ac_ext <<_ACEOF
6428
-#line $LINENO "configure"
6431
cat confdefs.h >>conftest.$ac_ext
6432
@@ -5399,13 +6393,22 @@
6435
rm -f conftest$ac_exeext
6436
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6437
- (eval $ac_link) 2>&5
6438
+if { (ac_try="$ac_link"
6439
+case "(($ac_try" in
6440
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6441
+ *) ac_try_echo=$ac_try;;
6443
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6444
+ (eval "$ac_link") 2>&5
6446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6448
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449
- (eval $ac_try) 2>&5
6450
+ { (case "(($ac_try" in
6451
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452
+ *) ac_try_echo=$ac_try;;
6454
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6455
+ (eval "$ac_try") 2>&5
6457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458
(exit $ac_status); }; }; then
6459
@@ -5438,8 +6441,8 @@
6461
# Extract the first word of "write", so it can be a program name with args.
6462
set dummy write; ac_word=$2
6463
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6464
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6465
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6466
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6467
if test "${ac_cv_path_WRITEPATH+set}" = set; then
6468
echo $ECHO_N "(cached) $ECHO_C" >&6
6470
@@ -5454,31 +6457,32 @@
6472
test -z "$as_dir" && as_dir=.
6473
for ac_exec_ext in '' $ac_executable_extensions; do
6474
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6475
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476
ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext"
6477
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6487
WRITEPATH=$ac_cv_path_WRITEPATH
6489
if test -n "$WRITEPATH"; then
6490
- echo "$as_me:$LINENO: result: $WRITEPATH" >&5
6491
-echo "${ECHO_T}$WRITEPATH" >&6
6492
+ { echo "$as_me:$LINENO: result: $WRITEPATH" >&5
6493
+echo "${ECHO_T}$WRITEPATH" >&6; }
6495
- echo "$as_me:$LINENO: result: no" >&5
6496
-echo "${ECHO_T}no" >&6
6497
+ { echo "$as_me:$LINENO: result: no" >&5
6498
+echo "${ECHO_T}no" >&6; }
6502
# Extract the first word of "xterm", so it can be a program name with args.
6503
set dummy xterm; ac_word=$2
6504
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6505
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6506
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6507
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6508
if test "${ac_cv_path_XTERMPATH+set}" = set; then
6509
echo $ECHO_N "(cached) $ECHO_C" >&6
6511
@@ -5493,27 +6497,28 @@
6513
test -z "$as_dir" && as_dir=.
6514
for ac_exec_ext in '' $ac_executable_extensions; do
6515
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6516
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517
ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext"
6518
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528
XTERMPATH=$ac_cv_path_XTERMPATH
6530
if test -n "$XTERMPATH"; then
6531
- echo "$as_me:$LINENO: result: $XTERMPATH" >&5
6532
-echo "${ECHO_T}$XTERMPATH" >&6
6533
+ { echo "$as_me:$LINENO: result: $XTERMPATH" >&5
6534
+echo "${ECHO_T}$XTERMPATH" >&6; }
6536
- echo "$as_me:$LINENO: result: no" >&5
6537
-echo "${ECHO_T}no" >&6
6538
+ { echo "$as_me:$LINENO: result: no" >&5
6539
+echo "${ECHO_T}no" >&6; }
6544
if test -n "$WRITEPATH$XTERMPATH"; then
6546
@@ -5555,15 +6560,16 @@
6550
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6551
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6558
{ echo "$as_me:$LINENO: checking getutent..." >&5
6559
echo "$as_me: checking getutent..." >&6;}
6560
cat >conftest.$ac_ext <<_ACEOF
6561
-#line $LINENO "configure"
6564
cat confdefs.h >>conftest.$ac_ext
6565
@@ -5572,7 +6578,7 @@
6567
#include <time.h> /* to get time_t on SCO */
6568
#include <sys/types.h>
6569
-#if defined(__SVR4) && !defined(DGUX)
6570
+#if defined(SVR4) && !defined(DGUX)
6574
@@ -5591,17 +6597,23 @@
6577
rm -f conftest.$ac_objext conftest$ac_exeext
6578
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6579
- (eval $ac_link) 2>&5
6581
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582
- (exit $ac_status); } &&
6583
- { ac_try='test -s conftest$ac_exeext'
6584
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585
- (eval $ac_try) 2>&5
6586
+if { (ac_try="$ac_link"
6587
+case "(($ac_try" in
6588
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6589
+ *) ac_try_echo=$ac_try;;
6591
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6592
+ (eval "$ac_link") 2>conftest.er1
6594
+ grep -v '^ *+' conftest.er1 >conftest.err
6595
+ rm -f conftest.er1
6596
+ cat conftest.err >&5
6597
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598
- (exit $ac_status); }; }; then
6599
+ (exit $ac_status); } && {
6600
+ test -z "$ac_c_werror_flag" ||
6601
+ test ! -s conftest.err
6602
+ } && test -s conftest$ac_exeext &&
6603
+ $as_test_x conftest$ac_exeext; then
6604
cat >>confdefs.h <<\_ACEOF
6607
@@ -5610,12 +6622,11 @@
6608
echo "$as_me: failed program was:" >&5
6609
sed 's/^/| /' conftest.$ac_ext >&5
6614
{ echo "$as_me:$LINENO: checking getutent with -lgen..." >&5
6615
echo "$as_me: checking getutent with -lgen..." >&6;}
6616
cat >conftest.$ac_ext <<_ACEOF
6617
-#line $LINENO "configure"
6620
cat confdefs.h >>conftest.$ac_ext
6621
@@ -5624,7 +6635,7 @@
6624
#include <sys/types.h>
6625
-#if defined(__SVR4) && !defined(DGUX)
6626
+#if defined(SVR4) && !defined(DGUX)
6630
@@ -5643,17 +6654,23 @@
6633
rm -f conftest.$ac_objext conftest$ac_exeext
6634
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6635
- (eval $ac_link) 2>&5
6637
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638
- (exit $ac_status); } &&
6639
- { ac_try='test -s conftest$ac_exeext'
6640
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641
- (eval $ac_try) 2>&5
6642
+if { (ac_try="$ac_link"
6643
+case "(($ac_try" in
6644
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6645
+ *) ac_try_echo=$ac_try;;
6647
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6648
+ (eval "$ac_link") 2>conftest.er1
6650
+ grep -v '^ *+' conftest.er1 >conftest.err
6651
+ rm -f conftest.er1
6652
+ cat conftest.err >&5
6653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654
- (exit $ac_status); }; }; then
6655
+ (exit $ac_status); } && {
6656
+ test -z "$ac_c_werror_flag" ||
6657
+ test ! -s conftest.err
6658
+ } && test -s conftest$ac_exeext &&
6659
+ $as_test_x conftest$ac_exeext; then
6660
cat >>confdefs.h <<\_ACEOF
6663
@@ -5662,16 +6679,19 @@
6664
echo "$as_me: failed program was:" >&5
6665
sed 's/^/| /' conftest.$ac_ext >&5
6670
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6672
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6673
+ conftest$ac_exeext conftest.$ac_ext
6676
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6678
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6679
+ conftest$ac_exeext conftest.$ac_ext
6680
{ echo "$as_me:$LINENO: checking ut_host..." >&5
6681
echo "$as_me: checking ut_host..." >&6;}
6682
cat >conftest.$ac_ext <<_ACEOF
6683
-#line $LINENO "configure"
6686
cat confdefs.h >>conftest.$ac_ext
6687
@@ -5680,7 +6700,7 @@
6690
#include <sys/types.h>
6691
-#if defined(__SVR4) && !defined(DGUX)
6692
+#if defined(SVR4) && !defined(DGUX)
6696
@@ -5696,17 +6716,22 @@
6699
rm -f conftest.$ac_objext
6700
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701
- (eval $ac_compile) 2>&5
6703
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704
- (exit $ac_status); } &&
6705
- { ac_try='test -s conftest.$ac_objext'
6706
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707
- (eval $ac_try) 2>&5
6708
+if { (ac_try="$ac_compile"
6709
+case "(($ac_try" in
6710
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6711
+ *) ac_try_echo=$ac_try;;
6713
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714
+ (eval "$ac_compile") 2>conftest.er1
6716
+ grep -v '^ *+' conftest.er1 >conftest.err
6717
+ rm -f conftest.er1
6718
+ cat conftest.err >&5
6719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720
- (exit $ac_status); }; }; then
6721
+ (exit $ac_status); } && {
6722
+ test -z "$ac_c_werror_flag" ||
6723
+ test ! -s conftest.err
6724
+ } && test -s conftest.$ac_objext; then
6725
cat >>confdefs.h <<\_ACEOF
6728
@@ -5715,22 +6740,23 @@
6729
echo "$as_me: failed program was:" >&5
6730
sed 's/^/| /' conftest.$ac_ext >&5
6734
-rm -f conftest.$ac_objext conftest.$ac_ext
6736
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6737
if test "${ac_cv_header_utempter_h+set}" = set; then
6738
- echo "$as_me:$LINENO: checking for utempter.h" >&5
6739
-echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6
6740
+ { echo "$as_me:$LINENO: checking for utempter.h" >&5
6741
+echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6; }
6742
if test "${ac_cv_header_utempter_h+set}" = set; then
6743
echo $ECHO_N "(cached) $ECHO_C" >&6
6745
-echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6746
-echo "${ECHO_T}$ac_cv_header_utempter_h" >&6
6747
+{ echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6748
+echo "${ECHO_T}$ac_cv_header_utempter_h" >&6; }
6750
# Is the header compilable?
6751
-echo "$as_me:$LINENO: checking utempter.h usability" >&5
6752
-echo $ECHO_N "checking utempter.h usability... $ECHO_C" >&6
6753
+{ echo "$as_me:$LINENO: checking utempter.h usability" >&5
6754
+echo $ECHO_N "checking utempter.h usability... $ECHO_C" >&6; }
6755
cat >conftest.$ac_ext <<_ACEOF
6756
-#line $LINENO "configure"
6759
cat confdefs.h >>conftest.$ac_ext
6760
@@ -5740,33 +6766,38 @@
6761
#include <utempter.h>
6763
rm -f conftest.$ac_objext
6764
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6765
- (eval $ac_compile) 2>&5
6767
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768
- (exit $ac_status); } &&
6769
- { ac_try='test -s conftest.$ac_objext'
6770
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6771
- (eval $ac_try) 2>&5
6772
+if { (ac_try="$ac_compile"
6773
+case "(($ac_try" in
6774
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6775
+ *) ac_try_echo=$ac_try;;
6777
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6778
+ (eval "$ac_compile") 2>conftest.er1
6780
+ grep -v '^ *+' conftest.er1 >conftest.err
6781
+ rm -f conftest.er1
6782
+ cat conftest.err >&5
6783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784
- (exit $ac_status); }; }; then
6785
+ (exit $ac_status); } && {
6786
+ test -z "$ac_c_werror_flag" ||
6787
+ test ! -s conftest.err
6788
+ } && test -s conftest.$ac_objext; then
6789
ac_header_compiler=yes
6791
echo "$as_me: failed program was:" >&5
6792
sed 's/^/| /' conftest.$ac_ext >&5
6794
-ac_header_compiler=no
6795
+ ac_header_compiler=no
6797
-rm -f conftest.$ac_objext conftest.$ac_ext
6798
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799
-echo "${ECHO_T}$ac_header_compiler" >&6
6801
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6803
+echo "${ECHO_T}$ac_header_compiler" >&6; }
6805
# Is the header present?
6806
-echo "$as_me:$LINENO: checking utempter.h presence" >&5
6807
-echo $ECHO_N "checking utempter.h presence... $ECHO_C" >&6
6808
+{ echo "$as_me:$LINENO: checking utempter.h presence" >&5
6809
+echo $ECHO_N "checking utempter.h presence... $ECHO_C" >&6; }
6810
cat >conftest.$ac_ext <<_ACEOF
6811
-#line $LINENO "configure"
6814
cat confdefs.h >>conftest.$ac_ext
6815
@@ -5774,23 +6805,22 @@
6816
/* end confdefs.h. */
6817
#include <utempter.h>
6819
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6820
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6821
+if { (ac_try="$ac_cpp conftest.$ac_ext"
6822
+case "(($ac_try" in
6823
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6824
+ *) ac_try_echo=$ac_try;;
6826
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6827
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6829
grep -v '^ *+' conftest.er1 >conftest.err
6831
cat conftest.err >&5
6832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833
- (exit $ac_status); } >/dev/null; then
6834
- if test -s conftest.err; then
6835
- ac_cpp_err=$ac_c_preproc_warn_flag
6842
-if test -z "$ac_cpp_err"; then
6843
+ (exit $ac_status); } >/dev/null && {
6844
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6845
+ test ! -s conftest.err
6847
ac_header_preproc=yes
6849
echo "$as_me: failed program was:" >&5
6850
@@ -5798,52 +6828,45 @@
6852
ac_header_preproc=no
6855
rm -f conftest.err conftest.$ac_ext
6856
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6857
-echo "${ECHO_T}$ac_header_preproc" >&6
6858
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6859
+echo "${ECHO_T}$ac_header_preproc" >&6; }
6861
# So? What about this header?
6862
-case $ac_header_compiler:$ac_header_preproc in
6864
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6866
{ echo "$as_me:$LINENO: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&5
6867
echo "$as_me: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6868
- { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
6869
-echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
6872
-## ------------------------------------ ##
6873
-## Report this to bug-autoconf@gnu.org. ##
6874
-## ------------------------------------ ##
6877
- sed "s/^/$as_me: WARNING: /" >&2
6878
+ { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the compiler's result" >&5
6879
+echo "$as_me: WARNING: utempter.h: proceeding with the compiler's result" >&2;}
6880
+ ac_header_preproc=yes
6884
{ echo "$as_me:$LINENO: WARNING: utempter.h: present but cannot be compiled" >&5
6885
echo "$as_me: WARNING: utempter.h: present but cannot be compiled" >&2;}
6886
- { echo "$as_me:$LINENO: WARNING: utempter.h: check for missing prerequisite headers?" >&5
6887
-echo "$as_me: WARNING: utempter.h: check for missing prerequisite headers?" >&2;}
6888
+ { echo "$as_me:$LINENO: WARNING: utempter.h: check for missing prerequisite headers?" >&5
6889
+echo "$as_me: WARNING: utempter.h: check for missing prerequisite headers?" >&2;}
6890
+ { echo "$as_me:$LINENO: WARNING: utempter.h: see the Autoconf documentation" >&5
6891
+echo "$as_me: WARNING: utempter.h: see the Autoconf documentation" >&2;}
6892
+ { echo "$as_me:$LINENO: WARNING: utempter.h: section \"Present But Cannot Be Compiled\"" >&5
6893
+echo "$as_me: WARNING: utempter.h: section \"Present But Cannot Be Compiled\"" >&2;}
6894
{ echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
6895
echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
6898
-## ------------------------------------ ##
6899
-## Report this to bug-autoconf@gnu.org. ##
6900
-## ------------------------------------ ##
6903
- sed "s/^/$as_me: WARNING: /" >&2
6904
+ { echo "$as_me:$LINENO: WARNING: utempter.h: in the future, the compiler will take precedence" >&5
6905
+echo "$as_me: WARNING: utempter.h: in the future, the compiler will take precedence" >&2;}
6909
-echo "$as_me:$LINENO: checking for utempter.h" >&5
6910
-echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6
6911
+{ echo "$as_me:$LINENO: checking for utempter.h" >&5
6912
+echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6; }
6913
if test "${ac_cv_header_utempter_h+set}" = set; then
6914
echo $ECHO_N "(cached) $ECHO_C" >&6
6916
ac_cv_header_utempter_h=$ac_header_preproc
6918
-echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6919
-echo "${ECHO_T}$ac_cv_header_utempter_h" >&6
6920
+{ echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6921
+echo "${ECHO_T}$ac_cv_header_utempter_h" >&6; }
6924
if test $ac_cv_header_utempter_h = yes; then
6925
@@ -5869,7 +6892,6 @@
6926
{ echo "$as_me:$LINENO: checking getloadavg..." >&5
6927
echo "$as_me: checking getloadavg..." >&6;}
6928
cat >conftest.$ac_ext <<_ACEOF
6929
-#line $LINENO "configure"
6932
cat confdefs.h >>conftest.$ac_ext
6933
@@ -5885,17 +6907,23 @@
6936
rm -f conftest.$ac_objext conftest$ac_exeext
6937
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6938
- (eval $ac_link) 2>&5
6940
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941
- (exit $ac_status); } &&
6942
- { ac_try='test -s conftest$ac_exeext'
6943
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944
- (eval $ac_try) 2>&5
6945
+if { (ac_try="$ac_link"
6946
+case "(($ac_try" in
6947
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6948
+ *) ac_try_echo=$ac_try;;
6950
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6951
+ (eval "$ac_link") 2>conftest.er1
6953
+ grep -v '^ *+' conftest.er1 >conftest.err
6954
+ rm -f conftest.er1
6955
+ cat conftest.err >&5
6956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957
- (exit $ac_status); }; }; then
6958
+ (exit $ac_status); } && {
6959
+ test -z "$ac_c_werror_flag" ||
6960
+ test ! -s conftest.err
6961
+ } && test -s conftest$ac_exeext &&
6962
+ $as_test_x conftest$ac_exeext; then
6963
cat >>confdefs.h <<\_ACEOF
6964
#define LOADAV_GETLOADAVG 1
6966
@@ -5904,13 +6932,12 @@
6967
echo "$as_me: failed program was:" >&5
6968
sed 's/^/| /' conftest.$ac_ext >&5
6970
-if test -f /usr/lib/libkvm.a ; then
6971
+ if test -f /usr/lib/libkvm.a ; then
6974
{ echo "$as_me:$LINENO: checking getloadavg with -lkvm..." >&5
6975
echo "$as_me: checking getloadavg with -lkvm..." >&6;}
6976
cat >conftest.$ac_ext <<_ACEOF
6977
-#line $LINENO "configure"
6980
cat confdefs.h >>conftest.$ac_ext
6981
@@ -5926,17 +6953,23 @@
6984
rm -f conftest.$ac_objext conftest$ac_exeext
6985
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6986
- (eval $ac_link) 2>&5
6988
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989
- (exit $ac_status); } &&
6990
- { ac_try='test -s conftest$ac_exeext'
6991
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992
- (eval $ac_try) 2>&5
6993
+if { (ac_try="$ac_link"
6994
+case "(($ac_try" in
6995
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6996
+ *) ac_try_echo=$ac_try;;
6998
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6999
+ (eval "$ac_link") 2>conftest.er1
7001
+ grep -v '^ *+' conftest.er1 >conftest.err
7002
+ rm -f conftest.er1
7003
+ cat conftest.err >&5
7004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005
- (exit $ac_status); }; }; then
7006
+ (exit $ac_status); } && {
7007
+ test -z "$ac_c_werror_flag" ||
7008
+ test ! -s conftest.err
7009
+ } && test -s conftest$ac_exeext &&
7010
+ $as_test_x conftest$ac_exeext; then
7011
cat >>confdefs.h <<\_ACEOF
7012
#define LOADAV_GETLOADAVG 1
7014
@@ -5945,17 +6978,20 @@
7015
echo "$as_me: failed program was:" >&5
7016
sed 's/^/| /' conftest.$ac_ext >&5
7021
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7023
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7024
+ conftest$ac_exeext conftest.$ac_ext
7028
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7030
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7031
+ conftest$ac_exeext conftest.$ac_ext
7033
if test -z "$load" ; then
7034
cat >conftest.$ac_ext <<_ACEOF
7035
-#line $LINENO "configure"
7038
cat confdefs.h >>conftest.$ac_ext
7039
@@ -5993,19 +7029,18 @@
7042
if test "${ac_cv_header_nlist_h+set}" = set; then
7043
- echo "$as_me:$LINENO: checking for nlist.h" >&5
7044
-echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
7045
+ { echo "$as_me:$LINENO: checking for nlist.h" >&5
7046
+echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6; }
7047
if test "${ac_cv_header_nlist_h+set}" = set; then
7048
echo $ECHO_N "(cached) $ECHO_C" >&6
7050
-echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7051
-echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
7052
+{ echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7053
+echo "${ECHO_T}$ac_cv_header_nlist_h" >&6; }
7055
# Is the header compilable?
7056
-echo "$as_me:$LINENO: checking nlist.h usability" >&5
7057
-echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
7058
+{ echo "$as_me:$LINENO: checking nlist.h usability" >&5
7059
+echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6; }
7060
cat >conftest.$ac_ext <<_ACEOF
7061
-#line $LINENO "configure"
7064
cat confdefs.h >>conftest.$ac_ext
7065
@@ -6015,33 +7050,38 @@
7068
rm -f conftest.$ac_objext
7069
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7070
- (eval $ac_compile) 2>&5
7072
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073
- (exit $ac_status); } &&
7074
- { ac_try='test -s conftest.$ac_objext'
7075
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076
- (eval $ac_try) 2>&5
7077
+if { (ac_try="$ac_compile"
7078
+case "(($ac_try" in
7079
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7080
+ *) ac_try_echo=$ac_try;;
7082
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7083
+ (eval "$ac_compile") 2>conftest.er1
7085
+ grep -v '^ *+' conftest.er1 >conftest.err
7086
+ rm -f conftest.er1
7087
+ cat conftest.err >&5
7088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089
- (exit $ac_status); }; }; then
7090
+ (exit $ac_status); } && {
7091
+ test -z "$ac_c_werror_flag" ||
7092
+ test ! -s conftest.err
7093
+ } && test -s conftest.$ac_objext; then
7094
ac_header_compiler=yes
7096
echo "$as_me: failed program was:" >&5
7097
sed 's/^/| /' conftest.$ac_ext >&5
7099
-ac_header_compiler=no
7100
+ ac_header_compiler=no
7102
-rm -f conftest.$ac_objext conftest.$ac_ext
7103
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7104
-echo "${ECHO_T}$ac_header_compiler" >&6
7106
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7107
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7108
+echo "${ECHO_T}$ac_header_compiler" >&6; }
7110
# Is the header present?
7111
-echo "$as_me:$LINENO: checking nlist.h presence" >&5
7112
-echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
7113
+{ echo "$as_me:$LINENO: checking nlist.h presence" >&5
7114
+echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6; }
7115
cat >conftest.$ac_ext <<_ACEOF
7116
-#line $LINENO "configure"
7119
cat confdefs.h >>conftest.$ac_ext
7120
@@ -6049,23 +7089,22 @@
7121
/* end confdefs.h. */
7124
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7125
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7126
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7127
+case "(($ac_try" in
7128
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7129
+ *) ac_try_echo=$ac_try;;
7131
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7134
grep -v '^ *+' conftest.er1 >conftest.err
7136
cat conftest.err >&5
7137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138
- (exit $ac_status); } >/dev/null; then
7139
- if test -s conftest.err; then
7140
- ac_cpp_err=$ac_c_preproc_warn_flag
7147
-if test -z "$ac_cpp_err"; then
7148
+ (exit $ac_status); } >/dev/null && {
7149
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7150
+ test ! -s conftest.err
7152
ac_header_preproc=yes
7154
echo "$as_me: failed program was:" >&5
7155
@@ -6073,52 +7112,45 @@
7157
ac_header_preproc=no
7160
rm -f conftest.err conftest.$ac_ext
7161
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7162
-echo "${ECHO_T}$ac_header_preproc" >&6
7163
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7164
+echo "${ECHO_T}$ac_header_preproc" >&6; }
7166
# So? What about this header?
7167
-case $ac_header_compiler:$ac_header_preproc in
7169
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7171
{ echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
7172
echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7173
- { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7174
-echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
7177
-## ------------------------------------ ##
7178
-## Report this to bug-autoconf@gnu.org. ##
7179
-## ------------------------------------ ##
7182
- sed "s/^/$as_me: WARNING: /" >&2
7183
+ { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the compiler's result" >&5
7184
+echo "$as_me: WARNING: nlist.h: proceeding with the compiler's result" >&2;}
7185
+ ac_header_preproc=yes
7189
{ echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
7190
echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
7191
- { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
7192
-echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
7193
+ { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
7194
+echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
7195
+ { echo "$as_me:$LINENO: WARNING: nlist.h: see the Autoconf documentation" >&5
7196
+echo "$as_me: WARNING: nlist.h: see the Autoconf documentation" >&2;}
7197
+ { echo "$as_me:$LINENO: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&5
7198
+echo "$as_me: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&2;}
7199
{ echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7200
echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
7203
-## ------------------------------------ ##
7204
-## Report this to bug-autoconf@gnu.org. ##
7205
-## ------------------------------------ ##
7208
- sed "s/^/$as_me: WARNING: /" >&2
7209
+ { echo "$as_me:$LINENO: WARNING: nlist.h: in the future, the compiler will take precedence" >&5
7210
+echo "$as_me: WARNING: nlist.h: in the future, the compiler will take precedence" >&2;}
7214
-echo "$as_me:$LINENO: checking for nlist.h" >&5
7215
-echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
7216
+{ echo "$as_me:$LINENO: checking for nlist.h" >&5
7217
+echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6; }
7218
if test "${ac_cv_header_nlist_h+set}" = set; then
7219
echo $ECHO_N "(cached) $ECHO_C" >&6
7221
ac_cv_header_nlist_h=$ac_header_preproc
7223
-echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7224
-echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
7225
+{ echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7226
+echo "${ECHO_T}$ac_cv_header_nlist_h" >&6; }
7229
if test $ac_cv_header_nlist_h = yes; then
7230
@@ -6129,7 +7161,6 @@
7231
{ echo "$as_me:$LINENO: checking n_un in struct nlist..." >&5
7232
echo "$as_me: checking n_un in struct nlist..." >&6;}
7233
cat >conftest.$ac_ext <<_ACEOF
7234
-#line $LINENO "configure"
7237
cat confdefs.h >>conftest.$ac_ext
7238
@@ -6145,17 +7176,22 @@
7241
rm -f conftest.$ac_objext
7242
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7243
- (eval $ac_compile) 2>&5
7245
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246
- (exit $ac_status); } &&
7247
- { ac_try='test -s conftest.$ac_objext'
7248
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249
- (eval $ac_try) 2>&5
7250
+if { (ac_try="$ac_compile"
7251
+case "(($ac_try" in
7252
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7253
+ *) ac_try_echo=$ac_try;;
7255
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256
+ (eval "$ac_compile") 2>conftest.er1
7258
+ grep -v '^ *+' conftest.er1 >conftest.err
7259
+ rm -f conftest.er1
7260
+ cat conftest.err >&5
7261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262
- (exit $ac_status); }; }; then
7263
+ (exit $ac_status); } && {
7264
+ test -z "$ac_c_werror_flag" ||
7265
+ test ! -s conftest.err
7266
+ } && test -s conftest.$ac_objext; then
7267
cat >>confdefs.h <<\_ACEOF
7268
#define NLIST_NAME_UNION 1
7270
@@ -6164,8 +7200,10 @@
7271
echo "$as_me: failed program was:" >&5
7272
sed 's/^/| /' conftest.$ac_ext >&5
7276
-rm -f conftest.$ac_objext conftest.$ac_ext
7278
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7282
@@ -6173,7 +7211,6 @@
7283
{ echo "$as_me:$LINENO: checking for nlist declaration..." >&5
7284
echo "$as_me: checking for nlist declaration..." >&6;}
7285
cat >conftest.$ac_ext <<_ACEOF
7286
-#line $LINENO "configure"
7289
cat confdefs.h >>conftest.$ac_ext
7290
@@ -6209,7 +7246,6 @@
7291
{ (exit 1); exit 1; }; }
7293
cat >conftest.$ac_ext <<_ACEOF
7294
-#line $LINENO "configure"
7297
cat confdefs.h >>conftest.$ac_ext
7298
@@ -6246,13 +7282,22 @@
7301
rm -f conftest$ac_exeext
7302
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7303
- (eval $ac_link) 2>&5
7304
+if { (ac_try="$ac_link"
7305
+case "(($ac_try" in
7306
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7307
+ *) ac_try_echo=$ac_try;;
7309
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310
+ (eval "$ac_link") 2>&5
7312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7314
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315
- (eval $ac_try) 2>&5
7316
+ { (case "(($ac_try" in
7317
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318
+ *) ac_try_echo=$ac_try;;
7320
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321
+ (eval "$ac_try") 2>&5
7323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324
(exit $ac_status); }; }; then
7325
@@ -6263,8 +7308,10 @@
7326
sed 's/^/| /' conftest.$ac_ext >&5
7329
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7330
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7334
if test "$av" = _Loadavg; then
7335
nlist64='#define nlist nlist64'
7337
@@ -6316,7 +7363,7 @@
7341
-#if !defined(LOADAV_GETLOADAVG) && ((defined(hp300) && !defined(__hpux)) || defined(__sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || (defined(__SVR4) && !defined(__hpux)) || defined(sony_news) || (!defined(__osf__) && defined(__alpha)) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
7342
+#if !defined(LOADAV_GETLOADAVG) && ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || (defined(SVR4) && !defined(__hpux)) || defined(sony_news) || (!defined(__osf__) && defined(__alpha)) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
7344
# if defined(apollo) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX)
7346
@@ -6329,7 +7376,7 @@
7350
-# if defined(MIPS) || defined(__SVR4) || defined(m88k)
7351
+# if defined(MIPS) || defined(SVR4) || defined(m88k)
7353
# else /* not MIPS */
7354
loadscale=1000 /* our default value */
7355
@@ -6384,7 +7431,6 @@
7356
{ echo "$as_me:$LINENO: checking return type of signal handlers..." >&5
7357
echo "$as_me: checking return type of signal handlers..." >&6;}
7358
cat >conftest.$ac_ext <<_ACEOF
7359
-#line $LINENO "configure"
7362
cat confdefs.h >>conftest.$ac_ext
7363
@@ -6405,17 +7451,22 @@
7366
rm -f conftest.$ac_objext
7367
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7368
- (eval $ac_compile) 2>&5
7370
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371
- (exit $ac_status); } &&
7372
- { ac_try='test -s conftest.$ac_objext'
7373
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374
- (eval $ac_try) 2>&5
7375
+if { (ac_try="$ac_compile"
7376
+case "(($ac_try" in
7377
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378
+ *) ac_try_echo=$ac_try;;
7380
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381
+ (eval "$ac_compile") 2>conftest.er1
7383
+ grep -v '^ *+' conftest.er1 >conftest.err
7384
+ rm -f conftest.er1
7385
+ cat conftest.err >&5
7386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387
- (exit $ac_status); }; }; then
7388
+ (exit $ac_status); } && {
7389
+ test -z "$ac_c_werror_flag" ||
7390
+ test ! -s conftest.err
7391
+ } && test -s conftest.$ac_objext; then
7392
cat >>confdefs.h <<\_ACEOF
7395
@@ -6424,12 +7475,13 @@
7396
echo "$as_me: failed program was:" >&5
7397
sed 's/^/| /' conftest.$ac_ext >&5
7401
-rm -f conftest.$ac_objext conftest.$ac_ext
7403
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7404
{ echo "$as_me:$LINENO: checking sigset..." >&5
7405
echo "$as_me: checking sigset..." >&6;}
7406
cat >conftest.$ac_ext <<_ACEOF
7407
-#line $LINENO "configure"
7410
cat confdefs.h >>conftest.$ac_ext
7411
@@ -6454,17 +7506,23 @@
7414
rm -f conftest.$ac_objext conftest$ac_exeext
7415
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7416
- (eval $ac_link) 2>&5
7418
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419
- (exit $ac_status); } &&
7420
- { ac_try='test -s conftest$ac_exeext'
7421
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7422
- (eval $ac_try) 2>&5
7423
+if { (ac_try="$ac_link"
7424
+case "(($ac_try" in
7425
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7426
+ *) ac_try_echo=$ac_try;;
7428
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429
+ (eval "$ac_link") 2>conftest.er1
7431
+ grep -v '^ *+' conftest.er1 >conftest.err
7432
+ rm -f conftest.er1
7433
+ cat conftest.err >&5
7434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435
- (exit $ac_status); }; }; then
7436
+ (exit $ac_status); } && {
7437
+ test -z "$ac_c_werror_flag" ||
7438
+ test ! -s conftest.err
7439
+ } && test -s conftest$ac_exeext &&
7440
+ $as_test_x conftest$ac_exeext; then
7441
cat >>confdefs.h <<\_ACEOF
7444
@@ -6473,8 +7531,11 @@
7445
echo "$as_me: failed program was:" >&5
7446
sed 's/^/| /' conftest.$ac_ext >&5
7450
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7452
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7453
+ conftest$ac_exeext conftest.$ac_ext
7454
{ echo "$as_me:$LINENO: checking signal implementation..." >&5
7455
echo "$as_me: checking signal implementation..." >&6;}
7456
if test "$cross_compiling" = yes; then
7457
@@ -6485,7 +7546,6 @@
7458
{ (exit 1); exit 1; }; }
7460
cat >conftest.$ac_ext <<_ACEOF
7461
-#line $LINENO "configure"
7464
cat confdefs.h >>conftest.$ac_ext
7465
@@ -6527,13 +7587,22 @@
7468
rm -f conftest$ac_exeext
7469
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7470
- (eval $ac_link) 2>&5
7471
+if { (ac_try="$ac_link"
7472
+case "(($ac_try" in
7473
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7474
+ *) ac_try_echo=$ac_try;;
7476
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7477
+ (eval "$ac_link") 2>&5
7479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7481
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482
- (eval $ac_try) 2>&5
7483
+ { (case "(($ac_try" in
7484
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7485
+ *) ac_try_echo=$ac_try;;
7487
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7488
+ (eval "$ac_try") 2>&5
7490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491
(exit $ac_status); }; }; then
7492
@@ -6549,9 +7618,11 @@
7496
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7497
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7505
@@ -6563,7 +7634,6 @@
7506
{ echo "$as_me:$LINENO: checking crypt..." >&5
7507
echo "$as_me: checking crypt..." >&6;}
7508
cat >conftest.$ac_ext <<_ACEOF
7509
-#line $LINENO "configure"
7512
cat confdefs.h >>conftest.$ac_ext
7513
@@ -6579,25 +7649,33 @@
7516
rm -f conftest.$ac_objext conftest$ac_exeext
7517
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7518
- (eval $ac_link) 2>&5
7520
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521
- (exit $ac_status); } &&
7522
- { ac_try='test -s conftest$ac_exeext'
7523
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524
- (eval $ac_try) 2>&5
7525
+if { (ac_try="$ac_link"
7526
+case "(($ac_try" in
7527
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7528
+ *) ac_try_echo=$ac_try;;
7530
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7531
+ (eval "$ac_link") 2>conftest.er1
7533
+ grep -v '^ *+' conftest.er1 >conftest.err
7534
+ rm -f conftest.er1
7535
+ cat conftest.err >&5
7536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537
- (exit $ac_status); }; }; then
7538
+ (exit $ac_status); } && {
7539
+ test -z "$ac_c_werror_flag" ||
7540
+ test ! -s conftest.err
7541
+ } && test -s conftest$ac_exeext &&
7542
+ $as_test_x conftest$ac_exeext; then
7545
echo "$as_me: failed program was:" >&5
7546
sed 's/^/| /' conftest.$ac_ext >&5
7551
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7553
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7554
+ conftest$ac_exeext conftest.$ac_ext
7555
test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
7556
test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
7558
@@ -6605,7 +7683,6 @@
7559
{ echo "$as_me:$LINENO: checking IRIX sun library..." >&5
7560
echo "$as_me: checking IRIX sun library..." >&6;}
7561
cat >conftest.$ac_ext <<_ACEOF
7562
-#line $LINENO "configure"
7565
cat confdefs.h >>conftest.$ac_ext
7566
@@ -6621,30 +7698,37 @@
7569
rm -f conftest.$ac_objext conftest$ac_exeext
7570
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7571
- (eval $ac_link) 2>&5
7573
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574
- (exit $ac_status); } &&
7575
- { ac_try='test -s conftest$ac_exeext'
7576
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577
- (eval $ac_try) 2>&5
7578
+if { (ac_try="$ac_link"
7579
+case "(($ac_try" in
7580
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581
+ *) ac_try_echo=$ac_try;;
7583
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584
+ (eval "$ac_link") 2>conftest.er1
7586
+ grep -v '^ *+' conftest.er1 >conftest.err
7587
+ rm -f conftest.er1
7588
+ cat conftest.err >&5
7589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590
- (exit $ac_status); }; }; then
7591
+ (exit $ac_status); } && {
7592
+ test -z "$ac_c_werror_flag" ||
7593
+ test ! -s conftest.err
7594
+ } && test -s conftest$ac_exeext &&
7595
+ $as_test_x conftest$ac_exeext; then
7598
echo "$as_me: failed program was:" >&5
7599
sed 's/^/| /' conftest.$ac_ext >&5
7604
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7606
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7607
+ conftest$ac_exeext conftest.$ac_ext
7609
{ echo "$as_me:$LINENO: checking syslog..." >&5
7610
echo "$as_me: checking syslog..." >&6;}
7611
cat >conftest.$ac_ext <<_ACEOF
7612
-#line $LINENO "configure"
7615
cat confdefs.h >>conftest.$ac_ext
7616
@@ -6660,28 +7744,33 @@
7619
rm -f conftest.$ac_objext conftest$ac_exeext
7620
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7621
- (eval $ac_link) 2>&5
7623
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624
- (exit $ac_status); } &&
7625
- { ac_try='test -s conftest$ac_exeext'
7626
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7627
- (eval $ac_try) 2>&5
7628
+if { (ac_try="$ac_link"
7629
+case "(($ac_try" in
7630
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7631
+ *) ac_try_echo=$ac_try;;
7633
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634
+ (eval "$ac_link") 2>conftest.er1
7636
+ grep -v '^ *+' conftest.er1 >conftest.err
7637
+ rm -f conftest.er1
7638
+ cat conftest.err >&5
7639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640
- (exit $ac_status); }; }; then
7641
+ (exit $ac_status); } && {
7642
+ test -z "$ac_c_werror_flag" ||
7643
+ test ! -s conftest.err
7644
+ } && test -s conftest$ac_exeext &&
7645
+ $as_test_x conftest$ac_exeext; then
7648
echo "$as_me: failed program was:" >&5
7649
sed 's/^/| /' conftest.$ac_ext >&5
7654
{ echo "$as_me:$LINENO: checking syslog in libbsd.a..." >&5
7655
echo "$as_me: checking syslog in libbsd.a..." >&6;}
7656
cat >conftest.$ac_ext <<_ACEOF
7657
-#line $LINENO "configure"
7660
cat confdefs.h >>conftest.$ac_ext
7661
@@ -6697,36 +7786,45 @@
7664
rm -f conftest.$ac_objext conftest$ac_exeext
7665
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7666
- (eval $ac_link) 2>&5
7668
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669
- (exit $ac_status); } &&
7670
- { ac_try='test -s conftest$ac_exeext'
7671
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672
- (eval $ac_try) 2>&5
7673
+if { (ac_try="$ac_link"
7674
+case "(($ac_try" in
7675
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676
+ *) ac_try_echo=$ac_try;;
7678
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679
+ (eval "$ac_link") 2>conftest.er1
7681
+ grep -v '^ *+' conftest.er1 >conftest.err
7682
+ rm -f conftest.er1
7683
+ cat conftest.err >&5
7684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685
- (exit $ac_status); }; }; then
7686
+ (exit $ac_status); } && {
7687
+ test -z "$ac_c_werror_flag" ||
7688
+ test ! -s conftest.err
7689
+ } && test -s conftest$ac_exeext &&
7690
+ $as_test_x conftest$ac_exeext; then
7691
echo "- found." 1>&6
7694
echo "$as_me: failed program was:" >&5
7695
sed 's/^/| /' conftest.$ac_ext >&5
7699
echo "- bad news: syslog missing." 1>&6
7700
cat >>confdefs.h <<\_ACEOF
7705
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7707
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7708
+ conftest$ac_exeext conftest.$ac_ext
7710
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7712
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7713
+ conftest$ac_exeext conftest.$ac_ext
7715
cat >conftest.$ac_ext <<_ACEOF
7716
-#line $LINENO "configure"
7719
cat confdefs.h >>conftest.$ac_ext
7720
@@ -6747,7 +7845,6 @@
7721
{ echo "$as_me:$LINENO: checking wait union..." >&5
7722
echo "$as_me: checking wait union..." >&6;}
7723
cat >conftest.$ac_ext <<_ACEOF
7724
-#line $LINENO "configure"
7727
cat confdefs.h >>conftest.$ac_ext
7728
@@ -6771,17 +7868,22 @@
7731
rm -f conftest.$ac_objext
7732
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7733
- (eval $ac_compile) 2>&5
7735
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736
- (exit $ac_status); } &&
7737
- { ac_try='test -s conftest.$ac_objext'
7738
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7739
- (eval $ac_try) 2>&5
7740
+if { (ac_try="$ac_compile"
7741
+case "(($ac_try" in
7742
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7743
+ *) ac_try_echo=$ac_try;;
7745
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7746
+ (eval "$ac_compile") 2>conftest.er1
7748
+ grep -v '^ *+' conftest.er1 >conftest.err
7749
+ rm -f conftest.er1
7750
+ cat conftest.err >&5
7751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752
- (exit $ac_status); }; }; then
7753
+ (exit $ac_status); } && {
7754
+ test -z "$ac_c_werror_flag" ||
7755
+ test ! -s conftest.err
7756
+ } && test -s conftest.$ac_objext; then
7757
cat >>confdefs.h <<\_ACEOF
7760
@@ -6790,14 +7892,15 @@
7761
echo "$as_me: failed program was:" >&5
7762
sed 's/^/| /' conftest.$ac_ext >&5
7766
-rm -f conftest.$ac_objext conftest.$ac_ext
7768
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7770
if test -z "$butterfly"; then
7771
{ echo "$as_me:$LINENO: checking for termio or termios..." >&5
7772
echo "$as_me: checking for termio or termios..." >&6;}
7773
cat >conftest.$ac_ext <<_ACEOF
7774
-#line $LINENO "configure"
7777
cat confdefs.h >>conftest.$ac_ext
7778
@@ -6805,23 +7908,22 @@
7779
/* end confdefs.h. */
7782
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7783
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7784
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7785
+case "(($ac_try" in
7786
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7787
+ *) ac_try_echo=$ac_try;;
7789
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7792
grep -v '^ *+' conftest.er1 >conftest.err
7794
cat conftest.err >&5
7795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796
- (exit $ac_status); } >/dev/null; then
7797
- if test -s conftest.err; then
7798
- ac_cpp_err=$ac_c_preproc_warn_flag
7805
-if test -z "$ac_cpp_err"; then
7806
+ (exit $ac_status); } >/dev/null && {
7807
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7808
+ test ! -s conftest.err
7810
cat >>confdefs.h <<\_ACEOF
7813
@@ -6832,7 +7934,6 @@
7815
if test -n "$posix"; then
7816
cat >conftest.$ac_ext <<_ACEOF
7817
-#line $LINENO "configure"
7820
cat confdefs.h >>conftest.$ac_ext
7821
@@ -6840,23 +7941,22 @@
7822
/* end confdefs.h. */
7823
#include <termios.h>
7825
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7826
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7827
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7828
+case "(($ac_try" in
7829
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830
+ *) ac_try_echo=$ac_try;;
7832
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7835
grep -v '^ *+' conftest.er1 >conftest.err
7837
cat conftest.err >&5
7838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839
- (exit $ac_status); } >/dev/null; then
7840
- if test -s conftest.err; then
7841
- ac_cpp_err=$ac_c_preproc_warn_flag
7848
-if test -z "$ac_cpp_err"; then
7849
+ (exit $ac_status); } >/dev/null && {
7850
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7851
+ test ! -s conftest.err
7853
cat >>confdefs.h <<\_ACEOF
7856
@@ -6867,17 +7967,18 @@
7861
rm -f conftest.err conftest.$ac_ext
7866
rm -f conftest.err conftest.$ac_ext
7869
{ echo "$as_me:$LINENO: checking getspnam..." >&5
7870
echo "$as_me: checking getspnam..." >&6;}
7871
cat >conftest.$ac_ext <<_ACEOF
7872
-#line $LINENO "configure"
7875
cat confdefs.h >>conftest.$ac_ext
7876
@@ -6893,17 +7994,23 @@
7879
rm -f conftest.$ac_objext conftest$ac_exeext
7880
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7881
- (eval $ac_link) 2>&5
7883
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884
- (exit $ac_status); } &&
7885
- { ac_try='test -s conftest$ac_exeext'
7886
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887
- (eval $ac_try) 2>&5
7888
+if { (ac_try="$ac_link"
7889
+case "(($ac_try" in
7890
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7891
+ *) ac_try_echo=$ac_try;;
7893
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7894
+ (eval "$ac_link") 2>conftest.er1
7896
+ grep -v '^ *+' conftest.er1 >conftest.err
7897
+ rm -f conftest.er1
7898
+ cat conftest.err >&5
7899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900
- (exit $ac_status); }; }; then
7901
+ (exit $ac_status); } && {
7902
+ test -z "$ac_c_werror_flag" ||
7903
+ test ! -s conftest.err
7904
+ } && test -s conftest$ac_exeext &&
7905
+ $as_test_x conftest$ac_exeext; then
7906
cat >>confdefs.h <<\_ACEOF
7909
@@ -6912,13 +8019,15 @@
7910
echo "$as_me: failed program was:" >&5
7911
sed 's/^/| /' conftest.$ac_ext >&5
7915
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7917
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7918
+ conftest$ac_exeext conftest.$ac_ext
7920
{ echo "$as_me:$LINENO: checking getttyent..." >&5
7921
echo "$as_me: checking getttyent..." >&6;}
7922
cat >conftest.$ac_ext <<_ACEOF
7923
-#line $LINENO "configure"
7926
cat confdefs.h >>conftest.$ac_ext
7927
@@ -6934,17 +8043,23 @@
7930
rm -f conftest.$ac_objext conftest$ac_exeext
7931
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7932
- (eval $ac_link) 2>&5
7934
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935
- (exit $ac_status); } &&
7936
- { ac_try='test -s conftest$ac_exeext'
7937
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938
- (eval $ac_try) 2>&5
7939
+if { (ac_try="$ac_link"
7940
+case "(($ac_try" in
7941
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7942
+ *) ac_try_echo=$ac_try;;
7944
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7945
+ (eval "$ac_link") 2>conftest.er1
7947
+ grep -v '^ *+' conftest.er1 >conftest.err
7948
+ rm -f conftest.er1
7949
+ cat conftest.err >&5
7950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951
- (exit $ac_status); }; }; then
7952
+ (exit $ac_status); } && {
7953
+ test -z "$ac_c_werror_flag" ||
7954
+ test ! -s conftest.err
7955
+ } && test -s conftest$ac_exeext &&
7956
+ $as_test_x conftest$ac_exeext; then
7957
cat >>confdefs.h <<\_ACEOF
7960
@@ -6953,13 +8068,15 @@
7961
echo "$as_me: failed program was:" >&5
7962
sed 's/^/| /' conftest.$ac_ext >&5
7966
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7968
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7969
+ conftest$ac_exeext conftest.$ac_ext
7971
{ echo "$as_me:$LINENO: checking fdwalk..." >&5
7972
echo "$as_me: checking fdwalk..." >&6;}
7973
cat >conftest.$ac_ext <<_ACEOF
7974
-#line $LINENO "configure"
7977
cat confdefs.h >>conftest.$ac_ext
7978
@@ -6975,17 +8092,23 @@
7981
rm -f conftest.$ac_objext conftest$ac_exeext
7982
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7983
- (eval $ac_link) 2>&5
7985
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986
- (exit $ac_status); } &&
7987
- { ac_try='test -s conftest$ac_exeext'
7988
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989
- (eval $ac_try) 2>&5
7990
+if { (ac_try="$ac_link"
7991
+case "(($ac_try" in
7992
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7993
+ *) ac_try_echo=$ac_try;;
7995
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7996
+ (eval "$ac_link") 2>conftest.er1
7998
+ grep -v '^ *+' conftest.er1 >conftest.err
7999
+ rm -f conftest.er1
8000
+ cat conftest.err >&5
8001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002
- (exit $ac_status); }; }; then
8003
+ (exit $ac_status); } && {
8004
+ test -z "$ac_c_werror_flag" ||
8005
+ test ! -s conftest.err
8006
+ } && test -s conftest$ac_exeext &&
8007
+ $as_test_x conftest$ac_exeext; then
8008
cat >>confdefs.h <<\_ACEOF
8009
#define HAVE_FDWALK 1
8011
@@ -6994,8 +8117,11 @@
8012
echo "$as_me: failed program was:" >&5
8013
sed 's/^/| /' conftest.$ac_ext >&5
8017
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8019
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8020
+ conftest$ac_exeext conftest.$ac_ext
8022
{ echo "$as_me:$LINENO: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&5
8023
echo "$as_me: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&6;}
8024
@@ -7007,7 +8133,6 @@
8025
{ (exit 1); exit 1; }; }
8027
cat >conftest.$ac_ext <<_ACEOF
8028
-#line $LINENO "configure"
8031
cat confdefs.h >>conftest.$ac_ext
8032
@@ -7028,13 +8153,22 @@
8035
rm -f conftest$ac_exeext
8036
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8037
- (eval $ac_link) 2>&5
8038
+if { (ac_try="$ac_link"
8039
+case "(($ac_try" in
8040
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8041
+ *) ac_try_echo=$ac_try;;
8043
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8044
+ (eval "$ac_link") 2>&5
8046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8048
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049
- (eval $ac_try) 2>&5
8050
+ { (case "(($ac_try" in
8051
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8052
+ *) ac_try_echo=$ac_try;;
8054
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055
+ (eval "$ac_try") 2>&5
8057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058
(exit $ac_status); }; }; then
8059
@@ -7048,9 +8182,11 @@
8060
sed 's/^/| /' conftest.$ac_ext >&5
8063
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8064
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8069
if test "$cross_compiling" = yes; then
8070
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8071
See \`config.log' for more details." >&5
8072
@@ -7059,7 +8195,6 @@
8073
{ (exit 1); exit 1; }; }
8075
cat >conftest.$ac_ext <<_ACEOF
8076
-#line $LINENO "configure"
8079
cat confdefs.h >>conftest.$ac_ext
8080
@@ -7081,13 +8216,22 @@
8083
rm -f conftest$ac_exeext
8084
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8085
- (eval $ac_link) 2>&5
8086
+if { (ac_try="$ac_link"
8087
+case "(($ac_try" in
8088
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089
+ *) ac_try_echo=$ac_try;;
8091
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8092
+ (eval "$ac_link") 2>&5
8094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8096
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097
- (eval $ac_try) 2>&5
8098
+ { (case "(($ac_try" in
8099
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8100
+ *) ac_try_echo=$ac_try;;
8102
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8103
+ (eval "$ac_try") 2>&5
8105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106
(exit $ac_status); }; }; then
8107
@@ -7101,10 +8245,12 @@
8108
sed 's/^/| /' conftest.$ac_ext >&5
8111
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8112
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8118
if test "$cross_compiling" = yes; then
8119
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8120
See \`config.log' for more details." >&5
8121
@@ -7113,7 +8259,6 @@
8122
{ (exit 1); exit 1; }; }
8124
cat >conftest.$ac_ext <<_ACEOF
8125
-#line $LINENO "configure"
8128
cat confdefs.h >>conftest.$ac_ext
8129
@@ -7135,13 +8280,22 @@
8132
rm -f conftest$ac_exeext
8133
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134
- (eval $ac_link) 2>&5
8135
+if { (ac_try="$ac_link"
8136
+case "(($ac_try" in
8137
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8138
+ *) ac_try_echo=$ac_try;;
8140
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8141
+ (eval "$ac_link") 2>&5
8143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8145
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146
- (eval $ac_try) 2>&5
8147
+ { (case "(($ac_try" in
8148
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8149
+ *) ac_try_echo=$ac_try;;
8151
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8152
+ (eval "$ac_try") 2>&5
8154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155
(exit $ac_status); }; }; then
8156
@@ -7155,20 +8309,22 @@
8157
sed 's/^/| /' conftest.$ac_ext >&5
8160
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8161
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8164
-echo "$as_me:$LINENO: checking long file names" >&5
8165
-echo $ECHO_N "checking long file names... $ECHO_C" >&6
8168
+{ echo "$as_me:$LINENO: checking long file names" >&5
8169
+echo $ECHO_N "checking long file names... $ECHO_C" >&6; }
8170
(echo 1 > /tmp/conftest9012345) 2>/dev/null
8171
(echo 2 > /tmp/conftest9012346) 2>/dev/null
8172
val=`cat /tmp/conftest9012345 2>/dev/null`
8173
if test -f /tmp/conftest9012345 && test "$val" = 1; then
8174
-echo "$as_me:$LINENO: result: yes" >&5
8175
-echo "${ECHO_T}yes" >&6
8176
+{ echo "$as_me:$LINENO: result: yes" >&5
8177
+echo "${ECHO_T}yes" >&6; }
8179
-echo "$as_me:$LINENO: result: no" >&5
8180
-echo "${ECHO_T}no" >&6
8181
+{ echo "$as_me:$LINENO: result: no" >&5
8182
+echo "${ECHO_T}no" >&6; }
8183
cat >>confdefs.h <<\_ACEOF
8186
@@ -7176,38 +8332,43 @@
8188
rm -f /tmp/conftest*
8190
-echo "$as_me:$LINENO: checking for vsprintf" >&5
8191
-echo $ECHO_N "checking for vsprintf... $ECHO_C" >&6
8192
+{ echo "$as_me:$LINENO: checking for vsprintf" >&5
8193
+echo $ECHO_N "checking for vsprintf... $ECHO_C" >&6; }
8194
cat >conftest.$ac_ext <<_ACEOF
8195
-#line $LINENO "configure"
8198
cat confdefs.h >>conftest.$ac_ext
8199
cat >>conftest.$ac_ext <<_ACEOF
8200
/* end confdefs.h. */
8202
+#include <stdarg.h>
8207
+va_list valist; vsprintf(0,0,valist);
8212
rm -f conftest.$ac_objext conftest$ac_exeext
8213
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214
- (eval $ac_link) 2>&5
8216
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217
- (exit $ac_status); } &&
8218
- { ac_try='test -s conftest$ac_exeext'
8219
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8220
- (eval $ac_try) 2>&5
8221
+if { (ac_try="$ac_link"
8222
+case "(($ac_try" in
8223
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8224
+ *) ac_try_echo=$ac_try;;
8226
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8227
+ (eval "$ac_link") 2>conftest.er1
8229
+ grep -v '^ *+' conftest.er1 >conftest.err
8230
+ rm -f conftest.er1
8231
+ cat conftest.err >&5
8232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233
- (exit $ac_status); }; }; then
8234
- echo "$as_me:$LINENO: result: yes" >&5
8235
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8236
+ (exit $ac_status); } && {
8237
+ test -z "$ac_c_werror_flag" ||
8238
+ test ! -s conftest.err
8239
+ } && test -s conftest$ac_exeext &&
8240
+ $as_test_x conftest$ac_exeext; then
8241
+ { echo "$as_me:$LINENO: result: yes" >&5
8242
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8243
#define USEVARARGS 1
8246
@@ -7215,10 +8376,12 @@
8247
echo "$as_me: failed program was:" >&5
8248
sed 's/^/| /' conftest.$ac_ext >&5
8250
-echo "$as_me:$LINENO: result: no" >&5
8251
-echo "${ECHO_T}no" >&6
8252
+ { echo "$as_me:$LINENO: result: no" >&5
8253
+echo "${ECHO_T}no" >&6; }
8255
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8257
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8258
+ conftest$ac_exeext conftest.$ac_ext
8262
@@ -7228,13 +8391,12 @@
8264
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8265
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8266
-echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8267
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8268
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
8269
+{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8270
+echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
8271
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8272
echo $ECHO_N "(cached) $ECHO_C" >&6
8274
cat >conftest.$ac_ext <<_ACEOF
8275
-#line $LINENO "configure"
8278
cat confdefs.h >>conftest.$ac_ext
8279
@@ -7253,28 +8415,35 @@
8282
rm -f conftest.$ac_objext
8283
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8284
- (eval $ac_compile) 2>&5
8286
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287
- (exit $ac_status); } &&
8288
- { ac_try='test -s conftest.$ac_objext'
8289
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290
- (eval $ac_try) 2>&5
8291
+if { (ac_try="$ac_compile"
8292
+case "(($ac_try" in
8293
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8294
+ *) ac_try_echo=$ac_try;;
8296
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297
+ (eval "$ac_compile") 2>conftest.er1
8299
+ grep -v '^ *+' conftest.er1 >conftest.err
8300
+ rm -f conftest.er1
8301
+ cat conftest.err >&5
8302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303
- (exit $ac_status); }; }; then
8304
+ (exit $ac_status); } && {
8305
+ test -z "$ac_c_werror_flag" ||
8306
+ test ! -s conftest.err
8307
+ } && test -s conftest.$ac_objext; then
8308
eval "$as_ac_Header=yes"
8310
echo "$as_me: failed program was:" >&5
8311
sed 's/^/| /' conftest.$ac_ext >&5
8313
-eval "$as_ac_Header=no"
8314
+ eval "$as_ac_Header=no"
8316
-rm -f conftest.$ac_objext conftest.$ac_ext
8318
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8320
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8321
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8322
+ac_res=`eval echo '${'$as_ac_Header'}'`
8323
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
8324
+echo "${ECHO_T}$ac_res" >&6; }
8325
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8326
cat >>confdefs.h <<_ACEOF
8327
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8328
@@ -7286,226 +8455,179 @@
8330
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8331
if test $ac_header_dirent = dirent.h; then
8332
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
8333
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8334
+ { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8335
+echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8336
if test "${ac_cv_search_opendir+set}" = set; then
8337
echo $ECHO_N "(cached) $ECHO_C" >&6
8339
ac_func_search_save_LIBS=$LIBS
8340
-ac_cv_search_opendir=no
8341
cat >conftest.$ac_ext <<_ACEOF
8342
-#line $LINENO "configure"
8345
cat confdefs.h >>conftest.$ac_ext
8346
cat >>conftest.$ac_ext <<_ACEOF
8347
/* end confdefs.h. */
8349
-/* Override any gcc2 internal prototype to avoid an error. */
8350
+/* Override any GCC internal prototype to avoid an error.
8351
+ Use char because int might match the return type of a GCC
8352
+ builtin and then its argument prototype would still apply. */
8356
-/* We use char because int might match the return type of a gcc2
8357
- builtin and then its argument prototype would still apply. */
8368
-rm -f conftest.$ac_objext conftest$ac_exeext
8369
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8370
- (eval $ac_link) 2>&5
8372
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373
- (exit $ac_status); } &&
8374
- { ac_try='test -s conftest$ac_exeext'
8375
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376
- (eval $ac_try) 2>&5
8377
+for ac_lib in '' dir; do
8378
+ if test -z "$ac_lib"; then
8379
+ ac_res="none required"
8382
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8384
+ rm -f conftest.$ac_objext conftest$ac_exeext
8385
+if { (ac_try="$ac_link"
8386
+case "(($ac_try" in
8387
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8388
+ *) ac_try_echo=$ac_try;;
8390
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8391
+ (eval "$ac_link") 2>conftest.er1
8393
+ grep -v '^ *+' conftest.er1 >conftest.err
8394
+ rm -f conftest.er1
8395
+ cat conftest.err >&5
8396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397
- (exit $ac_status); }; }; then
8398
- ac_cv_search_opendir="none required"
8399
+ (exit $ac_status); } && {
8400
+ test -z "$ac_c_werror_flag" ||
8401
+ test ! -s conftest.err
8402
+ } && test -s conftest$ac_exeext &&
8403
+ $as_test_x conftest$ac_exeext; then
8404
+ ac_cv_search_opendir=$ac_res
8406
echo "$as_me: failed program was:" >&5
8407
sed 's/^/| /' conftest.$ac_ext >&5
8410
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8411
-if test "$ac_cv_search_opendir" = no; then
8412
- for ac_lib in dir; do
8413
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8414
- cat >conftest.$ac_ext <<_ACEOF
8415
-#line $LINENO "configure"
8418
-cat confdefs.h >>conftest.$ac_ext
8419
-cat >>conftest.$ac_ext <<_ACEOF
8420
-/* end confdefs.h. */
8422
-/* Override any gcc2 internal prototype to avoid an error. */
8426
-/* We use char because int might match the return type of a gcc2
8427
- builtin and then its argument prototype would still apply. */
8437
-rm -f conftest.$ac_objext conftest$ac_exeext
8438
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439
- (eval $ac_link) 2>&5
8441
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442
- (exit $ac_status); } &&
8443
- { ac_try='test -s conftest$ac_exeext'
8444
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8445
- (eval $ac_try) 2>&5
8447
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448
- (exit $ac_status); }; }; then
8449
- ac_cv_search_opendir="-l$ac_lib"
8452
- echo "$as_me: failed program was:" >&5
8453
-sed 's/^/| /' conftest.$ac_ext >&5
8456
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8457
+ conftest$ac_exeext
8458
+ if test "${ac_cv_search_opendir+set}" = set; then
8461
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8464
+if test "${ac_cv_search_opendir+set}" = set; then
8467
+ ac_cv_search_opendir=no
8469
+rm conftest.$ac_ext
8470
LIBS=$ac_func_search_save_LIBS
8472
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8473
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
8474
-if test "$ac_cv_search_opendir" != no; then
8475
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8476
+{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8477
+echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8478
+ac_res=$ac_cv_search_opendir
8479
+if test "$ac_res" != no; then
8480
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8485
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
8486
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8487
+ { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8488
+echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8489
if test "${ac_cv_search_opendir+set}" = set; then
8490
echo $ECHO_N "(cached) $ECHO_C" >&6
8492
ac_func_search_save_LIBS=$LIBS
8493
-ac_cv_search_opendir=no
8494
cat >conftest.$ac_ext <<_ACEOF
8495
-#line $LINENO "configure"
8498
cat confdefs.h >>conftest.$ac_ext
8499
cat >>conftest.$ac_ext <<_ACEOF
8500
/* end confdefs.h. */
8502
-/* Override any gcc2 internal prototype to avoid an error. */
8503
+/* Override any GCC internal prototype to avoid an error.
8504
+ Use char because int might match the return type of a GCC
8505
+ builtin and then its argument prototype would still apply. */
8509
-/* We use char because int might match the return type of a gcc2
8510
- builtin and then its argument prototype would still apply. */
8521
-rm -f conftest.$ac_objext conftest$ac_exeext
8522
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8523
- (eval $ac_link) 2>&5
8525
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526
- (exit $ac_status); } &&
8527
- { ac_try='test -s conftest$ac_exeext'
8528
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529
- (eval $ac_try) 2>&5
8530
+for ac_lib in '' x; do
8531
+ if test -z "$ac_lib"; then
8532
+ ac_res="none required"
8535
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8537
+ rm -f conftest.$ac_objext conftest$ac_exeext
8538
+if { (ac_try="$ac_link"
8539
+case "(($ac_try" in
8540
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541
+ *) ac_try_echo=$ac_try;;
8543
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544
+ (eval "$ac_link") 2>conftest.er1
8546
+ grep -v '^ *+' conftest.er1 >conftest.err
8547
+ rm -f conftest.er1
8548
+ cat conftest.err >&5
8549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550
- (exit $ac_status); }; }; then
8551
- ac_cv_search_opendir="none required"
8552
+ (exit $ac_status); } && {
8553
+ test -z "$ac_c_werror_flag" ||
8554
+ test ! -s conftest.err
8555
+ } && test -s conftest$ac_exeext &&
8556
+ $as_test_x conftest$ac_exeext; then
8557
+ ac_cv_search_opendir=$ac_res
8559
echo "$as_me: failed program was:" >&5
8560
sed 's/^/| /' conftest.$ac_ext >&5
8563
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8564
-if test "$ac_cv_search_opendir" = no; then
8565
- for ac_lib in x; do
8566
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8567
- cat >conftest.$ac_ext <<_ACEOF
8568
-#line $LINENO "configure"
8571
-cat confdefs.h >>conftest.$ac_ext
8572
-cat >>conftest.$ac_ext <<_ACEOF
8573
-/* end confdefs.h. */
8575
-/* Override any gcc2 internal prototype to avoid an error. */
8579
-/* We use char because int might match the return type of a gcc2
8580
- builtin and then its argument prototype would still apply. */
8590
-rm -f conftest.$ac_objext conftest$ac_exeext
8591
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8592
- (eval $ac_link) 2>&5
8594
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595
- (exit $ac_status); } &&
8596
- { ac_try='test -s conftest$ac_exeext'
8597
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598
- (eval $ac_try) 2>&5
8600
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601
- (exit $ac_status); }; }; then
8602
- ac_cv_search_opendir="-l$ac_lib"
8605
- echo "$as_me: failed program was:" >&5
8606
-sed 's/^/| /' conftest.$ac_ext >&5
8609
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8610
+ conftest$ac_exeext
8611
+ if test "${ac_cv_search_opendir+set}" = set; then
8614
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8617
+if test "${ac_cv_search_opendir+set}" = set; then
8620
+ ac_cv_search_opendir=no
8622
+rm conftest.$ac_ext
8623
LIBS=$ac_func_search_save_LIBS
8625
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8626
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
8627
-if test "$ac_cv_search_opendir" != no; then
8628
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8629
+{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8630
+echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8631
+ac_res=$ac_cv_search_opendir
8632
+if test "$ac_res" != no; then
8633
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8640
-echo "$as_me:$LINENO: checking for setenv" >&5
8641
-echo $ECHO_N "checking for setenv... $ECHO_C" >&6
8642
+{ echo "$as_me:$LINENO: checking for setenv" >&5
8643
+echo $ECHO_N "checking for setenv... $ECHO_C" >&6; }
8644
cat >conftest.$ac_ext <<_ACEOF
8645
-#line $LINENO "configure"
8648
cat confdefs.h >>conftest.$ac_ext
8649
@@ -7521,19 +8643,25 @@
8652
rm -f conftest.$ac_objext conftest$ac_exeext
8653
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8654
- (eval $ac_link) 2>&5
8656
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657
- (exit $ac_status); } &&
8658
- { ac_try='test -s conftest$ac_exeext'
8659
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8660
- (eval $ac_try) 2>&5
8661
+if { (ac_try="$ac_link"
8662
+case "(($ac_try" in
8663
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8664
+ *) ac_try_echo=$ac_try;;
8666
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8667
+ (eval "$ac_link") 2>conftest.er1
8669
+ grep -v '^ *+' conftest.er1 >conftest.err
8670
+ rm -f conftest.er1
8671
+ cat conftest.err >&5
8672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673
- (exit $ac_status); }; }; then
8674
- echo "$as_me:$LINENO: result: yes" >&5
8675
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8676
+ (exit $ac_status); } && {
8677
+ test -z "$ac_c_werror_flag" ||
8678
+ test ! -s conftest.err
8679
+ } && test -s conftest$ac_exeext &&
8680
+ $as_test_x conftest$ac_exeext; then
8681
+ { echo "$as_me:$LINENO: result: yes" >&5
8682
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8686
@@ -7541,12 +8669,11 @@
8687
echo "$as_me: failed program was:" >&5
8688
sed 's/^/| /' conftest.$ac_ext >&5
8690
-echo "$as_me:$LINENO: result: no" >&5
8691
-echo "${ECHO_T}no" >&6
8692
-echo "$as_me:$LINENO: checking for putenv" >&5
8693
-echo $ECHO_N "checking for putenv... $ECHO_C" >&6
8694
+ { echo "$as_me:$LINENO: result: no" >&5
8695
+echo "${ECHO_T}no" >&6; }
8696
+{ echo "$as_me:$LINENO: checking for putenv" >&5
8697
+echo $ECHO_N "checking for putenv... $ECHO_C" >&6; }
8698
cat >conftest.$ac_ext <<_ACEOF
8699
-#line $LINENO "configure"
8702
cat confdefs.h >>conftest.$ac_ext
8703
@@ -7562,37 +8689,46 @@
8706
rm -f conftest.$ac_objext conftest$ac_exeext
8707
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8708
- (eval $ac_link) 2>&5
8710
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711
- (exit $ac_status); } &&
8712
- { ac_try='test -s conftest$ac_exeext'
8713
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714
- (eval $ac_try) 2>&5
8715
+if { (ac_try="$ac_link"
8716
+case "(($ac_try" in
8717
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8718
+ *) ac_try_echo=$ac_try;;
8720
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8721
+ (eval "$ac_link") 2>conftest.er1
8723
+ grep -v '^ *+' conftest.er1 >conftest.err
8724
+ rm -f conftest.er1
8725
+ cat conftest.err >&5
8726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727
- (exit $ac_status); }; }; then
8728
- echo "$as_me:$LINENO: result: yes" >&5
8729
-echo "${ECHO_T}yes" >&6
8730
+ (exit $ac_status); } && {
8731
+ test -z "$ac_c_werror_flag" ||
8732
+ test ! -s conftest.err
8733
+ } && test -s conftest$ac_exeext &&
8734
+ $as_test_x conftest$ac_exeext; then
8735
+ { echo "$as_me:$LINENO: result: yes" >&5
8736
+echo "${ECHO_T}yes" >&6; }
8738
echo "$as_me: failed program was:" >&5
8739
sed 's/^/| /' conftest.$ac_ext >&5
8741
-echo "$as_me:$LINENO: result: no" >&5
8742
-echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\_ACEOF
8743
+ { echo "$as_me:$LINENO: result: no" >&5
8744
+echo "${ECHO_T}no" >&6; };cat >>confdefs.h <<\_ACEOF
8745
#define NEEDPUTENV 1
8750
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8752
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8753
+ conftest$ac_exeext conftest.$ac_ext
8755
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8756
-echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
8757
-echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
8759
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8760
+ conftest$ac_exeext conftest.$ac_ext
8761
+{ echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
8762
+echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6; }
8763
cat >conftest.$ac_ext <<_ACEOF
8764
-#line $LINENO "configure"
8767
cat confdefs.h >>conftest.$ac_ext
8768
@@ -7610,19 +8746,25 @@
8771
rm -f conftest.$ac_objext conftest$ac_exeext
8772
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8773
- (eval $ac_link) 2>&5
8775
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776
- (exit $ac_status); } &&
8777
- { ac_try='test -s conftest$ac_exeext'
8778
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779
- (eval $ac_try) 2>&5
8780
+if { (ac_try="$ac_link"
8781
+case "(($ac_try" in
8782
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8783
+ *) ac_try_echo=$ac_try;;
8785
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8786
+ (eval "$ac_link") 2>conftest.er1
8788
+ grep -v '^ *+' conftest.er1 >conftest.err
8789
+ rm -f conftest.er1
8790
+ cat conftest.err >&5
8791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792
- (exit $ac_status); }; }; then
8793
- echo "$as_me:$LINENO: result: yes" >&5
8794
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8795
+ (exit $ac_status); } && {
8796
+ test -z "$ac_c_werror_flag" ||
8797
+ test ! -s conftest.err
8798
+ } && test -s conftest$ac_exeext &&
8799
+ $as_test_x conftest$ac_exeext; then
8800
+ { echo "$as_me:$LINENO: result: yes" >&5
8801
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8802
#define HAVE_NL_LANGINFO 1
8805
@@ -7630,114 +8772,93 @@
8806
echo "$as_me: failed program was:" >&5
8807
sed 's/^/| /' conftest.$ac_ext >&5
8809
-echo "$as_me:$LINENO: result: no" >&5
8810
-echo "${ECHO_T}no" >&6
8811
+ { echo "$as_me:$LINENO: result: no" >&5
8812
+echo "${ECHO_T}no" >&6; }
8814
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8816
-echo "$as_me:$LINENO: checking for library containing gethostname" >&5
8817
-echo $ECHO_N "checking for library containing gethostname... $ECHO_C" >&6
8818
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8819
+ conftest$ac_exeext conftest.$ac_ext
8821
+{ echo "$as_me:$LINENO: checking for library containing gethostname" >&5
8822
+echo $ECHO_N "checking for library containing gethostname... $ECHO_C" >&6; }
8823
if test "${ac_cv_search_gethostname+set}" = set; then
8824
echo $ECHO_N "(cached) $ECHO_C" >&6
8826
ac_func_search_save_LIBS=$LIBS
8827
-ac_cv_search_gethostname=no
8828
cat >conftest.$ac_ext <<_ACEOF
8829
-#line $LINENO "configure"
8832
cat confdefs.h >>conftest.$ac_ext
8833
cat >>conftest.$ac_ext <<_ACEOF
8834
/* end confdefs.h. */
8836
-/* Override any gcc2 internal prototype to avoid an error. */
8837
+/* Override any GCC internal prototype to avoid an error.
8838
+ Use char because int might match the return type of a GCC
8839
+ builtin and then its argument prototype would still apply. */
8843
-/* We use char because int might match the return type of a gcc2
8844
- builtin and then its argument prototype would still apply. */
8845
char gethostname ();
8850
+return gethostname ();
8855
-rm -f conftest.$ac_objext conftest$ac_exeext
8856
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8857
- (eval $ac_link) 2>&5
8859
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860
- (exit $ac_status); } &&
8861
- { ac_try='test -s conftest$ac_exeext'
8862
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8863
- (eval $ac_try) 2>&5
8864
+for ac_lib in '' nsl; do
8865
+ if test -z "$ac_lib"; then
8866
+ ac_res="none required"
8869
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8871
+ rm -f conftest.$ac_objext conftest$ac_exeext
8872
+if { (ac_try="$ac_link"
8873
+case "(($ac_try" in
8874
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875
+ *) ac_try_echo=$ac_try;;
8877
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878
+ (eval "$ac_link") 2>conftest.er1
8880
+ grep -v '^ *+' conftest.er1 >conftest.err
8881
+ rm -f conftest.er1
8882
+ cat conftest.err >&5
8883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884
- (exit $ac_status); }; }; then
8885
- ac_cv_search_gethostname="none required"
8886
+ (exit $ac_status); } && {
8887
+ test -z "$ac_c_werror_flag" ||
8888
+ test ! -s conftest.err
8889
+ } && test -s conftest$ac_exeext &&
8890
+ $as_test_x conftest$ac_exeext; then
8891
+ ac_cv_search_gethostname=$ac_res
8893
echo "$as_me: failed program was:" >&5
8894
sed 's/^/| /' conftest.$ac_ext >&5
8898
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8899
-if test "$ac_cv_search_gethostname" = no; then
8900
- for ac_lib in nsl; do
8901
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8902
- cat >conftest.$ac_ext <<_ACEOF
8903
-#line $LINENO "configure"
8906
-cat confdefs.h >>conftest.$ac_ext
8907
-cat >>conftest.$ac_ext <<_ACEOF
8908
-/* end confdefs.h. */
8910
-/* Override any gcc2 internal prototype to avoid an error. */
8914
-/* We use char because int might match the return type of a gcc2
8915
- builtin and then its argument prototype would still apply. */
8916
-char gethostname ();
8925
-rm -f conftest.$ac_objext conftest$ac_exeext
8926
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8927
- (eval $ac_link) 2>&5
8929
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930
- (exit $ac_status); } &&
8931
- { ac_try='test -s conftest$ac_exeext'
8932
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933
- (eval $ac_try) 2>&5
8935
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936
- (exit $ac_status); }; }; then
8937
- ac_cv_search_gethostname="-l$ac_lib"
8940
- echo "$as_me: failed program was:" >&5
8941
-sed 's/^/| /' conftest.$ac_ext >&5
8943
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8944
+ conftest$ac_exeext
8945
+ if test "${ac_cv_search_gethostname+set}" = set; then
8948
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8951
+if test "${ac_cv_search_gethostname+set}" = set; then
8954
+ ac_cv_search_gethostname=no
8956
+rm conftest.$ac_ext
8957
LIBS=$ac_func_search_save_LIBS
8959
-echo "$as_me:$LINENO: result: $ac_cv_search_gethostname" >&5
8960
-echo "${ECHO_T}$ac_cv_search_gethostname" >&6
8961
-if test "$ac_cv_search_gethostname" != no; then
8962
- test "$ac_cv_search_gethostname" = "none required" || LIBS="$ac_cv_search_gethostname $LIBS"
8963
+{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostname" >&5
8964
+echo "${ECHO_T}$ac_cv_search_gethostname" >&6; }
8965
+ac_res=$ac_cv_search_gethostname
8966
+if test "$ac_res" != no; then
8967
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8971
@@ -7756,78 +8877,88 @@
8972
for ac_func in rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime
8974
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8975
-echo "$as_me:$LINENO: checking for $ac_func" >&5
8976
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8977
-if eval "test \"\${$as_ac_var+set}\" = set"; then
8978
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8979
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8980
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8981
echo $ECHO_N "(cached) $ECHO_C" >&6
8983
cat >conftest.$ac_ext <<_ACEOF
8984
-#line $LINENO "configure"
8987
cat confdefs.h >>conftest.$ac_ext
8988
cat >>conftest.$ac_ext <<_ACEOF
8989
/* end confdefs.h. */
8990
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8991
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
8992
+#define $ac_func innocuous_$ac_func
8994
/* System header to define __stub macros and hopefully few prototypes,
8995
which can conflict with char $ac_func (); below.
8996
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8997
<limits.h> exists even on freestanding compilers. */
9000
# include <limits.h>
9002
# include <assert.h>
9004
-/* Override any gcc2 internal prototype to avoid an error. */
9008
+/* Override any GCC internal prototype to avoid an error.
9009
+ Use char because int might match the return type of a GCC
9010
+ builtin and then its argument prototype would still apply. */
9015
-/* We use char because int might match the return type of a gcc2
9016
- builtin and then its argument prototype would still apply. */
9018
/* The GNU C library defines this for functions which it implements
9019
to always fail with ENOSYS. Some functions are actually named
9020
something starting with __ and the normal name is an alias. */
9021
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9022
+#if defined __stub_$ac_func || defined __stub___$ac_func
9025
-char (*f) () = $ac_func;
9034
-return f != $ac_func;
9035
+return $ac_func ();
9040
rm -f conftest.$ac_objext conftest$ac_exeext
9041
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9042
- (eval $ac_link) 2>&5
9044
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045
- (exit $ac_status); } &&
9046
- { ac_try='test -s conftest$ac_exeext'
9047
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048
- (eval $ac_try) 2>&5
9049
+if { (ac_try="$ac_link"
9050
+case "(($ac_try" in
9051
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052
+ *) ac_try_echo=$ac_try;;
9054
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055
+ (eval "$ac_link") 2>conftest.er1
9057
+ grep -v '^ *+' conftest.er1 >conftest.err
9058
+ rm -f conftest.er1
9059
+ cat conftest.err >&5
9060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061
- (exit $ac_status); }; }; then
9062
+ (exit $ac_status); } && {
9063
+ test -z "$ac_c_werror_flag" ||
9064
+ test ! -s conftest.err
9065
+ } && test -s conftest$ac_exeext &&
9066
+ $as_test_x conftest$ac_exeext; then
9067
eval "$as_ac_var=yes"
9069
echo "$as_me: failed program was:" >&5
9070
sed 's/^/| /' conftest.$ac_ext >&5
9072
-eval "$as_ac_var=no"
9073
+ eval "$as_ac_var=no"
9075
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9077
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9078
+ conftest$ac_exeext conftest.$ac_ext
9080
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9081
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9082
+ac_res=`eval echo '${'$as_ac_var'}'`
9083
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9084
+echo "${ECHO_T}$ac_res" >&6; }
9085
if test `eval echo '${'$as_ac_var'}'` = yes; then
9086
cat >>confdefs.h <<_ACEOF
9087
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9088
@@ -7837,18 +8968,17 @@
9092
-# Check whether --enable-pam or --disable-pam was given.
9093
+# Check whether --enable-pam was given.
9094
if test "${enable_pam+set}" = set; then
9095
- enableval="$enable_pam"
9096
+ enableval=$enable_pam;
9100
if test "$enable_pam" = "yes"; then
9101
- echo "$as_me:$LINENO: checking for PAM support" >&5
9102
-echo $ECHO_N "checking for PAM support... $ECHO_C" >&6
9103
+ { echo "$as_me:$LINENO: checking for PAM support" >&5
9104
+echo $ECHO_N "checking for PAM support... $ECHO_C" >&6; }
9107
cat >conftest.$ac_ext <<_ACEOF
9108
-#line $LINENO "configure"
9111
cat confdefs.h >>conftest.$ac_ext
9112
@@ -7868,19 +8998,25 @@
9115
rm -f conftest.$ac_objext conftest$ac_exeext
9116
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117
- (eval $ac_link) 2>&5
9119
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120
- (exit $ac_status); } &&
9121
- { ac_try='test -s conftest$ac_exeext'
9122
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123
- (eval $ac_try) 2>&5
9124
+if { (ac_try="$ac_link"
9125
+case "(($ac_try" in
9126
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9127
+ *) ac_try_echo=$ac_try;;
9129
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9130
+ (eval "$ac_link") 2>conftest.er1
9132
+ grep -v '^ *+' conftest.er1 >conftest.err
9133
+ rm -f conftest.er1
9134
+ cat conftest.err >&5
9135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136
- (exit $ac_status); }; }; then
9137
- echo "$as_me:$LINENO: result: yes" >&5
9138
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
9139
+ (exit $ac_status); } && {
9140
+ test -z "$ac_c_werror_flag" ||
9141
+ test ! -s conftest.err
9142
+ } && test -s conftest$ac_exeext &&
9143
+ $as_test_x conftest$ac_exeext; then
9144
+ { echo "$as_me:$LINENO: result: yes" >&5
9145
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
9149
@@ -7888,50 +9024,52 @@
9150
echo "$as_me: failed program was:" >&5
9151
sed 's/^/| /' conftest.$ac_ext >&5
9153
-echo "$as_me:$LINENO: result: no" >&5
9154
-echo "${ECHO_T}no" >&6;LIBS="$oldlibs"
9155
+ { echo "$as_me:$LINENO: result: no" >&5
9156
+echo "${ECHO_T}no" >&6; };LIBS="$oldlibs"
9158
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9160
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9161
+ conftest$ac_exeext conftest.$ac_ext
9164
-# Check whether --enable-use_locale or --disable-use_locale was given.
9165
+# Check whether --enable-use_locale was given.
9166
if test "${enable_use_locale+set}" = set; then
9167
- enableval="$enable_use_locale"
9168
+ enableval=$enable_use_locale;
9172
if test "$enable_use_locale" = "yes"; then
9173
cat >>confdefs.h <<\_ACEOF
9174
#define USE_LOCALE 1
9178
-# Check whether --enable-telnet or --disable-telnet was given.
9179
+# Check whether --enable-telnet was given.
9180
if test "${enable_telnet+set}" = set; then
9181
- enableval="$enable_telnet"
9182
+ enableval=$enable_telnet;
9186
if test "$enable_telnet" = "yes"; then
9187
cat >>confdefs.h <<\_ACEOF
9188
#define BUILTIN_TELNET 1
9192
-# Check whether --enable-colors256 or --disable-colors256 was given.
9193
+# Check whether --enable-colors256 was given.
9194
if test "${enable_colors256+set}" = set; then
9195
- enableval="$enable_colors256"
9196
+ enableval=$enable_colors256;
9200
if test "$enable_colors256" = "yes"; then
9201
cat >>confdefs.h <<\_ACEOF
9206
-# Check whether --enable-rxvt_osc or --disable-rxvt_osc was given.
9207
+# Check whether --enable-rxvt_osc was given.
9208
if test "${enable_rxvt_osc+set}" = set; then
9209
- enableval="$enable_rxvt_osc"
9210
+ enableval=$enable_rxvt_osc;
9214
if test "$enable_rxvt_osc" = "yes"; then
9215
cat >>confdefs.h <<\_ACEOF
9217
@@ -7954,7 +9092,6 @@
9218
{ (exit 1); exit 1; }; }
9220
cat >conftest.$ac_ext <<_ACEOF
9221
-#line $LINENO "configure"
9224
cat confdefs.h >>conftest.$ac_ext
9225
@@ -7963,13 +9100,22 @@
9228
rm -f conftest$ac_exeext
9229
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230
- (eval $ac_link) 2>&5
9231
+if { (ac_try="$ac_link"
9232
+case "(($ac_try" in
9233
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9234
+ *) ac_try_echo=$ac_try;;
9236
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9237
+ (eval "$ac_link") 2>&5
9239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9241
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242
- (eval $ac_try) 2>&5
9243
+ { (case "(($ac_try" in
9244
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9245
+ *) ac_try_echo=$ac_try;;
9247
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9248
+ (eval "$ac_try") 2>&5
9250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251
(exit $ac_status); }; }; then
9252
@@ -7984,44 +9130,48 @@
9253
echo "$as_me: error: Can't run the compiler - internal error. Sorry." >&2;}
9254
{ (exit 1); exit 1; }; }
9256
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9257
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9262
ETCSCREENRC="\"/usr/local/etc/screenrc\""
9263
if test -n "$prefix"; then
9264
ETCSCREENRC="\"$prefix/etc/screenrc\""
9266
-echo "$as_me:$LINENO: checking for the global screenrc file" >&5
9267
-echo $ECHO_N "checking for the global screenrc file... $ECHO_C" >&6
9268
+{ echo "$as_me:$LINENO: checking for the global screenrc file" >&5
9269
+echo $ECHO_N "checking for the global screenrc file... $ECHO_C" >&6; }
9271
-# Check whether --with-sys-screenrc or --without-sys-screenrc was given.
9272
+# Check whether --with-sys-screenrc was given.
9273
if test "${with_sys_screenrc+set}" = set; then
9274
- withval="$with_sys_screenrc"
9275
- ETCSCREENRC="\"${withval}\""
9277
+ withval=$with_sys_screenrc; ETCSCREENRC="\"${withval}\""
9280
cat >>confdefs.h <<_ACEOF
9281
#define ETCSCREENRC $ETCSCREENRC
9284
-echo "$as_me:$LINENO: result: $ETCSCREENRC" >&5
9285
-echo "${ECHO_T}$ETCSCREENRC" >&6
9286
+{ echo "$as_me:$LINENO: result: $ETCSCREENRC" >&5
9287
+echo "${ECHO_T}$ETCSCREENRC" >&6; }
9289
SCREENENCODINGS="\"/usr/local/lib/screen/utf8encodings\""
9290
if test -n "$datadir"; then
9291
eval SCREENENCODINGS="$datadir/screen/utf8encodings"
9292
-SCREENENCODINGS="\"$SCREENENCODINGS\""
9293
+eval SCREENENCODINGS="\\\"$SCREENENCODINGS\\\""
9295
-echo "$as_me:$LINENO: checking for the utf8-encodings location" >&5
9296
-echo $ECHO_N "checking for the utf8-encodings location... $ECHO_C" >&6
9297
+{ echo "$as_me:$LINENO: checking for the utf8-encodings location" >&5
9298
+echo $ECHO_N "checking for the utf8-encodings location... $ECHO_C" >&6; }
9299
cat >>confdefs.h <<_ACEOF
9300
#define SCREENENCODINGS $SCREENENCODINGS
9303
-echo "$as_me:$LINENO: result: $SCREENENCODINGS" >&5
9304
-echo "${ECHO_T}$SCREENENCODINGS" >&6
9305
+{ echo "$as_me:$LINENO: result: $SCREENENCODINGS" >&5
9306
+echo "${ECHO_T}$SCREENENCODINGS" >&6; }
9308
+ac_config_files="$ac_config_files Makefile doc/Makefile"
9310
+ac_config_commands="$ac_config_commands default"
9312
- ac_config_files="$ac_config_files Makefile doc/Makefile"
9313
- ac_config_commands="$ac_config_commands default"
9314
cat >confcache <<\_ACEOF
9315
# This file is a shell script that caches the results of configure
9316
# tests run on this system so they can be shared between configure
9317
@@ -8040,39 +9190,58 @@
9319
# The following way of writing the cache mishandles newlines in values,
9320
# but we know of no workaround that is simple, portable, and efficient.
9321
-# So, don't put newlines in cache variables' values.
9322
+# So, we kill variables containing newlines.
9323
# Ultrix sh set writes to stderr and can't be redirected directly,
9324
# and sets the high bit in the cache file unless we assign to the vars.
9327
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9328
+ eval ac_val=\$$ac_var
9329
+ case $ac_val in #(
9331
+ case $ac_var in #(
9332
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9333
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9335
+ case $ac_var in #(
9336
+ _ | IFS | as_nl) ;; #(
9337
+ *) $as_unset $ac_var ;;
9343
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
9345
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
9346
+ *${as_nl}ac_space=\ *)
9347
# `set' does not quote correctly, so add quotes (double-quote
9348
# substitution turns \\\\ into \\, and sed turns \\ into \).
9351
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9354
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9357
# `set' quotes correctly as required by POSIX, so do not add quotes.
9359
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9360
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9368
+ /^ac_cv_env_/b end
9372
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9374
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9375
- : end' >>confcache
9376
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
9377
- if test -w $cache_file; then
9378
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9379
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9381
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9382
+ if test -w "$cache_file"; then
9383
+ test "x$cache_file" != "x/dev/null" &&
9384
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9385
+echo "$as_me: updating cache $cache_file" >&6;}
9386
cat confcache >$cache_file
9388
- echo "not updating unwritable cache $cache_file"
9389
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9390
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9394
@@ -8081,32 +9250,18 @@
9395
# Let make expand exec_prefix.
9396
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9398
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
9399
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9400
-# trailing colons and then remove the whole line if VPATH becomes empty
9401
-# (actually we leave an empty line to preserve line numbers).
9402
-if test "x$srcdir" = x.; then
9403
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
9404
-s/:*\$(srcdir):*/:/;
9405
-s/:*\${srcdir}:*/:/;
9407
-s/^\([^=]*=[ ]*\):*/\1/;
9413
DEFS=-DHAVE_CONFIG_H
9417
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9418
# 1. Remove the extension, and $U if already installed.
9419
- ac_i=`echo "$ac_i" |
9420
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9422
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9423
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9424
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9425
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
9426
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9427
+ # will be set to the directory where LIBOBJS objects are built.
9428
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9429
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9433
@@ -8137,27 +9292,91 @@
9434
## M4sh Initialization. ##
9435
## --------------------- ##
9437
-# Be Bourne compatible
9438
+# Be more Bourne compatible
9439
+DUALCASE=1; export DUALCASE # for MKS sh
9440
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9443
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9444
# is contrary to our usage. Disable this feature.
9445
alias -g '${1+"$@"}'='"$@"'
9446
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9448
+ setopt NO_GLOB_SUBST
9450
+ case `(set -o) 2>/dev/null` in
9451
+ *posix*) set -o posix ;;
9460
+# Avoid depending upon Character Ranges.
9461
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9462
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9463
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9464
+as_cr_digits='0123456789'
9465
+as_cr_alnum=$as_cr_Letters$as_cr_digits
9467
+# The user is always right.
9468
+if test "${PATH_SEPARATOR+set}" != set; then
9469
+ echo "#! /bin/sh" >conf$$.sh
9470
+ echo "exit 0" >>conf$$.sh
9471
+ chmod +x conf$$.sh
9472
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9473
+ PATH_SEPARATOR=';'
9480
# Support unset when possible.
9481
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9482
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9490
+# We need space, tab and new line, in precisely that order. Quoting is
9491
+# there to prevent editors from complaining about space-tab.
9492
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9493
+# splitting by setting IFS to empty value.)
9498
+# Find who we are. Look in the path if we contain no directory separator.
9500
+ *[\\/]* ) as_myself=$0 ;;
9501
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502
+for as_dir in $PATH
9505
+ test -z "$as_dir" && as_dir=.
9506
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9512
+# We did not find ourselves, most probably we were run as `sh COMMAND'
9513
+# in which case we are not to be found in the path.
9514
+if test "x$as_myself" = x; then
9517
+if test ! -f "$as_myself"; then
9518
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9519
+ { (exit 1); exit 1; }
9522
# Work around bugs in pre-3.0 UWIN ksh.
9523
-$as_unset ENV MAIL MAILPATH
9524
+for as_var in ENV MAIL MAILPATH
9525
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9530
@@ -8168,21 +9387,22 @@
9531
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9532
LC_TELEPHONE LC_TIME
9534
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9535
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9536
eval $as_var=C; export $as_var
9539
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9543
# Required to use basename.
9544
-if expr a : '\(a\)' >/dev/null 2>&1; then
9545
+if expr a : '\(a\)' >/dev/null 2>&1 &&
9546
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
9552
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9553
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9554
as_basename=basename
9557
@@ -8190,200 +9410,166 @@
9560
# Name of the executable.
9561
-as_me=`$as_basename "$0" ||
9562
+as_me=`$as_basename -- "$0" ||
9563
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9564
X"$0" : 'X\(//\)$' \| \
9565
- X"$0" : 'X\(/\)$' \| \
9566
- . : '\(.\)' 2>/dev/null ||
9567
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9569
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9570
- /^X\/\(\/\/\)$/{ s//\1/; q; }
9571
- /^X\/\(\/\).*/{ s//\1/; q; }
9574
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
9588
-# PATH needs CR, and LINENO needs CR and PATH.
9589
-# Avoid depending upon Character Ranges.
9590
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9591
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9592
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9593
-as_cr_digits='0123456789'
9594
-as_cr_alnum=$as_cr_Letters$as_cr_digits
9598
-# The user is always right.
9599
-if test "${PATH_SEPARATOR+set}" != set; then
9600
- echo "#! /bin/sh" >conf$$.sh
9601
- echo "exit 0" >>conf$$.sh
9602
- chmod +x conf$$.sh
9603
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9604
- PATH_SEPARATOR=';'
9614
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9615
test "x$as_lineno_1" != "x$as_lineno_2" &&
9616
- test "x$as_lineno_3" = "x$as_lineno_2" || {
9617
- # Find who we are. Look in the path if we contain no path at all
9618
- # relative or not.
9620
- *[\\/]* ) as_myself=$0 ;;
9621
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622
-for as_dir in $PATH
9625
- test -z "$as_dir" && as_dir=.
9626
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9631
- # We did not find ourselves, most probably we were run as `sh COMMAND'
9632
- # in which case we are not to be found in the path.
9633
- if test "x$as_myself" = x; then
9636
- if test ! -f "$as_myself"; then
9637
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9638
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9639
- { (exit 1); exit 1; }; }
9641
- case $CONFIG_SHELL in
9643
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9647
- test -z "$as_dir" && as_dir=.
9648
- for as_base in sh bash ksh sh5; do
9651
- if ("$as_dir/$as_base" -c '
9652
- as_lineno_1=$LINENO
9653
- as_lineno_2=$LINENO
9654
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9655
- test "x$as_lineno_1" != "x$as_lineno_2" &&
9656
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9657
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9658
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9659
- CONFIG_SHELL=$as_dir/$as_base
9660
- export CONFIG_SHELL
9661
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9668
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9670
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9671
# uniformly replaced by the line number. The first 'sed' inserts a
9672
- # line-number line before each line; the second 'sed' does the real
9673
- # work. The second script uses 'N' to pair each line-number line
9674
- # with the numbered line, and appends trailing '-' during
9675
- # substitution so that $LINENO is not a special case at line end.
9676
+ # line-number line after each line using $LINENO; the second 'sed'
9677
+ # does the real work. The second script uses 'N' to pair each
9678
+ # line-number line with the line containing $LINENO, and appends
9679
+ # trailing '-' during substitution so that $LINENO is not a special
9680
+ # case at line end.
9681
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9682
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9683
- sed '=' <$as_myself |
9684
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
9685
+ # E. McMahon (1931-1989) for sed's syntax. :-)
9698
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9700
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9703
- s,^['$as_cr_digits']*\n,,
9706
- chmod +x $as_me.lineno ||
9707
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9708
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9709
+ chmod +x "$as_me.lineno" ||
9710
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9711
{ (exit 1); exit 1; }; }
9713
# Don't try to exec as it changes $[0], causing all sort of problems
9714
# (the dirname of $[0] is not the place where we might find the
9715
- # original and so on. Autoconf is especially sensible to this).
9717
+ # original and so on. Autoconf is especially sensitive to this).
9718
+ . "./$as_me.lineno"
9719
# Exit status is that of the last command.
9724
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9725
- *c*,-n*) ECHO_N= ECHO_C='
9727
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9728
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9729
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9730
+ as_dirname=dirname
9735
+ECHO_C= ECHO_N= ECHO_T=
9736
+case `echo -n x` in
9738
+ case `echo 'x\c'` in
9739
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9746
-if expr a : '\(a\)' >/dev/null 2>&1; then
9747
+if expr a : '\(a\)' >/dev/null 2>&1 &&
9748
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
9754
rm -f conf$$ conf$$.exe conf$$.file
9755
+if test -d conf$$.dir; then
9756
+ rm -f conf$$.dir/conf$$.file
9762
if ln -s conf$$.file conf$$ 2>/dev/null; then
9763
- # We could just check for DJGPP; but this test a) works b) is more generic
9764
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9765
- if test -f conf$$.exe; then
9766
- # Don't use ln at all; we don't have any links
9768
+ # ... but there are two gotchas:
9769
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9770
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9771
+ # In both cases, we have to default to `cp -p'.
9772
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9777
elif ln conf$$.file conf$$ 2>/dev/null; then
9782
-rm -f conf$$ conf$$.exe conf$$.file
9783
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9784
+rmdir conf$$.dir 2>/dev/null
9786
if mkdir -p . 2>/dev/null; then
9789
+ test -d ./-p && rmdir ./-p
9793
-as_executable_p="test -f"
9794
+if test -x / >/dev/null 2>&1; then
9795
+ as_test_x='test -x'
9797
+ if ls -dL / >/dev/null 2>&1; then
9804
+ if test -d "$1"; then
9810
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9811
+ ???[sx]*):;;*)false;;esac;fi
9815
+as_executable_p=$as_test_x
9817
# Sed expression to map a string onto a valid CPP name.
9818
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9819
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9821
# Sed expression to map a string onto a valid variable name.
9822
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9824
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9827
-# We need space, tab and new line, in precisely that order.
9837
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
9838
+# Save the log message, to keep $[0] and so on meaningful, and to
9839
# report actual input values of CONFIG_FILES etc. instead of their
9840
-# values after options handling. Logging --version etc. is OK.
9844
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9845
-## Running $as_me. ##
9850
+# values after options handling.
9852
This file was extended by $as_me, which was
9853
-generated by GNU Autoconf 2.57. Invocation command line was
9854
+generated by GNU Autoconf 2.61. Invocation command line was
9856
CONFIG_FILES = $CONFIG_FILES
9857
CONFIG_HEADERS = $CONFIG_HEADERS
9858
@@ -8391,30 +9577,20 @@
9859
CONFIG_COMMANDS = $CONFIG_COMMANDS
9863
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9865
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
9870
+cat >>$CONFIG_STATUS <<_ACEOF
9871
# Files that config.status was made for.
9872
-if test -n "$ac_config_files"; then
9873
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9876
-if test -n "$ac_config_headers"; then
9877
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9880
-if test -n "$ac_config_links"; then
9881
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9883
+config_files="$ac_config_files"
9884
+config_headers="$ac_config_headers"
9885
+config_commands="$ac_config_commands"
9887
-if test -n "$ac_config_commands"; then
9888
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9892
cat >>$CONFIG_STATUS <<\_ACEOF
9895
\`$as_me' instantiates files from templates according to the
9896
current configuration.
9897
@@ -8422,14 +9598,14 @@
9898
Usage: $0 [OPTIONS] [FILE]...
9900
-h, --help print this help, then exit
9901
- -V, --version print version number, then exit
9902
+ -V, --version print version number and configuration settings, then exit
9903
-q, --quiet do not print progress messages
9904
-d, --debug don't remove temporary files
9905
--recheck update $as_me by reconfiguring in the same conditions
9906
--file=FILE[:TEMPLATE]
9907
- instantiate the configuration file FILE
9908
+ instantiate the configuration file FILE
9909
--header=FILE[:TEMPLATE]
9910
- instantiate the configuration header FILE
9911
+ instantiate the configuration header FILE
9913
Configuration files:
9915
@@ -8441,20 +9617,21 @@
9918
Report bugs to <bug-autoconf@gnu.org>."
9922
cat >>$CONFIG_STATUS <<_ACEOF
9925
-configured by $0, generated by GNU Autoconf 2.57,
9926
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9927
+configured by $0, generated by GNU Autoconf 2.61,
9928
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9930
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9931
-Free Software Foundation, Inc.
9932
+Copyright (C) 2006 Free Software Foundation, Inc.
9933
This config.status script is free software; the Free Software Foundation
9934
gives unlimited permission to copy, distribute and modify it."
9943
cat >>$CONFIG_STATUS <<\_ACEOF
9944
@@ -8465,39 +9642,24 @@
9948
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
9949
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9950
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
9951
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9960
- *) # This is not an option, so the user has probably given explicit
9963
- ac_need_defaults=false;;
9967
# Handling of the options.
9969
-cat >>$CONFIG_STATUS <<\_ACEOF
9970
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9972
- --version | --vers* | -V )
9973
- echo "$ac_cs_version"; exit 0 ;;
9975
- # Conflict between --help and --header
9976
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
9977
-Try \`$0 --help' for more information." >&5
9978
-echo "$as_me: error: ambiguous option: $1
9979
-Try \`$0 --help' for more information." >&2;}
9980
- { (exit 1); exit 1; }; };;
9981
- --help | --hel | -h )
9982
- echo "$ac_cs_usage"; exit 0 ;;
9983
- --debug | --d* | -d )
9984
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9985
+ echo "$ac_cs_version"; exit ;;
9986
+ --debug | --debu | --deb | --de | --d | -d )
9988
--file | --fil | --fi | --f )
9990
@@ -8507,18 +9669,24 @@
9992
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9993
ac_need_defaults=false;;
9995
+ # Conflict between --help and --header
9996
+ { echo "$as_me: error: ambiguous option: $1
9997
+Try \`$0 --help' for more information." >&2
9998
+ { (exit 1); exit 1; }; };;
9999
+ --help | --hel | -h )
10000
+ echo "$ac_cs_usage"; exit ;;
10001
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
10002
| -silent | --silent | --silen | --sile | --sil | --si | --s)
10005
# This is an error.
10006
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10007
-Try \`$0 --help' for more information." >&5
10008
-echo "$as_me: error: unrecognized option: $1
10009
-Try \`$0 --help' for more information." >&2;}
10010
+ -*) { echo "$as_me: error: unrecognized option: $1
10011
+Try \`$0 --help' for more information." >&2
10012
{ (exit 1); exit 1; }; } ;;
10014
- *) ac_config_targets="$ac_config_targets $1" ;;
10015
+ *) ac_config_targets="$ac_config_targets $1"
10016
+ ac_need_defaults=false ;;
10020
@@ -8534,31 +9702,45 @@
10022
cat >>$CONFIG_STATUS <<_ACEOF
10023
if \$ac_cs_recheck; then
10024
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10025
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10026
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10027
+ CONFIG_SHELL=$SHELL
10028
+ export CONFIG_SHELL
10029
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10033
+cat >>$CONFIG_STATUS <<\_ACEOF
10034
+exec 5>>config.log
10037
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10038
+## Running $as_me. ##
10047
+cat >>$CONFIG_STATUS <<_ACEOF
10050
cat >>$CONFIG_STATUS <<\_ACEOF
10052
+# Handling of arguments.
10053
for ac_config_target in $ac_config_targets
10055
- case "$ac_config_target" in
10056
- # Handling of arguments.
10057
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10058
- "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10059
- "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10060
- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10061
+ case $ac_config_target in
10062
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10063
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10064
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
10065
+ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10067
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10068
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10069
{ (exit 1); exit 1; }; };;
10074
# If the user did not use the arguments to specify the items to instantiate,
10075
# then the envvar interface is used. Set only those that are not.
10076
# We use the long form for the default assignment because of an extremely
10077
@@ -8570,587 +9752,521 @@
10080
# Have a temporary directory for convenience. Make it in the build tree
10081
-# simply because there is no reason to put it here, and in addition,
10082
+# simply because there is no reason against having it here, and in addition,
10083
# creating and moving files from /tmp can sometimes cause problems.
10084
-# Create a temporary directory, and hook for its removal unless debugging.
10085
+# Hook for its removal unless debugging.
10086
+# Note that there is a small window in which the directory will not be cleaned:
10087
+# after its creation but before its name has been assigned to `$tmp'.
10090
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10092
+ trap 'exit_status=$?
10093
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10095
trap '{ (exit 1); exit 1; }' 1 2 13 15
10098
# Create a (secure) tmp directory for tmp files.
10101
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10102
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10103
test -n "$tmp" && test -d "$tmp"
10106
- tmp=./confstat$$-$RANDOM
10107
- (umask 077 && mkdir $tmp)
10108
+ tmp=./conf$$-$RANDOM
10109
+ (umask 077 && mkdir "$tmp")
10112
echo "$me: cannot create a temporary directory in ." >&2
10113
{ (exit 1); exit 1; }
10118
-cat >>$CONFIG_STATUS <<_ACEOF
10121
-# CONFIG_FILES section.
10122
+# Set up the sed scripts for CONFIG_FILES section.
10125
# No need to generate the scripts if there are no CONFIG_FILES.
10126
# This happens for instance when ./config.status config.h
10127
-if test -n "\$CONFIG_FILES"; then
10128
- # Protect against being on the right side of a sed subst in config.status.
10129
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10130
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10131
-s,@SHELL@,$SHELL,;t t
10132
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10133
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10134
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10135
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10136
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10137
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10138
-s,@exec_prefix@,$exec_prefix,;t t
10139
-s,@prefix@,$prefix,;t t
10140
-s,@program_transform_name@,$program_transform_name,;t t
10141
-s,@bindir@,$bindir,;t t
10142
-s,@sbindir@,$sbindir,;t t
10143
-s,@libexecdir@,$libexecdir,;t t
10144
-s,@datadir@,$datadir,;t t
10145
-s,@sysconfdir@,$sysconfdir,;t t
10146
-s,@sharedstatedir@,$sharedstatedir,;t t
10147
-s,@localstatedir@,$localstatedir,;t t
10148
-s,@libdir@,$libdir,;t t
10149
-s,@includedir@,$includedir,;t t
10150
-s,@oldincludedir@,$oldincludedir,;t t
10151
-s,@infodir@,$infodir,;t t
10152
-s,@mandir@,$mandir,;t t
10153
-s,@build_alias@,$build_alias,;t t
10154
-s,@host_alias@,$host_alias,;t t
10155
-s,@target_alias@,$target_alias,;t t
10156
-s,@DEFS@,$DEFS,;t t
10157
-s,@ECHO_C@,$ECHO_C,;t t
10158
-s,@ECHO_N@,$ECHO_N,;t t
10159
-s,@ECHO_T@,$ECHO_T,;t t
10160
-s,@LIBS@,$LIBS,;t t
10161
-s,@VERSION@,$VERSION,;t t
10162
-s,@ac_prefix_program@,$ac_prefix_program,;t t
10164
-s,@CFLAGS@,$CFLAGS,;t t
10165
-s,@LDFLAGS@,$LDFLAGS,;t t
10166
-s,@CPPFLAGS@,$CPPFLAGS,;t t
10167
-s,@ac_ct_CC@,$ac_ct_CC,;t t
10168
-s,@EXEEXT@,$EXEEXT,;t t
10169
-s,@OBJEXT@,$OBJEXT,;t t
10171
-s,@EGREP@,$EGREP,;t t
10173
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10174
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10175
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10176
-s,@WRITEPATH@,$WRITEPATH,;t t
10177
-s,@XTERMPATH@,$XTERMPATH,;t t
10178
-s,@LIBOBJS@,$LIBOBJS,;t t
10179
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10184
- cat >>$CONFIG_STATUS <<\_ACEOF
10185
- # Split the substitutions into bite-sized pieces for seds with
10186
- # small command number limits, like on Digital OSF/1 and HP-UX.
10187
- ac_max_sed_lines=48
10188
- ac_sed_frag=1 # Number of current file.
10189
- ac_beg=1 # First line for current file.
10190
- ac_end=$ac_max_sed_lines # Line after last line for current file.
10193
- while $ac_more_lines; do
10194
- if test $ac_beg -gt 1; then
10195
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10197
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10199
- if test ! -s $tmp/subs.frag; then
10200
- ac_more_lines=false
10202
- # The purpose of the label and of the branching condition is to
10203
- # speed up the sed processing (if there are no `@' at all, there
10204
- # is no need to browse any of the substitutions).
10205
- # These are the two extra sed commands mentioned above.
10207
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10208
- if test -z "$ac_sed_cmds"; then
10209
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10211
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10213
- ac_sed_frag=`expr $ac_sed_frag + 1`
10215
- ac_end=`expr $ac_end + $ac_max_sed_lines`
10218
- if test -z "$ac_sed_cmds"; then
10220
+if test -n "$CONFIG_FILES"; then
10227
+for ac_last_try in false false false false false :; do
10228
+ cat >conf$$subs.sed <<_ACEOF
10229
+SHELL!$SHELL$ac_delim
10230
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10231
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10232
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10233
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10234
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10235
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10236
+exec_prefix!$exec_prefix$ac_delim
10237
+prefix!$prefix$ac_delim
10238
+program_transform_name!$program_transform_name$ac_delim
10239
+bindir!$bindir$ac_delim
10240
+sbindir!$sbindir$ac_delim
10241
+libexecdir!$libexecdir$ac_delim
10242
+datarootdir!$datarootdir$ac_delim
10243
+datadir!$datadir$ac_delim
10244
+sysconfdir!$sysconfdir$ac_delim
10245
+sharedstatedir!$sharedstatedir$ac_delim
10246
+localstatedir!$localstatedir$ac_delim
10247
+includedir!$includedir$ac_delim
10248
+oldincludedir!$oldincludedir$ac_delim
10249
+docdir!$docdir$ac_delim
10250
+infodir!$infodir$ac_delim
10251
+htmldir!$htmldir$ac_delim
10252
+dvidir!$dvidir$ac_delim
10253
+pdfdir!$pdfdir$ac_delim
10254
+psdir!$psdir$ac_delim
10255
+libdir!$libdir$ac_delim
10256
+localedir!$localedir$ac_delim
10257
+mandir!$mandir$ac_delim
10258
+DEFS!$DEFS$ac_delim
10259
+ECHO_C!$ECHO_C$ac_delim
10260
+ECHO_N!$ECHO_N$ac_delim
10261
+ECHO_T!$ECHO_T$ac_delim
10262
+LIBS!$LIBS$ac_delim
10263
+build_alias!$build_alias$ac_delim
10264
+host_alias!$host_alias$ac_delim
10265
+target_alias!$target_alias$ac_delim
10266
+VERSION!$VERSION$ac_delim
10267
+ac_prefix_program!$ac_prefix_program$ac_delim
10269
+CFLAGS!$CFLAGS$ac_delim
10270
+LDFLAGS!$LDFLAGS$ac_delim
10271
+CPPFLAGS!$CPPFLAGS$ac_delim
10272
+ac_ct_CC!$ac_ct_CC$ac_delim
10273
+EXEEXT!$EXEEXT$ac_delim
10274
+OBJEXT!$OBJEXT$ac_delim
10276
+GREP!$GREP$ac_delim
10277
+EGREP!$EGREP$ac_delim
10279
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10280
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10281
+INSTALL_DATA!$INSTALL_DATA$ac_delim
10282
+WRITEPATH!$WRITEPATH$ac_delim
10283
+XTERMPATH!$XTERMPATH$ac_delim
10284
+LIBOBJS!$LIBOBJS$ac_delim
10285
+LTLIBOBJS!$LTLIBOBJS$ac_delim
10288
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
10290
+ elif $ac_last_try; then
10291
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10292
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10293
+ { (exit 1); exit 1; }; }
10295
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10297
-fi # test -n "$CONFIG_FILES"
10300
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10301
+if test -n "$ac_eof"; then
10302
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10303
+ ac_eof=`expr $ac_eof + 1`
10306
+cat >>$CONFIG_STATUS <<_ACEOF
10307
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10308
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10311
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10312
+s/^/s,@/; s/!/@,|#_!!_#|/
10315
+s/'"$ac_delim"'$/,g/; t
10317
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10318
+' >>$CONFIG_STATUS <conf$$subs.sed
10319
+rm -f conf$$subs.sed
10320
+cat >>$CONFIG_STATUS <<_ACEOF
10327
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
10328
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10329
+# trailing colons and then remove the whole line if VPATH becomes empty
10330
+# (actually we leave an empty line to preserve line numbers).
10331
+if test "x$srcdir" = x.; then
10332
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
10333
+s/:*\$(srcdir):*/:/
10334
+s/:*\${srcdir}:*/:/
10336
+s/^\([^=]*=[ ]*\):*/\1/
10342
cat >>$CONFIG_STATUS <<\_ACEOF
10343
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10344
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10346
- - | *:- | *:-:* ) # input from stdin
10348
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10349
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10350
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10351
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10352
- * ) ac_file_in=$ac_file.in ;;
10353
+fi # test -n "$CONFIG_FILES"
10356
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10359
+ :[FHLC]) ac_mode=$ac_tag; continue;;
10361
+ case $ac_mode$ac_tag in
10363
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10364
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10365
+ { (exit 1); exit 1; }; };;
10366
+ :[FH]-) ac_tag=-:-;;
10367
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10378
+ :L) ac_source=$1;;
10384
+ -) ac_f="$tmp/stdin";;
10385
+ *) # Look for the file first in the build tree, then in the source tree
10386
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
10387
+ # because $ac_f cannot contain `:'.
10388
+ test -f "$ac_f" ||
10391
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10393
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10394
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10395
+ { (exit 1); exit 1; }; };;
10397
+ ac_file_inputs="$ac_file_inputs $ac_f"
10400
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
10401
+ # use $as_me), people would be surprised to read:
10402
+ # /* config.h. Generated by config.status. */
10403
+ configure_input="Generated from "`IFS=:
10404
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10405
+ if test x"$ac_file" != x-; then
10406
+ configure_input="$ac_file. $configure_input"
10407
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
10408
+echo "$as_me: creating $ac_file" >&6;}
10412
+ *:-:* | *:-) cat >"$tmp/stdin";;
10417
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10418
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10419
+ ac_dir=`$as_dirname -- "$ac_file" ||
10420
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10421
- X"$ac_file" : 'X\(//\)[^/]' \| \
10422
- X"$ac_file" : 'X\(//\)$' \| \
10423
- X"$ac_file" : 'X\(/\)' \| \
10424
- . : '\(.\)' 2>/dev/null ||
10425
+ X"$ac_file" : 'X\(//\)[^/]' \| \
10426
+ X"$ac_file" : 'X\(//\)$' \| \
10427
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10429
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10430
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10431
- /^X\(\/\/\)$/{ s//\1/; q; }
10432
- /^X\(\/\).*/{ s//\1/; q; }
10434
- { if $as_mkdir_p; then
10435
- mkdir -p "$ac_dir"
10438
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10442
+ /^X\(\/\/\)[^/].*/{
10455
+ { as_dir="$ac_dir"
10456
+ case $as_dir in #(
10457
+ -*) as_dir=./$as_dir;;
10459
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10461
- while test ! -d "$as_dir"; do
10462
- as_dirs="$as_dir $as_dirs"
10463
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
10465
+ case $as_dir in #(
10466
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10467
+ *) as_qdir=$as_dir;;
10469
+ as_dirs="'$as_qdir' $as_dirs"
10470
+ as_dir=`$as_dirname -- "$as_dir" ||
10471
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10472
- X"$as_dir" : 'X\(//\)[^/]' \| \
10473
- X"$as_dir" : 'X\(//\)$' \| \
10474
- X"$as_dir" : 'X\(/\)' \| \
10475
- . : '\(.\)' 2>/dev/null ||
10476
+ X"$as_dir" : 'X\(//\)[^/]' \| \
10477
+ X"$as_dir" : 'X\(//\)$' \| \
10478
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10480
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10481
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10482
- /^X\(\/\/\)$/{ s//\1/; q; }
10483
- /^X\(\/\).*/{ s//\1/; q; }
10485
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10489
+ /^X\(\/\/\)[^/].*/{
10502
+ test -d "$as_dir" && break
10504
- test ! -n "$as_dirs" || mkdir $as_dirs
10505
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10506
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10507
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
10508
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10509
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
10510
{ (exit 1); exit 1; }; }; }
10514
-if test "$ac_dir" != .; then
10516
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10518
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10519
- # A "../" for each directory in $ac_dir_suffix.
10520
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10522
- ac_dir_suffix= ac_top_builddir=
10524
+ # A ".." for each directory in $ac_dir_suffix.
10525
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10526
+ case $ac_top_builddir_sub in
10527
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10528
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10531
+ac_abs_top_builddir=$ac_pwd
10532
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
10533
+# for backward compatibility:
10534
+ac_top_builddir=$ac_top_build_prefix
10537
- .) # No --srcdir option. We are building in place.
10538
+ .) # We are building in place.
10540
- if test -z "$ac_top_builddir"; then
10543
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10545
- [\\/]* | ?:[\\/]* ) # Absolute path.
10546
+ ac_top_srcdir=$ac_top_builddir_sub
10547
+ ac_abs_top_srcdir=$ac_pwd ;;
10548
+ [\\/]* | ?:[\\/]* ) # Absolute name.
10549
ac_srcdir=$srcdir$ac_dir_suffix;
10550
- ac_top_srcdir=$srcdir ;;
10551
- *) # Relative path.
10552
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10553
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
10555
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10557
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10558
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10559
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10560
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10561
+ ac_top_srcdir=$srcdir
10562
+ ac_abs_top_srcdir=$srcdir ;;
10563
+ *) # Relative name.
10564
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10565
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
10566
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10568
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10578
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10579
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10580
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10584
- if test x"$ac_file" != x-; then
10585
- { echo "$as_me:$LINENO: creating $ac_file" >&5
10586
-echo "$as_me: creating $ac_file" >&6;}
10589
- # Let's still pretend it is `configure' which instantiates (i.e., don't
10590
- # use $as_me), people would be surprised to read:
10591
- # /* config.h. Generated by config.status. */
10592
- if test x"$ac_file" = x-; then
10595
- configure_input="$ac_file. "
10597
- configure_input=$configure_input"Generated from `echo $ac_file_in |
10598
- sed 's,.*/,,'` by configure."
10600
- # First look for the input files in the build tree, otherwise in the
10602
- ac_file_inputs=`IFS=:
10603
- for f in $ac_file_in; do
10605
- -) echo $tmp/stdin ;;
10607
- # Absolute (can't be DOS-style, as IFS=:)
10608
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10609
-echo "$as_me: error: cannot find input file: $f" >&2;}
10610
- { (exit 1); exit 1; }; }
10613
- if test -f "$f"; then
10616
- elif test -f "$srcdir/$f"; then
10621
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10622
-echo "$as_me: error: cannot find input file: $f" >&2;}
10623
- { (exit 1); exit 1; }; }
10626
- done` || { (exit 1); exit 1; }
10627
+cat >>$CONFIG_STATUS <<\_ACEOF
10628
+# If the template does not know about datarootdir, expand it.
10629
+# FIXME: This hack should be removed a few years after 2.60.
10630
+ac_datarootdir_hack=; ac_datarootdir_seen=
10632
+case `sed -n '/datarootdir/ {
10641
+' $ac_file_inputs` in
10642
+*datarootdir*) ac_datarootdir_seen=yes;;
10643
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10644
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10645
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10647
cat >>$CONFIG_STATUS <<_ACEOF
10648
+ ac_datarootdir_hack='
10649
+ s&@datadir@&$datadir&g
10650
+ s&@docdir@&$docdir&g
10651
+ s&@infodir@&$infodir&g
10652
+ s&@localedir@&$localedir&g
10653
+ s&@mandir@&$mandir&g
10654
+ s&\\\${datarootdir}&$datarootdir&g' ;;
10658
+# Neutralize VPATH when `$srcdir' = `.'.
10659
+# Shell code in configure.ac might set extrasub.
10660
+# FIXME: do we really want to maintain this feature?
10661
+cat >>$CONFIG_STATUS <<_ACEOF
10665
cat >>$CONFIG_STATUS <<\_ACEOF
10667
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10668
-s,@configure_input@,$configure_input,;t t
10669
-s,@srcdir@,$ac_srcdir,;t t
10670
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
10671
-s,@top_srcdir@,$ac_top_srcdir,;t t
10672
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10673
-s,@builddir@,$ac_builddir,;t t
10674
-s,@abs_builddir@,$ac_abs_builddir,;t t
10675
-s,@top_builddir@,$ac_top_builddir,;t t
10676
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10677
-s,@INSTALL@,$ac_INSTALL,;t t
10678
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10680
- if test x"$ac_file" != x-; then
10681
- mv $tmp/out $ac_file
10689
-cat >>$CONFIG_STATUS <<\_ACEOF
10692
-# CONFIG_HEADER section.
10695
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10696
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
10698
-# ac_d sets the value in "#define NAME VALUE" lines.
10699
-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10700
-ac_dB='[ ].*$,\1#\2'
10703
-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10704
-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10705
-ac_uB='$,\1#\2define\3'
10708
+s&@configure_input@&$configure_input&;t t
10709
+s&@top_builddir@&$ac_top_builddir_sub&;t t
10710
+s&@srcdir@&$ac_srcdir&;t t
10711
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
10712
+s&@top_srcdir@&$ac_top_srcdir&;t t
10713
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10714
+s&@builddir@&$ac_builddir&;t t
10715
+s&@abs_builddir@&$ac_abs_builddir&;t t
10716
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10717
+s&@INSTALL@&$ac_INSTALL&;t t
10718
+$ac_datarootdir_hack
10719
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
10721
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10722
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10723
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10724
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10725
+which seems to be undefined. Please make sure it is defined." >&5
10726
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10727
+which seems to be undefined. Please make sure it is defined." >&2;}
10729
-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10730
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10731
+ rm -f "$tmp/stdin"
10733
- - | *:- | *:-:* ) # input from stdin
10735
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10736
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10737
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10738
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10739
- * ) ac_file_in=$ac_file.in ;;
10740
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
10741
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10750
+# Transform confdefs.h into a sed script `conftest.defines', that
10751
+# substitutes the proper values into config.h.in to produce config.h.
10752
+rm -f conftest.defines conftest.tail
10753
+# First, append a space to every undef/define line, to ease matching.
10754
+echo 's/$/ /' >conftest.defines
10755
+# Then, protect against being on the right side of a sed subst, or in
10756
+# an unquoted here document, in config.status. If some macros were
10757
+# called several times there might be several #defines for the same
10758
+# symbol, which is useless. But do not sort them, since the last
10759
+# AC_DEFINE must be honored.
10760
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10761
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10762
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
10763
+# PARAMS is the parameter list in the macro definition--in most cases, it's
10764
+# just an empty string.
10765
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10766
+ac_dB='\\)[ (].*,\\1define\\2'
10770
- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10771
-echo "$as_me: creating $ac_file" >&6;}
10773
- # First look for the input files in the build tree, otherwise in the
10775
- ac_file_inputs=`IFS=:
10776
- for f in $ac_file_in; do
10778
- -) echo $tmp/stdin ;;
10780
- # Absolute (can't be DOS-style, as IFS=:)
10781
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10782
-echo "$as_me: error: cannot find input file: $f" >&2;}
10783
- { (exit 1); exit 1; }; }
10786
- if test -f "$f"; then
10789
- elif test -f "$srcdir/$f"; then
10794
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10795
-echo "$as_me: error: cannot find input file: $f" >&2;}
10796
- { (exit 1); exit 1; }; }
10799
- done` || { (exit 1); exit 1; }
10800
- # Remove the trailing spaces.
10801
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10805
-# Transform confdefs.h into two sed scripts, `conftest.defines' and
10806
-# `conftest.undefs', that substitutes the proper values into
10807
-# config.h.in to produce config.h. The first handles `#define'
10808
-# templates, and the second `#undef' templates.
10809
-# And first: Protect against being on the right side of a sed subst in
10810
-# config.status. Protect against being in an unquoted here document
10811
-# in config.status.
10812
-rm -f conftest.defines conftest.undefs
10813
-# Using a here document instead of a string reduces the quoting nightmare.
10814
-# Putting comments in sed scripts is not portable.
10816
-# `end' is used to avoid that the second main sed command (meant for
10817
-# 0-ary CPP macros) applies to n-ary macro definitions.
10818
-# See the Autoconf documentation for `clear'.
10819
-cat >confdef2sed.sed <<\_ACEOF
10824
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10826
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10829
-# If some macros were called several times there might be several times
10830
-# the same #defines, which is useless. Nevertheless, we may not want to
10831
-# sort them, since we want the *last* AC-DEFINE to be honored.
10832
-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10833
-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10834
-rm -f confdef2sed.sed
10839
+ s/^[ ]*#[ ]*define[ ][ ]*//
10844
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10845
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10846
+ ' >>conftest.defines
10848
-# This sed command replaces #undef with comments. This is necessary, for
10849
+# Remove the space that was appended to ease matching.
10850
+# Then replace #undef with comments. This is necessary, for
10851
# example, in the case of _POSIX_SOURCE, which is predefined and required
10852
# on some systems where configure will not decide to define it.
10853
-cat >>conftest.undefs <<\_ACEOF
10854
-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10856
+# (The regexp can be short, since the line contains either #define or #undef.)
10858
+s,^[ #]*u.*,/* & */,' >>conftest.defines
10860
+# Break up conftest.defines:
10861
+ac_max_sed_lines=50
10863
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10864
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10865
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10867
+ac_in='$ac_file_inputs'
10868
+ac_out='"$tmp/out1"'
10869
+ac_nxt='"$tmp/out2"'
10871
-# Break up conftest.defines because some shells have a limit on the size
10872
-# of here documents, and old seds have small limits too (100 cmds).
10873
-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10874
-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10875
-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10876
-echo ' :' >>$CONFIG_STATUS
10877
-rm -f conftest.tail
10878
-while grep . conftest.defines >/dev/null
10881
- # Write a limited-size here document to $tmp/defines.sed.
10882
- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10883
- # Speed up: don't consider the non `#define' lines.
10884
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10885
- # Work around the forget-to-reset-the-flag bug.
10886
- echo 't clr' >>$CONFIG_STATUS
10887
- echo ': clr' >>$CONFIG_STATUS
10888
- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10889
+ # Write a here document:
10890
+ cat >>$CONFIG_STATUS <<_ACEOF
10891
+ # First, check the format of the line:
10892
+ cat >"\$tmp/defines.sed" <<\\CEOF
10893
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10894
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10898
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10900
- sed -f $tmp/defines.sed $tmp/in >$tmp/out
10902
- mv $tmp/out $tmp/in
10903
-' >>$CONFIG_STATUS
10904
- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10905
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10906
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10907
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10908
+ grep . conftest.tail >/dev/null || break
10909
rm -f conftest.defines
10910
mv conftest.tail conftest.defines
10912
-rm -f conftest.defines
10913
-echo ' fi # grep' >>$CONFIG_STATUS
10914
-echo >>$CONFIG_STATUS
10916
-# Break up conftest.undefs because some shells have a limit on the size
10917
-# of here documents, and old seds have small limits too (100 cmds).
10918
-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10919
-rm -f conftest.tail
10920
-while grep . conftest.undefs >/dev/null
10922
- # Write a limited-size here document to $tmp/undefs.sed.
10923
- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10924
- # Speed up: don't consider the non `#undef'
10925
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10926
- # Work around the forget-to-reset-the-flag bug.
10927
- echo 't clr' >>$CONFIG_STATUS
10928
- echo ': clr' >>$CONFIG_STATUS
10929
- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10931
- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10933
- mv $tmp/out $tmp/in
10934
-' >>$CONFIG_STATUS
10935
- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10936
- rm -f conftest.undefs
10937
- mv conftest.tail conftest.undefs
10939
-rm -f conftest.undefs
10940
+rm -f conftest.defines conftest.tail
10942
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
10943
cat >>$CONFIG_STATUS <<\_ACEOF
10944
- # Let's still pretend it is `configure' which instantiates (i.e., don't
10945
- # use $as_me), people would be surprised to read:
10946
- # /* config.h. Generated by config.status. */
10947
- if test x"$ac_file" = x-; then
10948
- echo "/* Generated by configure. */" >$tmp/config.h
10950
- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10952
- cat $tmp/in >>$tmp/config.h
10954
if test x"$ac_file" != x-; then
10955
- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10956
+ echo "/* $configure_input */" >"$tmp/config.h"
10957
+ cat "$ac_result" >>"$tmp/config.h"
10958
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10959
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10960
echo "$as_me: $ac_file is unchanged" >&6;}
10962
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10963
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10964
- X"$ac_file" : 'X\(//\)[^/]' \| \
10965
- X"$ac_file" : 'X\(//\)$' \| \
10966
- X"$ac_file" : 'X\(/\)' \| \
10967
- . : '\(.\)' 2>/dev/null ||
10968
-echo X"$ac_file" |
10969
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10970
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10971
- /^X\(\/\/\)$/{ s//\1/; q; }
10972
- /^X\(\/\).*/{ s//\1/; q; }
10974
- { if $as_mkdir_p; then
10975
- mkdir -p "$ac_dir"
10979
- while test ! -d "$as_dir"; do
10980
- as_dirs="$as_dir $as_dirs"
10981
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
10982
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10983
- X"$as_dir" : 'X\(//\)[^/]' \| \
10984
- X"$as_dir" : 'X\(//\)$' \| \
10985
- X"$as_dir" : 'X\(/\)' \| \
10986
- . : '\(.\)' 2>/dev/null ||
10988
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10989
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10990
- /^X\(\/\/\)$/{ s//\1/; q; }
10991
- /^X\(\/\).*/{ s//\1/; q; }
10994
- test ! -n "$as_dirs" || mkdir $as_dirs
10995
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10996
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10997
- { (exit 1); exit 1; }; }; }
11000
- mv $tmp/config.h $ac_file
11001
+ mv "$tmp/config.h" $ac_file
11004
- cat $tmp/config.h
11005
- rm -f $tmp/config.h
11006
+ echo "/* $configure_input */"
11011
-cat >>$CONFIG_STATUS <<\_ACEOF
11012
+ rm -f "$tmp/out12"
11016
-# CONFIG_COMMANDS section.
11018
-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11019
- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11020
- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11021
- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11022
-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11023
- X"$ac_dest" : 'X\(//\)[^/]' \| \
11024
- X"$ac_dest" : 'X\(//\)$' \| \
11025
- X"$ac_dest" : 'X\(/\)' \| \
11026
- . : '\(.\)' 2>/dev/null ||
11027
-echo X"$ac_dest" |
11028
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11029
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11030
- /^X\(\/\/\)$/{ s//\1/; q; }
11031
- /^X\(\/\).*/{ s//\1/; q; }
11034
+ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11035
+echo "$as_me: executing $ac_file commands" >&6;}
11039
-if test "$ac_dir" != .; then
11040
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11041
- # A "../" for each directory in $ac_dir_suffix.
11042
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11044
- ac_dir_suffix= ac_top_builddir=
11048
- .) # No --srcdir option. We are building in place.
11050
- if test -z "$ac_top_builddir"; then
11053
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11055
- [\\/]* | ?:[\\/]* ) # Absolute path.
11056
- ac_srcdir=$srcdir$ac_dir_suffix;
11057
- ac_top_srcdir=$srcdir ;;
11058
- *) # Relative path.
11059
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11060
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
11062
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11064
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
11065
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11066
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11067
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11070
- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11071
-echo "$as_me: executing $ac_dest commands" >&6;}
11074
+ case $ac_file$ac_mode in
11076
# a hook for preserving undef directive in config.h
11077
mv config.h conftest
11078
sed -e 's@^\(.*\)defin.\( .*\) .*/\*\(.*KEEP_UNDEF_HERE\)@\1undef\2 /\*\3@' < conftest > config.h
11087
-cat >>$CONFIG_STATUS <<\_ACEOF
11089
{ (exit 0); exit 0; }