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
--- screen-4.0.3.orig/configure 2007-07-31 13:23:32.000000000 +0200
10
+++ screen-4.0.3/configure 2007-07-31 14:31:04.000000000 +0200
13
# From configure.in Revision: 1.18 .
14
# Guess values for system-dependent variables and create Makefiles.
15
-# Generated by GNU Autoconf 2.57.
16
+# Generated by GNU Autoconf 2.61.
18
-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
19
-# Free Software Foundation, Inc.
20
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
21
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
22
# This configure script is free software; the Free Software Foundation
23
# gives unlimited permission to copy, distribute and modify it.
24
## --------------------- ##
25
## M4sh Initialization. ##
26
## --------------------- ##
28
-# Be Bourne compatible
29
+# Be more Bourne compatible
30
+DUALCASE=1; export DUALCASE # for MKS sh
31
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35
# is contrary to our usage. Disable this feature.
36
alias -g '${1+"$@"}'='"$@"'
37
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39
+ setopt NO_GLOB_SUBST
41
+ case `(set -o) 2>/dev/null` in
42
+ *posix*) set -o posix ;;
51
+# Avoid depending upon Character Ranges.
52
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55
+as_cr_digits='0123456789'
56
+as_cr_alnum=$as_cr_Letters$as_cr_digits
58
+# The user is always right.
59
+if test "${PATH_SEPARATOR+set}" != set; then
60
+ echo "#! /bin/sh" >conf$$.sh
61
+ echo "exit 0" >>conf$$.sh
63
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
71
# Support unset when possible.
72
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
73
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
81
+# We need space, tab and new line, in precisely that order. Quoting is
82
+# there to prevent editors from complaining about space-tab.
83
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
84
+# splitting by setting IFS to empty value.)
89
+# Find who we are. Look in the path if we contain no directory separator.
91
+ *[\\/]* ) as_myself=$0 ;;
92
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
+ test -z "$as_dir" && as_dir=.
97
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
+# We did not find ourselves, most probably we were run as `sh COMMAND'
104
+# in which case we are not to be found in the path.
105
+if test "x$as_myself" = x; then
108
+if test ! -f "$as_myself"; then
109
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
+ { (exit 1); exit 1; }
113
# Work around bugs in pre-3.0 UWIN ksh.
114
-$as_unset ENV MAIL MAILPATH
115
+for as_var in ENV MAIL MAILPATH
116
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
125
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
126
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
127
eval $as_var=C; export $as_var
130
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134
# Required to use basename.
135
-if expr a : '\(a\)' >/dev/null 2>&1; then
136
+if expr a : '\(a\)' >/dev/null 2>&1 &&
137
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
143
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
144
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
148
@@ -64,206 +129,447 @@
151
# Name of the executable.
152
-as_me=`$as_basename "$0" ||
153
+as_me=`$as_basename -- "$0" ||
154
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155
X"$0" : 'X\(//\)$' \| \
156
- X"$0" : 'X\(/\)$' \| \
157
- . : '\(.\)' 2>/dev/null ||
158
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
160
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
161
- /^X\/\(\/\/\)$/{ s//\1/; q; }
162
- /^X\/\(\/\).*/{ s//\1/; q; }
164
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
181
-# PATH needs CR, and LINENO needs CR and PATH.
182
-# Avoid depending upon Character Ranges.
183
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
184
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
185
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
186
-as_cr_digits='0123456789'
187
-as_cr_alnum=$as_cr_Letters$as_cr_digits
189
-# The user is always right.
190
-if test "${PATH_SEPARATOR+set}" != set; then
191
- echo "#! /bin/sh" >conf$$.sh
192
- echo "exit 0" >>conf$$.sh
194
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
200
+if test "x$CONFIG_SHELL" = x; then
201
+ if (eval ":") 2>/dev/null; then
202
+ as_have_required=yes
204
+ as_have_required=no
207
+ if test $as_have_required = yes && (eval ":
208
+(as_func_return () {
211
+as_func_success () {
214
+as_func_failure () {
217
+as_func_ret_success () {
220
+as_func_ret_failure () {
225
+if as_func_success; then
229
+ echo as_func_success failed.
232
+if as_func_failure; then
234
+ echo as_func_failure succeeded.
237
- as_lineno_1=$LINENO
238
- as_lineno_2=$LINENO
239
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
240
- test "x$as_lineno_1" != "x$as_lineno_2" &&
241
- test "x$as_lineno_3" = "x$as_lineno_2" || {
242
- # Find who we are. Look in the path if we contain no path at all
245
- *[\\/]* ) as_myself=$0 ;;
246
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
250
- test -z "$as_dir" && as_dir=.
251
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
253
+if as_func_ret_success; then
257
+ echo as_func_ret_success failed.
262
- # We did not find ourselves, most probably we were run as `sh COMMAND'
263
- # in which case we are not to be found in the path.
264
- if test "x$as_myself" = x; then
267
- if test ! -f "$as_myself"; then
268
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
269
- { (exit 1); exit 1; }; }
271
- case $CONFIG_SHELL in
273
+if as_func_ret_failure; then
275
+ echo as_func_ret_failure succeeded.
278
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
282
+ echo positional parameters were not saved.
285
+test \$exitcode = 0) || { (exit 1); exit 1; }
288
+ as_lineno_1=\$LINENO
289
+ as_lineno_2=\$LINENO
290
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
291
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
292
+") 2> /dev/null; then
295
+ as_candidate_shells=
296
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
297
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
300
test -z "$as_dir" && as_dir=.
301
- for as_base in sh bash ksh sh5; do
305
- if ("$as_dir/$as_base" -c '
306
+ for as_base in sh bash ksh sh5; do
307
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
314
+ for as_shell in $as_candidate_shells $SHELL; do
315
+ # Try only shells that exist, to save several forks.
316
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
317
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
318
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
321
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
322
+ # is contrary to our usage. Disable this feature.
323
+ alias -g '${1+"$@"}'='"$@"'
324
+ setopt NO_GLOB_SUBST
326
+ case `(set -o) 2>/dev/null` in
327
+ *posix*) set -o posix ;;
336
+ CONFIG_SHELL=$as_shell
337
+ as_have_required=yes
338
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
339
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
342
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
343
+ # is contrary to our usage. Disable this feature.
344
+ alias -g '${1+"$@"}'='"$@"'
345
+ setopt NO_GLOB_SUBST
347
+ case `(set -o) 2>/dev/null` in
348
+ *posix*) set -o posix ;;
355
+(as_func_return () {
358
+as_func_success () {
361
+as_func_failure () {
364
+as_func_ret_success () {
367
+as_func_ret_failure () {
372
+if as_func_success; then
376
+ echo as_func_success failed.
379
+if as_func_failure; then
381
+ echo as_func_failure succeeded.
384
+if as_func_ret_success; then
388
+ echo as_func_ret_success failed.
391
+if as_func_ret_failure; then
393
+ echo as_func_ret_failure succeeded.
396
+if ( set x; as_func_ret_success y && test x = "$1" ); then
400
+ echo positional parameters were not saved.
403
+test $exitcode = 0) || { (exit 1); exit 1; }
408
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
409
test "x$as_lineno_1" != "x$as_lineno_2" &&
410
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
411
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
412
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
413
- CONFIG_SHELL=$as_dir/$as_base
414
- export CONFIG_SHELL
415
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
422
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
433
+ if test "x$CONFIG_SHELL" != x; then
434
+ for as_var in BASH_ENV ENV
435
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
437
+ export CONFIG_SHELL
438
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
442
+ if test $as_have_required = no; then
443
+ echo This script requires a shell more modern than all the
444
+ echo shells that I found on your system. Please install a
445
+ echo modern shell, or manually run the script under such a
446
+ echo shell if you do have one.
447
+ { (exit 1); exit 1; }
457
+(eval "as_func_return () {
460
+as_func_success () {
463
+as_func_failure () {
466
+as_func_ret_success () {
469
+as_func_ret_failure () {
474
+if as_func_success; then
478
+ echo as_func_success failed.
481
+if as_func_failure; then
483
+ echo as_func_failure succeeded.
486
+if as_func_ret_success; then
490
+ echo as_func_ret_success failed.
493
+if as_func_ret_failure; then
495
+ echo as_func_ret_failure succeeded.
498
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
502
+ echo positional parameters were not saved.
505
+test \$exitcode = 0") || {
506
+ echo No shell found that supports shell functions.
507
+ echo Please tell autoconf@gnu.org about your system,
508
+ echo including any error possibly output before this
514
+ as_lineno_1=$LINENO
515
+ as_lineno_2=$LINENO
516
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
517
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
519
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
520
# uniformly replaced by the line number. The first 'sed' inserts a
521
- # line-number line before each line; the second 'sed' does the real
522
- # work. The second script uses 'N' to pair each line-number line
523
- # with the numbered line, and appends trailing '-' during
524
- # substitution so that $LINENO is not a special case at line end.
525
+ # line-number line after each line using $LINENO; the second 'sed'
526
+ # does the real work. The second script uses 'N' to pair each
527
+ # line-number line with the line containing $LINENO, and appends
528
+ # trailing '-' during substitution so that $LINENO is not a special
529
+ # case at line end.
530
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
531
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
532
- sed '=' <$as_myself |
533
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
534
+ # E. McMahon (1931-1989) for sed's syntax. :-)
547
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
549
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
552
- s,^['$as_cr_digits']*\n,,
555
- chmod +x $as_me.lineno ||
556
+ chmod +x "$as_me.lineno" ||
557
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
558
{ (exit 1); exit 1; }; }
560
# Don't try to exec as it changes $[0], causing all sort of problems
561
# (the dirname of $[0] is not the place where we might find the
562
- # original and so on. Autoconf is especially sensible to this).
564
+ # original and so on. Autoconf is especially sensitive to this).
565
+ . "./$as_me.lineno"
566
# Exit status is that of the last command.
571
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
572
- *c*,-n*) ECHO_N= ECHO_C='
574
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
575
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
576
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
582
+ECHO_C= ECHO_N= ECHO_T=
585
+ case `echo 'x\c'` in
586
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
593
-if expr a : '\(a\)' >/dev/null 2>&1; then
594
+if expr a : '\(a\)' >/dev/null 2>&1 &&
595
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
601
rm -f conf$$ conf$$.exe conf$$.file
602
+if test -d conf$$.dir; then
603
+ rm -f conf$$.dir/conf$$.file
609
if ln -s conf$$.file conf$$ 2>/dev/null; then
610
- # We could just check for DJGPP; but this test a) works b) is more generic
611
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
612
- if test -f conf$$.exe; then
613
- # Don't use ln at all; we don't have any links
615
+ # ... but there are two gotchas:
616
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
617
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
618
+ # In both cases, we have to default to `cp -p'.
619
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
624
elif ln conf$$.file conf$$ 2>/dev/null; then
629
-rm -f conf$$ conf$$.exe conf$$.file
630
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
631
+rmdir conf$$.dir 2>/dev/null
633
if mkdir -p . 2>/dev/null; then
636
+ test -d ./-p && rmdir ./-p
640
-as_executable_p="test -f"
641
+if test -x / >/dev/null 2>&1; then
642
+ as_test_x='test -x'
644
+ if ls -dL / >/dev/null 2>&1; then
651
+ if test -d "$1"; then
657
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
658
+ ???[sx]*):;;*)false;;esac;fi
662
+as_executable_p=$as_test_x
664
# Sed expression to map a string onto a valid CPP name.
665
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
666
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
668
# Sed expression to map a string onto a valid variable name.
669
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
670
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
674
-# We need space, tab and new line, in precisely that order.
682
+exec 7<&0 </dev/null 6>&1
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
# so uname gets run too.
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
694
ac_default_prefix=/usr/local
696
ac_config_libobj_dir=.
702
SHELL=${CONFIG_SHELL-/bin/sh}
704
-# Maximum number of lines to put in a shell here document.
705
-# This variable seems obsolete. It should probably be removed, and
706
-# only ac_max_sed_lines should be used.
707
-: ${ac_max_here_lines=38}
709
# Identity of this package.
712
@@ -275,42 +581,107 @@
713
# Factoring default headers for most tests.
714
ac_includes_default="\
716
-#if HAVE_SYS_TYPES_H
717
+#ifdef HAVE_SYS_TYPES_H
718
# include <sys/types.h>
721
+#ifdef HAVE_SYS_STAT_H
722
# include <sys/stat.h>
730
+# ifdef HAVE_STDLIB_H
735
-# if !STDC_HEADERS && HAVE_MEMORY_H
736
+#ifdef HAVE_STRING_H
737
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
743
+#ifdef HAVE_STRINGS_H
744
# include <strings.h>
747
+#ifdef HAVE_INTTYPES_H
748
# include <inttypes.h>
751
-# include <stdint.h>
755
+#ifdef HAVE_STDINT_H
756
+# include <stdint.h>
758
+#ifdef HAVE_UNISTD_H
762
-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'
763
+ac_subst_vars='SHELL
772
+program_transform_name
821
+ ac_precious_vars='build_alias
832
# Initialize some variables set by options.
834
@@ -337,34 +708,48 @@
835
# and all the variables that are supposed to be based on exec_prefix
836
# by default will actually change.
837
# Use braces instead of parens because sh, perl, etc. also accept them.
838
+# (The list follows the same order as the GNU Coding Standards.)
839
bindir='${exec_prefix}/bin'
840
sbindir='${exec_prefix}/sbin'
841
libexecdir='${exec_prefix}/libexec'
842
-datadir='${prefix}/share'
843
+datarootdir='${prefix}/share'
844
+datadir='${datarootdir}'
845
sysconfdir='${prefix}/etc'
846
sharedstatedir='${prefix}/com'
847
localstatedir='${prefix}/var'
848
-libdir='${exec_prefix}/lib'
849
includedir='${prefix}/include'
850
oldincludedir='/usr/include'
851
-infodir='${prefix}/info'
852
-mandir='${prefix}/man'
853
+docdir='${datarootdir}/doc/${PACKAGE}'
854
+infodir='${datarootdir}/info'
859
+libdir='${exec_prefix}/lib'
860
+localedir='${datarootdir}/locale'
861
+mandir='${datarootdir}/man'
867
# If the previous option needs an argument, assign it.
868
if test -n "$ac_prev"; then
869
- eval "$ac_prev=\$ac_option"
870
+ eval $ac_prev=\$ac_option
875
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
877
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
878
+ *) ac_optarg=yes ;;
881
# Accept the important Cygnus configure options, so we can diagnose typos.
884
+ case $ac_dashdash$ac_option in
888
-bindir | --bindir | --bindi | --bind | --bin | --bi)
890
@@ -386,33 +771,45 @@
892
cache_file=config.cache ;;
894
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
895
+ -datadir | --datadir | --datadi | --datad)
897
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
899
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
900
datadir=$ac_optarg ;;
902
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903
+ | --dataroo | --dataro | --datar)
904
+ ac_prev=datarootdir ;;
905
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907
+ datarootdir=$ac_optarg ;;
909
-disable-* | --disable-*)
910
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911
# Reject names that are not valid shell variable names.
912
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
913
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
915
{ (exit 1); exit 1; }; }
916
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
917
- eval "enable_$ac_feature=no" ;;
918
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919
+ eval enable_$ac_feature=no ;;
921
+ -docdir | --docdir | --docdi | --doc | --do)
923
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
924
+ docdir=$ac_optarg ;;
926
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
928
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
929
+ dvidir=$ac_optarg ;;
931
-enable-* | --enable-*)
932
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
933
# Reject names that are not valid shell variable names.
934
- expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
935
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
936
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
937
{ (exit 1); exit 1; }; }
938
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
940
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
941
- *) ac_optarg=yes ;;
943
- eval "enable_$ac_feature='$ac_optarg'" ;;
944
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
945
+ eval enable_$ac_feature=\$ac_optarg ;;
947
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
948
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
950
-host=* | --host=* | --hos=* | --ho=*)
951
host_alias=$ac_optarg ;;
953
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957
+ htmldir=$ac_optarg ;;
959
-includedir | --includedir | --includedi | --included | --include \
960
| --includ | --inclu | --incl | --inc)
961
ac_prev=includedir ;;
962
@@ -463,13 +866,16 @@
963
| --libexe=* | --libex=* | --libe=*)
964
libexecdir=$ac_optarg ;;
966
+ -localedir | --localedir | --localedi | --localed | --locale)
967
+ ac_prev=localedir ;;
968
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969
+ localedir=$ac_optarg ;;
971
-localstatedir | --localstatedir | --localstatedi | --localstated \
972
- | --localstate | --localstat | --localsta | --localst \
973
- | --locals | --local | --loca | --loc | --lo)
974
+ | --localstate | --localstat | --localsta | --localst | --locals)
975
ac_prev=localstatedir ;;
976
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
977
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
978
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
979
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980
localstatedir=$ac_optarg ;;
982
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984
| --progr-tra=* | --program-tr=* | --program-t=*)
985
program_transform_name=$ac_optarg ;;
987
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
989
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990
+ pdfdir=$ac_optarg ;;
992
+ -psdir | --psdir | --psdi | --psd | --ps)
994
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995
+ psdir=$ac_optarg ;;
997
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
998
| -silent | --silent | --silen | --sile | --sil)
1000
@@ -586,24 +1002,20 @@
1002
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1003
# Reject names that are not valid shell variable names.
1004
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1005
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1006
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1007
{ (exit 1); exit 1; }; }
1008
- ac_package=`echo $ac_package| sed 's/-/_/g'`
1009
- case $ac_option in
1010
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1011
- *) ac_optarg=yes ;;
1013
- eval "with_$ac_package='$ac_optarg'" ;;
1014
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1015
+ eval with_$ac_package=\$ac_optarg ;;
1017
-without-* | --without-*)
1018
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1019
# Reject names that are not valid shell variable names.
1020
- expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1021
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1023
{ (exit 1); exit 1; }; }
1024
- ac_package=`echo $ac_package | sed 's/-/_/g'`
1025
- eval "with_$ac_package=no" ;;
1026
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1027
+ eval with_$ac_package=no ;;
1030
# Obsolete; use --with-x.
1031
@@ -634,8 +1046,7 @@
1032
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1033
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1034
{ (exit 1); exit 1; }; }
1035
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1036
- eval "$ac_envvar='$ac_optarg'"
1037
+ eval $ac_envvar=\$ac_optarg
1038
export $ac_envvar ;;
1041
@@ -655,27 +1066,19 @@
1042
{ (exit 1); exit 1; }; }
1045
-# Be sure to have absolute paths.
1046
-for ac_var in exec_prefix prefix
1048
- eval ac_val=$`echo $ac_var`
1050
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1051
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1052
- { (exit 1); exit 1; }; };;
1056
-# Be sure to have absolute paths.
1057
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1058
- localstatedir libdir includedir oldincludedir infodir mandir
1059
+# Be sure to have absolute directory names.
1060
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1061
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1062
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1063
+ libdir localedir mandir
1065
- eval ac_val=$`echo $ac_var`
1066
+ eval ac_val=\$$ac_var
1068
- [\\/$]* | ?:[\\/]* ) ;;
1069
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1070
- { (exit 1); exit 1; }; };;
1071
+ [\\/$]* | ?:[\\/]* ) continue;;
1072
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1074
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1075
+ { (exit 1); exit 1; }; }
1078
# There might be people who depend on the old broken behavior: `$host'
1079
@@ -702,76 +1105,78 @@
1080
test "$silent" = yes && exec 6>/dev/null
1083
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1084
+ac_ls_di=`ls -di .` &&
1085
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1086
+ { echo "$as_me: error: Working directory cannot be determined" >&2
1087
+ { (exit 1); exit 1; }; }
1088
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1089
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1090
+ { (exit 1); exit 1; }; }
1093
# Find the source files, if location was not specified.
1094
if test -z "$srcdir"; then
1095
ac_srcdir_defaulted=yes
1096
- # Try the directory containing this script, then its parent.
1097
- ac_confdir=`(dirname "$0") 2>/dev/null ||
1098
+ # Try the directory containing this script, then the parent directory.
1099
+ ac_confdir=`$as_dirname -- "$0" ||
1100
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1101
- X"$0" : 'X\(//\)[^/]' \| \
1102
- X"$0" : 'X\(//\)$' \| \
1103
- X"$0" : 'X\(/\)' \| \
1104
- . : '\(.\)' 2>/dev/null ||
1105
+ X"$0" : 'X\(//\)[^/]' \| \
1106
+ X"$0" : 'X\(//\)$' \| \
1107
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1109
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1110
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1111
- /^X\(\/\/\)$/{ s//\1/; q; }
1112
- /^X\(\/\).*/{ s//\1/; q; }
1114
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1118
+ /^X\(\/\/\)[^/].*/{
1132
- if test ! -r $srcdir/$ac_unique_file; then
1133
+ if test ! -r "$srcdir/$ac_unique_file"; then
1137
ac_srcdir_defaulted=no
1139
-if test ! -r $srcdir/$ac_unique_file; then
1140
- if test "$ac_srcdir_defaulted" = yes; then
1141
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1142
- { (exit 1); exit 1; }; }
1144
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1145
- { (exit 1); exit 1; }; }
1148
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1149
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1150
- { (exit 1); exit 1; }; }
1151
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1152
-ac_env_build_alias_set=${build_alias+set}
1153
-ac_env_build_alias_value=$build_alias
1154
-ac_cv_env_build_alias_set=${build_alias+set}
1155
-ac_cv_env_build_alias_value=$build_alias
1156
-ac_env_host_alias_set=${host_alias+set}
1157
-ac_env_host_alias_value=$host_alias
1158
-ac_cv_env_host_alias_set=${host_alias+set}
1159
-ac_cv_env_host_alias_value=$host_alias
1160
-ac_env_target_alias_set=${target_alias+set}
1161
-ac_env_target_alias_value=$target_alias
1162
-ac_cv_env_target_alias_set=${target_alias+set}
1163
-ac_cv_env_target_alias_value=$target_alias
1164
-ac_env_CC_set=${CC+set}
1165
-ac_env_CC_value=$CC
1166
-ac_cv_env_CC_set=${CC+set}
1167
-ac_cv_env_CC_value=$CC
1168
-ac_env_CFLAGS_set=${CFLAGS+set}
1169
-ac_env_CFLAGS_value=$CFLAGS
1170
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
1171
-ac_cv_env_CFLAGS_value=$CFLAGS
1172
-ac_env_LDFLAGS_set=${LDFLAGS+set}
1173
-ac_env_LDFLAGS_value=$LDFLAGS
1174
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1175
-ac_cv_env_LDFLAGS_value=$LDFLAGS
1176
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1177
-ac_env_CPPFLAGS_value=$CPPFLAGS
1178
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1179
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1180
-ac_env_CPP_set=${CPP+set}
1181
-ac_env_CPP_value=$CPP
1182
-ac_cv_env_CPP_set=${CPP+set}
1183
-ac_cv_env_CPP_value=$CPP
1186
+if test ! -r "$srcdir/$ac_unique_file"; then
1187
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1188
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1189
+ { (exit 1); exit 1; }; }
1191
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1193
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1194
+ { (exit 1); exit 1; }; }
1196
+# When building in place, set srcdir=.
1197
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1200
+# Remove unnecessary trailing slashes from srcdir.
1201
+# Double slashes in file names in object file debugging info
1202
+# mess up M-x gdb in Emacs.
1204
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206
+for ac_var in $ac_precious_vars; do
1207
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1208
+ eval ac_env_${ac_var}_value=\$${ac_var}
1209
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1210
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1214
# Report the --help message.
1216
if test "$ac_init_help" = "long"; then
1217
@@ -798,14 +1203,11 @@
1218
-n, --no-create do not create output files
1219
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1224
Installation directories:
1225
--prefix=PREFIX install architecture-independent files in PREFIX
1226
- [$ac_default_prefix]
1227
+ [$ac_default_prefix]
1228
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1232
By default, \`make install' will install all the files in
1233
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1234
@@ -818,15 +1220,22 @@
1235
--bindir=DIR user executables [EPREFIX/bin]
1236
--sbindir=DIR system admin executables [EPREFIX/sbin]
1237
--libexecdir=DIR program executables [EPREFIX/libexec]
1238
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
1239
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1240
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1241
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1242
--libdir=DIR object code libraries [EPREFIX/lib]
1243
--includedir=DIR C header files [PREFIX/include]
1244
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1245
- --infodir=DIR info documentation [PREFIX/info]
1246
- --mandir=DIR man documentation [PREFIX/man]
1247
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1248
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1249
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1250
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1251
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1252
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1253
+ --htmldir=DIR html documentation [DOCDIR]
1254
+ --dvidir=DIR dvi documentation [DOCDIR]
1255
+ --pdfdir=DIR pdf documentation [DOCDIR]
1256
+ --psdir=DIR ps documentation [DOCDIR]
1260
@@ -860,94 +1269,95 @@
1261
CFLAGS C compiler flags
1262
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1263
nonstandard directory <lib dir>
1264
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1265
- headers in a nonstandard directory <include dir>
1266
+ LIBS libraries to pass to the linker, e.g. -l<library>
1267
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1268
+ you have headers in a nonstandard directory <include dir>
1271
Use these variables to override the choices made by `configure' or to help
1272
it to find libraries and programs with nonstandard names/locations.
1278
if test "$ac_init_help" = "recursive"; then
1279
# If there are subdirs, report their specific --help.
1281
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1282
- test -d $ac_dir || continue
1283
+ test -d "$ac_dir" || continue
1286
-if test "$ac_dir" != .; then
1288
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1291
- # A "../" for each directory in $ac_dir_suffix.
1292
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1294
- ac_dir_suffix= ac_top_builddir=
1296
+ # A ".." for each directory in $ac_dir_suffix.
1297
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1298
+ case $ac_top_builddir_sub in
1299
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303
+ac_abs_top_builddir=$ac_pwd
1304
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305
+# for backward compatibility:
1306
+ac_top_builddir=$ac_top_build_prefix
1309
- .) # No --srcdir option. We are building in place.
1310
+ .) # We are building in place.
1312
- if test -z "$ac_top_builddir"; then
1315
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1317
- [\\/]* | ?:[\\/]* ) # Absolute path.
1318
+ ac_top_srcdir=$ac_top_builddir_sub
1319
+ ac_abs_top_srcdir=$ac_pwd ;;
1320
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1321
ac_srcdir=$srcdir$ac_dir_suffix;
1322
- ac_top_srcdir=$srcdir ;;
1323
- *) # Relative path.
1324
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1325
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1327
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1329
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1330
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1331
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1332
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1335
- # Check for guested configure; otherwise get Cygnus style configure.
1336
- if test -f $ac_srcdir/configure.gnu; then
1338
- $SHELL $ac_srcdir/configure.gnu --help=recursive
1339
- elif test -f $ac_srcdir/configure; then
1341
- $SHELL $ac_srcdir/configure --help=recursive
1342
- elif test -f $ac_srcdir/configure.ac ||
1343
- test -f $ac_srcdir/configure.in; then
1345
- $ac_configure --help
1346
+ ac_top_srcdir=$srcdir
1347
+ ac_abs_top_srcdir=$srcdir ;;
1348
+ *) # Relative name.
1349
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1351
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1353
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1355
+ cd "$ac_dir" || { ac_status=$?; continue; }
1356
+ # Check for guested configure.
1357
+ if test -f "$ac_srcdir/configure.gnu"; then
1359
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360
+ elif test -f "$ac_srcdir/configure"; then
1362
+ $SHELL "$ac_srcdir/configure" --help=recursive
1364
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1367
+ fi || ac_status=$?
1368
+ cd "$ac_pwd" || { ac_status=$?; break; }
1372
-test -n "$ac_init_help" && exit 0
1373
+test -n "$ac_init_help" && exit $ac_status
1374
if $ac_init_version; then
1377
+generated by GNU Autoconf 2.61
1379
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1380
-Free Software Foundation, Inc.
1381
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1382
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1383
This configure script is free software; the Free Software Foundation
1384
gives unlimited permission to copy, distribute and modify it.
1391
+cat >config.log <<_ACEOF
1392
This file contains any messages produced by compilers while
1393
running configure, to aid debugging if configure makes a mistake.
1395
It was created by $as_me, which was
1396
-generated by GNU Autoconf 2.57. Invocation command line was
1397
+generated by GNU Autoconf 2.61. Invocation command line was
1406
@@ -966,7 +1376,7 @@
1407
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1408
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1409
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1410
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1411
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1412
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1413
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1414
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1415
@@ -980,6 +1390,7 @@
1416
test -z "$as_dir" && as_dir=.
1417
echo "PATH: $as_dir"
1423
@@ -1001,7 +1412,6 @@
1428
ac_must_keep_next=false
1431
@@ -1012,7 +1422,7 @@
1432
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1433
| -silent | --silent | --silen | --sile | --sil)
1435
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1440
@@ -1020,23 +1430,21 @@
1442
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1443
if test $ac_must_keep_next = true; then
1444
- ac_must_keep_next=false # Got value, back to normal.
1445
+ ac_must_keep_next=false # Got value, back to normal.
1448
- *=* | --config-cache | -C | -disable-* | --disable-* \
1449
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1450
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1451
- | -with-* | --with-* | -without-* | --without-* | --x)
1452
- case "$ac_configure_args0 " in
1453
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1456
- -* ) ac_must_keep_next=true ;;
1459
+ *=* | --config-cache | -C | -disable-* | --disable-* \
1460
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1461
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1462
+ | -with-* | --with-* | -without-* | --without-* | --x)
1463
+ case "$ac_configure_args0 " in
1464
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1467
+ -* ) ac_must_keep_next=true ;;
1470
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1471
- # Get rid of the leading space.
1473
+ ac_configure_args="$ac_configure_args '$ac_arg'"
1477
@@ -1047,8 +1455,8 @@
1478
# When interrupted or exit'd, cleanup temporary files, and complete
1479
# config.log. We remove comments because anyway the quotes in there
1480
# would cause problems or look ugly.
1481
-# WARNING: Be sure not to use single quotes in there, as some shells,
1482
-# such as our DU 5.0 friend, will then `close' the trap.
1483
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1484
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1485
trap 'exit_status=$?
1486
# Save into config.log some information that might help in debugging.
1488
@@ -1061,20 +1469,34 @@
1491
# The following way of writing the cache mishandles newlines in values,
1494
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1495
+ eval ac_val=\$$ac_var
1496
+ case $ac_val in #(
1498
+ case $ac_var in #(
1499
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1500
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1502
+ case $ac_var in #(
1503
+ _ | IFS | as_nl) ;; #(
1504
+ *) $as_unset $ac_var ;;
1509
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1511
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1512
+ *${as_nl}ac_space=\ *)
1514
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1515
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1517
+ "s/'\''/'\''\\\\'\'''\''/g;
1518
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1522
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1523
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1533
@@ -1085,22 +1507,28 @@
1535
for ac_var in $ac_subst_vars
1537
- eval ac_val=$`echo $ac_var`
1538
- echo "$ac_var='"'"'$ac_val'"'"'"
1539
+ eval ac_val=\$$ac_var
1541
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1543
+ echo "$ac_var='\''$ac_val'\''"
1547
if test -n "$ac_subst_files"; then
1549
-## ------------- ##
1550
-## Output files. ##
1551
-## ------------- ##
1552
+## ------------------- ##
1553
+## File substitutions. ##
1554
+## ------------------- ##
1557
for ac_var in $ac_subst_files
1559
- eval ac_val=$`echo $ac_var`
1560
- echo "$ac_var='"'"'$ac_val'"'"'"
1561
+ eval ac_val=\$$ac_var
1563
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565
+ echo "$ac_var='\''$ac_val'\''"
1569
@@ -1112,26 +1540,24 @@
1573
- sed "/^$/d" confdefs.h | sort
1577
test "$ac_signal" != 0 &&
1578
echo "$as_me: caught signal $ac_signal"
1579
echo "$as_me: exit $exit_status"
1581
- rm -f core core.* *.core &&
1582
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1583
+ rm -f core *.core core.conftest.* &&
1584
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588
for ac_signal in 1 2 13 15; do
1589
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1593
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1594
-rm -rf conftest* confdefs.h
1595
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1597
+rm -f -r conftest* confdefs.h
1599
# Predefined preprocessor variables.
1601
@@ -1162,14 +1588,17 @@
1603
# Let the site file select an alternate cache file if it wants to.
1604
# Prefer explicitly selected file to automatically selected ones.
1605
-if test -z "$CONFIG_SITE"; then
1606
- if test "x$prefix" != xNONE; then
1607
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1609
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1611
+if test -n "$CONFIG_SITE"; then
1612
+ set x "$CONFIG_SITE"
1613
+elif test "x$prefix" != xNONE; then
1614
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1616
+ set x "$ac_default_prefix/share/config.site" \
1617
+ "$ac_default_prefix/etc/config.site"
1619
-for ac_site_file in $CONFIG_SITE; do
1623
if test -r "$ac_site_file"; then
1624
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1625
echo "$as_me: loading site script $ac_site_file" >&6;}
1626
@@ -1185,8 +1614,8 @@
1627
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1628
echo "$as_me: loading cache $cache_file" >&6;}
1630
- [\\/]* | ?:[\\/]* ) . $cache_file;;
1631
- *) . ./$cache_file;;
1632
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1633
+ *) . "./$cache_file";;
1637
@@ -1198,12 +1627,11 @@
1638
# Check that the precious variables saved in the cache have kept the same
1640
ac_cache_corrupted=false
1641
-for ac_var in `(set) 2>&1 |
1642
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1643
+for ac_var in $ac_precious_vars; do
1644
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1645
eval ac_new_set=\$ac_env_${ac_var}_set
1646
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1647
- eval ac_new_val="\$ac_env_${ac_var}_value"
1648
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1649
+ eval ac_new_val=\$ac_env_${ac_var}_value
1650
case $ac_old_set,$ac_new_set in
1652
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1653
@@ -1216,20 +1644,19 @@
1656
if test "x$ac_old_val" != "x$ac_new_val"; then
1657
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1658
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1659
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1660
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1661
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1662
echo "$as_me: former value: $ac_old_val" >&2;}
1663
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1664
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1665
echo "$as_me: current value: $ac_new_val" >&2;}
1666
- ac_cache_corrupted=:
1667
+ ac_cache_corrupted=:
1670
# Pass precious variables to config.status.
1671
if test "$ac_new_set" = set; then
1673
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1674
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1675
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1676
*) ac_arg=$ac_var=$ac_new_val ;;
1678
case " $ac_configure_args " in
1679
@@ -1246,12 +1673,6 @@
1680
{ (exit 1); exit 1; }; }
1684
-ac_cpp='$CPP $CPPFLAGS'
1685
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1686
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1687
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
1692
@@ -1268,9 +1689,14 @@
1697
+ac_cpp='$CPP $CPPFLAGS'
1698
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1699
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1700
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1703
- ac_config_headers="$ac_config_headers config.h"
1704
+ac_config_headers="$ac_config_headers config.h"
1708
@@ -1285,8 +1711,8 @@
1709
echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1710
# Extract the first word of "screen", so it can be a program name with args.
1711
set dummy screen; ac_word=$2
1712
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1713
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1715
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1716
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1717
echo $ECHO_N "(cached) $ECHO_C" >&6
1719
@@ -1301,52 +1727,75 @@
1721
test -z "$as_dir" && as_dir=.
1722
for ac_exec_ext in '' $ac_executable_extensions; do
1723
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1725
ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1726
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736
ac_prefix_program=$ac_cv_path_ac_prefix_program
1738
if test -n "$ac_prefix_program"; then
1739
- echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1740
-echo "${ECHO_T}$ac_prefix_program" >&6
1741
+ { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1742
+echo "${ECHO_T}$ac_prefix_program" >&6; }
1744
- echo "$as_me:$LINENO: result: no" >&5
1745
-echo "${ECHO_T}no" >&6
1746
+ { echo "$as_me:$LINENO: result: no" >&5
1747
+echo "${ECHO_T}no" >&6; }
1750
- if test -n $ac_prefix_program; then
1751
- prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1753
+ if test -n "$ac_prefix_program"; then
1754
+ prefix=`$as_dirname -- "$ac_prefix_program" ||
1755
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1756
- X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1757
- X"$ac_prefix_program" : 'X\(//\)$' \| \
1758
- X"$ac_prefix_program" : 'X\(/\)' \| \
1759
- . : '\(.\)' 2>/dev/null ||
1760
+ X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1761
+ X"$ac_prefix_program" : 'X\(//\)$' \| \
1762
+ X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
1763
echo X"$ac_prefix_program" |
1764
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1765
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1766
- /^X\(\/\/\)$/{ s//\1/; q; }
1767
- /^X\(\/\).*/{ s//\1/; q; }
1769
- prefix=`(dirname "$prefix") 2>/dev/null ||
1770
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1774
+ /^X\(\/\/\)[^/].*/{
1787
+ prefix=`$as_dirname -- "$prefix" ||
1788
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1789
- X"$prefix" : 'X\(//\)[^/]' \| \
1790
- X"$prefix" : 'X\(//\)$' \| \
1791
- X"$prefix" : 'X\(/\)' \| \
1792
- . : '\(.\)' 2>/dev/null ||
1793
+ X"$prefix" : 'X\(//\)[^/]' \| \
1794
+ X"$prefix" : 'X\(//\)$' \| \
1795
+ X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
1797
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1798
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1799
- /^X\(\/\/\)$/{ s//\1/; q; }
1800
- /^X\(\/\).*/{ s//\1/; q; }
1802
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1806
+ /^X\(\/\/\)[^/].*/{
1822
@@ -1354,8 +1803,8 @@
1823
echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1824
# Extract the first word of "gzip", so it can be a program name with args.
1825
set dummy gzip; ac_word=$2
1826
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1827
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1829
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1830
if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1831
echo $ECHO_N "(cached) $ECHO_C" >&6
1833
@@ -1370,52 +1819,75 @@
1835
test -z "$as_dir" && as_dir=.
1836
for ac_exec_ext in '' $ac_executable_extensions; do
1837
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1839
ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1840
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850
ac_prefix_program=$ac_cv_path_ac_prefix_program
1852
if test -n "$ac_prefix_program"; then
1853
- echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1854
-echo "${ECHO_T}$ac_prefix_program" >&6
1855
+ { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1856
+echo "${ECHO_T}$ac_prefix_program" >&6; }
1858
- echo "$as_me:$LINENO: result: no" >&5
1859
-echo "${ECHO_T}no" >&6
1860
+ { echo "$as_me:$LINENO: result: no" >&5
1861
+echo "${ECHO_T}no" >&6; }
1864
- if test -n $ac_prefix_program; then
1865
- prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1867
+ if test -n "$ac_prefix_program"; then
1868
+ prefix=`$as_dirname -- "$ac_prefix_program" ||
1869
$as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1870
- X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1871
- X"$ac_prefix_program" : 'X\(//\)$' \| \
1872
- X"$ac_prefix_program" : 'X\(/\)' \| \
1873
- . : '\(.\)' 2>/dev/null ||
1874
+ X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1875
+ X"$ac_prefix_program" : 'X\(//\)$' \| \
1876
+ X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
1877
echo X"$ac_prefix_program" |
1878
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1879
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1880
- /^X\(\/\/\)$/{ s//\1/; q; }
1881
- /^X\(\/\).*/{ s//\1/; q; }
1883
- prefix=`(dirname "$prefix") 2>/dev/null ||
1884
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1888
+ /^X\(\/\/\)[^/].*/{
1901
+ prefix=`$as_dirname -- "$prefix" ||
1902
$as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1903
- X"$prefix" : 'X\(//\)[^/]' \| \
1904
- X"$prefix" : 'X\(//\)$' \| \
1905
- X"$prefix" : 'X\(/\)' \| \
1906
- . : '\(.\)' 2>/dev/null ||
1907
+ X"$prefix" : 'X\(//\)[^/]' \| \
1908
+ X"$prefix" : 'X\(//\)$' \| \
1909
+ X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
1911
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1912
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1913
- /^X\(\/\/\)$/{ s//\1/; q; }
1914
- /^X\(\/\).*/{ s//\1/; q; }
1916
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1920
+ /^X\(\/\/\)[^/].*/{
1936
@@ -1429,8 +1901,8 @@
1937
if test -n "$ac_tool_prefix"; then
1938
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1939
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1940
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1941
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1942
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1943
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1944
if test "${ac_cv_prog_CC+set}" = set; then
1945
echo $ECHO_N "(cached) $ECHO_C" >&6
1947
@@ -1443,32 +1915,34 @@
1949
test -z "$as_dir" && as_dir=.
1950
for ac_exec_ext in '' $ac_executable_extensions; do
1951
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1952
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1953
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1954
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964
if test -n "$CC"; then
1965
- echo "$as_me:$LINENO: result: $CC" >&5
1966
-echo "${ECHO_T}$CC" >&6
1967
+ { echo "$as_me:$LINENO: result: $CC" >&5
1968
+echo "${ECHO_T}$CC" >&6; }
1970
- echo "$as_me:$LINENO: result: no" >&5
1971
-echo "${ECHO_T}no" >&6
1972
+ { echo "$as_me:$LINENO: result: no" >&5
1973
+echo "${ECHO_T}no" >&6; }
1978
if test -z "$ac_cv_prog_CC"; then
1980
# Extract the first word of "gcc", so it can be a program name with args.
1981
set dummy gcc; ac_word=$2
1982
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1983
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1984
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1985
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1986
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1987
echo $ECHO_N "(cached) $ECHO_C" >&6
1989
@@ -1481,36 +1955,51 @@
1991
test -z "$as_dir" && as_dir=.
1992
for ac_exec_ext in '' $ac_executable_extensions; do
1993
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1994
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1995
ac_cv_prog_ac_ct_CC="gcc"
1996
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006
if test -n "$ac_ct_CC"; then
2007
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008
-echo "${ECHO_T}$ac_ct_CC" >&6
2009
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2010
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2012
- echo "$as_me:$LINENO: result: no" >&5
2013
-echo "${ECHO_T}no" >&6
2014
+ { echo "$as_me:$LINENO: result: no" >&5
2015
+echo "${ECHO_T}no" >&6; }
2019
+ if test "x$ac_ct_CC" = x; then
2022
+ case $cross_compiling:$ac_tool_warned in
2024
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2025
+whose name does not start with the host triplet. If you think this
2026
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2027
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2028
+whose name does not start with the host triplet. If you think this
2029
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2030
+ac_tool_warned=yes ;;
2038
if test -z "$CC"; then
2039
- if test -n "$ac_tool_prefix"; then
2040
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
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
set dummy ${ac_tool_prefix}cc; ac_word=$2
2044
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2045
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2047
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048
if test "${ac_cv_prog_CC+set}" = set; then
2049
echo $ECHO_N "(cached) $ECHO_C" >&6
2051
@@ -1523,74 +2012,34 @@
2053
test -z "$as_dir" && as_dir=.
2054
for ac_exec_ext in '' $ac_executable_extensions; do
2055
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2057
ac_cv_prog_CC="${ac_tool_prefix}cc"
2058
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
if test -n "$CC"; then
2069
- echo "$as_me:$LINENO: result: $CC" >&5
2070
-echo "${ECHO_T}$CC" >&6
2072
- echo "$as_me:$LINENO: result: no" >&5
2073
-echo "${ECHO_T}no" >&6
2077
-if test -z "$ac_cv_prog_CC"; then
2079
- # Extract the first word of "cc", so it can be a program name with args.
2080
-set dummy cc; ac_word=$2
2081
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2082
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2084
- echo $ECHO_N "(cached) $ECHO_C" >&6
2086
- if test -n "$ac_ct_CC"; then
2087
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090
-for as_dir in $PATH
2093
- test -z "$as_dir" && as_dir=.
2094
- for ac_exec_ext in '' $ac_executable_extensions; do
2095
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096
- ac_cv_prog_ac_ct_CC="cc"
2097
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106
-if test -n "$ac_ct_CC"; then
2107
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108
-echo "${ECHO_T}$ac_ct_CC" >&6
2109
+ { echo "$as_me:$LINENO: result: $CC" >&5
2110
+echo "${ECHO_T}$CC" >&6; }
2112
- echo "$as_me:$LINENO: result: no" >&5
2113
-echo "${ECHO_T}no" >&6
2114
+ { echo "$as_me:$LINENO: result: no" >&5
2115
+echo "${ECHO_T}no" >&6; }
2120
- CC="$ac_cv_prog_CC"
2125
if test -z "$CC"; then
2126
# Extract the first word of "cc", so it can be a program name with args.
2127
set dummy cc; ac_word=$2
2128
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2129
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132
if test "${ac_cv_prog_CC+set}" = set; then
2133
echo $ECHO_N "(cached) $ECHO_C" >&6
2135
@@ -1604,7 +2053,7 @@
2137
test -z "$as_dir" && as_dir=.
2138
for ac_exec_ext in '' $ac_executable_extensions; do
2139
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2142
ac_prog_rejected=yes
2144
@@ -1615,6 +2064,7 @@
2150
if test $ac_prog_rejected = yes; then
2151
# We found a bogon in the path, so make sure we never use it.
2152
@@ -1632,22 +2082,23 @@
2155
if test -n "$CC"; then
2156
- echo "$as_me:$LINENO: result: $CC" >&5
2157
-echo "${ECHO_T}$CC" >&6
2158
+ { echo "$as_me:$LINENO: result: $CC" >&5
2159
+echo "${ECHO_T}$CC" >&6; }
2161
- echo "$as_me:$LINENO: result: no" >&5
2162
-echo "${ECHO_T}no" >&6
2163
+ { echo "$as_me:$LINENO: result: no" >&5
2164
+echo "${ECHO_T}no" >&6; }
2169
if test -z "$CC"; then
2170
if test -n "$ac_tool_prefix"; then
2172
+ for ac_prog in cl.exe
2174
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2175
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2176
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2177
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2178
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2179
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180
if test "${ac_cv_prog_CC+set}" = set; then
2181
echo $ECHO_N "(cached) $ECHO_C" >&6
2183
@@ -1660,36 +2111,38 @@
2185
test -z "$as_dir" && as_dir=.
2186
for ac_exec_ext in '' $ac_executable_extensions; do
2187
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2188
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2190
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200
if test -n "$CC"; then
2201
- echo "$as_me:$LINENO: result: $CC" >&5
2202
-echo "${ECHO_T}$CC" >&6
2203
+ { echo "$as_me:$LINENO: result: $CC" >&5
2204
+echo "${ECHO_T}$CC" >&6; }
2206
- echo "$as_me:$LINENO: result: no" >&5
2207
-echo "${ECHO_T}no" >&6
2208
+ { echo "$as_me:$LINENO: result: no" >&5
2209
+echo "${ECHO_T}no" >&6; }
2213
test -n "$CC" && break
2216
if test -z "$CC"; then
2219
+ for ac_prog in cl.exe
2221
# Extract the first word of "$ac_prog", so it can be a program name with args.
2222
set dummy $ac_prog; ac_word=$2
2223
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2224
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2226
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2227
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2228
echo $ECHO_N "(cached) $ECHO_C" >&6
2230
@@ -1702,29 +2155,45 @@
2232
test -z "$as_dir" && as_dir=.
2233
for ac_exec_ext in '' $ac_executable_extensions; do
2234
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236
ac_cv_prog_ac_ct_CC="$ac_prog"
2237
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2247
if test -n "$ac_ct_CC"; then
2248
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2249
-echo "${ECHO_T}$ac_ct_CC" >&6
2250
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2251
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2253
- echo "$as_me:$LINENO: result: no" >&5
2254
-echo "${ECHO_T}no" >&6
2255
+ { echo "$as_me:$LINENO: result: no" >&5
2256
+echo "${ECHO_T}no" >&6; }
2260
test -n "$ac_ct_CC" && break
2264
+ if test "x$ac_ct_CC" = x; then
2267
+ case $cross_compiling:$ac_tool_warned in
2269
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2270
+whose name does not start with the host triplet. If you think this
2271
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2272
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2273
+whose name does not start with the host triplet. If you think this
2274
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2275
+ac_tool_warned=yes ;;
2282
@@ -1737,27 +2206,40 @@
2283
{ (exit 1); exit 1; }; }
2285
# Provide some information about the compiler.
2286
-echo "$as_me:$LINENO:" \
2287
- "checking for C compiler version" >&5
2288
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2289
ac_compiler=`set X $ac_compile; echo $2`
2290
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2291
- (eval $ac_compiler --version </dev/null >&5) 2>&5
2292
+{ (ac_try="$ac_compiler --version >&5"
2293
+case "(($ac_try" in
2294
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2295
+ *) ac_try_echo=$ac_try;;
2297
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2298
+ (eval "$ac_compiler --version >&5") 2>&5
2300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301
(exit $ac_status); }
2302
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2303
- (eval $ac_compiler -v </dev/null >&5) 2>&5
2304
+{ (ac_try="$ac_compiler -v >&5"
2305
+case "(($ac_try" in
2306
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307
+ *) ac_try_echo=$ac_try;;
2309
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2310
+ (eval "$ac_compiler -v >&5") 2>&5
2312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313
(exit $ac_status); }
2314
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2315
- (eval $ac_compiler -V </dev/null >&5) 2>&5
2316
+{ (ac_try="$ac_compiler -V >&5"
2317
+case "(($ac_try" in
2318
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2319
+ *) ac_try_echo=$ac_try;;
2321
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2322
+ (eval "$ac_compiler -V >&5") 2>&5
2324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325
(exit $ac_status); }
2327
cat >conftest.$ac_ext <<_ACEOF
2328
-#line $LINENO "configure"
2331
cat confdefs.h >>conftest.$ac_ext
2332
@@ -1777,47 +2259,77 @@
2333
# Try to create an executable without -o first, disregard a.out.
2334
# It will help us diagnose broken compilers, and finding out an intuition
2336
-echo "$as_me:$LINENO: checking for C compiler default output" >&5
2337
-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2338
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2339
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2340
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2341
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2342
- (eval $ac_link_default) 2>&5
2344
+# List of possible output files, starting from the most likely.
2345
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2346
+# only as a last resort. b.out is created by i960 compilers.
2347
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2349
+# The IRIX 6 linker writes into existing files which may not be
2350
+# executable, retaining their permissions. Remove them first so a
2351
+# subsequent execution test works.
2353
+for ac_file in $ac_files
2356
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2357
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2362
+if { (ac_try="$ac_link_default"
2363
+case "(($ac_try" in
2364
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2365
+ *) ac_try_echo=$ac_try;;
2367
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2368
+ (eval "$ac_link_default") 2>&5
2370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371
(exit $ac_status); }; then
2372
- # Find the output, starting from the most likely. This scheme is
2373
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2376
-# Be careful to initialize this variable, since it used to be cached.
2377
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2379
-# b.out is created by i960 compilers.
2380
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2381
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2382
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2383
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2384
+# so that the user can short-circuit this test for compilers unknown to
2386
+for ac_file in $ac_files ''
2388
test -f "$ac_file" || continue
2390
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2392
- conftest.$ac_ext )
2393
- # This is the source file.
2395
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2398
- # We found the default executable, but exeext='' is most
2399
- # certainly right.
2401
+ # We found the default executable, but exeext='' is most
2402
+ # certainly right.
2405
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2406
- # FIXME: I believe we export ac_cv_exeext for Libtool,
2407
- # but it would be cool to find out if it's true. Does anybody
2408
- # maintain Libtool? --akim.
2409
- export ac_cv_exeext
2411
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2413
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415
+ # We set ac_cv_exeext here because the later test for it is not
2416
+ # safe: cross compilers may not add the suffix if given an `-o'
2417
+ # argument, so we may need to know it at that point already.
2418
+ # Even if this section looks crufty: it has the advantage of
2419
+ # actually working.
2426
+test "$ac_cv_exeext" = no && ac_cv_exeext=
2432
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2433
+echo "${ECHO_T}$ac_file" >&6; }
2434
+if test -z "$ac_file"; then
2435
echo "$as_me: failed program was:" >&5
2436
sed 's/^/| /' conftest.$ac_ext >&5
2438
@@ -1829,19 +2341,21 @@
2441
ac_exeext=$ac_cv_exeext
2442
-echo "$as_me:$LINENO: result: $ac_file" >&5
2443
-echo "${ECHO_T}$ac_file" >&6
2445
-# Check the compiler produces executables we can run. If not, either
2446
+# Check that the compiler produces executables we can run. If not, either
2447
# the compiler is broken, or we cross compile.
2448
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2449
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
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
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2453
# If not cross compiling, check that we can run a simple program.
2454
if test "$cross_compiling" != yes; then
2455
if { ac_try='./$ac_file'
2456
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457
- (eval $ac_try) 2>&5
2458
+ { (case "(($ac_try" in
2459
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460
+ *) ac_try_echo=$ac_try;;
2462
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2463
+ (eval "$ac_try") 2>&5
2465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466
(exit $ac_status); }; }; then
2467
@@ -1860,22 +2374,27 @@
2471
-echo "$as_me:$LINENO: result: yes" >&5
2472
-echo "${ECHO_T}yes" >&6
2473
+{ echo "$as_me:$LINENO: result: yes" >&5
2474
+echo "${ECHO_T}yes" >&6; }
2476
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477
ac_clean_files=$ac_clean_files_save
2478
-# Check the compiler produces executables we can run. If not, either
2479
+# Check that the compiler produces executables we can run. If not, either
2480
# the compiler is broken, or we cross compile.
2481
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484
-echo "${ECHO_T}$cross_compiling" >&6
2486
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489
- (eval $ac_link) 2>&5
2490
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2491
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2492
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2493
+echo "${ECHO_T}$cross_compiling" >&6; }
2495
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2496
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2497
+if { (ac_try="$ac_link"
2498
+case "(($ac_try" in
2499
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500
+ *) ac_try_echo=$ac_try;;
2502
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503
+ (eval "$ac_link") 2>&5
2505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
(exit $ac_status); }; then
2507
@@ -1886,10 +2405,9 @@
2508
for ac_file in conftest.exe conftest conftest.*; do
2509
test -f "$ac_file" || continue
2511
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2512
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2513
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2514
- export ac_cv_exeext
2520
@@ -1902,19 +2420,18 @@
2523
rm -f conftest$ac_cv_exeext
2524
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2525
-echo "${ECHO_T}$ac_cv_exeext" >&6
2526
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2527
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2529
rm -f conftest.$ac_ext
2530
EXEEXT=$ac_cv_exeext
2532
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2533
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
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
if test "${ac_cv_objext+set}" = set; then
2537
echo $ECHO_N "(cached) $ECHO_C" >&6
2539
cat >conftest.$ac_ext <<_ACEOF
2540
-#line $LINENO "configure"
2543
cat confdefs.h >>conftest.$ac_ext
2544
@@ -1930,14 +2447,20 @@
2547
rm -f conftest.o conftest.obj
2548
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549
- (eval $ac_compile) 2>&5
2550
+if { (ac_try="$ac_compile"
2551
+case "(($ac_try" in
2552
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553
+ *) ac_try_echo=$ac_try;;
2555
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2556
+ (eval "$ac_compile") 2>&5
2558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559
(exit $ac_status); }; then
2560
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2561
+ for ac_file in conftest.o conftest.obj conftest.*; do
2562
+ test -f "$ac_file" || continue;
2564
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2565
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2566
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2569
@@ -1955,17 +2478,16 @@
2571
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2573
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2574
-echo "${ECHO_T}$ac_cv_objext" >&6
2575
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2576
+echo "${ECHO_T}$ac_cv_objext" >&6; }
2577
OBJEXT=$ac_cv_objext
2579
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2580
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
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
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2584
echo $ECHO_N "(cached) $ECHO_C" >&6
2586
cat >conftest.$ac_ext <<_ACEOF
2587
-#line $LINENO "configure"
2590
cat confdefs.h >>conftest.$ac_ext
2591
@@ -1984,41 +2506,87 @@
2594
rm -f conftest.$ac_objext
2595
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596
- (eval $ac_compile) 2>&5
2598
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
- (exit $ac_status); } &&
2600
- { ac_try='test -s conftest.$ac_objext'
2601
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602
- (eval $ac_try) 2>&5
2603
+if { (ac_try="$ac_compile"
2604
+case "(($ac_try" in
2605
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606
+ *) ac_try_echo=$ac_try;;
2608
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609
+ (eval "$ac_compile") 2>conftest.er1
2611
+ grep -v '^ *+' conftest.er1 >conftest.err
2612
+ rm -f conftest.er1
2613
+ cat conftest.err >&5
2614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615
- (exit $ac_status); }; }; then
2616
+ (exit $ac_status); } && {
2617
+ test -z "$ac_c_werror_flag" ||
2618
+ test ! -s conftest.err
2619
+ } && test -s conftest.$ac_objext; then
2622
echo "$as_me: failed program was:" >&5
2623
sed 's/^/| /' conftest.$ac_ext >&5
2626
+ ac_compiler_gnu=no
2628
-rm -f conftest.$ac_objext conftest.$ac_ext
2630
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2634
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2635
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2636
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2637
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2638
GCC=`test $ac_compiler_gnu = yes && echo yes`
2639
ac_test_CFLAGS=${CFLAGS+set}
2640
ac_save_CFLAGS=$CFLAGS
2642
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2643
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2644
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2645
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2646
if test "${ac_cv_prog_cc_g+set}" = set; then
2647
echo $ECHO_N "(cached) $ECHO_C" >&6
2649
- cat >conftest.$ac_ext <<_ACEOF
2650
-#line $LINENO "configure"
2651
+ ac_save_c_werror_flag=$ac_c_werror_flag
2652
+ ac_c_werror_flag=yes
2653
+ ac_cv_prog_cc_g=no
2655
+ cat >conftest.$ac_ext <<_ACEOF
2658
+cat confdefs.h >>conftest.$ac_ext
2659
+cat >>conftest.$ac_ext <<_ACEOF
2660
+/* end confdefs.h. */
2670
+rm -f conftest.$ac_objext
2671
+if { (ac_try="$ac_compile"
2672
+case "(($ac_try" in
2673
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674
+ *) ac_try_echo=$ac_try;;
2676
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677
+ (eval "$ac_compile") 2>conftest.er1
2679
+ grep -v '^ *+' conftest.er1 >conftest.err
2680
+ rm -f conftest.er1
2681
+ cat conftest.err >&5
2682
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
+ (exit $ac_status); } && {
2684
+ test -z "$ac_c_werror_flag" ||
2685
+ test ! -s conftest.err
2686
+ } && test -s conftest.$ac_objext; then
2687
+ ac_cv_prog_cc_g=yes
2689
+ echo "$as_me: failed program was:" >&5
2690
+sed 's/^/| /' conftest.$ac_ext >&5
2693
+ cat >conftest.$ac_ext <<_ACEOF
2696
cat confdefs.h >>conftest.$ac_ext
2697
@@ -2034,28 +2602,80 @@
2700
rm -f conftest.$ac_objext
2701
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702
- (eval $ac_compile) 2>&5
2703
+if { (ac_try="$ac_compile"
2704
+case "(($ac_try" in
2705
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706
+ *) ac_try_echo=$ac_try;;
2708
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2709
+ (eval "$ac_compile") 2>conftest.er1
2711
+ grep -v '^ *+' conftest.er1 >conftest.err
2712
+ rm -f conftest.er1
2713
+ cat conftest.err >&5
2714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
- (exit $ac_status); } &&
2716
- { ac_try='test -s conftest.$ac_objext'
2717
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718
- (eval $ac_try) 2>&5
2719
+ (exit $ac_status); } && {
2720
+ test -z "$ac_c_werror_flag" ||
2721
+ test ! -s conftest.err
2722
+ } && test -s conftest.$ac_objext; then
2725
+ echo "$as_me: failed program was:" >&5
2726
+sed 's/^/| /' conftest.$ac_ext >&5
2728
+ ac_c_werror_flag=$ac_save_c_werror_flag
2730
+ cat >conftest.$ac_ext <<_ACEOF
2733
+cat confdefs.h >>conftest.$ac_ext
2734
+cat >>conftest.$ac_ext <<_ACEOF
2735
+/* end confdefs.h. */
2745
+rm -f conftest.$ac_objext
2746
+if { (ac_try="$ac_compile"
2747
+case "(($ac_try" in
2748
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749
+ *) ac_try_echo=$ac_try;;
2751
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752
+ (eval "$ac_compile") 2>conftest.er1
2754
+ grep -v '^ *+' conftest.er1 >conftest.err
2755
+ rm -f conftest.er1
2756
+ cat conftest.err >&5
2757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
- (exit $ac_status); }; }; then
2759
+ (exit $ac_status); } && {
2760
+ test -z "$ac_c_werror_flag" ||
2761
+ test ! -s conftest.err
2762
+ } && test -s conftest.$ac_objext; then
2765
echo "$as_me: failed program was:" >&5
2766
sed 's/^/| /' conftest.$ac_ext >&5
2771
-rm -f conftest.$ac_objext conftest.$ac_ext
2773
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2779
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780
+ ac_c_werror_flag=$ac_save_c_werror_flag
2782
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2783
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2784
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2785
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2786
if test "$ac_test_CFLAGS" = set; then
2787
CFLAGS=$ac_save_CFLAGS
2788
elif test $ac_cv_prog_cc_g = yes; then
2789
@@ -2071,15 +2691,14 @@
2793
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2794
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2795
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
2796
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2797
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2798
+if test "${ac_cv_prog_cc_c89+set}" = set; then
2799
echo $ECHO_N "(cached) $ECHO_C" >&6
2801
- ac_cv_prog_cc_stdc=no
2802
+ ac_cv_prog_cc_c89=no
2804
cat >conftest.$ac_ext <<_ACEOF
2805
-#line $LINENO "configure"
2808
cat confdefs.h >>conftest.$ac_ext
2809
@@ -2107,6 +2726,21 @@
2814
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2815
+ function prototypes and stuff, but not '\xHH' hex character constants.
2816
+ These don't provoke an error unfortunately, instead are silently treated
2817
+ as 'x'. The following induces an error, until -std is added to get
2818
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2819
+ array size at least. It's necessary to write '\x00'==0 to get something
2820
+ that's true only with -std. */
2821
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2823
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2824
+ inside strings and character constants. */
2826
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2828
int test (int i, double x);
2829
struct s1 {int (*f) (int a);};
2830
struct s2 {int (*f) (double a);};
2831
@@ -2121,232 +2755,119 @@
2835
-# Don't try gcc -ansi; that turns off useful extensions and
2836
-# breaks some systems' header files.
2837
-# AIX -qlanglvl=ansi
2838
-# Ultrix and OSF/1 -std1
2839
-# HP-UX 10.20 and later -Ae
2840
-# HP-UX older versions -Aa -D_HPUX_SOURCE
2841
-# SVR4 -Xc -D__EXTENSIONS__
2842
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2843
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2844
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2846
CC="$ac_save_CC $ac_arg"
2847
rm -f conftest.$ac_objext
2848
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849
- (eval $ac_compile) 2>&5
2851
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852
- (exit $ac_status); } &&
2853
- { ac_try='test -s conftest.$ac_objext'
2854
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855
- (eval $ac_try) 2>&5
2856
+if { (ac_try="$ac_compile"
2857
+case "(($ac_try" in
2858
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859
+ *) ac_try_echo=$ac_try;;
2861
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862
+ (eval "$ac_compile") 2>conftest.er1
2864
+ grep -v '^ *+' conftest.er1 >conftest.err
2865
+ rm -f conftest.er1
2866
+ cat conftest.err >&5
2867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868
- (exit $ac_status); }; }; then
2869
- ac_cv_prog_cc_stdc=$ac_arg
2871
+ (exit $ac_status); } && {
2872
+ test -z "$ac_c_werror_flag" ||
2873
+ test ! -s conftest.err
2874
+ } && test -s conftest.$ac_objext; then
2875
+ ac_cv_prog_cc_c89=$ac_arg
2877
echo "$as_me: failed program was:" >&5
2878
sed 's/^/| /' conftest.$ac_ext >&5
2882
-rm -f conftest.$ac_objext
2884
+rm -f core conftest.err conftest.$ac_objext
2885
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2887
-rm -f conftest.$ac_ext conftest.$ac_objext
2888
+rm -f conftest.$ac_ext
2893
-case "x$ac_cv_prog_cc_stdc" in
2895
- echo "$as_me:$LINENO: result: none needed" >&5
2896
-echo "${ECHO_T}none needed" >&6 ;;
2898
+case "x$ac_cv_prog_cc_c89" in
2900
+ { echo "$as_me:$LINENO: result: none needed" >&5
2901
+echo "${ECHO_T}none needed" >&6; } ;;
2903
+ { echo "$as_me:$LINENO: result: unsupported" >&5
2904
+echo "${ECHO_T}unsupported" >&6; } ;;
2906
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2907
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2908
- CC="$CC $ac_cv_prog_cc_stdc" ;;
2909
+ CC="$CC $ac_cv_prog_cc_c89"
2910
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2911
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2914
-# Some people use a C++ compiler to compile C. Since we use `exit',
2915
-# in C++ we need to declare it. In case someone uses the same compiler
2916
-# for both compiling C and C++ we need to have the C++ compiler decide
2917
-# the declaration of exit, since it's the most demanding environment.
2918
-cat >conftest.$ac_ext <<_ACEOF
2919
-#ifndef __cplusplus
2923
-rm -f conftest.$ac_objext
2924
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2925
- (eval $ac_compile) 2>&5
2927
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928
- (exit $ac_status); } &&
2929
- { ac_try='test -s conftest.$ac_objext'
2930
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931
- (eval $ac_try) 2>&5
2933
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934
- (exit $ac_status); }; }; then
2935
- for ac_declaration in \
2937
- '#include <stdlib.h>' \
2938
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
2939
- 'extern "C" void std::exit (int); using std::exit;' \
2940
- 'extern "C" void exit (int) throw ();' \
2941
- 'extern "C" void exit (int);' \
2942
- 'void exit (int);'
2945
+ac_cpp='$CPP $CPPFLAGS'
2946
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2951
+ac_cpp='$CPP $CPPFLAGS'
2952
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2955
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2956
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2957
+# On Suns, sometimes $CPP names a directory.
2958
+if test -n "$CPP" && test -d "$CPP"; then
2961
+if test -z "$CPP"; then
2962
+ if test "${ac_cv_prog_CPP+set}" = set; then
2963
+ echo $ECHO_N "(cached) $ECHO_C" >&6
2965
+ # Double quotes because CPP needs to be expanded
2966
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2968
+ ac_preproc_ok=false
2969
+for ac_c_preproc_warn_flag in '' yes
2971
+ # Use a header file that comes with gcc, so configuring glibc
2972
+ # with a fresh cross-compiler works.
2973
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2974
+ # <limits.h> exists even on freestanding compilers.
2975
+ # On the NeXT, cc -E runs the code through the compiler's parser,
2976
+ # not just through cpp. "Syntax error" is here to catch this case.
2977
cat >conftest.$ac_ext <<_ACEOF
2978
-#line $LINENO "configure"
2981
cat confdefs.h >>conftest.$ac_ext
2982
cat >>conftest.$ac_ext <<_ACEOF
2983
/* end confdefs.h. */
2984
-#include <stdlib.h>
2994
+# include <limits.h>
2996
+# include <assert.h>
3000
-rm -f conftest.$ac_objext
3001
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3002
- (eval $ac_compile) 2>&5
3004
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005
- (exit $ac_status); } &&
3006
- { ac_try='test -s conftest.$ac_objext'
3007
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008
- (eval $ac_try) 2>&5
3009
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3010
+case "(($ac_try" in
3011
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012
+ *) ac_try_echo=$ac_try;;
3014
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3017
+ grep -v '^ *+' conftest.er1 >conftest.err
3018
+ rm -f conftest.er1
3019
+ cat conftest.err >&5
3020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021
- (exit $ac_status); }; }; then
3024
- echo "$as_me: failed program was:" >&5
3025
-sed 's/^/| /' conftest.$ac_ext >&5
3029
-rm -f conftest.$ac_objext conftest.$ac_ext
3030
- cat >conftest.$ac_ext <<_ACEOF
3031
-#line $LINENO "configure"
3034
-cat confdefs.h >>conftest.$ac_ext
3035
-cat >>conftest.$ac_ext <<_ACEOF
3036
-/* end confdefs.h. */
3046
-rm -f conftest.$ac_objext
3047
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3048
- (eval $ac_compile) 2>&5
3050
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051
- (exit $ac_status); } &&
3052
- { ac_try='test -s conftest.$ac_objext'
3053
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054
- (eval $ac_try) 2>&5
3056
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
- (exit $ac_status); }; }; then
3060
- echo "$as_me: failed program was:" >&5
3061
-sed 's/^/| /' conftest.$ac_ext >&5
3064
-rm -f conftest.$ac_objext conftest.$ac_ext
3067
-if test -n "$ac_declaration"; then
3068
- echo '#ifdef __cplusplus' >>confdefs.h
3069
- echo $ac_declaration >>confdefs.h
3070
- echo '#endif' >>confdefs.h
3074
- echo "$as_me: failed program was:" >&5
3075
-sed 's/^/| /' conftest.$ac_ext >&5
3078
-rm -f conftest.$ac_objext conftest.$ac_ext
3080
-ac_cpp='$CPP $CPPFLAGS'
3081
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3082
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3083
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3086
-ac_cpp='$CPP $CPPFLAGS'
3087
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3091
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3092
-# On Suns, sometimes $CPP names a directory.
3093
-if test -n "$CPP" && test -d "$CPP"; then
3096
-if test -z "$CPP"; then
3097
- if test "${ac_cv_prog_CPP+set}" = set; then
3098
- echo $ECHO_N "(cached) $ECHO_C" >&6
3100
- # Double quotes because CPP needs to be expanded
3101
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3103
- ac_preproc_ok=false
3104
-for ac_c_preproc_warn_flag in '' yes
3106
- # Use a header file that comes with gcc, so configuring glibc
3107
- # with a fresh cross-compiler works.
3108
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3109
- # <limits.h> exists even on freestanding compilers.
3110
- # On the NeXT, cc -E runs the code through the compiler's parser,
3111
- # not just through cpp. "Syntax error" is here to catch this case.
3112
- cat >conftest.$ac_ext <<_ACEOF
3113
-#line $LINENO "configure"
3116
-cat confdefs.h >>conftest.$ac_ext
3117
-cat >>conftest.$ac_ext <<_ACEOF
3118
-/* end confdefs.h. */
3120
-# include <limits.h>
3122
-# include <assert.h>
3126
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3129
- grep -v '^ *+' conftest.er1 >conftest.err
3130
- rm -f conftest.er1
3131
- cat conftest.err >&5
3132
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133
- (exit $ac_status); } >/dev/null; then
3134
- if test -s conftest.err; then
3135
- ac_cpp_err=$ac_c_preproc_warn_flag
3142
-if test -z "$ac_cpp_err"; then
3143
+ (exit $ac_status); } >/dev/null && {
3144
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3145
+ test ! -s conftest.err
3149
echo "$as_me: failed program was:" >&5
3150
@@ -2355,12 +2876,12 @@
3151
# Broken: fails on valid input.
3155
rm -f conftest.err conftest.$ac_ext
3157
- # OK, works on sane cases. Now check whether non-existent headers
3158
+ # OK, works on sane cases. Now check whether nonexistent headers
3159
# can be detected and how.
3160
cat >conftest.$ac_ext <<_ACEOF
3161
-#line $LINENO "configure"
3164
cat confdefs.h >>conftest.$ac_ext
3165
@@ -2368,23 +2889,22 @@
3166
/* end confdefs.h. */
3167
#include <ac_nonexistent.h>
3169
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3170
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3171
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3172
+case "(($ac_try" in
3173
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174
+ *) ac_try_echo=$ac_try;;
3176
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3177
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3179
grep -v '^ *+' conftest.er1 >conftest.err
3181
cat conftest.err >&5
3182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183
- (exit $ac_status); } >/dev/null; then
3184
- if test -s conftest.err; then
3185
- ac_cpp_err=$ac_c_preproc_warn_flag
3192
-if test -z "$ac_cpp_err"; then
3193
+ (exit $ac_status); } >/dev/null && {
3194
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3195
+ test ! -s conftest.err
3197
# Broken: success on invalid input.
3200
@@ -2395,6 +2915,7 @@
3205
rm -f conftest.err conftest.$ac_ext
3208
@@ -2412,8 +2933,8 @@
3212
-echo "$as_me:$LINENO: result: $CPP" >&5
3213
-echo "${ECHO_T}$CPP" >&6
3214
+{ echo "$as_me:$LINENO: result: $CPP" >&5
3215
+echo "${ECHO_T}$CPP" >&6; }
3217
for ac_c_preproc_warn_flag in '' yes
3219
@@ -2424,7 +2945,6 @@
3220
# On the NeXT, cc -E runs the code through the compiler's parser,
3221
# not just through cpp. "Syntax error" is here to catch this case.
3222
cat >conftest.$ac_ext <<_ACEOF
3223
-#line $LINENO "configure"
3226
cat confdefs.h >>conftest.$ac_ext
3227
@@ -2435,25 +2955,24 @@
3229
# include <assert.h>
3234
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3235
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3236
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3237
+case "(($ac_try" in
3238
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239
+ *) ac_try_echo=$ac_try;;
3241
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3244
grep -v '^ *+' conftest.er1 >conftest.err
3246
cat conftest.err >&5
3247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248
- (exit $ac_status); } >/dev/null; then
3249
- if test -s conftest.err; then
3250
- ac_cpp_err=$ac_c_preproc_warn_flag
3257
-if test -z "$ac_cpp_err"; then
3258
+ (exit $ac_status); } >/dev/null && {
3259
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3260
+ test ! -s conftest.err
3264
echo "$as_me: failed program was:" >&5
3265
@@ -2462,12 +2981,12 @@
3266
# Broken: fails on valid input.
3270
rm -f conftest.err conftest.$ac_ext
3272
- # OK, works on sane cases. Now check whether non-existent headers
3273
+ # OK, works on sane cases. Now check whether nonexistent headers
3274
# can be detected and how.
3275
cat >conftest.$ac_ext <<_ACEOF
3276
-#line $LINENO "configure"
3279
cat confdefs.h >>conftest.$ac_ext
3280
@@ -2475,23 +2994,22 @@
3281
/* end confdefs.h. */
3282
#include <ac_nonexistent.h>
3284
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3285
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3286
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3287
+case "(($ac_try" in
3288
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289
+ *) ac_try_echo=$ac_try;;
3291
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3294
grep -v '^ *+' conftest.er1 >conftest.err
3296
cat conftest.err >&5
3297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
- (exit $ac_status); } >/dev/null; then
3299
- if test -s conftest.err; then
3300
- ac_cpp_err=$ac_c_preproc_warn_flag
3307
-if test -z "$ac_cpp_err"; then
3308
+ (exit $ac_status); } >/dev/null && {
3309
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3310
+ test ! -s conftest.err
3312
# Broken: success on invalid input.
3315
@@ -2502,6 +3020,7 @@
3320
rm -f conftest.err conftest.$ac_ext
3323
@@ -2525,30 +3044,176 @@
3327
-echo "$as_me:$LINENO: checking for egrep" >&5
3328
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3329
-if test "${ac_cv_prog_egrep+set}" = set; then
3330
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3331
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3332
+if test "${ac_cv_path_GREP+set}" = set; then
3333
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3335
+ # Extract the first word of "grep ggrep" to use in msg output
3336
+if test -z "$GREP"; then
3337
+set dummy grep ggrep; ac_prog_name=$2
3338
+if test "${ac_cv_path_GREP+set}" = set; then
3339
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3341
+ ac_path_GREP_found=false
3342
+# Loop through the user's path and test for each of PROGNAME-LIST
3343
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3347
+ test -z "$as_dir" && as_dir=.
3348
+ for ac_prog in grep ggrep; do
3349
+ for ac_exec_ext in '' $ac_executable_extensions; do
3350
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3351
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3352
+ # Check for GNU ac_path_GREP and select it if it is found.
3353
+ # Check for GNU $ac_path_GREP
3354
+case `"$ac_path_GREP" --version 2>&1` in
3356
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3359
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3362
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3363
+ mv "conftest.tmp" "conftest.in"
3364
+ cp "conftest.in" "conftest.nl"
3365
+ echo 'GREP' >> "conftest.nl"
3366
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3367
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3368
+ ac_count=`expr $ac_count + 1`
3369
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
3370
+ # Best one so far, save it but keep looking for a better one
3371
+ ac_cv_path_GREP="$ac_path_GREP"
3372
+ ac_path_GREP_max=$ac_count
3374
+ # 10*(2^10) chars as input seems more than enough
3375
+ test $ac_count -gt 10 && break
3377
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3381
+ $ac_path_GREP_found && break 3
3391
+GREP="$ac_cv_path_GREP"
3392
+if test -z "$GREP"; then
3393
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3394
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3395
+ { (exit 1); exit 1; }; }
3399
+ ac_cv_path_GREP=$GREP
3404
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3405
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3406
+ GREP="$ac_cv_path_GREP"
3409
+{ echo "$as_me:$LINENO: checking for egrep" >&5
3410
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3411
+if test "${ac_cv_path_EGREP+set}" = set; then
3412
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3414
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3415
+ then ac_cv_path_EGREP="$GREP -E"
3417
+ # Extract the first word of "egrep" to use in msg output
3418
+if test -z "$EGREP"; then
3419
+set dummy egrep; ac_prog_name=$2
3420
+if test "${ac_cv_path_EGREP+set}" = set; then
3421
echo $ECHO_N "(cached) $ECHO_C" >&6
3423
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3424
- then ac_cv_prog_egrep='grep -E'
3425
- else ac_cv_prog_egrep='egrep'
3426
+ ac_path_EGREP_found=false
3427
+# Loop through the user's path and test for each of PROGNAME-LIST
3428
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3429
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3432
+ test -z "$as_dir" && as_dir=.
3433
+ for ac_prog in egrep; do
3434
+ for ac_exec_ext in '' $ac_executable_extensions; do
3435
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3436
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3437
+ # Check for GNU ac_path_EGREP and select it if it is found.
3438
+ # Check for GNU $ac_path_EGREP
3439
+case `"$ac_path_EGREP" --version 2>&1` in
3441
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3444
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3447
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3448
+ mv "conftest.tmp" "conftest.in"
3449
+ cp "conftest.in" "conftest.nl"
3450
+ echo 'EGREP' >> "conftest.nl"
3451
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3452
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3453
+ ac_count=`expr $ac_count + 1`
3454
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3455
+ # Best one so far, save it but keep looking for a better one
3456
+ ac_cv_path_EGREP="$ac_path_EGREP"
3457
+ ac_path_EGREP_max=$ac_count
3459
+ # 10*(2^10) chars as input seems more than enough
3460
+ test $ac_count -gt 10 && break
3462
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3466
+ $ac_path_EGREP_found && break 3
3476
+EGREP="$ac_cv_path_EGREP"
3477
+if test -z "$EGREP"; then
3478
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3479
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3480
+ { (exit 1); exit 1; }; }
3484
+ ac_cv_path_EGREP=$EGREP
3490
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3491
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3492
- EGREP=$ac_cv_prog_egrep
3493
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3494
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3495
+ EGREP="$ac_cv_path_EGREP"
3498
if test $ac_cv_c_compiler_gnu = yes; then
3499
- echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3500
-echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3501
+ { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3502
+echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
3503
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3504
echo $ECHO_N "(cached) $ECHO_C" >&6
3506
ac_pattern="Autoconf.*'x'"
3507
cat >conftest.$ac_ext <<_ACEOF
3508
-#line $LINENO "configure"
3511
cat confdefs.h >>conftest.$ac_ext
3512
@@ -2568,7 +3233,6 @@
3514
if test $ac_cv_prog_gcc_traditional = no; then
3515
cat >conftest.$ac_ext <<_ACEOF
3516
-#line $LINENO "configure"
3519
cat confdefs.h >>conftest.$ac_ext
3520
@@ -2585,116 +3249,93 @@
3524
-echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3525
-echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3526
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3527
+echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
3528
if test $ac_cv_prog_gcc_traditional = yes; then
3529
CC="$CC -traditional"
3533
-echo "$as_me:$LINENO: checking for library containing strerror" >&5
3534
-echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3535
+{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3536
+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3537
if test "${ac_cv_search_strerror+set}" = set; then
3538
echo $ECHO_N "(cached) $ECHO_C" >&6
3540
ac_func_search_save_LIBS=$LIBS
3541
-ac_cv_search_strerror=no
3542
cat >conftest.$ac_ext <<_ACEOF
3543
-#line $LINENO "configure"
3546
cat confdefs.h >>conftest.$ac_ext
3547
cat >>conftest.$ac_ext <<_ACEOF
3548
/* end confdefs.h. */
3550
-/* Override any gcc2 internal prototype to avoid an error. */
3551
+/* Override any GCC internal prototype to avoid an error.
3552
+ Use char because int might match the return type of a GCC
3553
+ builtin and then its argument prototype would still apply. */
3557
-/* We use char because int might match the return type of a gcc2
3558
- builtin and then its argument prototype would still apply. */
3564
+return strerror ();
3569
-rm -f conftest.$ac_objext conftest$ac_exeext
3570
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3571
- (eval $ac_link) 2>&5
3573
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574
- (exit $ac_status); } &&
3575
- { ac_try='test -s conftest$ac_exeext'
3576
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577
- (eval $ac_try) 2>&5
3578
+for ac_lib in '' cposix; do
3579
+ if test -z "$ac_lib"; then
3580
+ ac_res="none required"
3583
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3585
+ rm -f conftest.$ac_objext conftest$ac_exeext
3586
+if { (ac_try="$ac_link"
3587
+case "(($ac_try" in
3588
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589
+ *) ac_try_echo=$ac_try;;
3591
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592
+ (eval "$ac_link") 2>conftest.er1
3594
+ grep -v '^ *+' conftest.er1 >conftest.err
3595
+ rm -f conftest.er1
3596
+ cat conftest.err >&5
3597
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598
- (exit $ac_status); }; }; then
3599
- ac_cv_search_strerror="none required"
3600
+ (exit $ac_status); } && {
3601
+ test -z "$ac_c_werror_flag" ||
3602
+ test ! -s conftest.err
3603
+ } && test -s conftest$ac_exeext &&
3604
+ $as_test_x conftest$ac_exeext; then
3605
+ ac_cv_search_strerror=$ac_res
3607
echo "$as_me: failed program was:" >&5
3608
sed 's/^/| /' conftest.$ac_ext >&5
3611
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3612
-if test "$ac_cv_search_strerror" = no; then
3613
- for ac_lib in cposix; do
3614
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3615
- cat >conftest.$ac_ext <<_ACEOF
3616
-#line $LINENO "configure"
3619
-cat confdefs.h >>conftest.$ac_ext
3620
-cat >>conftest.$ac_ext <<_ACEOF
3621
-/* end confdefs.h. */
3623
-/* Override any gcc2 internal prototype to avoid an error. */
3627
-/* We use char because int might match the return type of a gcc2
3628
- builtin and then its argument prototype would still apply. */
3638
-rm -f conftest.$ac_objext conftest$ac_exeext
3639
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3640
- (eval $ac_link) 2>&5
3642
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643
- (exit $ac_status); } &&
3644
- { ac_try='test -s conftest$ac_exeext'
3645
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646
- (eval $ac_try) 2>&5
3648
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649
- (exit $ac_status); }; }; then
3650
- ac_cv_search_strerror="-l$ac_lib"
3653
- echo "$as_me: failed program was:" >&5
3654
-sed 's/^/| /' conftest.$ac_ext >&5
3657
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3658
+ conftest$ac_exeext
3659
+ if test "${ac_cv_search_strerror+set}" = set; then
3662
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3665
+if test "${ac_cv_search_strerror+set}" = set; then
3668
+ ac_cv_search_strerror=no
3670
+rm conftest.$ac_ext
3671
LIBS=$ac_func_search_save_LIBS
3673
-echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3674
-echo "${ECHO_T}$ac_cv_search_strerror" >&6
3675
-if test "$ac_cv_search_strerror" != no; then
3676
- test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3677
+{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3678
+echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3679
+ac_res=$ac_cv_search_strerror
3680
+if test "$ac_res" != no; then
3681
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3685
@@ -2707,7 +3348,6 @@
3686
{ (exit 1); exit 1; }; }
3688
cat >conftest.$ac_ext <<_ACEOF
3689
-#line $LINENO "configure"
3692
cat confdefs.h >>conftest.$ac_ext
3693
@@ -2716,13 +3356,22 @@
3696
rm -f conftest$ac_exeext
3697
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3698
- (eval $ac_link) 2>&5
3699
+if { (ac_try="$ac_link"
3700
+case "(($ac_try" in
3701
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702
+ *) ac_try_echo=$ac_try;;
3704
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705
+ (eval "$ac_link") 2>&5
3707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3709
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710
- (eval $ac_try) 2>&5
3711
+ { (case "(($ac_try" in
3712
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
+ *) ac_try_echo=$ac_try;;
3715
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716
+ (eval "$ac_try") 2>&5
3718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719
(exit $ac_status); }; }; then
3720
@@ -2745,9 +3394,11 @@
3724
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3725
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3730
if test "$cross_compiling" = yes; then
3731
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3732
See \`config.log' for more details." >&5
3733
@@ -2756,7 +3407,6 @@
3734
{ (exit 1); exit 1; }; }
3736
cat >conftest.$ac_ext <<_ACEOF
3737
-#line $LINENO "configure"
3740
cat confdefs.h >>conftest.$ac_ext
3741
@@ -2765,13 +3415,22 @@
3744
rm -f conftest$ac_exeext
3745
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3746
- (eval $ac_link) 2>&5
3747
+if { (ac_try="$ac_link"
3748
+case "(($ac_try" in
3749
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750
+ *) ac_try_echo=$ac_try;;
3752
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753
+ (eval "$ac_link") 2>&5
3755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3757
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758
- (eval $ac_try) 2>&5
3759
+ { (case "(($ac_try" in
3760
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761
+ *) ac_try_echo=$ac_try;;
3763
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3764
+ (eval "$ac_try") 2>&5
3766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767
(exit $ac_status); }; }; then
3768
@@ -2792,9 +3451,11 @@
3769
echo "$as_me: error: Can't run the compiler - sorry" >&2;}
3770
{ (exit 1); exit 1; }; }
3772
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3773
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3778
if test "$cross_compiling" = yes; then
3779
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3780
See \`config.log' for more details." >&5
3781
@@ -2803,7 +3464,6 @@
3782
{ (exit 1); exit 1; }; }
3784
cat >conftest.$ac_ext <<_ACEOF
3785
-#line $LINENO "configure"
3788
cat confdefs.h >>conftest.$ac_ext
3789
@@ -2818,13 +3478,22 @@
3792
rm -f conftest$ac_exeext
3793
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3794
- (eval $ac_link) 2>&5
3795
+if { (ac_try="$ac_link"
3796
+case "(($ac_try" in
3797
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798
+ *) ac_try_echo=$ac_try;;
3800
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801
+ (eval "$ac_link") 2>&5
3803
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3805
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806
- (eval $ac_try) 2>&5
3807
+ { (case "(($ac_try" in
3808
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809
+ *) ac_try_echo=$ac_try;;
3811
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812
+ (eval "$ac_try") 2>&5
3814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
(exit $ac_status); }; }; then
3816
@@ -2837,15 +3506,17 @@
3817
sed 's/^/| /' conftest.$ac_ext >&5
3820
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3821
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3826
for ac_prog in gawk mawk nawk awk
3828
# Extract the first word of "$ac_prog", so it can be a program name with args.
3829
set dummy $ac_prog; ac_word=$2
3830
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3831
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3832
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3833
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3834
if test "${ac_cv_prog_AWK+set}" = set; then
3835
echo $ECHO_N "(cached) $ECHO_C" >&6
3837
@@ -2858,53 +3529,61 @@
3839
test -z "$as_dir" && as_dir=.
3840
for ac_exec_ext in '' $ac_executable_extensions; do
3841
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843
ac_cv_prog_AWK="$ac_prog"
3844
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854
if test -n "$AWK"; then
3855
- echo "$as_me:$LINENO: result: $AWK" >&5
3856
-echo "${ECHO_T}$AWK" >&6
3857
+ { echo "$as_me:$LINENO: result: $AWK" >&5
3858
+echo "${ECHO_T}$AWK" >&6; }
3860
- echo "$as_me:$LINENO: result: no" >&5
3861
-echo "${ECHO_T}no" >&6
3862
+ { echo "$as_me:$LINENO: result: no" >&5
3863
+echo "${ECHO_T}no" >&6; }
3867
test -n "$AWK" && break
3872
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3873
- if test -f $ac_dir/install-sh; then
3874
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3875
+ if test -f "$ac_dir/install-sh"; then
3877
ac_install_sh="$ac_aux_dir/install-sh -c"
3879
- elif test -f $ac_dir/install.sh; then
3880
+ elif test -f "$ac_dir/install.sh"; then
3882
ac_install_sh="$ac_aux_dir/install.sh -c"
3884
- elif test -f $ac_dir/shtool; then
3885
+ elif test -f "$ac_dir/shtool"; then
3887
ac_install_sh="$ac_aux_dir/shtool install -c"
3891
if test -z "$ac_aux_dir"; then
3892
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
3893
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
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
{ (exit 1); exit 1; }; }
3898
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3899
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3900
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3902
+# These three variables are undocumented and unsupported,
3903
+# and are intended to be withdrawn in a future Autoconf release.
3904
+# They can cause serious problems if a builder's source tree is in a directory
3905
+# whose full name contains unusual characters.
3906
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3907
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3908
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3911
# Find a good install program. We prefer a C program (faster),
3912
# so one script is as good as another. But avoid the broken or
3913
@@ -2917,9 +3596,10 @@
3914
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3915
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3916
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3917
+# OS/2's system install, which has a completely different semantic
3918
# ./install, which can be erroneously created by make from ./install.sh.
3919
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3920
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
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
if test -z "$INSTALL"; then
3924
if test "${ac_cv_path_install+set}" = set; then
3925
echo $ECHO_N "(cached) $ECHO_C" >&6
3926
@@ -2933,6 +3613,7 @@
3928
./ | .// | /cC/* | \
3929
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3930
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3933
# OSF1 and SCO ODT 3.0 have their own names for install.
3934
@@ -2940,40 +3621,41 @@
3936
for ac_prog in ginstall scoinst install; do
3937
for ac_exec_ext in '' $ac_executable_extensions; do
3938
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3939
- if test $ac_prog = install &&
3940
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3941
- # AIX install. It has an incompatible calling convention.
3943
- elif test $ac_prog = install &&
3944
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3945
- # program-specific install script used by HP pwplus--don't use.
3948
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3952
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3953
+ if test $ac_prog = install &&
3954
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3955
+ # AIX install. It has an incompatible calling convention.
3957
+ elif test $ac_prog = install &&
3958
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3959
+ # program-specific install script used by HP pwplus--don't use.
3962
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3975
if test "${ac_cv_path_install+set}" = set; then
3976
INSTALL=$ac_cv_path_install
3978
- # As a last resort, use the slow shell script. We don't cache a
3979
- # path for INSTALL within a source directory, because that will
3980
+ # As a last resort, use the slow shell script. Don't cache a
3981
+ # value for INSTALL within a source directory, because that will
3982
# break other packages using the cache if that directory is
3983
- # removed, or if the path is relative.
3984
+ # removed, or if the value is a relative name.
3985
INSTALL=$ac_install_sh
3988
-echo "$as_me:$LINENO: result: $INSTALL" >&5
3989
-echo "${ECHO_T}$INSTALL" >&6
3990
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3991
+echo "${ECHO_T}$INSTALL" >&6; }
3993
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3994
# It thinks the first close brace ends the variable substitution.
3995
@@ -2992,37 +3674,37 @@
3999
-echo "$as_me:$LINENO: checking if a system-wide socket dir should be used" >&5
4000
-echo $ECHO_N "checking if a system-wide socket dir should be used... $ECHO_C" >&6
4001
-# Check whether --enable-socket-dir or --disable-socket-dir was given.
4002
+{ echo "$as_me:$LINENO: checking if a system-wide socket dir should be used" >&5
4003
+echo $ECHO_N "checking if a system-wide socket dir should be used... $ECHO_C" >&6; }
4004
+# Check whether --enable-socket-dir was given.
4005
if test "${enable_socket_dir+set}" = set; then
4006
- enableval="$enable_socket_dir"
4008
- echo "$as_me:$LINENO: result: no. ~/.screen will be used instead." >&5
4009
-echo "${ECHO_T}no. ~/.screen will be used instead." >&6
4010
+ enableval=$enable_socket_dir;
4011
+ { echo "$as_me:$LINENO: result: no. ~/.screen will be used instead." >&5
4012
+echo "${ECHO_T}no. ~/.screen will be used instead." >&6; }
4016
- echo "$as_me:$LINENO: result: yes" >&5
4017
-echo "${ECHO_T}yes" >&6
4018
- echo "$as_me:$LINENO: checking for the socket dir" >&5
4019
-echo $ECHO_N "checking for the socket dir... $ECHO_C" >&6
4020
+ { echo "$as_me:$LINENO: result: yes" >&5
4021
+echo "${ECHO_T}yes" >&6; }
4022
+ { echo "$as_me:$LINENO: checking for the socket dir" >&5
4023
+echo $ECHO_N "checking for the socket dir... $ECHO_C" >&6; }
4024
SOCKDIR="(eff_uid ? \"/tmp/uscreens\" : \"/tmp/screens\")"
4026
-# Check whether --with-socket-dir or --without-socket-dir was given.
4027
+# Check whether --with-socket-dir was given.
4028
if test "${with_socket_dir+set}" = set; then
4029
- withval="$with_socket_dir"
4030
- SOCKDIR="\"${withval}\""
4032
- echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5
4033
-echo "${ECHO_T}${SOCKDIR}" >&6
4034
+ withval=$with_socket_dir; SOCKDIR="\"${withval}\""
4037
+ { echo "$as_me:$LINENO: result: ${SOCKDIR}" >&5
4038
+echo "${ECHO_T}${SOCKDIR}" >&6; }
4039
cat >>confdefs.h <<_ACEOF
4040
#define SOCKDIR $SOCKDIR
4050
if test -n "$ISC"; then
4051
@@ -3048,7 +3730,6 @@
4052
{ echo "$as_me:$LINENO: checking mld library..." >&5
4053
echo "$as_me: checking mld library..." >&6;}
4054
cat >conftest.$ac_ext <<_ACEOF
4055
-#line $LINENO "configure"
4058
cat confdefs.h >>conftest.$ac_ext
4059
@@ -3064,25 +3745,33 @@
4062
rm -f conftest.$ac_objext conftest$ac_exeext
4063
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4064
- (eval $ac_link) 2>&5
4066
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067
- (exit $ac_status); } &&
4068
- { ac_try='test -s conftest$ac_exeext'
4069
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4070
- (eval $ac_try) 2>&5
4071
+if { (ac_try="$ac_link"
4072
+case "(($ac_try" in
4073
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074
+ *) ac_try_echo=$ac_try;;
4076
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077
+ (eval "$ac_link") 2>conftest.er1
4079
+ grep -v '^ *+' conftest.er1 >conftest.err
4080
+ rm -f conftest.er1
4081
+ cat conftest.err >&5
4082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083
- (exit $ac_status); }; }; then
4084
+ (exit $ac_status); } && {
4085
+ test -z "$ac_c_werror_flag" ||
4086
+ test ! -s conftest.err
4087
+ } && test -s conftest$ac_exeext &&
4088
+ $as_test_x conftest$ac_exeext; then
4091
echo "$as_me: failed program was:" >&5
4092
sed 's/^/| /' conftest.$ac_ext >&5
4097
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4099
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4100
+ conftest$ac_exeext conftest.$ac_ext
4101
if test -r /dev/ptc; then
4102
cat >>confdefs.h <<\_ACEOF
4104
@@ -3091,7 +3780,6 @@
4105
{ echo "$as_me:$LINENO: checking wait3..." >&5
4106
echo "$as_me: checking wait3..." >&6;}
4107
cat >conftest.$ac_ext <<_ACEOF
4108
-#line $LINENO "configure"
4111
cat confdefs.h >>conftest.$ac_ext
4112
@@ -3107,26 +3795,31 @@
4115
rm -f conftest.$ac_objext conftest$ac_exeext
4116
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4117
- (eval $ac_link) 2>&5
4118
+if { (ac_try="$ac_link"
4119
+case "(($ac_try" in
4120
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121
+ *) ac_try_echo=$ac_try;;
4123
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4124
+ (eval "$ac_link") 2>conftest.er1
4126
+ grep -v '^ *+' conftest.er1 >conftest.err
4127
+ rm -f conftest.er1
4128
+ cat conftest.err >&5
4129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130
- (exit $ac_status); } &&
4131
- { ac_try='test -s conftest$ac_exeext'
4132
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133
- (eval $ac_try) 2>&5
4135
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
- (exit $ac_status); }; }; then
4137
+ (exit $ac_status); } && {
4138
+ test -z "$ac_c_werror_flag" ||
4139
+ test ! -s conftest.err
4140
+ } && test -s conftest$ac_exeext &&
4141
+ $as_test_x conftest$ac_exeext; then
4144
echo "$as_me: failed program was:" >&5
4145
sed 's/^/| /' conftest.$ac_ext >&5
4147
-{ echo "$as_me:$LINENO: checking wait2..." >&5
4148
+ { echo "$as_me:$LINENO: checking wait2..." >&5
4149
echo "$as_me: checking wait2..." >&6;}
4150
cat >conftest.$ac_ext <<_ACEOF
4151
-#line $LINENO "configure"
4154
cat confdefs.h >>conftest.$ac_ext
4155
@@ -3142,17 +3835,23 @@
4158
rm -f conftest.$ac_objext conftest$ac_exeext
4159
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4160
- (eval $ac_link) 2>&5
4162
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163
- (exit $ac_status); } &&
4164
- { ac_try='test -s conftest$ac_exeext'
4165
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166
- (eval $ac_try) 2>&5
4167
+if { (ac_try="$ac_link"
4168
+case "(($ac_try" in
4169
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4170
+ *) ac_try_echo=$ac_try;;
4172
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4173
+ (eval "$ac_link") 2>conftest.er1
4175
+ grep -v '^ *+' conftest.er1 >conftest.err
4176
+ rm -f conftest.er1
4177
+ cat conftest.err >&5
4178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179
- (exit $ac_status); }; }; then
4180
+ (exit $ac_status); } && {
4181
+ test -z "$ac_c_werror_flag" ||
4182
+ test ! -s conftest.err
4183
+ } && test -s conftest$ac_exeext &&
4184
+ $as_test_x conftest$ac_exeext; then
4185
cat >>confdefs.h <<\_ACEOF
4188
@@ -3162,10 +3861,15 @@
4189
echo "$as_me: failed program was:" >&5
4190
sed 's/^/| /' conftest.$ac_ext >&5
4194
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4196
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4197
+ conftest$ac_exeext conftest.$ac_ext
4199
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4201
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4202
+ conftest$ac_exeext conftest.$ac_ext
4206
@@ -3173,7 +3877,6 @@
4207
{ echo "$as_me:$LINENO: checking for Ultrix..." >&5
4208
echo "$as_me: checking for Ultrix..." >&6;}
4209
cat >conftest.$ac_ext <<_ACEOF
4210
-#line $LINENO "configure"
4213
cat confdefs.h >>conftest.$ac_ext
4214
@@ -3197,7 +3900,6 @@
4215
{ echo "$as_me:$LINENO: checking Pyramid OSX..." >&5
4216
echo "$as_me: checking Pyramid OSX..." >&6;}
4217
cat >conftest.$ac_ext <<_ACEOF
4218
-#line $LINENO "configure"
4221
cat confdefs.h >>conftest.$ac_ext
4222
@@ -3213,17 +3915,23 @@
4225
rm -f conftest.$ac_objext conftest$ac_exeext
4226
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4227
- (eval $ac_link) 2>&5
4229
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230
- (exit $ac_status); } &&
4231
- { ac_try='test -s conftest$ac_exeext'
4232
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233
- (eval $ac_try) 2>&5
4234
+if { (ac_try="$ac_link"
4235
+case "(($ac_try" in
4236
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4237
+ *) ac_try_echo=$ac_try;;
4239
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4240
+ (eval "$ac_link") 2>conftest.er1
4242
+ grep -v '^ *+' conftest.er1 >conftest.err
4243
+ rm -f conftest.er1
4244
+ cat conftest.err >&5
4245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246
- (exit $ac_status); }; }; then
4247
+ (exit $ac_status); } && {
4248
+ test -z "$ac_c_werror_flag" ||
4249
+ test ! -s conftest.err
4250
+ } && test -s conftest$ac_exeext &&
4251
+ $as_test_x conftest$ac_exeext; then
4252
cat >>confdefs.h <<\_ACEOF
4255
@@ -3232,15 +3940,16 @@
4256
echo "$as_me: failed program was:" >&5
4257
sed 's/^/| /' conftest.$ac_ext >&5
4262
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4264
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4265
+ conftest$ac_exeext conftest.$ac_ext
4268
{ echo "$as_me:$LINENO: checking for butterfly..." >&5
4269
echo "$as_me: checking for butterfly..." >&6;}
4270
cat >conftest.$ac_ext <<_ACEOF
4271
-#line $LINENO "configure"
4274
cat confdefs.h >>conftest.$ac_ext
4275
@@ -3265,7 +3974,6 @@
4276
{ echo "$as_me:$LINENO: checking for POSIX.1..." >&5
4277
echo "$as_me: checking for POSIX.1..." >&6;}
4278
cat >conftest.$ac_ext <<_ACEOF
4279
-#line $LINENO "configure"
4282
cat confdefs.h >>conftest.$ac_ext
4283
@@ -3294,7 +4002,6 @@
4284
{ echo "$as_me:$LINENO: checking for System V..." >&5
4285
echo "$as_me: checking for System V..." >&6;}
4286
cat >conftest.$ac_ext <<_ACEOF
4287
-#line $LINENO "configure"
4290
cat confdefs.h >>conftest.$ac_ext
4291
@@ -3312,33 +4019,38 @@
4294
rm -f conftest.$ac_objext
4295
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4296
- (eval $ac_compile) 2>&5
4298
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
- (exit $ac_status); } &&
4300
- { ac_try='test -s conftest.$ac_objext'
4301
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302
- (eval $ac_try) 2>&5
4303
+if { (ac_try="$ac_compile"
4304
+case "(($ac_try" in
4305
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306
+ *) ac_try_echo=$ac_try;;
4308
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309
+ (eval "$ac_compile") 2>conftest.er1
4311
+ grep -v '^ *+' conftest.er1 >conftest.err
4312
+ rm -f conftest.er1
4313
+ cat conftest.err >&5
4314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315
- (exit $ac_status); }; }; then
4316
+ (exit $ac_status); } && {
4317
+ test -z "$ac_c_werror_flag" ||
4318
+ test ! -s conftest.err
4319
+ } && test -s conftest.$ac_objext; then
4322
echo "$as_me: failed program was:" >&5
4323
sed 's/^/| /' conftest.$ac_ext >&5
4325
-cat >>confdefs.h <<\_ACEOF
4326
+ cat >>confdefs.h <<\_ACEOF
4331
-rm -f conftest.$ac_objext conftest.$ac_ext
4333
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335
{ echo "$as_me:$LINENO: checking for sequent/ptx..." >&5
4336
echo "$as_me: checking for sequent/ptx..." >&6;}
4337
cat >conftest.$ac_ext <<_ACEOF
4338
-#line $LINENO "configure"
4341
cat confdefs.h >>conftest.$ac_ext
4342
@@ -3360,13 +4072,12 @@
4344
{ echo "$as_me:$LINENO: checking SVR4..." >&5
4345
echo "$as_me: checking SVR4..." >&6;}
4346
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4347
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4348
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4349
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4350
if test "${ac_cv_header_stdc+set}" = set; then
4351
echo $ECHO_N "(cached) $ECHO_C" >&6
4353
cat >conftest.$ac_ext <<_ACEOF
4354
-#line $LINENO "configure"
4357
cat confdefs.h >>conftest.$ac_ext
4358
@@ -3386,30 +4097,35 @@
4361
rm -f conftest.$ac_objext
4362
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4363
- (eval $ac_compile) 2>&5
4365
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366
- (exit $ac_status); } &&
4367
- { ac_try='test -s conftest.$ac_objext'
4368
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369
- (eval $ac_try) 2>&5
4370
+if { (ac_try="$ac_compile"
4371
+case "(($ac_try" in
4372
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373
+ *) ac_try_echo=$ac_try;;
4375
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376
+ (eval "$ac_compile") 2>conftest.er1
4378
+ grep -v '^ *+' conftest.er1 >conftest.err
4379
+ rm -f conftest.er1
4380
+ cat conftest.err >&5
4381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382
- (exit $ac_status); }; }; then
4383
+ (exit $ac_status); } && {
4384
+ test -z "$ac_c_werror_flag" ||
4385
+ test ! -s conftest.err
4386
+ } && test -s conftest.$ac_objext; then
4387
ac_cv_header_stdc=yes
4389
echo "$as_me: failed program was:" >&5
4390
sed 's/^/| /' conftest.$ac_ext >&5
4392
-ac_cv_header_stdc=no
4393
+ ac_cv_header_stdc=no
4395
-rm -f conftest.$ac_objext conftest.$ac_ext
4397
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4399
if test $ac_cv_header_stdc = yes; then
4400
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4401
cat >conftest.$ac_ext <<_ACEOF
4402
-#line $LINENO "configure"
4405
cat confdefs.h >>conftest.$ac_ext
4406
@@ -3431,7 +4147,6 @@
4407
if test $ac_cv_header_stdc = yes; then
4408
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4409
cat >conftest.$ac_ext <<_ACEOF
4410
-#line $LINENO "configure"
4413
cat confdefs.h >>conftest.$ac_ext
4414
@@ -3456,21 +4171,21 @@
4417
cat >conftest.$ac_ext <<_ACEOF
4418
-#line $LINENO "configure"
4421
cat confdefs.h >>conftest.$ac_ext
4422
cat >>conftest.$ac_ext <<_ACEOF
4423
/* end confdefs.h. */
4425
+#include <stdlib.h>
4426
#if ((' ' & 0x0FF) == 0x020)
4427
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4428
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4430
# define ISLOWER(c) \
4431
- (('a' <= (c) && (c) <= 'i') \
4432
- || ('j' <= (c) && (c) <= 'r') \
4433
- || ('s' <= (c) && (c) <= 'z'))
4434
+ (('a' <= (c) && (c) <= 'i') \
4435
+ || ('j' <= (c) && (c) <= 'r') \
4436
+ || ('s' <= (c) && (c) <= 'z'))
4437
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4440
@@ -3481,19 +4196,28 @@
4442
for (i = 0; i < 256; i++)
4443
if (XOR (islower (i), ISLOWER (i))
4444
- || toupper (i) != TOUPPER (i))
4447
+ || toupper (i) != TOUPPER (i))
4452
rm -f conftest$ac_exeext
4453
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4454
- (eval $ac_link) 2>&5
4455
+if { (ac_try="$ac_link"
4456
+case "(($ac_try" in
4457
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458
+ *) ac_try_echo=$ac_try;;
4460
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461
+ (eval "$ac_link") 2>&5
4463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4465
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466
- (eval $ac_try) 2>&5
4467
+ { (case "(($ac_try" in
4468
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469
+ *) ac_try_echo=$ac_try;;
4471
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472
+ (eval "$ac_try") 2>&5
4474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475
(exit $ac_status); }; }; then
4476
@@ -3506,12 +4230,14 @@
4478
ac_cv_header_stdc=no
4480
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4481
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4487
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4488
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
4489
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4490
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4491
if test $ac_cv_header_stdc = yes; then
4493
cat >>confdefs.h <<\_ACEOF
4494
@@ -3531,16 +4257,15 @@
4497
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4498
- inttypes.h stdint.h unistd.h
4499
+ inttypes.h stdint.h unistd.h
4501
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4502
-echo "$as_me:$LINENO: checking for $ac_header" >&5
4503
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4504
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4505
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4506
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4507
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4508
echo $ECHO_N "(cached) $ECHO_C" >&6
4510
cat >conftest.$ac_ext <<_ACEOF
4511
-#line $LINENO "configure"
4514
cat confdefs.h >>conftest.$ac_ext
4515
@@ -3551,28 +4276,35 @@
4516
#include <$ac_header>
4518
rm -f conftest.$ac_objext
4519
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520
- (eval $ac_compile) 2>&5
4522
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523
- (exit $ac_status); } &&
4524
- { ac_try='test -s conftest.$ac_objext'
4525
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526
- (eval $ac_try) 2>&5
4527
+if { (ac_try="$ac_compile"
4528
+case "(($ac_try" in
4529
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4530
+ *) ac_try_echo=$ac_try;;
4532
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4533
+ (eval "$ac_compile") 2>conftest.er1
4535
+ grep -v '^ *+' conftest.er1 >conftest.err
4536
+ rm -f conftest.er1
4537
+ cat conftest.err >&5
4538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539
- (exit $ac_status); }; }; then
4540
+ (exit $ac_status); } && {
4541
+ test -z "$ac_c_werror_flag" ||
4542
+ test ! -s conftest.err
4543
+ } && test -s conftest.$ac_objext; then
4544
eval "$as_ac_Header=yes"
4546
echo "$as_me: failed program was:" >&5
4547
sed 's/^/| /' conftest.$ac_ext >&5
4549
-eval "$as_ac_Header=no"
4550
+ eval "$as_ac_Header=no"
4552
-rm -f conftest.$ac_objext conftest.$ac_ext
4554
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4557
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4558
+ac_res=`eval echo '${'$as_ac_Header'}'`
4559
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
4560
+echo "${ECHO_T}$ac_res" >&6; }
4561
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4562
cat >>confdefs.h <<_ACEOF
4563
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4564
@@ -3584,7 +4316,6 @@
4567
cat >conftest.$ac_ext <<_ACEOF
4568
-#line $LINENO "configure"
4571
cat confdefs.h >>conftest.$ac_ext
4572
@@ -3601,31 +4332,36 @@
4575
rm -f conftest.$ac_objext conftest$ac_exeext
4576
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4577
- (eval $ac_link) 2>&5
4579
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580
- (exit $ac_status); } &&
4581
- { ac_try='test -s conftest$ac_exeext'
4582
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583
- (eval $ac_try) 2>&5
4584
+if { (ac_try="$ac_link"
4585
+case "(($ac_try" in
4586
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4587
+ *) ac_try_echo=$ac_try;;
4589
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4590
+ (eval "$ac_link") 2>conftest.er1
4592
+ grep -v '^ *+' conftest.er1 >conftest.err
4593
+ rm -f conftest.er1
4594
+ cat conftest.err >&5
4595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596
- (exit $ac_status); }; }; then
4597
+ (exit $ac_status); } && {
4598
+ test -z "$ac_c_werror_flag" ||
4599
+ test ! -s conftest.err
4600
+ } && test -s conftest$ac_exeext &&
4601
+ $as_test_x conftest$ac_exeext; then
4602
if test "${ac_cv_header_dwarf_h+set}" = set; then
4603
- echo "$as_me:$LINENO: checking for dwarf.h" >&5
4604
-echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6
4605
+ { echo "$as_me:$LINENO: checking for dwarf.h" >&5
4606
+echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6; }
4607
if test "${ac_cv_header_dwarf_h+set}" = set; then
4608
echo $ECHO_N "(cached) $ECHO_C" >&6
4610
-echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4611
-echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6
4612
+{ echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4613
+echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6; }
4615
# Is the header compilable?
4616
-echo "$as_me:$LINENO: checking dwarf.h usability" >&5
4617
-echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6
4618
+{ echo "$as_me:$LINENO: checking dwarf.h usability" >&5
4619
+echo $ECHO_N "checking dwarf.h usability... $ECHO_C" >&6; }
4620
cat >conftest.$ac_ext <<_ACEOF
4621
-#line $LINENO "configure"
4624
cat confdefs.h >>conftest.$ac_ext
4625
@@ -3635,33 +4371,38 @@
4628
rm -f conftest.$ac_objext
4629
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630
- (eval $ac_compile) 2>&5
4632
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633
- (exit $ac_status); } &&
4634
- { ac_try='test -s conftest.$ac_objext'
4635
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636
- (eval $ac_try) 2>&5
4637
+if { (ac_try="$ac_compile"
4638
+case "(($ac_try" in
4639
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640
+ *) ac_try_echo=$ac_try;;
4642
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643
+ (eval "$ac_compile") 2>conftest.er1
4645
+ grep -v '^ *+' conftest.er1 >conftest.err
4646
+ rm -f conftest.er1
4647
+ cat conftest.err >&5
4648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649
- (exit $ac_status); }; }; then
4650
+ (exit $ac_status); } && {
4651
+ test -z "$ac_c_werror_flag" ||
4652
+ test ! -s conftest.err
4653
+ } && test -s conftest.$ac_objext; then
4654
ac_header_compiler=yes
4656
echo "$as_me: failed program was:" >&5
4657
sed 's/^/| /' conftest.$ac_ext >&5
4659
-ac_header_compiler=no
4660
+ ac_header_compiler=no
4662
-rm -f conftest.$ac_objext conftest.$ac_ext
4663
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4664
-echo "${ECHO_T}$ac_header_compiler" >&6
4666
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4668
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4670
# Is the header present?
4671
-echo "$as_me:$LINENO: checking dwarf.h presence" >&5
4672
-echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6
4673
+{ echo "$as_me:$LINENO: checking dwarf.h presence" >&5
4674
+echo $ECHO_N "checking dwarf.h presence... $ECHO_C" >&6; }
4675
cat >conftest.$ac_ext <<_ACEOF
4676
-#line $LINENO "configure"
4679
cat confdefs.h >>conftest.$ac_ext
4680
@@ -3669,23 +4410,22 @@
4681
/* end confdefs.h. */
4684
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4685
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4686
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4687
+case "(($ac_try" in
4688
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689
+ *) ac_try_echo=$ac_try;;
4691
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4694
grep -v '^ *+' conftest.er1 >conftest.err
4696
cat conftest.err >&5
4697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698
- (exit $ac_status); } >/dev/null; then
4699
- if test -s conftest.err; then
4700
- ac_cpp_err=$ac_c_preproc_warn_flag
4707
-if test -z "$ac_cpp_err"; then
4708
+ (exit $ac_status); } >/dev/null && {
4709
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4710
+ test ! -s conftest.err
4712
ac_header_preproc=yes
4714
echo "$as_me: failed program was:" >&5
4715
@@ -3693,52 +4433,45 @@
4717
ac_header_preproc=no
4720
rm -f conftest.err conftest.$ac_ext
4721
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4722
-echo "${ECHO_T}$ac_header_preproc" >&6
4723
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4724
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4726
# So? What about this header?
4727
-case $ac_header_compiler:$ac_header_preproc in
4729
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4731
{ echo "$as_me:$LINENO: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4732
echo "$as_me: WARNING: dwarf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4733
- { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
4734
-echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
4737
-## ------------------------------------ ##
4738
-## Report this to bug-autoconf@gnu.org. ##
4739
-## ------------------------------------ ##
4742
- sed "s/^/$as_me: WARNING: /" >&2
4743
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the compiler's result" >&5
4744
+echo "$as_me: WARNING: dwarf.h: proceeding with the compiler's result" >&2;}
4745
+ ac_header_preproc=yes
4749
{ echo "$as_me:$LINENO: WARNING: dwarf.h: present but cannot be compiled" >&5
4750
echo "$as_me: WARNING: dwarf.h: present but cannot be compiled" >&2;}
4751
- { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5
4752
-echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;}
4753
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: check for missing prerequisite headers?" >&5
4754
+echo "$as_me: WARNING: dwarf.h: check for missing prerequisite headers?" >&2;}
4755
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: see the Autoconf documentation" >&5
4756
+echo "$as_me: WARNING: dwarf.h: see the Autoconf documentation" >&2;}
4757
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: section \"Present But Cannot Be Compiled\"" >&5
4758
+echo "$as_me: WARNING: dwarf.h: section \"Present But Cannot Be Compiled\"" >&2;}
4759
{ echo "$as_me:$LINENO: WARNING: dwarf.h: proceeding with the preprocessor's result" >&5
4760
echo "$as_me: WARNING: dwarf.h: proceeding with the preprocessor's result" >&2;}
4763
-## ------------------------------------ ##
4764
-## Report this to bug-autoconf@gnu.org. ##
4765
-## ------------------------------------ ##
4768
- sed "s/^/$as_me: WARNING: /" >&2
4769
+ { echo "$as_me:$LINENO: WARNING: dwarf.h: in the future, the compiler will take precedence" >&5
4770
+echo "$as_me: WARNING: dwarf.h: in the future, the compiler will take precedence" >&2;}
4774
-echo "$as_me:$LINENO: checking for dwarf.h" >&5
4775
-echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6
4776
+{ echo "$as_me:$LINENO: checking for dwarf.h" >&5
4777
+echo $ECHO_N "checking for dwarf.h... $ECHO_C" >&6; }
4778
if test "${ac_cv_header_dwarf_h+set}" = set; then
4779
echo $ECHO_N "(cached) $ECHO_C" >&6
4781
ac_cv_header_dwarf_h=$ac_header_preproc
4783
-echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4784
-echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6
4785
+{ echo "$as_me:$LINENO: result: $ac_cv_header_dwarf_h" >&5
4786
+echo "${ECHO_T}$ac_cv_header_dwarf_h" >&6; }
4789
if test $ac_cv_header_dwarf_h = yes; then
4790
@@ -3751,19 +4484,18 @@
4793
if test "${ac_cv_header_elf_h+set}" = set; then
4794
- echo "$as_me:$LINENO: checking for elf.h" >&5
4795
-echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
4796
+ { echo "$as_me:$LINENO: checking for elf.h" >&5
4797
+echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
4798
if test "${ac_cv_header_elf_h+set}" = set; then
4799
echo $ECHO_N "(cached) $ECHO_C" >&6
4801
-echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4802
-echo "${ECHO_T}$ac_cv_header_elf_h" >&6
4803
+{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4804
+echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
4806
# Is the header compilable?
4807
-echo "$as_me:$LINENO: checking elf.h usability" >&5
4808
-echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
4809
+{ echo "$as_me:$LINENO: checking elf.h usability" >&5
4810
+echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6; }
4811
cat >conftest.$ac_ext <<_ACEOF
4812
-#line $LINENO "configure"
4815
cat confdefs.h >>conftest.$ac_ext
4816
@@ -3773,33 +4505,38 @@
4819
rm -f conftest.$ac_objext
4820
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821
- (eval $ac_compile) 2>&5
4823
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824
- (exit $ac_status); } &&
4825
- { ac_try='test -s conftest.$ac_objext'
4826
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827
- (eval $ac_try) 2>&5
4828
+if { (ac_try="$ac_compile"
4829
+case "(($ac_try" in
4830
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831
+ *) ac_try_echo=$ac_try;;
4833
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4834
+ (eval "$ac_compile") 2>conftest.er1
4836
+ grep -v '^ *+' conftest.er1 >conftest.err
4837
+ rm -f conftest.er1
4838
+ cat conftest.err >&5
4839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840
- (exit $ac_status); }; }; then
4841
+ (exit $ac_status); } && {
4842
+ test -z "$ac_c_werror_flag" ||
4843
+ test ! -s conftest.err
4844
+ } && test -s conftest.$ac_objext; then
4845
ac_header_compiler=yes
4847
echo "$as_me: failed program was:" >&5
4848
sed 's/^/| /' conftest.$ac_ext >&5
4850
-ac_header_compiler=no
4851
+ ac_header_compiler=no
4853
-rm -f conftest.$ac_objext conftest.$ac_ext
4854
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4855
-echo "${ECHO_T}$ac_header_compiler" >&6
4857
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4859
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4861
# Is the header present?
4862
-echo "$as_me:$LINENO: checking elf.h presence" >&5
4863
-echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
4864
+{ echo "$as_me:$LINENO: checking elf.h presence" >&5
4865
+echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6; }
4866
cat >conftest.$ac_ext <<_ACEOF
4867
-#line $LINENO "configure"
4870
cat confdefs.h >>conftest.$ac_ext
4871
@@ -3807,23 +4544,22 @@
4872
/* end confdefs.h. */
4875
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4876
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4877
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4878
+case "(($ac_try" in
4879
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880
+ *) ac_try_echo=$ac_try;;
4882
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4885
grep -v '^ *+' conftest.er1 >conftest.err
4887
cat conftest.err >&5
4888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889
- (exit $ac_status); } >/dev/null; then
4890
- if test -s conftest.err; then
4891
- ac_cpp_err=$ac_c_preproc_warn_flag
4898
-if test -z "$ac_cpp_err"; then
4899
+ (exit $ac_status); } >/dev/null && {
4900
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4901
+ test ! -s conftest.err
4903
ac_header_preproc=yes
4905
echo "$as_me: failed program was:" >&5
4906
@@ -3831,52 +4567,45 @@
4908
ac_header_preproc=no
4911
rm -f conftest.err conftest.$ac_ext
4912
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4913
-echo "${ECHO_T}$ac_header_preproc" >&6
4914
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4915
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4917
# So? What about this header?
4918
-case $ac_header_compiler:$ac_header_preproc in
4920
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4922
{ echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
4923
echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4924
- { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
4925
-echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
4928
-## ------------------------------------ ##
4929
-## Report this to bug-autoconf@gnu.org. ##
4930
-## ------------------------------------ ##
4933
- sed "s/^/$as_me: WARNING: /" >&2
4934
+ { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
4935
+echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
4936
+ ac_header_preproc=yes
4940
{ echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
4941
echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
4942
- { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
4943
-echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
4944
+ { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
4945
+echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
4946
+ { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
4947
+echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
4948
+ { echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
4949
+echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
4950
{ echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
4951
echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
4954
-## ------------------------------------ ##
4955
-## Report this to bug-autoconf@gnu.org. ##
4956
-## ------------------------------------ ##
4959
- sed "s/^/$as_me: WARNING: /" >&2
4960
+ { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
4961
+echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
4965
-echo "$as_me:$LINENO: checking for elf.h" >&5
4966
-echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
4967
+{ echo "$as_me:$LINENO: checking for elf.h" >&5
4968
+echo $ECHO_N "checking for elf.h... $ECHO_C" >&6; }
4969
if test "${ac_cv_header_elf_h+set}" = set; then
4970
echo $ECHO_N "(cached) $ECHO_C" >&6
4972
ac_cv_header_elf_h=$ac_header_preproc
4974
-echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4975
-echo "${ECHO_T}$ac_cv_header_elf_h" >&6
4976
+{ echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
4977
+echo "${ECHO_T}$ac_cv_header_elf_h" >&6; }
4980
if test $ac_cv_header_elf_h = yes; then
4981
@@ -3898,14 +4627,15 @@
4982
echo "$as_me: failed program was:" >&5
4983
sed 's/^/| /' conftest.$ac_ext >&5
4988
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4990
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4991
+ conftest$ac_exeext conftest.$ac_ext
4993
{ echo "$as_me:$LINENO: checking for Solaris 2.x..." >&5
4994
echo "$as_me: checking for Solaris 2.x..." >&6;}
4995
cat >conftest.$ac_ext <<_ACEOF
4996
-#line $LINENO "configure"
4999
cat confdefs.h >>conftest.$ac_ext
5000
@@ -3928,7 +4658,6 @@
5001
{ echo "$as_me:$LINENO: checking BSD job jontrol..." >&5
5002
echo "$as_me: checking BSD job jontrol..." >&6;}
5003
cat >conftest.$ac_ext <<_ACEOF
5004
-#line $LINENO "configure"
5007
cat confdefs.h >>conftest.$ac_ext
5008
@@ -3957,17 +4686,23 @@
5011
rm -f conftest.$ac_objext conftest$ac_exeext
5012
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5013
- (eval $ac_link) 2>&5
5015
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016
- (exit $ac_status); } &&
5017
- { ac_try='test -s conftest$ac_exeext'
5018
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019
- (eval $ac_try) 2>&5
5020
+if { (ac_try="$ac_link"
5021
+case "(($ac_try" in
5022
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5023
+ *) ac_try_echo=$ac_try;;
5025
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5026
+ (eval "$ac_link") 2>conftest.er1
5028
+ grep -v '^ *+' conftest.er1 >conftest.err
5029
+ rm -f conftest.er1
5030
+ cat conftest.err >&5
5031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032
- (exit $ac_status); }; }; then
5033
+ (exit $ac_status); } && {
5034
+ test -z "$ac_c_werror_flag" ||
5035
+ test ! -s conftest.err
5036
+ } && test -s conftest$ac_exeext &&
5037
+ $as_test_x conftest$ac_exeext; then
5038
echo "- you have jobcontrol" 1>&6
5039
cat >>confdefs.h <<\_ACEOF
5041
@@ -3977,15 +4712,16 @@
5042
echo "$as_me: failed program was:" >&5
5043
sed 's/^/| /' conftest.$ac_ext >&5
5045
-echo "- you don't have jobcontrol" 1>&6
5046
+ echo "- you don't have jobcontrol" 1>&6
5049
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5051
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5052
+ conftest$ac_exeext conftest.$ac_ext
5054
{ echo "$as_me:$LINENO: checking setreuid..." >&5
5055
echo "$as_me: checking setreuid..." >&6;}
5056
cat >conftest.$ac_ext <<_ACEOF
5057
-#line $LINENO "configure"
5060
cat confdefs.h >>conftest.$ac_ext
5061
@@ -4007,17 +4743,23 @@
5064
rm -f conftest.$ac_objext conftest$ac_exeext
5065
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5066
- (eval $ac_link) 2>&5
5068
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069
- (exit $ac_status); } &&
5070
- { ac_try='test -s conftest$ac_exeext'
5071
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072
- (eval $ac_try) 2>&5
5073
+if { (ac_try="$ac_link"
5074
+case "(($ac_try" in
5075
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5076
+ *) ac_try_echo=$ac_try;;
5078
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5079
+ (eval "$ac_link") 2>conftest.er1
5081
+ grep -v '^ *+' conftest.er1 >conftest.err
5082
+ rm -f conftest.er1
5083
+ cat conftest.err >&5
5084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085
- (exit $ac_status); }; }; then
5086
+ (exit $ac_status); } && {
5087
+ test -z "$ac_c_werror_flag" ||
5088
+ test ! -s conftest.err
5089
+ } && test -s conftest$ac_exeext &&
5090
+ $as_test_x conftest$ac_exeext; then
5091
cat >>confdefs.h <<\_ACEOF
5092
#define HAVE_SETREUID 1
5094
@@ -4026,12 +4768,14 @@
5095
echo "$as_me: failed program was:" >&5
5096
sed 's/^/| /' conftest.$ac_ext >&5
5100
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5102
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5103
+ conftest$ac_exeext conftest.$ac_ext
5104
{ echo "$as_me:$LINENO: checking seteuid..." >&5
5105
echo "$as_me: checking seteuid..." >&6;}
5106
cat >conftest.$ac_ext <<_ACEOF
5107
-#line $LINENO "configure"
5110
cat confdefs.h >>conftest.$ac_ext
5111
@@ -4053,17 +4797,23 @@
5114
rm -f conftest.$ac_objext conftest$ac_exeext
5115
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5116
- (eval $ac_link) 2>&5
5118
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119
- (exit $ac_status); } &&
5120
- { ac_try='test -s conftest$ac_exeext'
5121
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122
- (eval $ac_try) 2>&5
5123
+if { (ac_try="$ac_link"
5124
+case "(($ac_try" in
5125
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126
+ *) ac_try_echo=$ac_try;;
5128
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129
+ (eval "$ac_link") 2>conftest.er1
5131
+ grep -v '^ *+' conftest.er1 >conftest.err
5132
+ rm -f conftest.er1
5133
+ cat conftest.err >&5
5134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135
- (exit $ac_status); }; }; then
5136
+ (exit $ac_status); } && {
5137
+ test -z "$ac_c_werror_flag" ||
5138
+ test ! -s conftest.err
5139
+ } && test -s conftest$ac_exeext &&
5140
+ $as_test_x conftest$ac_exeext; then
5141
cat >>confdefs.h <<\_ACEOF
5142
#define HAVE_SETEUID 1
5144
@@ -4072,14 +4822,16 @@
5145
echo "$as_me: failed program was:" >&5
5146
sed 's/^/| /' conftest.$ac_ext >&5
5150
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5152
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153
+ conftest$ac_exeext conftest.$ac_ext
5156
{ echo "$as_me:$LINENO: checking select..." >&5
5157
echo "$as_me: checking select..." >&6;}
5158
cat >conftest.$ac_ext <<_ACEOF
5159
-#line $LINENO "configure"
5162
cat confdefs.h >>conftest.$ac_ext
5163
@@ -4095,27 +4847,32 @@
5166
rm -f conftest.$ac_objext conftest$ac_exeext
5167
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5168
- (eval $ac_link) 2>&5
5170
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171
- (exit $ac_status); } &&
5172
- { ac_try='test -s conftest$ac_exeext'
5173
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174
- (eval $ac_try) 2>&5
5175
+if { (ac_try="$ac_link"
5176
+case "(($ac_try" in
5177
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178
+ *) ac_try_echo=$ac_try;;
5180
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181
+ (eval "$ac_link") 2>conftest.er1
5183
+ grep -v '^ *+' conftest.er1 >conftest.err
5184
+ rm -f conftest.er1
5185
+ cat conftest.err >&5
5186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187
- (exit $ac_status); }; }; then
5188
+ (exit $ac_status); } && {
5189
+ test -z "$ac_c_werror_flag" ||
5190
+ test ! -s conftest.err
5191
+ } && test -s conftest$ac_exeext &&
5192
+ $as_test_x conftest$ac_exeext; then
5195
echo "$as_me: failed program was:" >&5
5196
sed 's/^/| /' conftest.$ac_ext >&5
5198
-LIBS="$LIBS -lnet -lnsl"
5199
+ LIBS="$LIBS -lnet -lnsl"
5200
{ echo "$as_me:$LINENO: checking select with $LIBS..." >&5
5201
echo "$as_me: checking select with $LIBS..." >&6;}
5202
cat >conftest.$ac_ext <<_ACEOF
5203
-#line $LINENO "configure"
5206
cat confdefs.h >>conftest.$ac_ext
5207
@@ -4131,30 +4888,40 @@
5210
rm -f conftest.$ac_objext conftest$ac_exeext
5211
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5212
- (eval $ac_link) 2>&5
5214
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215
- (exit $ac_status); } &&
5216
- { ac_try='test -s conftest$ac_exeext'
5217
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218
- (eval $ac_try) 2>&5
5219
+if { (ac_try="$ac_link"
5220
+case "(($ac_try" in
5221
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222
+ *) ac_try_echo=$ac_try;;
5224
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225
+ (eval "$ac_link") 2>conftest.er1
5227
+ grep -v '^ *+' conftest.er1 >conftest.err
5228
+ rm -f conftest.er1
5229
+ cat conftest.err >&5
5230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231
- (exit $ac_status); }; }; then
5232
+ (exit $ac_status); } && {
5233
+ test -z "$ac_c_werror_flag" ||
5234
+ test ! -s conftest.err
5235
+ } && test -s conftest$ac_exeext &&
5236
+ $as_test_x conftest$ac_exeext; then
5239
echo "$as_me: failed program was:" >&5
5240
sed 's/^/| /' conftest.$ac_ext >&5
5242
-{ { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
5243
+ { { echo "$as_me:$LINENO: error: !!! no select - no screen" >&5
5244
echo "$as_me: error: !!! no select - no screen" >&2;}
5245
{ (exit 1); exit 1; }; }
5247
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5249
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5250
+ conftest$ac_exeext conftest.$ac_ext
5253
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5255
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5256
+ conftest$ac_exeext conftest.$ac_ext
5258
{ echo "$as_me:$LINENO: checking fifos..." >&5
5259
echo "$as_me: checking fifos..." >&6;}
5260
@@ -4166,7 +4933,6 @@
5261
{ (exit 1); exit 1; }; }
5263
cat >conftest.$ac_ext <<_ACEOF
5264
-#line $LINENO "configure"
5267
cat confdefs.h >>conftest.$ac_ext
5268
@@ -4239,13 +5005,22 @@
5271
rm -f conftest$ac_exeext
5272
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5273
- (eval $ac_link) 2>&5
5274
+if { (ac_try="$ac_link"
5275
+case "(($ac_try" in
5276
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277
+ *) ac_try_echo=$ac_try;;
5279
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280
+ (eval "$ac_link") 2>&5
5282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5284
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285
- (eval $ac_try) 2>&5
5286
+ { (case "(($ac_try" in
5287
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5288
+ *) ac_try_echo=$ac_try;;
5290
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5291
+ (eval "$ac_try") 2>&5
5293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294
(exit $ac_status); }; }; then
5295
@@ -4260,8 +5035,10 @@
5296
echo "- your fifos are not usable" 1>&6
5299
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5300
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5304
rm -f /tmp/conftest*
5306
if test -n "$fifo"; then
5307
@@ -4275,7 +5052,6 @@
5308
{ (exit 1); exit 1; }; }
5310
cat >conftest.$ac_ext <<_ACEOF
5311
-#line $LINENO "configure"
5314
cat confdefs.h >>conftest.$ac_ext
5315
@@ -4328,13 +5104,22 @@
5318
rm -f conftest$ac_exeext
5319
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5320
- (eval $ac_link) 2>&5
5321
+if { (ac_try="$ac_link"
5322
+case "(($ac_try" in
5323
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324
+ *) ac_try_echo=$ac_try;;
5326
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5327
+ (eval "$ac_link") 2>&5
5329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5331
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332
- (eval $ac_try) 2>&5
5333
+ { (case "(($ac_try" in
5334
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335
+ *) ac_try_echo=$ac_try;;
5337
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5338
+ (eval "$ac_try") 2>&5
5340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341
(exit $ac_status); }; }; then
5342
@@ -4352,8 +5137,10 @@
5346
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5347
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5351
rm -f /tmp/conftest*
5354
@@ -4368,7 +5155,6 @@
5355
{ (exit 1); exit 1; }; }
5357
cat >conftest.$ac_ext <<_ACEOF
5358
-#line $LINENO "configure"
5361
cat confdefs.h >>conftest.$ac_ext
5362
@@ -4427,13 +5213,22 @@
5365
rm -f conftest$ac_exeext
5366
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5367
- (eval $ac_link) 2>&5
5368
+if { (ac_try="$ac_link"
5369
+case "(($ac_try" in
5370
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5371
+ *) ac_try_echo=$ac_try;;
5373
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374
+ (eval "$ac_link") 2>&5
5376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5378
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379
- (eval $ac_try) 2>&5
5380
+ { (case "(($ac_try" in
5381
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5382
+ *) ac_try_echo=$ac_try;;
5384
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385
+ (eval "$ac_try") 2>&5
5387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388
(exit $ac_status); }; }; then
5389
@@ -4448,8 +5243,10 @@
5390
echo "- your sockets are not usable" 1>&6
5393
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5394
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5398
rm -f /tmp/conftest*
5400
if test -n "$sock"; then
5401
@@ -4463,7 +5260,6 @@
5402
{ (exit 1); exit 1; }; }
5404
cat >conftest.$ac_ext <<_ACEOF
5405
-#line $LINENO "configure"
5408
cat confdefs.h >>conftest.$ac_ext
5409
@@ -4497,13 +5293,22 @@
5412
rm -f conftest$ac_exeext
5413
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5414
- (eval $ac_link) 2>&5
5415
+if { (ac_try="$ac_link"
5416
+case "(($ac_try" in
5417
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5418
+ *) ac_try_echo=$ac_try;;
5420
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5421
+ (eval "$ac_link") 2>&5
5423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5425
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5426
- (eval $ac_try) 2>&5
5427
+ { (case "(($ac_try" in
5428
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429
+ *) ac_try_echo=$ac_try;;
5431
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432
+ (eval "$ac_try") 2>&5
5434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435
(exit $ac_status); }; }; then
5436
@@ -4522,8 +5327,10 @@
5440
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5441
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5445
rm -f /tmp/conftest*
5448
@@ -4576,7 +5383,6 @@
5449
{ (exit 1); exit 1; }; }
5451
cat >conftest.$ac_ext <<_ACEOF
5452
-#line $LINENO "configure"
5455
cat confdefs.h >>conftest.$ac_ext
5456
@@ -4683,13 +5489,22 @@
5459
rm -f conftest$ac_exeext
5460
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5461
- (eval $ac_link) 2>&5
5462
+if { (ac_try="$ac_link"
5463
+case "(($ac_try" in
5464
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5465
+ *) ac_try_echo=$ac_try;;
5467
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5468
+ (eval "$ac_link") 2>&5
5470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5472
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473
- (eval $ac_try) 2>&5
5474
+ { (case "(($ac_try" in
5475
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5476
+ *) ac_try_echo=$ac_try;;
5478
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5479
+ (eval "$ac_try") 2>&5
5481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482
(exit $ac_status); }; }; then
5483
@@ -4707,13 +5522,14 @@
5487
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5488
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5493
{ echo "$as_me:$LINENO: checking for tgetent..." >&5
5494
echo "$as_me: checking for tgetent..." >&6;}
5495
cat >conftest.$ac_ext <<_ACEOF
5496
-#line $LINENO "configure"
5499
cat confdefs.h >>conftest.$ac_ext
5500
@@ -4729,28 +5545,33 @@
5503
rm -f conftest.$ac_objext conftest$ac_exeext
5504
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5505
- (eval $ac_link) 2>&5
5507
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508
- (exit $ac_status); } &&
5509
- { ac_try='test -s conftest$ac_exeext'
5510
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511
- (eval $ac_try) 2>&5
5512
+if { (ac_try="$ac_link"
5513
+case "(($ac_try" in
5514
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515
+ *) ac_try_echo=$ac_try;;
5517
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518
+ (eval "$ac_link") 2>conftest.er1
5520
+ grep -v '^ *+' conftest.er1 >conftest.err
5521
+ rm -f conftest.er1
5522
+ cat conftest.err >&5
5523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524
- (exit $ac_status); }; }; then
5525
+ (exit $ac_status); } && {
5526
+ test -z "$ac_c_werror_flag" ||
5527
+ test ! -s conftest.err
5528
+ } && test -s conftest$ac_exeext &&
5529
+ $as_test_x conftest$ac_exeext; then
5532
echo "$as_me: failed program was:" >&5
5533
sed 's/^/| /' conftest.$ac_ext >&5
5536
-LIBS="-lcurses $olibs"
5537
-{ echo "$as_me:$LINENO: checking libcurses..." >&5
5538
-echo "$as_me: checking libcurses..." >&6;}
5540
+LIBS="-lncursesw $olibs"
5541
+{ echo "$as_me:$LINENO: checking libncursesw..." >&5
5542
+echo "$as_me: checking libncursesw..." >&6;}
5543
cat >conftest.$ac_ext <<_ACEOF
5544
-#line $LINENO "configure"
5547
cat confdefs.h >>conftest.$ac_ext
5548
@@ -4760,39 +5581,38 @@
5554
-__sorry_hpux_libcurses_is_totally_broken_in_10_10();
5556
tgetent((char *)0, (char *)0);
5563
rm -f conftest.$ac_objext conftest$ac_exeext
5564
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5565
- (eval $ac_link) 2>&5
5567
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568
- (exit $ac_status); } &&
5569
- { ac_try='test -s conftest$ac_exeext'
5570
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5571
- (eval $ac_try) 2>&5
5572
+if { (ac_try="$ac_link"
5573
+case "(($ac_try" in
5574
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5575
+ *) ac_try_echo=$ac_try;;
5577
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578
+ (eval "$ac_link") 2>conftest.er1
5580
+ grep -v '^ *+' conftest.er1 >conftest.err
5581
+ rm -f conftest.er1
5582
+ cat conftest.err >&5
5583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584
- (exit $ac_status); }; }; then
5585
+ (exit $ac_status); } && {
5586
+ test -z "$ac_c_werror_flag" ||
5587
+ test ! -s conftest.err
5588
+ } && test -s conftest$ac_exeext &&
5589
+ $as_test_x conftest$ac_exeext; then
5592
echo "$as_me: failed program was:" >&5
5593
sed 's/^/| /' conftest.$ac_ext >&5
5595
-LIBS="-ltermcap $olibs"
5596
-{ echo "$as_me:$LINENO: checking libtermcap..." >&5
5597
-echo "$as_me: checking libtermcap..." >&6;}
5598
+ LIBS="-lncurses $olibs"
5599
+{ echo "$as_me:$LINENO: checking libncurses..." >&5
5600
+echo "$as_me: checking libncurses..." >&6;}
5601
cat >conftest.$ac_ext <<_ACEOF
5602
-#line $LINENO "configure"
5605
cat confdefs.h >>conftest.$ac_ext
5606
@@ -4808,27 +5628,32 @@
5609
rm -f conftest.$ac_objext conftest$ac_exeext
5610
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5611
- (eval $ac_link) 2>&5
5613
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614
- (exit $ac_status); } &&
5615
- { ac_try='test -s conftest$ac_exeext'
5616
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617
- (eval $ac_try) 2>&5
5618
+if { (ac_try="$ac_link"
5619
+case "(($ac_try" in
5620
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5621
+ *) ac_try_echo=$ac_try;;
5623
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5624
+ (eval "$ac_link") 2>conftest.er1
5626
+ grep -v '^ *+' conftest.er1 >conftest.err
5627
+ rm -f conftest.er1
5628
+ cat conftest.err >&5
5629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630
- (exit $ac_status); }; }; then
5631
+ (exit $ac_status); } && {
5632
+ test -z "$ac_c_werror_flag" ||
5633
+ test ! -s conftest.err
5634
+ } && test -s conftest$ac_exeext &&
5635
+ $as_test_x conftest$ac_exeext; then
5638
echo "$as_me: failed program was:" >&5
5639
sed 's/^/| /' conftest.$ac_ext >&5
5641
-LIBS="-ltermlib $olibs"
5642
-{ echo "$as_me:$LINENO: checking libtermlib..." >&5
5643
-echo "$as_me: checking libtermlib..." >&6;}
5644
+ LIBS="-lcurses $olibs"
5645
+{ echo "$as_me:$LINENO: checking libcurses..." >&5
5646
+echo "$as_me: checking libcurses..." >&6;}
5647
cat >conftest.$ac_ext <<_ACEOF
5648
-#line $LINENO "configure"
5651
cat confdefs.h >>conftest.$ac_ext
5652
@@ -4838,33 +5663,44 @@
5658
+__sorry_hpux_libcurses_is_totally_broken_in_10_10();
5660
tgetent((char *)0, (char *)0);
5667
rm -f conftest.$ac_objext conftest$ac_exeext
5668
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669
- (eval $ac_link) 2>&5
5671
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672
- (exit $ac_status); } &&
5673
- { ac_try='test -s conftest$ac_exeext'
5674
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5675
- (eval $ac_try) 2>&5
5676
+if { (ac_try="$ac_link"
5677
+case "(($ac_try" in
5678
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679
+ *) ac_try_echo=$ac_try;;
5681
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682
+ (eval "$ac_link") 2>conftest.er1
5684
+ grep -v '^ *+' conftest.er1 >conftest.err
5685
+ rm -f conftest.er1
5686
+ cat conftest.err >&5
5687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688
- (exit $ac_status); }; }; then
5689
+ (exit $ac_status); } && {
5690
+ test -z "$ac_c_werror_flag" ||
5691
+ test ! -s conftest.err
5692
+ } && test -s conftest$ac_exeext &&
5693
+ $as_test_x conftest$ac_exeext; then
5696
echo "$as_me: failed program was:" >&5
5697
sed 's/^/| /' conftest.$ac_ext >&5
5699
-LIBS="-lncurses $olibs"
5700
-{ echo "$as_me:$LINENO: checking libncurses..." >&5
5701
-echo "$as_me: checking libncurses..." >&6;}
5702
+ LIBS="-ltermcap $olibs"
5703
+{ echo "$as_me:$LINENO: checking libtermcap..." >&5
5704
+echo "$as_me: checking libtermcap..." >&6;}
5705
cat >conftest.$ac_ext <<_ACEOF
5706
-#line $LINENO "configure"
5709
cat confdefs.h >>conftest.$ac_ext
5710
@@ -4880,64 +5716,133 @@
5713
rm -f conftest.$ac_objext conftest$ac_exeext
5714
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5715
- (eval $ac_link) 2>&5
5717
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718
- (exit $ac_status); } &&
5719
- { ac_try='test -s conftest$ac_exeext'
5720
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721
- (eval $ac_try) 2>&5
5722
+if { (ac_try="$ac_link"
5723
+case "(($ac_try" in
5724
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5725
+ *) ac_try_echo=$ac_try;;
5727
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728
+ (eval "$ac_link") 2>conftest.er1
5730
+ grep -v '^ *+' conftest.er1 >conftest.err
5731
+ rm -f conftest.er1
5732
+ cat conftest.err >&5
5733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734
- (exit $ac_status); }; }; then
5735
+ (exit $ac_status); } && {
5736
+ test -z "$ac_c_werror_flag" ||
5737
+ test ! -s conftest.err
5738
+ } && test -s conftest$ac_exeext &&
5739
+ $as_test_x conftest$ac_exeext; then
5742
echo "$as_me: failed program was:" >&5
5743
sed 's/^/| /' conftest.$ac_ext >&5
5745
-{ { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
5746
-echo "$as_me: error: !!! no tgetent - no screen" >&2;}
5747
- { (exit 1); exit 1; }; }
5749
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5751
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5753
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5755
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5757
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5759
-if test "$cross_compiling" = yes; then
5760
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5761
-See \`config.log' for more details." >&5
5762
-echo "$as_me: error: cannot run test program while cross compiling
5763
-See \`config.log' for more details." >&2;}
5764
- { (exit 1); exit 1; }; }
5766
- cat >conftest.$ac_ext <<_ACEOF
5767
-#line $LINENO "configure"
5768
+ LIBS="-ltermlib $olibs"
5769
+{ echo "$as_me:$LINENO: checking libtermlib..." >&5
5770
+echo "$as_me: checking libtermlib..." >&6;}
5771
+cat >conftest.$ac_ext <<_ACEOF
5774
cat confdefs.h >>conftest.$ac_ext
5775
cat >>conftest.$ac_ext <<_ACEOF
5776
/* end confdefs.h. */
5782
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
5783
+tgetent((char *)0, (char *)0);
5788
-rm -f conftest$ac_exeext
5789
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5790
- (eval $ac_link) 2>&5
5791
+rm -f conftest.$ac_objext conftest$ac_exeext
5792
+if { (ac_try="$ac_link"
5793
+case "(($ac_try" in
5794
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5795
+ *) ac_try_echo=$ac_try;;
5797
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5798
+ (eval "$ac_link") 2>conftest.er1
5800
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801
+ grep -v '^ *+' conftest.er1 >conftest.err
5802
+ rm -f conftest.er1
5803
+ cat conftest.err >&5
5804
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805
+ (exit $ac_status); } && {
5806
+ test -z "$ac_c_werror_flag" ||
5807
+ test ! -s conftest.err
5808
+ } && test -s conftest$ac_exeext &&
5809
+ $as_test_x conftest$ac_exeext; then
5812
+ echo "$as_me: failed program was:" >&5
5813
+sed 's/^/| /' conftest.$ac_ext >&5
5815
+ { { echo "$as_me:$LINENO: error: !!! no tgetent - no screen" >&5
5816
+echo "$as_me: error: !!! no tgetent - no screen" >&2;}
5817
+ { (exit 1); exit 1; }; }
5820
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5821
+ conftest$ac_exeext conftest.$ac_ext
5824
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5825
+ conftest$ac_exeext conftest.$ac_ext
5828
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5829
+ conftest$ac_exeext conftest.$ac_ext
5832
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5833
+ conftest$ac_exeext conftest.$ac_ext
5836
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5837
+ conftest$ac_exeext conftest.$ac_ext
5840
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5841
+ conftest$ac_exeext conftest.$ac_ext
5843
+if test "$cross_compiling" = yes; then
5844
+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5845
+See \`config.log' for more details." >&5
5846
+echo "$as_me: error: cannot run test program while cross compiling
5847
+See \`config.log' for more details." >&2;}
5848
+ { (exit 1); exit 1; }; }
5850
+ cat >conftest.$ac_ext <<_ACEOF
5853
+cat confdefs.h >>conftest.$ac_ext
5854
+cat >>conftest.$ac_ext <<_ACEOF
5855
+/* end confdefs.h. */
5859
+ exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
5862
+rm -f conftest$ac_exeext
5863
+if { (ac_try="$ac_link"
5864
+case "(($ac_try" in
5865
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5866
+ *) ac_try_echo=$ac_try;;
5868
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5869
+ (eval "$ac_link") 2>&5
5871
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5873
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874
- (eval $ac_try) 2>&5
5875
+ { (case "(($ac_try" in
5876
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877
+ *) ac_try_echo=$ac_try;;
5879
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5880
+ (eval "$ac_try") 2>&5
5882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883
(exit $ac_status); }; }; then
5884
@@ -4955,12 +5860,13 @@
5888
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5889
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5893
{ echo "$as_me:$LINENO: checking ospeed..." >&5
5894
echo "$as_me: checking ospeed..." >&6;}
5895
cat >conftest.$ac_ext <<_ACEOF
5896
-#line $LINENO "configure"
5899
cat confdefs.h >>conftest.$ac_ext
5900
@@ -4976,28 +5882,36 @@
5903
rm -f conftest.$ac_objext conftest$ac_exeext
5904
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905
- (eval $ac_link) 2>&5
5907
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908
- (exit $ac_status); } &&
5909
- { ac_try='test -s conftest$ac_exeext'
5910
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911
- (eval $ac_try) 2>&5
5912
+if { (ac_try="$ac_link"
5913
+case "(($ac_try" in
5914
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5915
+ *) ac_try_echo=$ac_try;;
5917
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5918
+ (eval "$ac_link") 2>conftest.er1
5920
+ grep -v '^ *+' conftest.er1 >conftest.err
5921
+ rm -f conftest.er1
5922
+ cat conftest.err >&5
5923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924
- (exit $ac_status); }; }; then
5925
+ (exit $ac_status); } && {
5926
+ test -z "$ac_c_werror_flag" ||
5927
+ test ! -s conftest.err
5928
+ } && test -s conftest$ac_exeext &&
5929
+ $as_test_x conftest$ac_exeext; then
5932
echo "$as_me: failed program was:" >&5
5933
sed 's/^/| /' conftest.$ac_ext >&5
5935
-cat >>confdefs.h <<\_ACEOF
5936
+ cat >>confdefs.h <<\_ACEOF
5937
#define NEED_OSPEED 1
5941
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5943
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5944
+ conftest$ac_exeext conftest.$ac_ext
5946
{ echo "$as_me:$LINENO: checking for /dev/ptc..." >&5
5947
echo "$as_me: checking for /dev/ptc..." >&6;}
5948
@@ -5013,7 +5927,6 @@
5950
if test -c /dev/ptmx ; then
5951
cat >conftest.$ac_ext <<_ACEOF
5952
-#line $LINENO "configure"
5955
cat confdefs.h >>conftest.$ac_ext
5956
@@ -5029,17 +5942,23 @@
5959
rm -f conftest.$ac_objext conftest$ac_exeext
5960
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5961
- (eval $ac_link) 2>&5
5963
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964
- (exit $ac_status); } &&
5965
- { ac_try='test -s conftest$ac_exeext'
5966
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967
- (eval $ac_try) 2>&5
5968
+if { (ac_try="$ac_link"
5969
+case "(($ac_try" in
5970
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5971
+ *) ac_try_echo=$ac_try;;
5973
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5974
+ (eval "$ac_link") 2>conftest.er1
5976
+ grep -v '^ *+' conftest.er1 >conftest.err
5977
+ rm -f conftest.er1
5978
+ cat conftest.err >&5
5979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980
- (exit $ac_status); }; }; then
5981
+ (exit $ac_status); } && {
5982
+ test -z "$ac_c_werror_flag" ||
5983
+ test ! -s conftest.err
5984
+ } && test -s conftest$ac_exeext &&
5985
+ $as_test_x conftest$ac_exeext; then
5986
cat >>confdefs.h <<\_ACEOF
5987
#define HAVE_SVR4_PTYS 1
5989
@@ -5049,86 +5968,99 @@
5990
echo "$as_me: failed program was:" >&5
5991
sed 's/^/| /' conftest.$ac_ext >&5
5995
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5997
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5998
+ conftest$ac_exeext conftest.$ac_ext
6002
for ac_func in getpt
6004
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6005
-echo "$as_me:$LINENO: checking for $ac_func" >&5
6006
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6007
-if eval "test \"\${$as_ac_var+set}\" = set"; then
6008
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6009
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6010
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6011
echo $ECHO_N "(cached) $ECHO_C" >&6
6013
cat >conftest.$ac_ext <<_ACEOF
6014
-#line $LINENO "configure"
6017
cat confdefs.h >>conftest.$ac_ext
6018
cat >>conftest.$ac_ext <<_ACEOF
6019
/* end confdefs.h. */
6020
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6021
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6022
+#define $ac_func innocuous_$ac_func
6024
/* System header to define __stub macros and hopefully few prototypes,
6025
which can conflict with char $ac_func (); below.
6026
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6027
<limits.h> exists even on freestanding compilers. */
6030
# include <limits.h>
6032
# include <assert.h>
6034
-/* Override any gcc2 internal prototype to avoid an error. */
6038
+/* Override any GCC internal prototype to avoid an error.
6039
+ Use char because int might match the return type of a GCC
6040
+ builtin and then its argument prototype would still apply. */
6045
-/* We use char because int might match the return type of a gcc2
6046
- builtin and then its argument prototype would still apply. */
6048
/* The GNU C library defines this for functions which it implements
6049
to always fail with ENOSYS. Some functions are actually named
6050
something starting with __ and the normal name is an alias. */
6051
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6052
+#if defined __stub_$ac_func || defined __stub___$ac_func
6055
-char (*f) () = $ac_func;
6064
-return f != $ac_func;
6065
+return $ac_func ();
6070
rm -f conftest.$ac_objext conftest$ac_exeext
6071
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6072
- (eval $ac_link) 2>&5
6074
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075
- (exit $ac_status); } &&
6076
- { ac_try='test -s conftest$ac_exeext'
6077
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078
- (eval $ac_try) 2>&5
6079
+if { (ac_try="$ac_link"
6080
+case "(($ac_try" in
6081
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6082
+ *) ac_try_echo=$ac_try;;
6084
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6085
+ (eval "$ac_link") 2>conftest.er1
6087
+ grep -v '^ *+' conftest.er1 >conftest.err
6088
+ rm -f conftest.er1
6089
+ cat conftest.err >&5
6090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091
- (exit $ac_status); }; }; then
6092
+ (exit $ac_status); } && {
6093
+ test -z "$ac_c_werror_flag" ||
6094
+ test ! -s conftest.err
6095
+ } && test -s conftest$ac_exeext &&
6096
+ $as_test_x conftest$ac_exeext; then
6097
eval "$as_ac_var=yes"
6099
echo "$as_me: failed program was:" >&5
6100
sed 's/^/| /' conftest.$ac_ext >&5
6102
-eval "$as_ac_var=no"
6103
+ eval "$as_ac_var=no"
6105
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6107
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6108
+ conftest$ac_exeext conftest.$ac_ext
6110
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6111
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6112
+ac_res=`eval echo '${'$as_ac_var'}'`
6113
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6114
+echo "${ECHO_T}$ac_res" >&6; }
6115
if test `eval echo '${'$as_ac_var'}'` = yes; then
6116
cat >>confdefs.h <<_ACEOF
6117
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6118
@@ -5143,138 +6075,155 @@
6119
for ac_func in openpty
6121
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6122
-echo "$as_me:$LINENO: checking for $ac_func" >&5
6123
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6124
-if eval "test \"\${$as_ac_var+set}\" = set"; then
6125
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6126
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6127
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6128
echo $ECHO_N "(cached) $ECHO_C" >&6
6130
cat >conftest.$ac_ext <<_ACEOF
6131
-#line $LINENO "configure"
6134
cat confdefs.h >>conftest.$ac_ext
6135
cat >>conftest.$ac_ext <<_ACEOF
6136
/* end confdefs.h. */
6137
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6138
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
6139
+#define $ac_func innocuous_$ac_func
6141
/* System header to define __stub macros and hopefully few prototypes,
6142
which can conflict with char $ac_func (); below.
6143
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6144
<limits.h> exists even on freestanding compilers. */
6147
# include <limits.h>
6149
# include <assert.h>
6151
-/* Override any gcc2 internal prototype to avoid an error. */
6155
+/* Override any GCC internal prototype to avoid an error.
6156
+ Use char because int might match the return type of a GCC
6157
+ builtin and then its argument prototype would still apply. */
6162
-/* We use char because int might match the return type of a gcc2
6163
- builtin and then its argument prototype would still apply. */
6165
/* The GNU C library defines this for functions which it implements
6166
to always fail with ENOSYS. Some functions are actually named
6167
something starting with __ and the normal name is an alias. */
6168
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6169
+#if defined __stub_$ac_func || defined __stub___$ac_func
6172
-char (*f) () = $ac_func;
6181
-return f != $ac_func;
6182
+return $ac_func ();
6187
rm -f conftest.$ac_objext conftest$ac_exeext
6188
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189
- (eval $ac_link) 2>&5
6191
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192
- (exit $ac_status); } &&
6193
- { ac_try='test -s conftest$ac_exeext'
6194
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195
- (eval $ac_try) 2>&5
6196
+if { (ac_try="$ac_link"
6197
+case "(($ac_try" in
6198
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6199
+ *) ac_try_echo=$ac_try;;
6201
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6202
+ (eval "$ac_link") 2>conftest.er1
6204
+ grep -v '^ *+' conftest.er1 >conftest.err
6205
+ rm -f conftest.er1
6206
+ cat conftest.err >&5
6207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208
- (exit $ac_status); }; }; then
6209
+ (exit $ac_status); } && {
6210
+ test -z "$ac_c_werror_flag" ||
6211
+ test ! -s conftest.err
6212
+ } && test -s conftest$ac_exeext &&
6213
+ $as_test_x conftest$ac_exeext; then
6214
eval "$as_ac_var=yes"
6216
echo "$as_me: failed program was:" >&5
6217
sed 's/^/| /' conftest.$ac_ext >&5
6219
-eval "$as_ac_var=no"
6220
+ eval "$as_ac_var=no"
6222
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6224
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6225
+ conftest$ac_exeext conftest.$ac_ext
6227
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6228
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6229
+ac_res=`eval echo '${'$as_ac_var'}'`
6230
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6231
+echo "${ECHO_T}$ac_res" >&6; }
6232
if test `eval echo '${'$as_ac_var'}'` = yes; then
6233
cat >>confdefs.h <<_ACEOF
6234
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6238
- echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
6239
-echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
6240
+ { echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
6241
+echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; }
6242
if test "${ac_cv_lib_util_openpty+set}" = set; then
6243
echo $ECHO_N "(cached) $ECHO_C" >&6
6245
ac_check_lib_save_LIBS=$LIBS
6247
cat >conftest.$ac_ext <<_ACEOF
6248
-#line $LINENO "configure"
6251
cat confdefs.h >>conftest.$ac_ext
6252
cat >>conftest.$ac_ext <<_ACEOF
6253
/* end confdefs.h. */
6255
-/* Override any gcc2 internal prototype to avoid an error. */
6256
+/* Override any GCC internal prototype to avoid an error.
6257
+ Use char because int might match the return type of a GCC
6258
+ builtin and then its argument prototype would still apply. */
6262
-/* We use char because int might match the return type of a gcc2
6263
- builtin and then its argument prototype would still apply. */
6274
rm -f conftest.$ac_objext conftest$ac_exeext
6275
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6276
- (eval $ac_link) 2>&5
6278
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279
- (exit $ac_status); } &&
6280
- { ac_try='test -s conftest$ac_exeext'
6281
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6282
- (eval $ac_try) 2>&5
6283
+if { (ac_try="$ac_link"
6284
+case "(($ac_try" in
6285
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6286
+ *) ac_try_echo=$ac_try;;
6288
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6289
+ (eval "$ac_link") 2>conftest.er1
6291
+ grep -v '^ *+' conftest.er1 >conftest.err
6292
+ rm -f conftest.er1
6293
+ cat conftest.err >&5
6294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295
- (exit $ac_status); }; }; then
6296
+ (exit $ac_status); } && {
6297
+ test -z "$ac_c_werror_flag" ||
6298
+ test ! -s conftest.err
6299
+ } && test -s conftest$ac_exeext &&
6300
+ $as_test_x conftest$ac_exeext; then
6301
ac_cv_lib_util_openpty=yes
6303
echo "$as_me: failed program was:" >&5
6304
sed 's/^/| /' conftest.$ac_ext >&5
6306
-ac_cv_lib_util_openpty=no
6307
+ ac_cv_lib_util_openpty=no
6309
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6311
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6312
+ conftest$ac_exeext conftest.$ac_ext
6313
LIBS=$ac_check_lib_save_LIBS
6315
-echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
6316
-echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
6317
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
6318
+echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; }
6319
if test $ac_cv_lib_util_openpty = yes; then
6320
cat >>confdefs.h <<\_ACEOF
6321
#define HAVE_OPENPTY 1
6322
@@ -5295,7 +6244,6 @@
6325
cat >conftest.$ac_ext <<_ACEOF
6326
-#line $LINENO "configure"
6329
cat confdefs.h >>conftest.$ac_ext
6330
@@ -5328,17 +6276,17 @@
6334
-# Check whether --with-pty-mode or --without-pty-mode was given.
6335
+# Check whether --with-pty-mode was given.
6336
if test "${with_pty_mode+set}" = set; then
6337
- withval="$with_pty_mode"
6338
- ptymode="${withval}"
6340
+ withval=$with_pty_mode; ptymode="${withval}"
6344
-# Check whether --with-pty-group or --without-pty-group was given.
6345
+# Check whether --with-pty-group was given.
6346
if test "${with_pty_group+set}" = set; then
6347
- withval="$with_pty_group"
6348
- ptygrp="${withval}"
6350
+ withval=$with_pty_group; ptygrp="${withval}"
6353
test -n "$ptymode" || ptymode=0620
6354
if test -n "$ptygrp" ; then
6355
cat >>confdefs.h <<_ACEOF
6356
@@ -5362,7 +6310,6 @@
6357
{ (exit 1); exit 1; }; }
6359
cat >conftest.$ac_ext <<_ACEOF
6360
-#line $LINENO "configure"
6363
cat confdefs.h >>conftest.$ac_ext
6364
@@ -5399,13 +6346,22 @@
6367
rm -f conftest$ac_exeext
6368
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6369
- (eval $ac_link) 2>&5
6370
+if { (ac_try="$ac_link"
6371
+case "(($ac_try" in
6372
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373
+ *) ac_try_echo=$ac_try;;
6375
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376
+ (eval "$ac_link") 2>&5
6378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6380
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381
- (eval $ac_try) 2>&5
6382
+ { (case "(($ac_try" in
6383
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6384
+ *) ac_try_echo=$ac_try;;
6386
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6387
+ (eval "$ac_try") 2>&5
6389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390
(exit $ac_status); }; }; then
6391
@@ -5438,8 +6394,8 @@
6393
# Extract the first word of "write", so it can be a program name with args.
6394
set dummy write; ac_word=$2
6395
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6396
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6397
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6398
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6399
if test "${ac_cv_path_WRITEPATH+set}" = set; then
6400
echo $ECHO_N "(cached) $ECHO_C" >&6
6402
@@ -5454,31 +6410,32 @@
6404
test -z "$as_dir" && as_dir=.
6405
for ac_exec_ext in '' $ac_executable_extensions; do
6406
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408
ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext"
6409
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6419
WRITEPATH=$ac_cv_path_WRITEPATH
6421
if test -n "$WRITEPATH"; then
6422
- echo "$as_me:$LINENO: result: $WRITEPATH" >&5
6423
-echo "${ECHO_T}$WRITEPATH" >&6
6424
+ { echo "$as_me:$LINENO: result: $WRITEPATH" >&5
6425
+echo "${ECHO_T}$WRITEPATH" >&6; }
6427
- echo "$as_me:$LINENO: result: no" >&5
6428
-echo "${ECHO_T}no" >&6
6429
+ { echo "$as_me:$LINENO: result: no" >&5
6430
+echo "${ECHO_T}no" >&6; }
6434
# Extract the first word of "xterm", so it can be a program name with args.
6435
set dummy xterm; ac_word=$2
6436
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6437
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6438
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6439
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6440
if test "${ac_cv_path_XTERMPATH+set}" = set; then
6441
echo $ECHO_N "(cached) $ECHO_C" >&6
6443
@@ -5493,27 +6450,28 @@
6445
test -z "$as_dir" && as_dir=.
6446
for ac_exec_ext in '' $ac_executable_extensions; do
6447
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449
ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext"
6450
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6460
XTERMPATH=$ac_cv_path_XTERMPATH
6462
if test -n "$XTERMPATH"; then
6463
- echo "$as_me:$LINENO: result: $XTERMPATH" >&5
6464
-echo "${ECHO_T}$XTERMPATH" >&6
6465
+ { echo "$as_me:$LINENO: result: $XTERMPATH" >&5
6466
+echo "${ECHO_T}$XTERMPATH" >&6; }
6468
- echo "$as_me:$LINENO: result: no" >&5
6469
-echo "${ECHO_T}no" >&6
6470
+ { echo "$as_me:$LINENO: result: no" >&5
6471
+echo "${ECHO_T}no" >&6; }
6476
if test -n "$WRITEPATH$XTERMPATH"; then
6478
@@ -5555,15 +6513,16 @@
6482
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6483
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6490
{ echo "$as_me:$LINENO: checking getutent..." >&5
6491
echo "$as_me: checking getutent..." >&6;}
6492
cat >conftest.$ac_ext <<_ACEOF
6493
-#line $LINENO "configure"
6496
cat confdefs.h >>conftest.$ac_ext
6497
@@ -5591,17 +6550,23 @@
6500
rm -f conftest.$ac_objext conftest$ac_exeext
6501
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6502
- (eval $ac_link) 2>&5
6504
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505
- (exit $ac_status); } &&
6506
- { ac_try='test -s conftest$ac_exeext'
6507
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508
- (eval $ac_try) 2>&5
6509
+if { (ac_try="$ac_link"
6510
+case "(($ac_try" in
6511
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6512
+ *) ac_try_echo=$ac_try;;
6514
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515
+ (eval "$ac_link") 2>conftest.er1
6517
+ grep -v '^ *+' conftest.er1 >conftest.err
6518
+ rm -f conftest.er1
6519
+ cat conftest.err >&5
6520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521
- (exit $ac_status); }; }; then
6522
+ (exit $ac_status); } && {
6523
+ test -z "$ac_c_werror_flag" ||
6524
+ test ! -s conftest.err
6525
+ } && test -s conftest$ac_exeext &&
6526
+ $as_test_x conftest$ac_exeext; then
6527
cat >>confdefs.h <<\_ACEOF
6530
@@ -5610,12 +6575,11 @@
6531
echo "$as_me: failed program was:" >&5
6532
sed 's/^/| /' conftest.$ac_ext >&5
6537
{ echo "$as_me:$LINENO: checking getutent with -lgen..." >&5
6538
echo "$as_me: checking getutent with -lgen..." >&6;}
6539
cat >conftest.$ac_ext <<_ACEOF
6540
-#line $LINENO "configure"
6543
cat confdefs.h >>conftest.$ac_ext
6544
@@ -5643,17 +6607,23 @@
6547
rm -f conftest.$ac_objext conftest$ac_exeext
6548
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6549
- (eval $ac_link) 2>&5
6551
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552
- (exit $ac_status); } &&
6553
- { ac_try='test -s conftest$ac_exeext'
6554
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555
- (eval $ac_try) 2>&5
6556
+if { (ac_try="$ac_link"
6557
+case "(($ac_try" in
6558
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6559
+ *) ac_try_echo=$ac_try;;
6561
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6562
+ (eval "$ac_link") 2>conftest.er1
6564
+ grep -v '^ *+' conftest.er1 >conftest.err
6565
+ rm -f conftest.er1
6566
+ cat conftest.err >&5
6567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568
- (exit $ac_status); }; }; then
6569
+ (exit $ac_status); } && {
6570
+ test -z "$ac_c_werror_flag" ||
6571
+ test ! -s conftest.err
6572
+ } && test -s conftest$ac_exeext &&
6573
+ $as_test_x conftest$ac_exeext; then
6574
cat >>confdefs.h <<\_ACEOF
6577
@@ -5662,16 +6632,19 @@
6578
echo "$as_me: failed program was:" >&5
6579
sed 's/^/| /' conftest.$ac_ext >&5
6584
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6586
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6587
+ conftest$ac_exeext conftest.$ac_ext
6590
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6592
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6593
+ conftest$ac_exeext conftest.$ac_ext
6594
{ echo "$as_me:$LINENO: checking ut_host..." >&5
6595
echo "$as_me: checking ut_host..." >&6;}
6596
cat >conftest.$ac_ext <<_ACEOF
6597
-#line $LINENO "configure"
6600
cat confdefs.h >>conftest.$ac_ext
6601
@@ -5696,17 +6669,22 @@
6604
rm -f conftest.$ac_objext
6605
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6606
- (eval $ac_compile) 2>&5
6608
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609
- (exit $ac_status); } &&
6610
- { ac_try='test -s conftest.$ac_objext'
6611
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612
- (eval $ac_try) 2>&5
6613
+if { (ac_try="$ac_compile"
6614
+case "(($ac_try" in
6615
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616
+ *) ac_try_echo=$ac_try;;
6618
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619
+ (eval "$ac_compile") 2>conftest.er1
6621
+ grep -v '^ *+' conftest.er1 >conftest.err
6622
+ rm -f conftest.er1
6623
+ cat conftest.err >&5
6624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625
- (exit $ac_status); }; }; then
6626
+ (exit $ac_status); } && {
6627
+ test -z "$ac_c_werror_flag" ||
6628
+ test ! -s conftest.err
6629
+ } && test -s conftest.$ac_objext; then
6630
cat >>confdefs.h <<\_ACEOF
6633
@@ -5715,22 +6693,23 @@
6634
echo "$as_me: failed program was:" >&5
6635
sed 's/^/| /' conftest.$ac_ext >&5
6639
-rm -f conftest.$ac_objext conftest.$ac_ext
6641
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6642
if test "${ac_cv_header_utempter_h+set}" = set; then
6643
- echo "$as_me:$LINENO: checking for utempter.h" >&5
6644
-echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6
6645
+ { echo "$as_me:$LINENO: checking for utempter.h" >&5
6646
+echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6; }
6647
if test "${ac_cv_header_utempter_h+set}" = set; then
6648
echo $ECHO_N "(cached) $ECHO_C" >&6
6650
-echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6651
-echo "${ECHO_T}$ac_cv_header_utempter_h" >&6
6652
+{ echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6653
+echo "${ECHO_T}$ac_cv_header_utempter_h" >&6; }
6655
# Is the header compilable?
6656
-echo "$as_me:$LINENO: checking utempter.h usability" >&5
6657
-echo $ECHO_N "checking utempter.h usability... $ECHO_C" >&6
6658
+{ echo "$as_me:$LINENO: checking utempter.h usability" >&5
6659
+echo $ECHO_N "checking utempter.h usability... $ECHO_C" >&6; }
6660
cat >conftest.$ac_ext <<_ACEOF
6661
-#line $LINENO "configure"
6664
cat confdefs.h >>conftest.$ac_ext
6665
@@ -5740,33 +6719,38 @@
6666
#include <utempter.h>
6668
rm -f conftest.$ac_objext
6669
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670
- (eval $ac_compile) 2>&5
6672
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673
- (exit $ac_status); } &&
6674
- { ac_try='test -s conftest.$ac_objext'
6675
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676
- (eval $ac_try) 2>&5
6677
+if { (ac_try="$ac_compile"
6678
+case "(($ac_try" in
6679
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680
+ *) ac_try_echo=$ac_try;;
6682
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683
+ (eval "$ac_compile") 2>conftest.er1
6685
+ grep -v '^ *+' conftest.er1 >conftest.err
6686
+ rm -f conftest.er1
6687
+ cat conftest.err >&5
6688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689
- (exit $ac_status); }; }; then
6690
+ (exit $ac_status); } && {
6691
+ test -z "$ac_c_werror_flag" ||
6692
+ test ! -s conftest.err
6693
+ } && test -s conftest.$ac_objext; then
6694
ac_header_compiler=yes
6696
echo "$as_me: failed program was:" >&5
6697
sed 's/^/| /' conftest.$ac_ext >&5
6699
-ac_header_compiler=no
6700
+ ac_header_compiler=no
6702
-rm -f conftest.$ac_objext conftest.$ac_ext
6703
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6704
-echo "${ECHO_T}$ac_header_compiler" >&6
6706
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6707
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6708
+echo "${ECHO_T}$ac_header_compiler" >&6; }
6710
# Is the header present?
6711
-echo "$as_me:$LINENO: checking utempter.h presence" >&5
6712
-echo $ECHO_N "checking utempter.h presence... $ECHO_C" >&6
6713
+{ echo "$as_me:$LINENO: checking utempter.h presence" >&5
6714
+echo $ECHO_N "checking utempter.h presence... $ECHO_C" >&6; }
6715
cat >conftest.$ac_ext <<_ACEOF
6716
-#line $LINENO "configure"
6719
cat confdefs.h >>conftest.$ac_ext
6720
@@ -5774,23 +6758,22 @@
6721
/* end confdefs.h. */
6722
#include <utempter.h>
6724
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6725
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6726
+if { (ac_try="$ac_cpp conftest.$ac_ext"
6727
+case "(($ac_try" in
6728
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6729
+ *) ac_try_echo=$ac_try;;
6731
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6732
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6734
grep -v '^ *+' conftest.er1 >conftest.err
6736
cat conftest.err >&5
6737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738
- (exit $ac_status); } >/dev/null; then
6739
- if test -s conftest.err; then
6740
- ac_cpp_err=$ac_c_preproc_warn_flag
6747
-if test -z "$ac_cpp_err"; then
6748
+ (exit $ac_status); } >/dev/null && {
6749
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6750
+ test ! -s conftest.err
6752
ac_header_preproc=yes
6754
echo "$as_me: failed program was:" >&5
6755
@@ -5798,52 +6781,45 @@
6757
ac_header_preproc=no
6760
rm -f conftest.err conftest.$ac_ext
6761
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6762
-echo "${ECHO_T}$ac_header_preproc" >&6
6763
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6764
+echo "${ECHO_T}$ac_header_preproc" >&6; }
6766
# So? What about this header?
6767
-case $ac_header_compiler:$ac_header_preproc in
6769
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6771
{ echo "$as_me:$LINENO: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&5
6772
echo "$as_me: WARNING: utempter.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6773
- { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
6774
-echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
6777
-## ------------------------------------ ##
6778
-## Report this to bug-autoconf@gnu.org. ##
6779
-## ------------------------------------ ##
6782
- sed "s/^/$as_me: WARNING: /" >&2
6783
+ { echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the compiler's result" >&5
6784
+echo "$as_me: WARNING: utempter.h: proceeding with the compiler's result" >&2;}
6785
+ ac_header_preproc=yes
6789
{ echo "$as_me:$LINENO: WARNING: utempter.h: present but cannot be compiled" >&5
6790
echo "$as_me: WARNING: utempter.h: present but cannot be compiled" >&2;}
6791
- { echo "$as_me:$LINENO: WARNING: utempter.h: check for missing prerequisite headers?" >&5
6792
-echo "$as_me: WARNING: utempter.h: check for missing prerequisite headers?" >&2;}
6793
+ { echo "$as_me:$LINENO: WARNING: utempter.h: check for missing prerequisite headers?" >&5
6794
+echo "$as_me: WARNING: utempter.h: check for missing prerequisite headers?" >&2;}
6795
+ { echo "$as_me:$LINENO: WARNING: utempter.h: see the Autoconf documentation" >&5
6796
+echo "$as_me: WARNING: utempter.h: see the Autoconf documentation" >&2;}
6797
+ { echo "$as_me:$LINENO: WARNING: utempter.h: section \"Present But Cannot Be Compiled\"" >&5
6798
+echo "$as_me: WARNING: utempter.h: section \"Present But Cannot Be Compiled\"" >&2;}
6799
{ echo "$as_me:$LINENO: WARNING: utempter.h: proceeding with the preprocessor's result" >&5
6800
echo "$as_me: WARNING: utempter.h: proceeding with the preprocessor's result" >&2;}
6803
-## ------------------------------------ ##
6804
-## Report this to bug-autoconf@gnu.org. ##
6805
-## ------------------------------------ ##
6808
- sed "s/^/$as_me: WARNING: /" >&2
6809
+ { echo "$as_me:$LINENO: WARNING: utempter.h: in the future, the compiler will take precedence" >&5
6810
+echo "$as_me: WARNING: utempter.h: in the future, the compiler will take precedence" >&2;}
6814
-echo "$as_me:$LINENO: checking for utempter.h" >&5
6815
-echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6
6816
+{ echo "$as_me:$LINENO: checking for utempter.h" >&5
6817
+echo $ECHO_N "checking for utempter.h... $ECHO_C" >&6; }
6818
if test "${ac_cv_header_utempter_h+set}" = set; then
6819
echo $ECHO_N "(cached) $ECHO_C" >&6
6821
ac_cv_header_utempter_h=$ac_header_preproc
6823
-echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6824
-echo "${ECHO_T}$ac_cv_header_utempter_h" >&6
6825
+{ echo "$as_me:$LINENO: result: $ac_cv_header_utempter_h" >&5
6826
+echo "${ECHO_T}$ac_cv_header_utempter_h" >&6; }
6829
if test $ac_cv_header_utempter_h = yes; then
6830
@@ -5869,7 +6845,6 @@
6831
{ echo "$as_me:$LINENO: checking getloadavg..." >&5
6832
echo "$as_me: checking getloadavg..." >&6;}
6833
cat >conftest.$ac_ext <<_ACEOF
6834
-#line $LINENO "configure"
6837
cat confdefs.h >>conftest.$ac_ext
6838
@@ -5885,17 +6860,23 @@
6841
rm -f conftest.$ac_objext conftest$ac_exeext
6842
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6843
- (eval $ac_link) 2>&5
6845
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846
- (exit $ac_status); } &&
6847
- { ac_try='test -s conftest$ac_exeext'
6848
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849
- (eval $ac_try) 2>&5
6850
+if { (ac_try="$ac_link"
6851
+case "(($ac_try" in
6852
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6853
+ *) ac_try_echo=$ac_try;;
6855
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6856
+ (eval "$ac_link") 2>conftest.er1
6858
+ grep -v '^ *+' conftest.er1 >conftest.err
6859
+ rm -f conftest.er1
6860
+ cat conftest.err >&5
6861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6862
- (exit $ac_status); }; }; then
6863
+ (exit $ac_status); } && {
6864
+ test -z "$ac_c_werror_flag" ||
6865
+ test ! -s conftest.err
6866
+ } && test -s conftest$ac_exeext &&
6867
+ $as_test_x conftest$ac_exeext; then
6868
cat >>confdefs.h <<\_ACEOF
6869
#define LOADAV_GETLOADAVG 1
6871
@@ -5904,13 +6885,12 @@
6872
echo "$as_me: failed program was:" >&5
6873
sed 's/^/| /' conftest.$ac_ext >&5
6875
-if test -f /usr/lib/libkvm.a ; then
6876
+ if test -f /usr/lib/libkvm.a ; then
6879
{ echo "$as_me:$LINENO: checking getloadavg with -lkvm..." >&5
6880
echo "$as_me: checking getloadavg with -lkvm..." >&6;}
6881
cat >conftest.$ac_ext <<_ACEOF
6882
-#line $LINENO "configure"
6885
cat confdefs.h >>conftest.$ac_ext
6886
@@ -5926,17 +6906,23 @@
6889
rm -f conftest.$ac_objext conftest$ac_exeext
6890
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6891
- (eval $ac_link) 2>&5
6893
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894
- (exit $ac_status); } &&
6895
- { ac_try='test -s conftest$ac_exeext'
6896
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897
- (eval $ac_try) 2>&5
6898
+if { (ac_try="$ac_link"
6899
+case "(($ac_try" in
6900
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6901
+ *) ac_try_echo=$ac_try;;
6903
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6904
+ (eval "$ac_link") 2>conftest.er1
6906
+ grep -v '^ *+' conftest.er1 >conftest.err
6907
+ rm -f conftest.er1
6908
+ cat conftest.err >&5
6909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910
- (exit $ac_status); }; }; then
6911
+ (exit $ac_status); } && {
6912
+ test -z "$ac_c_werror_flag" ||
6913
+ test ! -s conftest.err
6914
+ } && test -s conftest$ac_exeext &&
6915
+ $as_test_x conftest$ac_exeext; then
6916
cat >>confdefs.h <<\_ACEOF
6917
#define LOADAV_GETLOADAVG 1
6919
@@ -5945,17 +6931,20 @@
6920
echo "$as_me: failed program was:" >&5
6921
sed 's/^/| /' conftest.$ac_ext >&5
6926
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6928
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6929
+ conftest$ac_exeext conftest.$ac_ext
6933
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6935
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6936
+ conftest$ac_exeext conftest.$ac_ext
6938
if test -z "$load" ; then
6939
cat >conftest.$ac_ext <<_ACEOF
6940
-#line $LINENO "configure"
6943
cat confdefs.h >>conftest.$ac_ext
6944
@@ -5993,19 +6982,18 @@
6947
if test "${ac_cv_header_nlist_h+set}" = set; then
6948
- echo "$as_me:$LINENO: checking for nlist.h" >&5
6949
-echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
6950
+ { echo "$as_me:$LINENO: checking for nlist.h" >&5
6951
+echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6; }
6952
if test "${ac_cv_header_nlist_h+set}" = set; then
6953
echo $ECHO_N "(cached) $ECHO_C" >&6
6955
-echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
6956
-echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
6957
+{ echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
6958
+echo "${ECHO_T}$ac_cv_header_nlist_h" >&6; }
6960
# Is the header compilable?
6961
-echo "$as_me:$LINENO: checking nlist.h usability" >&5
6962
-echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6
6963
+{ echo "$as_me:$LINENO: checking nlist.h usability" >&5
6964
+echo $ECHO_N "checking nlist.h usability... $ECHO_C" >&6; }
6965
cat >conftest.$ac_ext <<_ACEOF
6966
-#line $LINENO "configure"
6969
cat confdefs.h >>conftest.$ac_ext
6970
@@ -6015,33 +7003,38 @@
6973
rm -f conftest.$ac_objext
6974
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6975
- (eval $ac_compile) 2>&5
6977
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978
- (exit $ac_status); } &&
6979
- { ac_try='test -s conftest.$ac_objext'
6980
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981
- (eval $ac_try) 2>&5
6982
+if { (ac_try="$ac_compile"
6983
+case "(($ac_try" in
6984
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985
+ *) ac_try_echo=$ac_try;;
6987
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6988
+ (eval "$ac_compile") 2>conftest.er1
6990
+ grep -v '^ *+' conftest.er1 >conftest.err
6991
+ rm -f conftest.er1
6992
+ cat conftest.err >&5
6993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994
- (exit $ac_status); }; }; then
6995
+ (exit $ac_status); } && {
6996
+ test -z "$ac_c_werror_flag" ||
6997
+ test ! -s conftest.err
6998
+ } && test -s conftest.$ac_objext; then
6999
ac_header_compiler=yes
7001
echo "$as_me: failed program was:" >&5
7002
sed 's/^/| /' conftest.$ac_ext >&5
7004
-ac_header_compiler=no
7005
+ ac_header_compiler=no
7007
-rm -f conftest.$ac_objext conftest.$ac_ext
7008
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7009
-echo "${ECHO_T}$ac_header_compiler" >&6
7011
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7012
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7013
+echo "${ECHO_T}$ac_header_compiler" >&6; }
7015
# Is the header present?
7016
-echo "$as_me:$LINENO: checking nlist.h presence" >&5
7017
-echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6
7018
+{ echo "$as_me:$LINENO: checking nlist.h presence" >&5
7019
+echo $ECHO_N "checking nlist.h presence... $ECHO_C" >&6; }
7020
cat >conftest.$ac_ext <<_ACEOF
7021
-#line $LINENO "configure"
7024
cat confdefs.h >>conftest.$ac_ext
7025
@@ -6049,23 +7042,22 @@
7026
/* end confdefs.h. */
7029
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7030
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7031
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7032
+case "(($ac_try" in
7033
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7034
+ *) ac_try_echo=$ac_try;;
7036
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7037
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7039
grep -v '^ *+' conftest.er1 >conftest.err
7041
cat conftest.err >&5
7042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043
- (exit $ac_status); } >/dev/null; then
7044
- if test -s conftest.err; then
7045
- ac_cpp_err=$ac_c_preproc_warn_flag
7052
-if test -z "$ac_cpp_err"; then
7053
+ (exit $ac_status); } >/dev/null && {
7054
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7055
+ test ! -s conftest.err
7057
ac_header_preproc=yes
7059
echo "$as_me: failed program was:" >&5
7060
@@ -6073,52 +7065,45 @@
7062
ac_header_preproc=no
7065
rm -f conftest.err conftest.$ac_ext
7066
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7067
-echo "${ECHO_T}$ac_header_preproc" >&6
7068
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7069
+echo "${ECHO_T}$ac_header_preproc" >&6; }
7071
# So? What about this header?
7072
-case $ac_header_compiler:$ac_header_preproc in
7074
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7076
{ echo "$as_me:$LINENO: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&5
7077
echo "$as_me: WARNING: nlist.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7078
- { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7079
-echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
7082
-## ------------------------------------ ##
7083
-## Report this to bug-autoconf@gnu.org. ##
7084
-## ------------------------------------ ##
7087
- sed "s/^/$as_me: WARNING: /" >&2
7088
+ { echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the compiler's result" >&5
7089
+echo "$as_me: WARNING: nlist.h: proceeding with the compiler's result" >&2;}
7090
+ ac_header_preproc=yes
7094
{ echo "$as_me:$LINENO: WARNING: nlist.h: present but cannot be compiled" >&5
7095
echo "$as_me: WARNING: nlist.h: present but cannot be compiled" >&2;}
7096
- { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
7097
-echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
7098
+ { echo "$as_me:$LINENO: WARNING: nlist.h: check for missing prerequisite headers?" >&5
7099
+echo "$as_me: WARNING: nlist.h: check for missing prerequisite headers?" >&2;}
7100
+ { echo "$as_me:$LINENO: WARNING: nlist.h: see the Autoconf documentation" >&5
7101
+echo "$as_me: WARNING: nlist.h: see the Autoconf documentation" >&2;}
7102
+ { echo "$as_me:$LINENO: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&5
7103
+echo "$as_me: WARNING: nlist.h: section \"Present But Cannot Be Compiled\"" >&2;}
7104
{ echo "$as_me:$LINENO: WARNING: nlist.h: proceeding with the preprocessor's result" >&5
7105
echo "$as_me: WARNING: nlist.h: proceeding with the preprocessor's result" >&2;}
7108
-## ------------------------------------ ##
7109
-## Report this to bug-autoconf@gnu.org. ##
7110
-## ------------------------------------ ##
7113
- sed "s/^/$as_me: WARNING: /" >&2
7114
+ { echo "$as_me:$LINENO: WARNING: nlist.h: in the future, the compiler will take precedence" >&5
7115
+echo "$as_me: WARNING: nlist.h: in the future, the compiler will take precedence" >&2;}
7119
-echo "$as_me:$LINENO: checking for nlist.h" >&5
7120
-echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
7121
+{ echo "$as_me:$LINENO: checking for nlist.h" >&5
7122
+echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6; }
7123
if test "${ac_cv_header_nlist_h+set}" = set; then
7124
echo $ECHO_N "(cached) $ECHO_C" >&6
7126
ac_cv_header_nlist_h=$ac_header_preproc
7128
-echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7129
-echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
7130
+{ echo "$as_me:$LINENO: result: $ac_cv_header_nlist_h" >&5
7131
+echo "${ECHO_T}$ac_cv_header_nlist_h" >&6; }
7134
if test $ac_cv_header_nlist_h = yes; then
7135
@@ -6129,7 +7114,6 @@
7136
{ echo "$as_me:$LINENO: checking n_un in struct nlist..." >&5
7137
echo "$as_me: checking n_un in struct nlist..." >&6;}
7138
cat >conftest.$ac_ext <<_ACEOF
7139
-#line $LINENO "configure"
7142
cat confdefs.h >>conftest.$ac_ext
7143
@@ -6145,17 +7129,22 @@
7146
rm -f conftest.$ac_objext
7147
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7148
- (eval $ac_compile) 2>&5
7150
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151
- (exit $ac_status); } &&
7152
- { ac_try='test -s conftest.$ac_objext'
7153
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154
- (eval $ac_try) 2>&5
7155
+if { (ac_try="$ac_compile"
7156
+case "(($ac_try" in
7157
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158
+ *) ac_try_echo=$ac_try;;
7160
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161
+ (eval "$ac_compile") 2>conftest.er1
7163
+ grep -v '^ *+' conftest.er1 >conftest.err
7164
+ rm -f conftest.er1
7165
+ cat conftest.err >&5
7166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167
- (exit $ac_status); }; }; then
7168
+ (exit $ac_status); } && {
7169
+ test -z "$ac_c_werror_flag" ||
7170
+ test ! -s conftest.err
7171
+ } && test -s conftest.$ac_objext; then
7172
cat >>confdefs.h <<\_ACEOF
7173
#define NLIST_NAME_UNION 1
7175
@@ -6164,8 +7153,10 @@
7176
echo "$as_me: failed program was:" >&5
7177
sed 's/^/| /' conftest.$ac_ext >&5
7181
-rm -f conftest.$ac_objext conftest.$ac_ext
7183
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7187
@@ -6173,7 +7164,6 @@
7188
{ echo "$as_me:$LINENO: checking for nlist declaration..." >&5
7189
echo "$as_me: checking for nlist declaration..." >&6;}
7190
cat >conftest.$ac_ext <<_ACEOF
7191
-#line $LINENO "configure"
7194
cat confdefs.h >>conftest.$ac_ext
7195
@@ -6209,7 +7199,6 @@
7196
{ (exit 1); exit 1; }; }
7198
cat >conftest.$ac_ext <<_ACEOF
7199
-#line $LINENO "configure"
7202
cat confdefs.h >>conftest.$ac_ext
7203
@@ -6246,13 +7235,22 @@
7206
rm -f conftest$ac_exeext
7207
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7208
- (eval $ac_link) 2>&5
7209
+if { (ac_try="$ac_link"
7210
+case "(($ac_try" in
7211
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212
+ *) ac_try_echo=$ac_try;;
7214
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215
+ (eval "$ac_link") 2>&5
7217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7219
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7220
- (eval $ac_try) 2>&5
7221
+ { (case "(($ac_try" in
7222
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7223
+ *) ac_try_echo=$ac_try;;
7225
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7226
+ (eval "$ac_try") 2>&5
7228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229
(exit $ac_status); }; }; then
7230
@@ -6263,8 +7261,10 @@
7231
sed 's/^/| /' conftest.$ac_ext >&5
7234
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7235
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7239
if test "$av" = _Loadavg; then
7240
nlist64='#define nlist nlist64'
7242
@@ -6384,7 +7384,6 @@
7243
{ echo "$as_me:$LINENO: checking return type of signal handlers..." >&5
7244
echo "$as_me: checking return type of signal handlers..." >&6;}
7245
cat >conftest.$ac_ext <<_ACEOF
7246
-#line $LINENO "configure"
7249
cat confdefs.h >>conftest.$ac_ext
7250
@@ -6405,17 +7404,22 @@
7253
rm -f conftest.$ac_objext
7254
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7255
- (eval $ac_compile) 2>&5
7257
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258
- (exit $ac_status); } &&
7259
- { ac_try='test -s conftest.$ac_objext'
7260
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261
- (eval $ac_try) 2>&5
7262
+if { (ac_try="$ac_compile"
7263
+case "(($ac_try" in
7264
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7265
+ *) ac_try_echo=$ac_try;;
7267
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7268
+ (eval "$ac_compile") 2>conftest.er1
7270
+ grep -v '^ *+' conftest.er1 >conftest.err
7271
+ rm -f conftest.er1
7272
+ cat conftest.err >&5
7273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274
- (exit $ac_status); }; }; then
7275
+ (exit $ac_status); } && {
7276
+ test -z "$ac_c_werror_flag" ||
7277
+ test ! -s conftest.err
7278
+ } && test -s conftest.$ac_objext; then
7279
cat >>confdefs.h <<\_ACEOF
7282
@@ -6424,12 +7428,13 @@
7283
echo "$as_me: failed program was:" >&5
7284
sed 's/^/| /' conftest.$ac_ext >&5
7288
-rm -f conftest.$ac_objext conftest.$ac_ext
7290
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7291
{ echo "$as_me:$LINENO: checking sigset..." >&5
7292
echo "$as_me: checking sigset..." >&6;}
7293
cat >conftest.$ac_ext <<_ACEOF
7294
-#line $LINENO "configure"
7297
cat confdefs.h >>conftest.$ac_ext
7298
@@ -6454,17 +7459,23 @@
7301
rm -f conftest.$ac_objext conftest$ac_exeext
7302
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7303
- (eval $ac_link) 2>&5
7305
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306
- (exit $ac_status); } &&
7307
- { ac_try='test -s conftest$ac_exeext'
7308
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309
- (eval $ac_try) 2>&5
7310
+if { (ac_try="$ac_link"
7311
+case "(($ac_try" in
7312
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7313
+ *) ac_try_echo=$ac_try;;
7315
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7316
+ (eval "$ac_link") 2>conftest.er1
7318
+ grep -v '^ *+' conftest.er1 >conftest.err
7319
+ rm -f conftest.er1
7320
+ cat conftest.err >&5
7321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322
- (exit $ac_status); }; }; then
7323
+ (exit $ac_status); } && {
7324
+ test -z "$ac_c_werror_flag" ||
7325
+ test ! -s conftest.err
7326
+ } && test -s conftest$ac_exeext &&
7327
+ $as_test_x conftest$ac_exeext; then
7328
cat >>confdefs.h <<\_ACEOF
7331
@@ -6473,8 +7484,11 @@
7332
echo "$as_me: failed program was:" >&5
7333
sed 's/^/| /' conftest.$ac_ext >&5
7337
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7339
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7340
+ conftest$ac_exeext conftest.$ac_ext
7341
{ echo "$as_me:$LINENO: checking signal implementation..." >&5
7342
echo "$as_me: checking signal implementation..." >&6;}
7343
if test "$cross_compiling" = yes; then
7344
@@ -6485,7 +7499,6 @@
7345
{ (exit 1); exit 1; }; }
7347
cat >conftest.$ac_ext <<_ACEOF
7348
-#line $LINENO "configure"
7351
cat confdefs.h >>conftest.$ac_ext
7352
@@ -6527,13 +7540,22 @@
7355
rm -f conftest$ac_exeext
7356
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7357
- (eval $ac_link) 2>&5
7358
+if { (ac_try="$ac_link"
7359
+case "(($ac_try" in
7360
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361
+ *) ac_try_echo=$ac_try;;
7363
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364
+ (eval "$ac_link") 2>&5
7366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7368
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369
- (eval $ac_try) 2>&5
7370
+ { (case "(($ac_try" in
7371
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7372
+ *) ac_try_echo=$ac_try;;
7374
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7375
+ (eval "$ac_try") 2>&5
7377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378
(exit $ac_status); }; }; then
7379
@@ -6549,9 +7571,11 @@
7383
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7384
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7392
@@ -6563,7 +7587,6 @@
7393
{ echo "$as_me:$LINENO: checking crypt..." >&5
7394
echo "$as_me: checking crypt..." >&6;}
7395
cat >conftest.$ac_ext <<_ACEOF
7396
-#line $LINENO "configure"
7399
cat confdefs.h >>conftest.$ac_ext
7400
@@ -6579,25 +7602,33 @@
7403
rm -f conftest.$ac_objext conftest$ac_exeext
7404
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7405
- (eval $ac_link) 2>&5
7407
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408
- (exit $ac_status); } &&
7409
- { ac_try='test -s conftest$ac_exeext'
7410
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411
- (eval $ac_try) 2>&5
7412
+if { (ac_try="$ac_link"
7413
+case "(($ac_try" in
7414
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7415
+ *) ac_try_echo=$ac_try;;
7417
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418
+ (eval "$ac_link") 2>conftest.er1
7420
+ grep -v '^ *+' conftest.er1 >conftest.err
7421
+ rm -f conftest.er1
7422
+ cat conftest.err >&5
7423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424
- (exit $ac_status); }; }; then
7425
+ (exit $ac_status); } && {
7426
+ test -z "$ac_c_werror_flag" ||
7427
+ test ! -s conftest.err
7428
+ } && test -s conftest$ac_exeext &&
7429
+ $as_test_x conftest$ac_exeext; then
7432
echo "$as_me: failed program was:" >&5
7433
sed 's/^/| /' conftest.$ac_ext >&5
7438
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7440
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7441
+ conftest$ac_exeext conftest.$ac_ext
7442
test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
7443
test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
7445
@@ -6605,7 +7636,6 @@
7446
{ echo "$as_me:$LINENO: checking IRIX sun library..." >&5
7447
echo "$as_me: checking IRIX sun library..." >&6;}
7448
cat >conftest.$ac_ext <<_ACEOF
7449
-#line $LINENO "configure"
7452
cat confdefs.h >>conftest.$ac_ext
7453
@@ -6621,30 +7651,37 @@
7456
rm -f conftest.$ac_objext conftest$ac_exeext
7457
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7458
- (eval $ac_link) 2>&5
7460
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461
- (exit $ac_status); } &&
7462
- { ac_try='test -s conftest$ac_exeext'
7463
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7464
- (eval $ac_try) 2>&5
7465
+if { (ac_try="$ac_link"
7466
+case "(($ac_try" in
7467
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7468
+ *) ac_try_echo=$ac_try;;
7470
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7471
+ (eval "$ac_link") 2>conftest.er1
7473
+ grep -v '^ *+' conftest.er1 >conftest.err
7474
+ rm -f conftest.er1
7475
+ cat conftest.err >&5
7476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477
- (exit $ac_status); }; }; then
7478
+ (exit $ac_status); } && {
7479
+ test -z "$ac_c_werror_flag" ||
7480
+ test ! -s conftest.err
7481
+ } && test -s conftest$ac_exeext &&
7482
+ $as_test_x conftest$ac_exeext; then
7485
echo "$as_me: failed program was:" >&5
7486
sed 's/^/| /' conftest.$ac_ext >&5
7491
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7493
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7494
+ conftest$ac_exeext conftest.$ac_ext
7496
{ echo "$as_me:$LINENO: checking syslog..." >&5
7497
echo "$as_me: checking syslog..." >&6;}
7498
cat >conftest.$ac_ext <<_ACEOF
7499
-#line $LINENO "configure"
7502
cat confdefs.h >>conftest.$ac_ext
7503
@@ -6660,28 +7697,33 @@
7506
rm -f conftest.$ac_objext conftest$ac_exeext
7507
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7508
- (eval $ac_link) 2>&5
7510
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511
- (exit $ac_status); } &&
7512
- { ac_try='test -s conftest$ac_exeext'
7513
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514
- (eval $ac_try) 2>&5
7515
+if { (ac_try="$ac_link"
7516
+case "(($ac_try" in
7517
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518
+ *) ac_try_echo=$ac_try;;
7520
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521
+ (eval "$ac_link") 2>conftest.er1
7523
+ grep -v '^ *+' conftest.er1 >conftest.err
7524
+ rm -f conftest.er1
7525
+ cat conftest.err >&5
7526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527
- (exit $ac_status); }; }; then
7528
+ (exit $ac_status); } && {
7529
+ test -z "$ac_c_werror_flag" ||
7530
+ test ! -s conftest.err
7531
+ } && test -s conftest$ac_exeext &&
7532
+ $as_test_x conftest$ac_exeext; then
7535
echo "$as_me: failed program was:" >&5
7536
sed 's/^/| /' conftest.$ac_ext >&5
7541
{ echo "$as_me:$LINENO: checking syslog in libbsd.a..." >&5
7542
echo "$as_me: checking syslog in libbsd.a..." >&6;}
7543
cat >conftest.$ac_ext <<_ACEOF
7544
-#line $LINENO "configure"
7547
cat confdefs.h >>conftest.$ac_ext
7548
@@ -6697,36 +7739,45 @@
7551
rm -f conftest.$ac_objext conftest$ac_exeext
7552
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7553
- (eval $ac_link) 2>&5
7555
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556
- (exit $ac_status); } &&
7557
- { ac_try='test -s conftest$ac_exeext'
7558
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7559
- (eval $ac_try) 2>&5
7560
+if { (ac_try="$ac_link"
7561
+case "(($ac_try" in
7562
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563
+ *) ac_try_echo=$ac_try;;
7565
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566
+ (eval "$ac_link") 2>conftest.er1
7568
+ grep -v '^ *+' conftest.er1 >conftest.err
7569
+ rm -f conftest.er1
7570
+ cat conftest.err >&5
7571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572
- (exit $ac_status); }; }; then
7573
+ (exit $ac_status); } && {
7574
+ test -z "$ac_c_werror_flag" ||
7575
+ test ! -s conftest.err
7576
+ } && test -s conftest$ac_exeext &&
7577
+ $as_test_x conftest$ac_exeext; then
7578
echo "- found." 1>&6
7581
echo "$as_me: failed program was:" >&5
7582
sed 's/^/| /' conftest.$ac_ext >&5
7586
echo "- bad news: syslog missing." 1>&6
7587
cat >>confdefs.h <<\_ACEOF
7592
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7594
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7595
+ conftest$ac_exeext conftest.$ac_ext
7597
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7599
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7600
+ conftest$ac_exeext conftest.$ac_ext
7602
cat >conftest.$ac_ext <<_ACEOF
7603
-#line $LINENO "configure"
7606
cat confdefs.h >>conftest.$ac_ext
7607
@@ -6747,7 +7798,6 @@
7608
{ echo "$as_me:$LINENO: checking wait union..." >&5
7609
echo "$as_me: checking wait union..." >&6;}
7610
cat >conftest.$ac_ext <<_ACEOF
7611
-#line $LINENO "configure"
7614
cat confdefs.h >>conftest.$ac_ext
7615
@@ -6771,17 +7821,22 @@
7618
rm -f conftest.$ac_objext
7619
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7620
- (eval $ac_compile) 2>&5
7622
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623
- (exit $ac_status); } &&
7624
- { ac_try='test -s conftest.$ac_objext'
7625
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626
- (eval $ac_try) 2>&5
7627
+if { (ac_try="$ac_compile"
7628
+case "(($ac_try" in
7629
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7630
+ *) ac_try_echo=$ac_try;;
7632
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7633
+ (eval "$ac_compile") 2>conftest.er1
7635
+ grep -v '^ *+' conftest.er1 >conftest.err
7636
+ rm -f conftest.er1
7637
+ cat conftest.err >&5
7638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639
- (exit $ac_status); }; }; then
7640
+ (exit $ac_status); } && {
7641
+ test -z "$ac_c_werror_flag" ||
7642
+ test ! -s conftest.err
7643
+ } && test -s conftest.$ac_objext; then
7644
cat >>confdefs.h <<\_ACEOF
7647
@@ -6790,14 +7845,15 @@
7648
echo "$as_me: failed program was:" >&5
7649
sed 's/^/| /' conftest.$ac_ext >&5
7653
-rm -f conftest.$ac_objext conftest.$ac_ext
7655
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657
if test -z "$butterfly"; then
7658
{ echo "$as_me:$LINENO: checking for termio or termios..." >&5
7659
echo "$as_me: checking for termio or termios..." >&6;}
7660
cat >conftest.$ac_ext <<_ACEOF
7661
-#line $LINENO "configure"
7664
cat confdefs.h >>conftest.$ac_ext
7665
@@ -6805,23 +7861,22 @@
7666
/* end confdefs.h. */
7669
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7670
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7671
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7672
+case "(($ac_try" in
7673
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7674
+ *) ac_try_echo=$ac_try;;
7676
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7677
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7679
grep -v '^ *+' conftest.er1 >conftest.err
7681
cat conftest.err >&5
7682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683
- (exit $ac_status); } >/dev/null; then
7684
- if test -s conftest.err; then
7685
- ac_cpp_err=$ac_c_preproc_warn_flag
7692
-if test -z "$ac_cpp_err"; then
7693
+ (exit $ac_status); } >/dev/null && {
7694
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7695
+ test ! -s conftest.err
7697
cat >>confdefs.h <<\_ACEOF
7700
@@ -6832,7 +7887,6 @@
7702
if test -n "$posix"; then
7703
cat >conftest.$ac_ext <<_ACEOF
7704
-#line $LINENO "configure"
7707
cat confdefs.h >>conftest.$ac_ext
7708
@@ -6840,23 +7894,22 @@
7709
/* end confdefs.h. */
7710
#include <termios.h>
7712
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7713
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7714
+if { (ac_try="$ac_cpp conftest.$ac_ext"
7715
+case "(($ac_try" in
7716
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7717
+ *) ac_try_echo=$ac_try;;
7719
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7720
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7722
grep -v '^ *+' conftest.er1 >conftest.err
7724
cat conftest.err >&5
7725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726
- (exit $ac_status); } >/dev/null; then
7727
- if test -s conftest.err; then
7728
- ac_cpp_err=$ac_c_preproc_warn_flag
7735
-if test -z "$ac_cpp_err"; then
7736
+ (exit $ac_status); } >/dev/null && {
7737
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7738
+ test ! -s conftest.err
7740
cat >>confdefs.h <<\_ACEOF
7743
@@ -6867,17 +7920,18 @@
7748
rm -f conftest.err conftest.$ac_ext
7753
rm -f conftest.err conftest.$ac_ext
7756
{ echo "$as_me:$LINENO: checking getspnam..." >&5
7757
echo "$as_me: checking getspnam..." >&6;}
7758
cat >conftest.$ac_ext <<_ACEOF
7759
-#line $LINENO "configure"
7762
cat confdefs.h >>conftest.$ac_ext
7763
@@ -6893,17 +7947,23 @@
7766
rm -f conftest.$ac_objext conftest$ac_exeext
7767
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7768
- (eval $ac_link) 2>&5
7770
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7771
- (exit $ac_status); } &&
7772
- { ac_try='test -s conftest$ac_exeext'
7773
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774
- (eval $ac_try) 2>&5
7775
+if { (ac_try="$ac_link"
7776
+case "(($ac_try" in
7777
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7778
+ *) ac_try_echo=$ac_try;;
7780
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7781
+ (eval "$ac_link") 2>conftest.er1
7783
+ grep -v '^ *+' conftest.er1 >conftest.err
7784
+ rm -f conftest.er1
7785
+ cat conftest.err >&5
7786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787
- (exit $ac_status); }; }; then
7788
+ (exit $ac_status); } && {
7789
+ test -z "$ac_c_werror_flag" ||
7790
+ test ! -s conftest.err
7791
+ } && test -s conftest$ac_exeext &&
7792
+ $as_test_x conftest$ac_exeext; then
7793
cat >>confdefs.h <<\_ACEOF
7796
@@ -6912,13 +7972,15 @@
7797
echo "$as_me: failed program was:" >&5
7798
sed 's/^/| /' conftest.$ac_ext >&5
7802
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7804
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805
+ conftest$ac_exeext conftest.$ac_ext
7807
{ echo "$as_me:$LINENO: checking getttyent..." >&5
7808
echo "$as_me: checking getttyent..." >&6;}
7809
cat >conftest.$ac_ext <<_ACEOF
7810
-#line $LINENO "configure"
7813
cat confdefs.h >>conftest.$ac_ext
7814
@@ -6934,17 +7996,23 @@
7817
rm -f conftest.$ac_objext conftest$ac_exeext
7818
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7819
- (eval $ac_link) 2>&5
7821
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
- (exit $ac_status); } &&
7823
- { ac_try='test -s conftest$ac_exeext'
7824
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825
- (eval $ac_try) 2>&5
7826
+if { (ac_try="$ac_link"
7827
+case "(($ac_try" in
7828
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7829
+ *) ac_try_echo=$ac_try;;
7831
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7832
+ (eval "$ac_link") 2>conftest.er1
7834
+ grep -v '^ *+' conftest.er1 >conftest.err
7835
+ rm -f conftest.er1
7836
+ cat conftest.err >&5
7837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838
- (exit $ac_status); }; }; then
7839
+ (exit $ac_status); } && {
7840
+ test -z "$ac_c_werror_flag" ||
7841
+ test ! -s conftest.err
7842
+ } && test -s conftest$ac_exeext &&
7843
+ $as_test_x conftest$ac_exeext; then
7844
cat >>confdefs.h <<\_ACEOF
7847
@@ -6953,13 +8021,15 @@
7848
echo "$as_me: failed program was:" >&5
7849
sed 's/^/| /' conftest.$ac_ext >&5
7853
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7855
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7856
+ conftest$ac_exeext conftest.$ac_ext
7858
{ echo "$as_me:$LINENO: checking fdwalk..." >&5
7859
echo "$as_me: checking fdwalk..." >&6;}
7860
cat >conftest.$ac_ext <<_ACEOF
7861
-#line $LINENO "configure"
7864
cat confdefs.h >>conftest.$ac_ext
7865
@@ -6975,17 +8045,23 @@
7868
rm -f conftest.$ac_objext conftest$ac_exeext
7869
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7870
- (eval $ac_link) 2>&5
7872
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873
- (exit $ac_status); } &&
7874
- { ac_try='test -s conftest$ac_exeext'
7875
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876
- (eval $ac_try) 2>&5
7877
+if { (ac_try="$ac_link"
7878
+case "(($ac_try" in
7879
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7880
+ *) ac_try_echo=$ac_try;;
7882
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7883
+ (eval "$ac_link") 2>conftest.er1
7885
+ grep -v '^ *+' conftest.er1 >conftest.err
7886
+ rm -f conftest.er1
7887
+ cat conftest.err >&5
7888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889
- (exit $ac_status); }; }; then
7890
+ (exit $ac_status); } && {
7891
+ test -z "$ac_c_werror_flag" ||
7892
+ test ! -s conftest.err
7893
+ } && test -s conftest$ac_exeext &&
7894
+ $as_test_x conftest$ac_exeext; then
7895
cat >>confdefs.h <<\_ACEOF
7896
#define HAVE_FDWALK 1
7898
@@ -6994,8 +8070,11 @@
7899
echo "$as_me: failed program was:" >&5
7900
sed 's/^/| /' conftest.$ac_ext >&5
7904
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7906
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7907
+ conftest$ac_exeext conftest.$ac_ext
7909
{ echo "$as_me:$LINENO: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&5
7910
echo "$as_me: checking whether memcpy/memmove/bcopy handles overlapping arguments..." >&6;}
7911
@@ -7007,7 +8086,6 @@
7912
{ (exit 1); exit 1; }; }
7914
cat >conftest.$ac_ext <<_ACEOF
7915
-#line $LINENO "configure"
7918
cat confdefs.h >>conftest.$ac_ext
7919
@@ -7028,13 +8106,22 @@
7922
rm -f conftest$ac_exeext
7923
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7924
- (eval $ac_link) 2>&5
7925
+if { (ac_try="$ac_link"
7926
+case "(($ac_try" in
7927
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928
+ *) ac_try_echo=$ac_try;;
7930
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931
+ (eval "$ac_link") 2>&5
7933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7935
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936
- (eval $ac_try) 2>&5
7937
+ { (case "(($ac_try" in
7938
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7939
+ *) ac_try_echo=$ac_try;;
7941
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7942
+ (eval "$ac_try") 2>&5
7944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945
(exit $ac_status); }; }; then
7946
@@ -7048,9 +8135,11 @@
7947
sed 's/^/| /' conftest.$ac_ext >&5
7950
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7951
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7956
if test "$cross_compiling" = yes; then
7957
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7958
See \`config.log' for more details." >&5
7959
@@ -7059,7 +8148,6 @@
7960
{ (exit 1); exit 1; }; }
7962
cat >conftest.$ac_ext <<_ACEOF
7963
-#line $LINENO "configure"
7966
cat confdefs.h >>conftest.$ac_ext
7967
@@ -7081,13 +8169,22 @@
7970
rm -f conftest$ac_exeext
7971
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7972
- (eval $ac_link) 2>&5
7973
+if { (ac_try="$ac_link"
7974
+case "(($ac_try" in
7975
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7976
+ *) ac_try_echo=$ac_try;;
7978
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7979
+ (eval "$ac_link") 2>&5
7981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7983
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984
- (eval $ac_try) 2>&5
7985
+ { (case "(($ac_try" in
7986
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7987
+ *) ac_try_echo=$ac_try;;
7989
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7990
+ (eval "$ac_try") 2>&5
7992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993
(exit $ac_status); }; }; then
7994
@@ -7101,10 +8198,12 @@
7995
sed 's/^/| /' conftest.$ac_ext >&5
7998
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7999
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8005
if test "$cross_compiling" = yes; then
8006
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8007
See \`config.log' for more details." >&5
8008
@@ -7113,7 +8212,6 @@
8009
{ (exit 1); exit 1; }; }
8011
cat >conftest.$ac_ext <<_ACEOF
8012
-#line $LINENO "configure"
8015
cat confdefs.h >>conftest.$ac_ext
8016
@@ -7135,13 +8233,22 @@
8019
rm -f conftest$ac_exeext
8020
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021
- (eval $ac_link) 2>&5
8022
+if { (ac_try="$ac_link"
8023
+case "(($ac_try" in
8024
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8025
+ *) ac_try_echo=$ac_try;;
8027
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8028
+ (eval "$ac_link") 2>&5
8030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8032
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033
- (eval $ac_try) 2>&5
8034
+ { (case "(($ac_try" in
8035
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8036
+ *) ac_try_echo=$ac_try;;
8038
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8039
+ (eval "$ac_try") 2>&5
8041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042
(exit $ac_status); }; }; then
8043
@@ -7155,20 +8262,22 @@
8044
sed 's/^/| /' conftest.$ac_ext >&5
8047
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8048
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8051
-echo "$as_me:$LINENO: checking long file names" >&5
8052
-echo $ECHO_N "checking long file names... $ECHO_C" >&6
8055
+{ echo "$as_me:$LINENO: checking long file names" >&5
8056
+echo $ECHO_N "checking long file names... $ECHO_C" >&6; }
8057
(echo 1 > /tmp/conftest9012345) 2>/dev/null
8058
(echo 2 > /tmp/conftest9012346) 2>/dev/null
8059
val=`cat /tmp/conftest9012345 2>/dev/null`
8060
if test -f /tmp/conftest9012345 && test "$val" = 1; then
8061
-echo "$as_me:$LINENO: result: yes" >&5
8062
-echo "${ECHO_T}yes" >&6
8063
+{ echo "$as_me:$LINENO: result: yes" >&5
8064
+echo "${ECHO_T}yes" >&6; }
8066
-echo "$as_me:$LINENO: result: no" >&5
8067
-echo "${ECHO_T}no" >&6
8068
+{ echo "$as_me:$LINENO: result: no" >&5
8069
+echo "${ECHO_T}no" >&6; }
8070
cat >>confdefs.h <<\_ACEOF
8073
@@ -7176,38 +8285,43 @@
8075
rm -f /tmp/conftest*
8077
-echo "$as_me:$LINENO: checking for vsprintf" >&5
8078
-echo $ECHO_N "checking for vsprintf... $ECHO_C" >&6
8079
+{ echo "$as_me:$LINENO: checking for vsprintf" >&5
8080
+echo $ECHO_N "checking for vsprintf... $ECHO_C" >&6; }
8081
cat >conftest.$ac_ext <<_ACEOF
8082
-#line $LINENO "configure"
8085
cat confdefs.h >>conftest.$ac_ext
8086
cat >>conftest.$ac_ext <<_ACEOF
8087
/* end confdefs.h. */
8089
+#include <stdarg.h>
8094
+va_list valist; vsprintf(0,0,valist);
8099
rm -f conftest.$ac_objext conftest$ac_exeext
8100
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8101
- (eval $ac_link) 2>&5
8103
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104
- (exit $ac_status); } &&
8105
- { ac_try='test -s conftest$ac_exeext'
8106
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8107
- (eval $ac_try) 2>&5
8108
+if { (ac_try="$ac_link"
8109
+case "(($ac_try" in
8110
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8111
+ *) ac_try_echo=$ac_try;;
8113
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8114
+ (eval "$ac_link") 2>conftest.er1
8116
+ grep -v '^ *+' conftest.er1 >conftest.err
8117
+ rm -f conftest.er1
8118
+ cat conftest.err >&5
8119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120
- (exit $ac_status); }; }; then
8121
- echo "$as_me:$LINENO: result: yes" >&5
8122
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8123
+ (exit $ac_status); } && {
8124
+ test -z "$ac_c_werror_flag" ||
8125
+ test ! -s conftest.err
8126
+ } && test -s conftest$ac_exeext &&
8127
+ $as_test_x conftest$ac_exeext; then
8128
+ { echo "$as_me:$LINENO: result: yes" >&5
8129
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8130
#define USEVARARGS 1
8133
@@ -7215,10 +8329,12 @@
8134
echo "$as_me: failed program was:" >&5
8135
sed 's/^/| /' conftest.$ac_ext >&5
8137
-echo "$as_me:$LINENO: result: no" >&5
8138
-echo "${ECHO_T}no" >&6
8139
+ { echo "$as_me:$LINENO: result: no" >&5
8140
+echo "${ECHO_T}no" >&6; }
8142
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8144
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8145
+ conftest$ac_exeext conftest.$ac_ext
8149
@@ -7228,13 +8344,12 @@
8151
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8152
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8153
-echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8154
-echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8155
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
8156
+{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8157
+echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
8158
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8159
echo $ECHO_N "(cached) $ECHO_C" >&6
8161
cat >conftest.$ac_ext <<_ACEOF
8162
-#line $LINENO "configure"
8165
cat confdefs.h >>conftest.$ac_ext
8166
@@ -7253,28 +8368,35 @@
8169
rm -f conftest.$ac_objext
8170
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8171
- (eval $ac_compile) 2>&5
8173
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174
- (exit $ac_status); } &&
8175
- { ac_try='test -s conftest.$ac_objext'
8176
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177
- (eval $ac_try) 2>&5
8178
+if { (ac_try="$ac_compile"
8179
+case "(($ac_try" in
8180
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8181
+ *) ac_try_echo=$ac_try;;
8183
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8184
+ (eval "$ac_compile") 2>conftest.er1
8186
+ grep -v '^ *+' conftest.er1 >conftest.err
8187
+ rm -f conftest.er1
8188
+ cat conftest.err >&5
8189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190
- (exit $ac_status); }; }; then
8191
+ (exit $ac_status); } && {
8192
+ test -z "$ac_c_werror_flag" ||
8193
+ test ! -s conftest.err
8194
+ } && test -s conftest.$ac_objext; then
8195
eval "$as_ac_Header=yes"
8197
echo "$as_me: failed program was:" >&5
8198
sed 's/^/| /' conftest.$ac_ext >&5
8200
-eval "$as_ac_Header=no"
8201
+ eval "$as_ac_Header=no"
8203
-rm -f conftest.$ac_objext conftest.$ac_ext
8205
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8207
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8208
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8209
+ac_res=`eval echo '${'$as_ac_Header'}'`
8210
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
8211
+echo "${ECHO_T}$ac_res" >&6; }
8212
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8213
cat >>confdefs.h <<_ACEOF
8214
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8215
@@ -7286,226 +8408,179 @@
8217
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8218
if test $ac_header_dirent = dirent.h; then
8219
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
8220
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8221
+ { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8222
+echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8223
if test "${ac_cv_search_opendir+set}" = set; then
8224
echo $ECHO_N "(cached) $ECHO_C" >&6
8226
ac_func_search_save_LIBS=$LIBS
8227
-ac_cv_search_opendir=no
8228
cat >conftest.$ac_ext <<_ACEOF
8229
-#line $LINENO "configure"
8232
cat confdefs.h >>conftest.$ac_ext
8233
cat >>conftest.$ac_ext <<_ACEOF
8234
/* end confdefs.h. */
8236
-/* Override any gcc2 internal prototype to avoid an error. */
8237
+/* Override any GCC internal prototype to avoid an error.
8238
+ Use char because int might match the return type of a GCC
8239
+ builtin and then its argument prototype would still apply. */
8243
-/* We use char because int might match the return type of a gcc2
8244
- builtin and then its argument prototype would still apply. */
8255
-rm -f conftest.$ac_objext conftest$ac_exeext
8256
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8257
- (eval $ac_link) 2>&5
8259
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260
- (exit $ac_status); } &&
8261
- { ac_try='test -s conftest$ac_exeext'
8262
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8263
- (eval $ac_try) 2>&5
8264
+for ac_lib in '' dir; do
8265
+ if test -z "$ac_lib"; then
8266
+ ac_res="none required"
8269
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8271
+ rm -f conftest.$ac_objext conftest$ac_exeext
8272
+if { (ac_try="$ac_link"
8273
+case "(($ac_try" in
8274
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8275
+ *) ac_try_echo=$ac_try;;
8277
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8278
+ (eval "$ac_link") 2>conftest.er1
8280
+ grep -v '^ *+' conftest.er1 >conftest.err
8281
+ rm -f conftest.er1
8282
+ cat conftest.err >&5
8283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284
- (exit $ac_status); }; }; then
8285
- ac_cv_search_opendir="none required"
8286
+ (exit $ac_status); } && {
8287
+ test -z "$ac_c_werror_flag" ||
8288
+ test ! -s conftest.err
8289
+ } && test -s conftest$ac_exeext &&
8290
+ $as_test_x conftest$ac_exeext; then
8291
+ ac_cv_search_opendir=$ac_res
8293
echo "$as_me: failed program was:" >&5
8294
sed 's/^/| /' conftest.$ac_ext >&5
8297
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8298
-if test "$ac_cv_search_opendir" = no; then
8299
- for ac_lib in dir; do
8300
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8301
- cat >conftest.$ac_ext <<_ACEOF
8302
-#line $LINENO "configure"
8305
-cat confdefs.h >>conftest.$ac_ext
8306
-cat >>conftest.$ac_ext <<_ACEOF
8307
-/* end confdefs.h. */
8309
-/* Override any gcc2 internal prototype to avoid an error. */
8313
-/* We use char because int might match the return type of a gcc2
8314
- builtin and then its argument prototype would still apply. */
8324
-rm -f conftest.$ac_objext conftest$ac_exeext
8325
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8326
- (eval $ac_link) 2>&5
8328
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329
- (exit $ac_status); } &&
8330
- { ac_try='test -s conftest$ac_exeext'
8331
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332
- (eval $ac_try) 2>&5
8334
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335
- (exit $ac_status); }; }; then
8336
- ac_cv_search_opendir="-l$ac_lib"
8339
- echo "$as_me: failed program was:" >&5
8340
-sed 's/^/| /' conftest.$ac_ext >&5
8343
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8344
+ conftest$ac_exeext
8345
+ if test "${ac_cv_search_opendir+set}" = set; then
8348
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8351
+if test "${ac_cv_search_opendir+set}" = set; then
8354
+ ac_cv_search_opendir=no
8356
+rm conftest.$ac_ext
8357
LIBS=$ac_func_search_save_LIBS
8359
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8360
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
8361
-if test "$ac_cv_search_opendir" != no; then
8362
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8363
+{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8364
+echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8365
+ac_res=$ac_cv_search_opendir
8366
+if test "$ac_res" != no; then
8367
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8372
- echo "$as_me:$LINENO: checking for library containing opendir" >&5
8373
-echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8374
+ { echo "$as_me:$LINENO: checking for library containing opendir" >&5
8375
+echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
8376
if test "${ac_cv_search_opendir+set}" = set; then
8377
echo $ECHO_N "(cached) $ECHO_C" >&6
8379
ac_func_search_save_LIBS=$LIBS
8380
-ac_cv_search_opendir=no
8381
cat >conftest.$ac_ext <<_ACEOF
8382
-#line $LINENO "configure"
8385
cat confdefs.h >>conftest.$ac_ext
8386
cat >>conftest.$ac_ext <<_ACEOF
8387
/* end confdefs.h. */
8389
-/* Override any gcc2 internal prototype to avoid an error. */
8390
+/* Override any GCC internal prototype to avoid an error.
8391
+ Use char because int might match the return type of a GCC
8392
+ builtin and then its argument prototype would still apply. */
8396
-/* We use char because int might match the return type of a gcc2
8397
- builtin and then its argument prototype would still apply. */
8408
-rm -f conftest.$ac_objext conftest$ac_exeext
8409
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8410
- (eval $ac_link) 2>&5
8412
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413
- (exit $ac_status); } &&
8414
- { ac_try='test -s conftest$ac_exeext'
8415
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8416
- (eval $ac_try) 2>&5
8417
+for ac_lib in '' x; do
8418
+ if test -z "$ac_lib"; then
8419
+ ac_res="none required"
8422
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8424
+ rm -f conftest.$ac_objext conftest$ac_exeext
8425
+if { (ac_try="$ac_link"
8426
+case "(($ac_try" in
8427
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8428
+ *) ac_try_echo=$ac_try;;
8430
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8431
+ (eval "$ac_link") 2>conftest.er1
8433
+ grep -v '^ *+' conftest.er1 >conftest.err
8434
+ rm -f conftest.er1
8435
+ cat conftest.err >&5
8436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437
- (exit $ac_status); }; }; then
8438
- ac_cv_search_opendir="none required"
8439
+ (exit $ac_status); } && {
8440
+ test -z "$ac_c_werror_flag" ||
8441
+ test ! -s conftest.err
8442
+ } && test -s conftest$ac_exeext &&
8443
+ $as_test_x conftest$ac_exeext; then
8444
+ ac_cv_search_opendir=$ac_res
8446
echo "$as_me: failed program was:" >&5
8447
sed 's/^/| /' conftest.$ac_ext >&5
8450
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8451
-if test "$ac_cv_search_opendir" = no; then
8452
- for ac_lib in x; do
8453
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8454
- cat >conftest.$ac_ext <<_ACEOF
8455
-#line $LINENO "configure"
8458
-cat confdefs.h >>conftest.$ac_ext
8459
-cat >>conftest.$ac_ext <<_ACEOF
8460
-/* end confdefs.h. */
8462
-/* Override any gcc2 internal prototype to avoid an error. */
8466
-/* We use char because int might match the return type of a gcc2
8467
- builtin and then its argument prototype would still apply. */
8477
-rm -f conftest.$ac_objext conftest$ac_exeext
8478
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8479
- (eval $ac_link) 2>&5
8481
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482
- (exit $ac_status); } &&
8483
- { ac_try='test -s conftest$ac_exeext'
8484
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485
- (eval $ac_try) 2>&5
8487
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488
- (exit $ac_status); }; }; then
8489
- ac_cv_search_opendir="-l$ac_lib"
8492
- echo "$as_me: failed program was:" >&5
8493
-sed 's/^/| /' conftest.$ac_ext >&5
8496
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8497
+ conftest$ac_exeext
8498
+ if test "${ac_cv_search_opendir+set}" = set; then
8501
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8504
+if test "${ac_cv_search_opendir+set}" = set; then
8507
+ ac_cv_search_opendir=no
8509
+rm conftest.$ac_ext
8510
LIBS=$ac_func_search_save_LIBS
8512
-echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8513
-echo "${ECHO_T}$ac_cv_search_opendir" >&6
8514
-if test "$ac_cv_search_opendir" != no; then
8515
- test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8516
+{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8517
+echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
8518
+ac_res=$ac_cv_search_opendir
8519
+if test "$ac_res" != no; then
8520
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8527
-echo "$as_me:$LINENO: checking for setenv" >&5
8528
-echo $ECHO_N "checking for setenv... $ECHO_C" >&6
8529
+{ echo "$as_me:$LINENO: checking for setenv" >&5
8530
+echo $ECHO_N "checking for setenv... $ECHO_C" >&6; }
8531
cat >conftest.$ac_ext <<_ACEOF
8532
-#line $LINENO "configure"
8535
cat confdefs.h >>conftest.$ac_ext
8536
@@ -7521,19 +8596,25 @@
8539
rm -f conftest.$ac_objext conftest$ac_exeext
8540
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8541
- (eval $ac_link) 2>&5
8543
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544
- (exit $ac_status); } &&
8545
- { ac_try='test -s conftest$ac_exeext'
8546
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547
- (eval $ac_try) 2>&5
8548
+if { (ac_try="$ac_link"
8549
+case "(($ac_try" in
8550
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551
+ *) ac_try_echo=$ac_try;;
8553
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554
+ (eval "$ac_link") 2>conftest.er1
8556
+ grep -v '^ *+' conftest.er1 >conftest.err
8557
+ rm -f conftest.er1
8558
+ cat conftest.err >&5
8559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560
- (exit $ac_status); }; }; then
8561
- echo "$as_me:$LINENO: result: yes" >&5
8562
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8563
+ (exit $ac_status); } && {
8564
+ test -z "$ac_c_werror_flag" ||
8565
+ test ! -s conftest.err
8566
+ } && test -s conftest$ac_exeext &&
8567
+ $as_test_x conftest$ac_exeext; then
8568
+ { echo "$as_me:$LINENO: result: yes" >&5
8569
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8573
@@ -7541,12 +8622,11 @@
8574
echo "$as_me: failed program was:" >&5
8575
sed 's/^/| /' conftest.$ac_ext >&5
8577
-echo "$as_me:$LINENO: result: no" >&5
8578
-echo "${ECHO_T}no" >&6
8579
-echo "$as_me:$LINENO: checking for putenv" >&5
8580
-echo $ECHO_N "checking for putenv... $ECHO_C" >&6
8581
+ { echo "$as_me:$LINENO: result: no" >&5
8582
+echo "${ECHO_T}no" >&6; }
8583
+{ echo "$as_me:$LINENO: checking for putenv" >&5
8584
+echo $ECHO_N "checking for putenv... $ECHO_C" >&6; }
8585
cat >conftest.$ac_ext <<_ACEOF
8586
-#line $LINENO "configure"
8589
cat confdefs.h >>conftest.$ac_ext
8590
@@ -7562,37 +8642,46 @@
8593
rm -f conftest.$ac_objext conftest$ac_exeext
8594
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8595
- (eval $ac_link) 2>&5
8597
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598
- (exit $ac_status); } &&
8599
- { ac_try='test -s conftest$ac_exeext'
8600
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601
- (eval $ac_try) 2>&5
8602
+if { (ac_try="$ac_link"
8603
+case "(($ac_try" in
8604
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605
+ *) ac_try_echo=$ac_try;;
8607
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608
+ (eval "$ac_link") 2>conftest.er1
8610
+ grep -v '^ *+' conftest.er1 >conftest.err
8611
+ rm -f conftest.er1
8612
+ cat conftest.err >&5
8613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614
- (exit $ac_status); }; }; then
8615
- echo "$as_me:$LINENO: result: yes" >&5
8616
-echo "${ECHO_T}yes" >&6
8617
+ (exit $ac_status); } && {
8618
+ test -z "$ac_c_werror_flag" ||
8619
+ test ! -s conftest.err
8620
+ } && test -s conftest$ac_exeext &&
8621
+ $as_test_x conftest$ac_exeext; then
8622
+ { echo "$as_me:$LINENO: result: yes" >&5
8623
+echo "${ECHO_T}yes" >&6; }
8625
echo "$as_me: failed program was:" >&5
8626
sed 's/^/| /' conftest.$ac_ext >&5
8628
-echo "$as_me:$LINENO: result: no" >&5
8629
-echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\_ACEOF
8630
+ { echo "$as_me:$LINENO: result: no" >&5
8631
+echo "${ECHO_T}no" >&6; };cat >>confdefs.h <<\_ACEOF
8632
#define NEEDPUTENV 1
8637
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8639
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8640
+ conftest$ac_exeext conftest.$ac_ext
8642
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8643
-echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
8644
-echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
8646
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647
+ conftest$ac_exeext conftest.$ac_ext
8648
+{ echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
8649
+echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6; }
8650
cat >conftest.$ac_ext <<_ACEOF
8651
-#line $LINENO "configure"
8654
cat confdefs.h >>conftest.$ac_ext
8655
@@ -7610,19 +8699,25 @@
8658
rm -f conftest.$ac_objext conftest$ac_exeext
8659
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660
- (eval $ac_link) 2>&5
8662
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663
- (exit $ac_status); } &&
8664
- { ac_try='test -s conftest$ac_exeext'
8665
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8666
- (eval $ac_try) 2>&5
8667
+if { (ac_try="$ac_link"
8668
+case "(($ac_try" in
8669
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8670
+ *) ac_try_echo=$ac_try;;
8672
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673
+ (eval "$ac_link") 2>conftest.er1
8675
+ grep -v '^ *+' conftest.er1 >conftest.err
8676
+ rm -f conftest.er1
8677
+ cat conftest.err >&5
8678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679
- (exit $ac_status); }; }; then
8680
- echo "$as_me:$LINENO: result: yes" >&5
8681
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
8682
+ (exit $ac_status); } && {
8683
+ test -z "$ac_c_werror_flag" ||
8684
+ test ! -s conftest.err
8685
+ } && test -s conftest$ac_exeext &&
8686
+ $as_test_x conftest$ac_exeext; then
8687
+ { echo "$as_me:$LINENO: result: yes" >&5
8688
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
8689
#define HAVE_NL_LANGINFO 1
8692
@@ -7630,114 +8725,93 @@
8693
echo "$as_me: failed program was:" >&5
8694
sed 's/^/| /' conftest.$ac_ext >&5
8696
-echo "$as_me:$LINENO: result: no" >&5
8697
-echo "${ECHO_T}no" >&6
8698
+ { echo "$as_me:$LINENO: result: no" >&5
8699
+echo "${ECHO_T}no" >&6; }
8701
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8703
-echo "$as_me:$LINENO: checking for library containing gethostname" >&5
8704
-echo $ECHO_N "checking for library containing gethostname... $ECHO_C" >&6
8705
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8706
+ conftest$ac_exeext conftest.$ac_ext
8708
+{ echo "$as_me:$LINENO: checking for library containing gethostname" >&5
8709
+echo $ECHO_N "checking for library containing gethostname... $ECHO_C" >&6; }
8710
if test "${ac_cv_search_gethostname+set}" = set; then
8711
echo $ECHO_N "(cached) $ECHO_C" >&6
8713
ac_func_search_save_LIBS=$LIBS
8714
-ac_cv_search_gethostname=no
8715
cat >conftest.$ac_ext <<_ACEOF
8716
-#line $LINENO "configure"
8719
cat confdefs.h >>conftest.$ac_ext
8720
cat >>conftest.$ac_ext <<_ACEOF
8721
/* end confdefs.h. */
8723
-/* Override any gcc2 internal prototype to avoid an error. */
8724
+/* Override any GCC internal prototype to avoid an error.
8725
+ Use char because int might match the return type of a GCC
8726
+ builtin and then its argument prototype would still apply. */
8730
-/* We use char because int might match the return type of a gcc2
8731
- builtin and then its argument prototype would still apply. */
8732
char gethostname ();
8737
+return gethostname ();
8742
-rm -f conftest.$ac_objext conftest$ac_exeext
8743
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8744
- (eval $ac_link) 2>&5
8746
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747
- (exit $ac_status); } &&
8748
- { ac_try='test -s conftest$ac_exeext'
8749
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750
- (eval $ac_try) 2>&5
8751
+for ac_lib in '' nsl; do
8752
+ if test -z "$ac_lib"; then
8753
+ ac_res="none required"
8756
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8758
+ rm -f conftest.$ac_objext conftest$ac_exeext
8759
+if { (ac_try="$ac_link"
8760
+case "(($ac_try" in
8761
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8762
+ *) ac_try_echo=$ac_try;;
8764
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8765
+ (eval "$ac_link") 2>conftest.er1
8767
+ grep -v '^ *+' conftest.er1 >conftest.err
8768
+ rm -f conftest.er1
8769
+ cat conftest.err >&5
8770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
- (exit $ac_status); }; }; then
8772
- ac_cv_search_gethostname="none required"
8773
+ (exit $ac_status); } && {
8774
+ test -z "$ac_c_werror_flag" ||
8775
+ test ! -s conftest.err
8776
+ } && test -s conftest$ac_exeext &&
8777
+ $as_test_x conftest$ac_exeext; then
8778
+ ac_cv_search_gethostname=$ac_res
8780
echo "$as_me: failed program was:" >&5
8781
sed 's/^/| /' conftest.$ac_ext >&5
8785
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8786
-if test "$ac_cv_search_gethostname" = no; then
8787
- for ac_lib in nsl; do
8788
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8789
- cat >conftest.$ac_ext <<_ACEOF
8790
-#line $LINENO "configure"
8793
-cat confdefs.h >>conftest.$ac_ext
8794
-cat >>conftest.$ac_ext <<_ACEOF
8795
-/* end confdefs.h. */
8797
-/* Override any gcc2 internal prototype to avoid an error. */
8801
-/* We use char because int might match the return type of a gcc2
8802
- builtin and then its argument prototype would still apply. */
8803
-char gethostname ();
8812
-rm -f conftest.$ac_objext conftest$ac_exeext
8813
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814
- (eval $ac_link) 2>&5
8816
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817
- (exit $ac_status); } &&
8818
- { ac_try='test -s conftest$ac_exeext'
8819
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820
- (eval $ac_try) 2>&5
8822
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823
- (exit $ac_status); }; }; then
8824
- ac_cv_search_gethostname="-l$ac_lib"
8827
- echo "$as_me: failed program was:" >&5
8828
-sed 's/^/| /' conftest.$ac_ext >&5
8830
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8831
+ conftest$ac_exeext
8832
+ if test "${ac_cv_search_gethostname+set}" = set; then
8835
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8838
+if test "${ac_cv_search_gethostname+set}" = set; then
8841
+ ac_cv_search_gethostname=no
8843
+rm conftest.$ac_ext
8844
LIBS=$ac_func_search_save_LIBS
8846
-echo "$as_me:$LINENO: result: $ac_cv_search_gethostname" >&5
8847
-echo "${ECHO_T}$ac_cv_search_gethostname" >&6
8848
-if test "$ac_cv_search_gethostname" != no; then
8849
- test "$ac_cv_search_gethostname" = "none required" || LIBS="$ac_cv_search_gethostname $LIBS"
8850
+{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostname" >&5
8851
+echo "${ECHO_T}$ac_cv_search_gethostname" >&6; }
8852
+ac_res=$ac_cv_search_gethostname
8853
+if test "$ac_res" != no; then
8854
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8858
@@ -7756,78 +8830,88 @@
8859
for ac_func in rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime
8861
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8862
-echo "$as_me:$LINENO: checking for $ac_func" >&5
8863
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8864
-if eval "test \"\${$as_ac_var+set}\" = set"; then
8865
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8866
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8867
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8868
echo $ECHO_N "(cached) $ECHO_C" >&6
8870
cat >conftest.$ac_ext <<_ACEOF
8871
-#line $LINENO "configure"
8874
cat confdefs.h >>conftest.$ac_ext
8875
cat >>conftest.$ac_ext <<_ACEOF
8876
/* end confdefs.h. */
8877
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8878
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
8879
+#define $ac_func innocuous_$ac_func
8881
/* System header to define __stub macros and hopefully few prototypes,
8882
which can conflict with char $ac_func (); below.
8883
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8884
<limits.h> exists even on freestanding compilers. */
8887
# include <limits.h>
8889
# include <assert.h>
8891
-/* Override any gcc2 internal prototype to avoid an error. */
8895
+/* Override any GCC internal prototype to avoid an error.
8896
+ Use char because int might match the return type of a GCC
8897
+ builtin and then its argument prototype would still apply. */
8902
-/* We use char because int might match the return type of a gcc2
8903
- builtin and then its argument prototype would still apply. */
8905
/* The GNU C library defines this for functions which it implements
8906
to always fail with ENOSYS. Some functions are actually named
8907
something starting with __ and the normal name is an alias. */
8908
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8909
+#if defined __stub_$ac_func || defined __stub___$ac_func
8912
-char (*f) () = $ac_func;
8921
-return f != $ac_func;
8922
+return $ac_func ();
8927
rm -f conftest.$ac_objext conftest$ac_exeext
8928
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8929
- (eval $ac_link) 2>&5
8931
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932
- (exit $ac_status); } &&
8933
- { ac_try='test -s conftest$ac_exeext'
8934
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935
- (eval $ac_try) 2>&5
8936
+if { (ac_try="$ac_link"
8937
+case "(($ac_try" in
8938
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939
+ *) ac_try_echo=$ac_try;;
8941
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942
+ (eval "$ac_link") 2>conftest.er1
8944
+ grep -v '^ *+' conftest.er1 >conftest.err
8945
+ rm -f conftest.er1
8946
+ cat conftest.err >&5
8947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948
- (exit $ac_status); }; }; then
8949
+ (exit $ac_status); } && {
8950
+ test -z "$ac_c_werror_flag" ||
8951
+ test ! -s conftest.err
8952
+ } && test -s conftest$ac_exeext &&
8953
+ $as_test_x conftest$ac_exeext; then
8954
eval "$as_ac_var=yes"
8956
echo "$as_me: failed program was:" >&5
8957
sed 's/^/| /' conftest.$ac_ext >&5
8959
-eval "$as_ac_var=no"
8960
+ eval "$as_ac_var=no"
8962
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8964
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8965
+ conftest$ac_exeext conftest.$ac_ext
8967
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8968
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8969
+ac_res=`eval echo '${'$as_ac_var'}'`
8970
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
8971
+echo "${ECHO_T}$ac_res" >&6; }
8972
if test `eval echo '${'$as_ac_var'}'` = yes; then
8973
cat >>confdefs.h <<_ACEOF
8974
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8975
@@ -7837,18 +8921,17 @@
8979
-# Check whether --enable-pam or --disable-pam was given.
8980
+# Check whether --enable-pam was given.
8981
if test "${enable_pam+set}" = set; then
8982
- enableval="$enable_pam"
8983
+ enableval=$enable_pam;
8987
if test "$enable_pam" = "yes"; then
8988
- echo "$as_me:$LINENO: checking for PAM support" >&5
8989
-echo $ECHO_N "checking for PAM support... $ECHO_C" >&6
8990
+ { echo "$as_me:$LINENO: checking for PAM support" >&5
8991
+echo $ECHO_N "checking for PAM support... $ECHO_C" >&6; }
8994
cat >conftest.$ac_ext <<_ACEOF
8995
-#line $LINENO "configure"
8998
cat confdefs.h >>conftest.$ac_ext
8999
@@ -7868,19 +8951,25 @@
9002
rm -f conftest.$ac_objext conftest$ac_exeext
9003
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004
- (eval $ac_link) 2>&5
9006
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007
- (exit $ac_status); } &&
9008
- { ac_try='test -s conftest$ac_exeext'
9009
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010
- (eval $ac_try) 2>&5
9011
+if { (ac_try="$ac_link"
9012
+case "(($ac_try" in
9013
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014
+ *) ac_try_echo=$ac_try;;
9016
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017
+ (eval "$ac_link") 2>conftest.er1
9019
+ grep -v '^ *+' conftest.er1 >conftest.err
9020
+ rm -f conftest.er1
9021
+ cat conftest.err >&5
9022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023
- (exit $ac_status); }; }; then
9024
- echo "$as_me:$LINENO: result: yes" >&5
9025
-echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\_ACEOF
9026
+ (exit $ac_status); } && {
9027
+ test -z "$ac_c_werror_flag" ||
9028
+ test ! -s conftest.err
9029
+ } && test -s conftest$ac_exeext &&
9030
+ $as_test_x conftest$ac_exeext; then
9031
+ { echo "$as_me:$LINENO: result: yes" >&5
9032
+echo "${ECHO_T}yes" >&6; };cat >>confdefs.h <<\_ACEOF
9036
@@ -7888,50 +8977,52 @@
9037
echo "$as_me: failed program was:" >&5
9038
sed 's/^/| /' conftest.$ac_ext >&5
9040
-echo "$as_me:$LINENO: result: no" >&5
9041
-echo "${ECHO_T}no" >&6;LIBS="$oldlibs"
9042
+ { echo "$as_me:$LINENO: result: no" >&5
9043
+echo "${ECHO_T}no" >&6; };LIBS="$oldlibs"
9045
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9047
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048
+ conftest$ac_exeext conftest.$ac_ext
9051
-# Check whether --enable-use_locale or --disable-use_locale was given.
9052
+# Check whether --enable-use_locale was given.
9053
if test "${enable_use_locale+set}" = set; then
9054
- enableval="$enable_use_locale"
9055
+ enableval=$enable_use_locale;
9059
if test "$enable_use_locale" = "yes"; then
9060
cat >>confdefs.h <<\_ACEOF
9061
#define USE_LOCALE 1
9065
-# Check whether --enable-telnet or --disable-telnet was given.
9066
+# Check whether --enable-telnet was given.
9067
if test "${enable_telnet+set}" = set; then
9068
- enableval="$enable_telnet"
9069
+ enableval=$enable_telnet;
9073
if test "$enable_telnet" = "yes"; then
9074
cat >>confdefs.h <<\_ACEOF
9075
#define BUILTIN_TELNET 1
9079
-# Check whether --enable-colors256 or --disable-colors256 was given.
9080
+# Check whether --enable-colors256 was given.
9081
if test "${enable_colors256+set}" = set; then
9082
- enableval="$enable_colors256"
9083
+ enableval=$enable_colors256;
9087
if test "$enable_colors256" = "yes"; then
9088
cat >>confdefs.h <<\_ACEOF
9093
-# Check whether --enable-rxvt_osc or --disable-rxvt_osc was given.
9094
+# Check whether --enable-rxvt_osc was given.
9095
if test "${enable_rxvt_osc+set}" = set; then
9096
- enableval="$enable_rxvt_osc"
9097
+ enableval=$enable_rxvt_osc;
9101
if test "$enable_rxvt_osc" = "yes"; then
9102
cat >>confdefs.h <<\_ACEOF
9104
@@ -7954,7 +9045,6 @@
9105
{ (exit 1); exit 1; }; }
9107
cat >conftest.$ac_ext <<_ACEOF
9108
-#line $LINENO "configure"
9111
cat confdefs.h >>conftest.$ac_ext
9112
@@ -7963,13 +9053,22 @@
9115
rm -f conftest$ac_exeext
9116
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117
- (eval $ac_link) 2>&5
9118
+if { (ac_try="$ac_link"
9119
+case "(($ac_try" in
9120
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9121
+ *) ac_try_echo=$ac_try;;
9123
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9124
+ (eval "$ac_link") 2>&5
9126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9128
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129
- (eval $ac_try) 2>&5
9130
+ { (case "(($ac_try" in
9131
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9132
+ *) ac_try_echo=$ac_try;;
9134
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135
+ (eval "$ac_try") 2>&5
9137
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138
(exit $ac_status); }; }; then
9139
@@ -7984,44 +9083,48 @@
9140
echo "$as_me: error: Can't run the compiler - internal error. Sorry." >&2;}
9141
{ (exit 1); exit 1; }; }
9143
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9144
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9149
ETCSCREENRC="\"/usr/local/etc/screenrc\""
9150
if test -n "$prefix"; then
9151
ETCSCREENRC="\"$prefix/etc/screenrc\""
9153
-echo "$as_me:$LINENO: checking for the global screenrc file" >&5
9154
-echo $ECHO_N "checking for the global screenrc file... $ECHO_C" >&6
9155
+{ echo "$as_me:$LINENO: checking for the global screenrc file" >&5
9156
+echo $ECHO_N "checking for the global screenrc file... $ECHO_C" >&6; }
9158
-# Check whether --with-sys-screenrc or --without-sys-screenrc was given.
9159
+# Check whether --with-sys-screenrc was given.
9160
if test "${with_sys_screenrc+set}" = set; then
9161
- withval="$with_sys_screenrc"
9162
- ETCSCREENRC="\"${withval}\""
9164
+ withval=$with_sys_screenrc; ETCSCREENRC="\"${withval}\""
9167
cat >>confdefs.h <<_ACEOF
9168
#define ETCSCREENRC $ETCSCREENRC
9171
-echo "$as_me:$LINENO: result: $ETCSCREENRC" >&5
9172
-echo "${ECHO_T}$ETCSCREENRC" >&6
9173
+{ echo "$as_me:$LINENO: result: $ETCSCREENRC" >&5
9174
+echo "${ECHO_T}$ETCSCREENRC" >&6; }
9176
SCREENENCODINGS="\"/usr/local/lib/screen/utf8encodings\""
9177
if test -n "$datadir"; then
9178
eval SCREENENCODINGS="$datadir/screen/utf8encodings"
9179
-SCREENENCODINGS="\"$SCREENENCODINGS\""
9180
+eval SCREENENCODINGS="\\\"$SCREENENCODINGS\\\""
9182
-echo "$as_me:$LINENO: checking for the utf8-encodings location" >&5
9183
-echo $ECHO_N "checking for the utf8-encodings location... $ECHO_C" >&6
9184
+{ echo "$as_me:$LINENO: checking for the utf8-encodings location" >&5
9185
+echo $ECHO_N "checking for the utf8-encodings location... $ECHO_C" >&6; }
9186
cat >>confdefs.h <<_ACEOF
9187
#define SCREENENCODINGS $SCREENENCODINGS
9190
-echo "$as_me:$LINENO: result: $SCREENENCODINGS" >&5
9191
-echo "${ECHO_T}$SCREENENCODINGS" >&6
9192
+{ echo "$as_me:$LINENO: result: $SCREENENCODINGS" >&5
9193
+echo "${ECHO_T}$SCREENENCODINGS" >&6; }
9195
+ac_config_files="$ac_config_files Makefile doc/Makefile"
9197
+ac_config_commands="$ac_config_commands default"
9199
- ac_config_files="$ac_config_files Makefile doc/Makefile"
9200
- ac_config_commands="$ac_config_commands default"
9201
cat >confcache <<\_ACEOF
9202
# This file is a shell script that caches the results of configure
9203
# tests run on this system so they can be shared between configure
9204
@@ -8040,39 +9143,58 @@
9206
# The following way of writing the cache mishandles newlines in values,
9207
# but we know of no workaround that is simple, portable, and efficient.
9208
-# So, don't put newlines in cache variables' values.
9209
+# So, we kill variables containing newlines.
9210
# Ultrix sh set writes to stderr and can't be redirected directly,
9211
# and sets the high bit in the cache file unless we assign to the vars.
9214
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9215
+ eval ac_val=\$$ac_var
9216
+ case $ac_val in #(
9218
+ case $ac_var in #(
9219
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9220
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9222
+ case $ac_var in #(
9223
+ _ | IFS | as_nl) ;; #(
9224
+ *) $as_unset $ac_var ;;
9230
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
9232
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
9233
+ *${as_nl}ac_space=\ *)
9234
# `set' does not quote correctly, so add quotes (double-quote
9235
# substitution turns \\\\ into \\, and sed turns \\ into \).
9238
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9241
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9244
# `set' quotes correctly as required by POSIX, so do not add quotes.
9246
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9247
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9255
+ /^ac_cv_env_/b end
9259
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9261
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9262
- : end' >>confcache
9263
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
9264
- if test -w $cache_file; then
9265
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9266
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9268
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9269
+ if test -w "$cache_file"; then
9270
+ test "x$cache_file" != "x/dev/null" &&
9271
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9272
+echo "$as_me: updating cache $cache_file" >&6;}
9273
cat confcache >$cache_file
9275
- echo "not updating unwritable cache $cache_file"
9276
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9277
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9281
@@ -8081,32 +9203,18 @@
9282
# Let make expand exec_prefix.
9283
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9285
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
9286
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9287
-# trailing colons and then remove the whole line if VPATH becomes empty
9288
-# (actually we leave an empty line to preserve line numbers).
9289
-if test "x$srcdir" = x.; then
9290
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
9291
-s/:*\$(srcdir):*/:/;
9292
-s/:*\${srcdir}:*/:/;
9294
-s/^\([^=]*=[ ]*\):*/\1/;
9300
DEFS=-DHAVE_CONFIG_H
9304
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9305
# 1. Remove the extension, and $U if already installed.
9306
- ac_i=`echo "$ac_i" |
9307
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9309
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9310
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9311
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9312
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
9313
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9314
+ # will be set to the directory where LIBOBJS objects are built.
9315
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9316
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9320
@@ -8137,27 +9245,91 @@
9321
## M4sh Initialization. ##
9322
## --------------------- ##
9324
-# Be Bourne compatible
9325
+# Be more Bourne compatible
9326
+DUALCASE=1; export DUALCASE # for MKS sh
9327
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9330
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9331
# is contrary to our usage. Disable this feature.
9332
alias -g '${1+"$@"}'='"$@"'
9333
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9335
+ setopt NO_GLOB_SUBST
9337
+ case `(set -o) 2>/dev/null` in
9338
+ *posix*) set -o posix ;;
9347
+# Avoid depending upon Character Ranges.
9348
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9349
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9350
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9351
+as_cr_digits='0123456789'
9352
+as_cr_alnum=$as_cr_Letters$as_cr_digits
9354
+# The user is always right.
9355
+if test "${PATH_SEPARATOR+set}" != set; then
9356
+ echo "#! /bin/sh" >conf$$.sh
9357
+ echo "exit 0" >>conf$$.sh
9358
+ chmod +x conf$$.sh
9359
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9360
+ PATH_SEPARATOR=';'
9367
# Support unset when possible.
9368
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9369
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9377
+# We need space, tab and new line, in precisely that order. Quoting is
9378
+# there to prevent editors from complaining about space-tab.
9379
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9380
+# splitting by setting IFS to empty value.)
9385
+# Find who we are. Look in the path if we contain no directory separator.
9387
+ *[\\/]* ) as_myself=$0 ;;
9388
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9389
+for as_dir in $PATH
9392
+ test -z "$as_dir" && as_dir=.
9393
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9399
+# We did not find ourselves, most probably we were run as `sh COMMAND'
9400
+# in which case we are not to be found in the path.
9401
+if test "x$as_myself" = x; then
9404
+if test ! -f "$as_myself"; then
9405
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9406
+ { (exit 1); exit 1; }
9409
# Work around bugs in pre-3.0 UWIN ksh.
9410
-$as_unset ENV MAIL MAILPATH
9411
+for as_var in ENV MAIL MAILPATH
9412
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9417
@@ -8168,21 +9340,22 @@
9418
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9419
LC_TELEPHONE LC_TIME
9421
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
9422
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9423
eval $as_var=C; export $as_var
9426
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9430
# Required to use basename.
9431
-if expr a : '\(a\)' >/dev/null 2>&1; then
9432
+if expr a : '\(a\)' >/dev/null 2>&1 &&
9433
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
9439
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9440
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9441
as_basename=basename
9444
@@ -8190,200 +9363,166 @@
9447
# Name of the executable.
9448
-as_me=`$as_basename "$0" ||
9449
+as_me=`$as_basename -- "$0" ||
9450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9451
X"$0" : 'X\(//\)$' \| \
9452
- X"$0" : 'X\(/\)$' \| \
9453
- . : '\(.\)' 2>/dev/null ||
9454
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9456
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9457
- /^X\/\(\/\/\)$/{ s//\1/; q; }
9458
- /^X\/\(\/\).*/{ s//\1/; q; }
9461
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
9475
-# PATH needs CR, and LINENO needs CR and PATH.
9476
-# Avoid depending upon Character Ranges.
9477
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9478
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9479
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9480
-as_cr_digits='0123456789'
9481
-as_cr_alnum=$as_cr_Letters$as_cr_digits
9485
-# The user is always right.
9486
-if test "${PATH_SEPARATOR+set}" != set; then
9487
- echo "#! /bin/sh" >conf$$.sh
9488
- echo "exit 0" >>conf$$.sh
9489
- chmod +x conf$$.sh
9490
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9491
- PATH_SEPARATOR=';'
9501
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9502
test "x$as_lineno_1" != "x$as_lineno_2" &&
9503
- test "x$as_lineno_3" = "x$as_lineno_2" || {
9504
- # Find who we are. Look in the path if we contain no path at all
9505
- # relative or not.
9507
- *[\\/]* ) as_myself=$0 ;;
9508
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509
-for as_dir in $PATH
9512
- test -z "$as_dir" && as_dir=.
9513
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9518
- # We did not find ourselves, most probably we were run as `sh COMMAND'
9519
- # in which case we are not to be found in the path.
9520
- if test "x$as_myself" = x; then
9523
- if test ! -f "$as_myself"; then
9524
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9525
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9526
- { (exit 1); exit 1; }; }
9528
- case $CONFIG_SHELL in
9530
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9534
- test -z "$as_dir" && as_dir=.
9535
- for as_base in sh bash ksh sh5; do
9538
- if ("$as_dir/$as_base" -c '
9539
- as_lineno_1=$LINENO
9540
- as_lineno_2=$LINENO
9541
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9542
- test "x$as_lineno_1" != "x$as_lineno_2" &&
9543
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9544
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9545
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9546
- CONFIG_SHELL=$as_dir/$as_base
9547
- export CONFIG_SHELL
9548
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9555
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9557
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9558
# uniformly replaced by the line number. The first 'sed' inserts a
9559
- # line-number line before each line; the second 'sed' does the real
9560
- # work. The second script uses 'N' to pair each line-number line
9561
- # with the numbered line, and appends trailing '-' during
9562
- # substitution so that $LINENO is not a special case at line end.
9563
+ # line-number line after each line using $LINENO; the second 'sed'
9564
+ # does the real work. The second script uses 'N' to pair each
9565
+ # line-number line with the line containing $LINENO, and appends
9566
+ # trailing '-' during substitution so that $LINENO is not a special
9567
+ # case at line end.
9568
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9569
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9570
- sed '=' <$as_myself |
9571
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
9572
+ # E. McMahon (1931-1989) for sed's syntax. :-)
9585
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9587
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9590
- s,^['$as_cr_digits']*\n,,
9593
- chmod +x $as_me.lineno ||
9594
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9595
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9596
+ chmod +x "$as_me.lineno" ||
9597
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9598
{ (exit 1); exit 1; }; }
9600
# Don't try to exec as it changes $[0], causing all sort of problems
9601
# (the dirname of $[0] is not the place where we might find the
9602
- # original and so on. Autoconf is especially sensible to this).
9604
+ # original and so on. Autoconf is especially sensitive to this).
9605
+ . "./$as_me.lineno"
9606
# Exit status is that of the last command.
9611
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9612
- *c*,-n*) ECHO_N= ECHO_C='
9614
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9615
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9616
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9617
+ as_dirname=dirname
9622
+ECHO_C= ECHO_N= ECHO_T=
9623
+case `echo -n x` in
9625
+ case `echo 'x\c'` in
9626
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9633
-if expr a : '\(a\)' >/dev/null 2>&1; then
9634
+if expr a : '\(a\)' >/dev/null 2>&1 &&
9635
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
9641
rm -f conf$$ conf$$.exe conf$$.file
9642
+if test -d conf$$.dir; then
9643
+ rm -f conf$$.dir/conf$$.file
9649
if ln -s conf$$.file conf$$ 2>/dev/null; then
9650
- # We could just check for DJGPP; but this test a) works b) is more generic
9651
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9652
- if test -f conf$$.exe; then
9653
- # Don't use ln at all; we don't have any links
9655
+ # ... but there are two gotchas:
9656
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9657
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9658
+ # In both cases, we have to default to `cp -p'.
9659
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9664
elif ln conf$$.file conf$$ 2>/dev/null; then
9669
-rm -f conf$$ conf$$.exe conf$$.file
9670
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9671
+rmdir conf$$.dir 2>/dev/null
9673
if mkdir -p . 2>/dev/null; then
9676
+ test -d ./-p && rmdir ./-p
9680
-as_executable_p="test -f"
9681
+if test -x / >/dev/null 2>&1; then
9682
+ as_test_x='test -x'
9684
+ if ls -dL / >/dev/null 2>&1; then
9691
+ if test -d "$1"; then
9697
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9698
+ ???[sx]*):;;*)false;;esac;fi
9702
+as_executable_p=$as_test_x
9704
# Sed expression to map a string onto a valid CPP name.
9705
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
9706
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9708
# Sed expression to map a string onto a valid variable name.
9709
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
9711
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9714
-# We need space, tab and new line, in precisely that order.
9724
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
9725
+# Save the log message, to keep $[0] and so on meaningful, and to
9726
# report actual input values of CONFIG_FILES etc. instead of their
9727
-# values after options handling. Logging --version etc. is OK.
9731
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9732
-## Running $as_me. ##
9737
+# values after options handling.
9739
This file was extended by $as_me, which was
9740
-generated by GNU Autoconf 2.57. Invocation command line was
9741
+generated by GNU Autoconf 2.61. Invocation command line was
9743
CONFIG_FILES = $CONFIG_FILES
9744
CONFIG_HEADERS = $CONFIG_HEADERS
9745
@@ -8391,30 +9530,20 @@
9746
CONFIG_COMMANDS = $CONFIG_COMMANDS
9750
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9752
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
9757
+cat >>$CONFIG_STATUS <<_ACEOF
9758
# Files that config.status was made for.
9759
-if test -n "$ac_config_files"; then
9760
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9763
-if test -n "$ac_config_headers"; then
9764
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9767
-if test -n "$ac_config_links"; then
9768
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9770
+config_files="$ac_config_files"
9771
+config_headers="$ac_config_headers"
9772
+config_commands="$ac_config_commands"
9774
-if test -n "$ac_config_commands"; then
9775
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9779
cat >>$CONFIG_STATUS <<\_ACEOF
9782
\`$as_me' instantiates files from templates according to the
9783
current configuration.
9784
@@ -8422,14 +9551,14 @@
9785
Usage: $0 [OPTIONS] [FILE]...
9787
-h, --help print this help, then exit
9788
- -V, --version print version number, then exit
9789
+ -V, --version print version number and configuration settings, then exit
9790
-q, --quiet do not print progress messages
9791
-d, --debug don't remove temporary files
9792
--recheck update $as_me by reconfiguring in the same conditions
9793
--file=FILE[:TEMPLATE]
9794
- instantiate the configuration file FILE
9795
+ instantiate the configuration file FILE
9796
--header=FILE[:TEMPLATE]
9797
- instantiate the configuration header FILE
9798
+ instantiate the configuration header FILE
9800
Configuration files:
9802
@@ -8441,20 +9570,21 @@
9805
Report bugs to <bug-autoconf@gnu.org>."
9809
cat >>$CONFIG_STATUS <<_ACEOF
9812
-configured by $0, generated by GNU Autoconf 2.57,
9813
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9814
+configured by $0, generated by GNU Autoconf 2.61,
9815
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9817
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9818
-Free Software Foundation, Inc.
9819
+Copyright (C) 2006 Free Software Foundation, Inc.
9820
This config.status script is free software; the Free Software Foundation
9821
gives unlimited permission to copy, distribute and modify it."
9830
cat >>$CONFIG_STATUS <<\_ACEOF
9831
@@ -8465,39 +9595,24 @@
9835
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
9836
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9837
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
9838
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9847
- *) # This is not an option, so the user has probably given explicit
9850
- ac_need_defaults=false;;
9854
# Handling of the options.
9856
-cat >>$CONFIG_STATUS <<\_ACEOF
9857
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9859
- --version | --vers* | -V )
9860
- echo "$ac_cs_version"; exit 0 ;;
9862
- # Conflict between --help and --header
9863
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
9864
-Try \`$0 --help' for more information." >&5
9865
-echo "$as_me: error: ambiguous option: $1
9866
-Try \`$0 --help' for more information." >&2;}
9867
- { (exit 1); exit 1; }; };;
9868
- --help | --hel | -h )
9869
- echo "$ac_cs_usage"; exit 0 ;;
9870
- --debug | --d* | -d )
9871
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9872
+ echo "$ac_cs_version"; exit ;;
9873
+ --debug | --debu | --deb | --de | --d | -d )
9875
--file | --fil | --fi | --f )
9877
@@ -8507,18 +9622,24 @@
9879
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9880
ac_need_defaults=false;;
9882
+ # Conflict between --help and --header
9883
+ { echo "$as_me: error: ambiguous option: $1
9884
+Try \`$0 --help' for more information." >&2
9885
+ { (exit 1); exit 1; }; };;
9886
+ --help | --hel | -h )
9887
+ echo "$ac_cs_usage"; exit ;;
9888
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9889
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9893
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9894
-Try \`$0 --help' for more information." >&5
9895
-echo "$as_me: error: unrecognized option: $1
9896
-Try \`$0 --help' for more information." >&2;}
9897
+ -*) { echo "$as_me: error: unrecognized option: $1
9898
+Try \`$0 --help' for more information." >&2
9899
{ (exit 1); exit 1; }; } ;;
9901
- *) ac_config_targets="$ac_config_targets $1" ;;
9902
+ *) ac_config_targets="$ac_config_targets $1"
9903
+ ac_need_defaults=false ;;
9907
@@ -8534,31 +9655,45 @@
9909
cat >>$CONFIG_STATUS <<_ACEOF
9910
if \$ac_cs_recheck; then
9911
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9912
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9913
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9914
+ CONFIG_SHELL=$SHELL
9915
+ export CONFIG_SHELL
9916
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9920
+cat >>$CONFIG_STATUS <<\_ACEOF
9924
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9925
+## Running $as_me. ##
9934
+cat >>$CONFIG_STATUS <<_ACEOF
9937
cat >>$CONFIG_STATUS <<\_ACEOF
9939
+# Handling of arguments.
9940
for ac_config_target in $ac_config_targets
9942
- case "$ac_config_target" in
9943
- # Handling of arguments.
9944
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9945
- "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9946
- "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9947
- "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9948
+ case $ac_config_target in
9949
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9950
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9951
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9952
+ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9954
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9955
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9956
{ (exit 1); exit 1; }; };;
9961
# If the user did not use the arguments to specify the items to instantiate,
9962
# then the envvar interface is used. Set only those that are not.
9963
# We use the long form for the default assignment because of an extremely
9964
@@ -8570,587 +9705,521 @@
9967
# Have a temporary directory for convenience. Make it in the build tree
9968
-# simply because there is no reason to put it here, and in addition,
9969
+# simply because there is no reason against having it here, and in addition,
9970
# creating and moving files from /tmp can sometimes cause problems.
9971
-# Create a temporary directory, and hook for its removal unless debugging.
9972
+# Hook for its removal unless debugging.
9973
+# Note that there is a small window in which the directory will not be cleaned:
9974
+# after its creation but before its name has been assigned to `$tmp'.
9977
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9979
+ trap 'exit_status=$?
9980
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9982
trap '{ (exit 1); exit 1; }' 1 2 13 15
9985
# Create a (secure) tmp directory for tmp files.
9988
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9989
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9990
test -n "$tmp" && test -d "$tmp"
9993
- tmp=./confstat$$-$RANDOM
9994
- (umask 077 && mkdir $tmp)
9995
+ tmp=./conf$$-$RANDOM
9996
+ (umask 077 && mkdir "$tmp")
9999
echo "$me: cannot create a temporary directory in ." >&2
10000
{ (exit 1); exit 1; }
10005
-cat >>$CONFIG_STATUS <<_ACEOF
10008
-# CONFIG_FILES section.
10009
+# Set up the sed scripts for CONFIG_FILES section.
10012
# No need to generate the scripts if there are no CONFIG_FILES.
10013
# This happens for instance when ./config.status config.h
10014
-if test -n "\$CONFIG_FILES"; then
10015
- # Protect against being on the right side of a sed subst in config.status.
10016
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10017
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10018
-s,@SHELL@,$SHELL,;t t
10019
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10020
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10021
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10022
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10023
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10024
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10025
-s,@exec_prefix@,$exec_prefix,;t t
10026
-s,@prefix@,$prefix,;t t
10027
-s,@program_transform_name@,$program_transform_name,;t t
10028
-s,@bindir@,$bindir,;t t
10029
-s,@sbindir@,$sbindir,;t t
10030
-s,@libexecdir@,$libexecdir,;t t
10031
-s,@datadir@,$datadir,;t t
10032
-s,@sysconfdir@,$sysconfdir,;t t
10033
-s,@sharedstatedir@,$sharedstatedir,;t t
10034
-s,@localstatedir@,$localstatedir,;t t
10035
-s,@libdir@,$libdir,;t t
10036
-s,@includedir@,$includedir,;t t
10037
-s,@oldincludedir@,$oldincludedir,;t t
10038
-s,@infodir@,$infodir,;t t
10039
-s,@mandir@,$mandir,;t t
10040
-s,@build_alias@,$build_alias,;t t
10041
-s,@host_alias@,$host_alias,;t t
10042
-s,@target_alias@,$target_alias,;t t
10043
-s,@DEFS@,$DEFS,;t t
10044
-s,@ECHO_C@,$ECHO_C,;t t
10045
-s,@ECHO_N@,$ECHO_N,;t t
10046
-s,@ECHO_T@,$ECHO_T,;t t
10047
-s,@LIBS@,$LIBS,;t t
10048
-s,@VERSION@,$VERSION,;t t
10049
-s,@ac_prefix_program@,$ac_prefix_program,;t t
10051
-s,@CFLAGS@,$CFLAGS,;t t
10052
-s,@LDFLAGS@,$LDFLAGS,;t t
10053
-s,@CPPFLAGS@,$CPPFLAGS,;t t
10054
-s,@ac_ct_CC@,$ac_ct_CC,;t t
10055
-s,@EXEEXT@,$EXEEXT,;t t
10056
-s,@OBJEXT@,$OBJEXT,;t t
10058
-s,@EGREP@,$EGREP,;t t
10060
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10061
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10062
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10063
-s,@WRITEPATH@,$WRITEPATH,;t t
10064
-s,@XTERMPATH@,$XTERMPATH,;t t
10065
-s,@LIBOBJS@,$LIBOBJS,;t t
10066
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10071
- cat >>$CONFIG_STATUS <<\_ACEOF
10072
- # Split the substitutions into bite-sized pieces for seds with
10073
- # small command number limits, like on Digital OSF/1 and HP-UX.
10074
- ac_max_sed_lines=48
10075
- ac_sed_frag=1 # Number of current file.
10076
- ac_beg=1 # First line for current file.
10077
- ac_end=$ac_max_sed_lines # Line after last line for current file.
10080
- while $ac_more_lines; do
10081
- if test $ac_beg -gt 1; then
10082
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10084
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10086
- if test ! -s $tmp/subs.frag; then
10087
- ac_more_lines=false
10089
- # The purpose of the label and of the branching condition is to
10090
- # speed up the sed processing (if there are no `@' at all, there
10091
- # is no need to browse any of the substitutions).
10092
- # These are the two extra sed commands mentioned above.
10094
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10095
- if test -z "$ac_sed_cmds"; then
10096
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10098
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10100
- ac_sed_frag=`expr $ac_sed_frag + 1`
10102
- ac_end=`expr $ac_end + $ac_max_sed_lines`
10105
- if test -z "$ac_sed_cmds"; then
10107
+if test -n "$CONFIG_FILES"; then
10114
+for ac_last_try in false false false false false :; do
10115
+ cat >conf$$subs.sed <<_ACEOF
10116
+SHELL!$SHELL$ac_delim
10117
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10118
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10119
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10120
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10121
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10122
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10123
+exec_prefix!$exec_prefix$ac_delim
10124
+prefix!$prefix$ac_delim
10125
+program_transform_name!$program_transform_name$ac_delim
10126
+bindir!$bindir$ac_delim
10127
+sbindir!$sbindir$ac_delim
10128
+libexecdir!$libexecdir$ac_delim
10129
+datarootdir!$datarootdir$ac_delim
10130
+datadir!$datadir$ac_delim
10131
+sysconfdir!$sysconfdir$ac_delim
10132
+sharedstatedir!$sharedstatedir$ac_delim
10133
+localstatedir!$localstatedir$ac_delim
10134
+includedir!$includedir$ac_delim
10135
+oldincludedir!$oldincludedir$ac_delim
10136
+docdir!$docdir$ac_delim
10137
+infodir!$infodir$ac_delim
10138
+htmldir!$htmldir$ac_delim
10139
+dvidir!$dvidir$ac_delim
10140
+pdfdir!$pdfdir$ac_delim
10141
+psdir!$psdir$ac_delim
10142
+libdir!$libdir$ac_delim
10143
+localedir!$localedir$ac_delim
10144
+mandir!$mandir$ac_delim
10145
+DEFS!$DEFS$ac_delim
10146
+ECHO_C!$ECHO_C$ac_delim
10147
+ECHO_N!$ECHO_N$ac_delim
10148
+ECHO_T!$ECHO_T$ac_delim
10149
+LIBS!$LIBS$ac_delim
10150
+build_alias!$build_alias$ac_delim
10151
+host_alias!$host_alias$ac_delim
10152
+target_alias!$target_alias$ac_delim
10153
+VERSION!$VERSION$ac_delim
10154
+ac_prefix_program!$ac_prefix_program$ac_delim
10156
+CFLAGS!$CFLAGS$ac_delim
10157
+LDFLAGS!$LDFLAGS$ac_delim
10158
+CPPFLAGS!$CPPFLAGS$ac_delim
10159
+ac_ct_CC!$ac_ct_CC$ac_delim
10160
+EXEEXT!$EXEEXT$ac_delim
10161
+OBJEXT!$OBJEXT$ac_delim
10163
+GREP!$GREP$ac_delim
10164
+EGREP!$EGREP$ac_delim
10166
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10167
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10168
+INSTALL_DATA!$INSTALL_DATA$ac_delim
10169
+WRITEPATH!$WRITEPATH$ac_delim
10170
+XTERMPATH!$XTERMPATH$ac_delim
10171
+LIBOBJS!$LIBOBJS$ac_delim
10172
+LTLIBOBJS!$LTLIBOBJS$ac_delim
10175
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
10177
+ elif $ac_last_try; then
10178
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10179
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10180
+ { (exit 1); exit 1; }; }
10182
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10184
-fi # test -n "$CONFIG_FILES"
10187
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10188
+if test -n "$ac_eof"; then
10189
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10190
+ ac_eof=`expr $ac_eof + 1`
10193
+cat >>$CONFIG_STATUS <<_ACEOF
10194
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10195
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10198
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10199
+s/^/s,@/; s/!/@,|#_!!_#|/
10202
+s/'"$ac_delim"'$/,g/; t
10204
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10205
+' >>$CONFIG_STATUS <conf$$subs.sed
10206
+rm -f conf$$subs.sed
10207
+cat >>$CONFIG_STATUS <<_ACEOF
10214
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
10215
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10216
+# trailing colons and then remove the whole line if VPATH becomes empty
10217
+# (actually we leave an empty line to preserve line numbers).
10218
+if test "x$srcdir" = x.; then
10219
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
10220
+s/:*\$(srcdir):*/:/
10221
+s/:*\${srcdir}:*/:/
10223
+s/^\([^=]*=[ ]*\):*/\1/
10229
cat >>$CONFIG_STATUS <<\_ACEOF
10230
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10231
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10233
- - | *:- | *:-:* ) # input from stdin
10235
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10236
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10237
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10238
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10239
- * ) ac_file_in=$ac_file.in ;;
10240
+fi # test -n "$CONFIG_FILES"
10243
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10246
+ :[FHLC]) ac_mode=$ac_tag; continue;;
10248
+ case $ac_mode$ac_tag in
10250
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10251
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10252
+ { (exit 1); exit 1; }; };;
10253
+ :[FH]-) ac_tag=-:-;;
10254
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10265
+ :L) ac_source=$1;;
10271
+ -) ac_f="$tmp/stdin";;
10272
+ *) # Look for the file first in the build tree, then in the source tree
10273
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
10274
+ # because $ac_f cannot contain `:'.
10275
+ test -f "$ac_f" ||
10278
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10280
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10281
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10282
+ { (exit 1); exit 1; }; };;
10284
+ ac_file_inputs="$ac_file_inputs $ac_f"
10287
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
10288
+ # use $as_me), people would be surprised to read:
10289
+ # /* config.h. Generated by config.status. */
10290
+ configure_input="Generated from "`IFS=:
10291
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10292
+ if test x"$ac_file" != x-; then
10293
+ configure_input="$ac_file. $configure_input"
10294
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
10295
+echo "$as_me: creating $ac_file" >&6;}
10299
+ *:-:* | *:-) cat >"$tmp/stdin";;
10304
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10305
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10306
+ ac_dir=`$as_dirname -- "$ac_file" ||
10307
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10308
- X"$ac_file" : 'X\(//\)[^/]' \| \
10309
- X"$ac_file" : 'X\(//\)$' \| \
10310
- X"$ac_file" : 'X\(/\)' \| \
10311
- . : '\(.\)' 2>/dev/null ||
10312
+ X"$ac_file" : 'X\(//\)[^/]' \| \
10313
+ X"$ac_file" : 'X\(//\)$' \| \
10314
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10316
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10317
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10318
- /^X\(\/\/\)$/{ s//\1/; q; }
10319
- /^X\(\/\).*/{ s//\1/; q; }
10321
- { if $as_mkdir_p; then
10322
- mkdir -p "$ac_dir"
10325
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10329
+ /^X\(\/\/\)[^/].*/{
10342
+ { as_dir="$ac_dir"
10343
+ case $as_dir in #(
10344
+ -*) as_dir=./$as_dir;;
10346
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10348
- while test ! -d "$as_dir"; do
10349
- as_dirs="$as_dir $as_dirs"
10350
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
10352
+ case $as_dir in #(
10353
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10354
+ *) as_qdir=$as_dir;;
10356
+ as_dirs="'$as_qdir' $as_dirs"
10357
+ as_dir=`$as_dirname -- "$as_dir" ||
10358
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10359
- X"$as_dir" : 'X\(//\)[^/]' \| \
10360
- X"$as_dir" : 'X\(//\)$' \| \
10361
- X"$as_dir" : 'X\(/\)' \| \
10362
- . : '\(.\)' 2>/dev/null ||
10363
+ X"$as_dir" : 'X\(//\)[^/]' \| \
10364
+ X"$as_dir" : 'X\(//\)$' \| \
10365
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10367
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10368
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10369
- /^X\(\/\/\)$/{ s//\1/; q; }
10370
- /^X\(\/\).*/{ s//\1/; q; }
10372
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10376
+ /^X\(\/\/\)[^/].*/{
10389
+ test -d "$as_dir" && break
10391
- test ! -n "$as_dirs" || mkdir $as_dirs
10392
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10393
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10394
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
10395
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10396
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
10397
{ (exit 1); exit 1; }; }; }
10401
-if test "$ac_dir" != .; then
10403
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10405
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10406
- # A "../" for each directory in $ac_dir_suffix.
10407
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10409
- ac_dir_suffix= ac_top_builddir=
10411
+ # A ".." for each directory in $ac_dir_suffix.
10412
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10413
+ case $ac_top_builddir_sub in
10414
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10415
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10418
+ac_abs_top_builddir=$ac_pwd
10419
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
10420
+# for backward compatibility:
10421
+ac_top_builddir=$ac_top_build_prefix
10424
- .) # No --srcdir option. We are building in place.
10425
+ .) # We are building in place.
10427
- if test -z "$ac_top_builddir"; then
10430
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10432
- [\\/]* | ?:[\\/]* ) # Absolute path.
10433
+ ac_top_srcdir=$ac_top_builddir_sub
10434
+ ac_abs_top_srcdir=$ac_pwd ;;
10435
+ [\\/]* | ?:[\\/]* ) # Absolute name.
10436
ac_srcdir=$srcdir$ac_dir_suffix;
10437
- ac_top_srcdir=$srcdir ;;
10438
- *) # Relative path.
10439
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10440
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
10442
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10444
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10445
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10446
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10447
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10448
+ ac_top_srcdir=$srcdir
10449
+ ac_abs_top_srcdir=$srcdir ;;
10450
+ *) # Relative name.
10451
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10452
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
10453
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10455
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10465
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10466
- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10467
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10471
- if test x"$ac_file" != x-; then
10472
- { echo "$as_me:$LINENO: creating $ac_file" >&5
10473
-echo "$as_me: creating $ac_file" >&6;}
10476
- # Let's still pretend it is `configure' which instantiates (i.e., don't
10477
- # use $as_me), people would be surprised to read:
10478
- # /* config.h. Generated by config.status. */
10479
- if test x"$ac_file" = x-; then
10482
- configure_input="$ac_file. "
10484
- configure_input=$configure_input"Generated from `echo $ac_file_in |
10485
- sed 's,.*/,,'` by configure."
10487
- # First look for the input files in the build tree, otherwise in the
10489
- ac_file_inputs=`IFS=:
10490
- for f in $ac_file_in; do
10492
- -) echo $tmp/stdin ;;
10494
- # Absolute (can't be DOS-style, as IFS=:)
10495
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10496
-echo "$as_me: error: cannot find input file: $f" >&2;}
10497
- { (exit 1); exit 1; }; }
10500
- if test -f "$f"; then
10503
- elif test -f "$srcdir/$f"; then
10508
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10509
-echo "$as_me: error: cannot find input file: $f" >&2;}
10510
- { (exit 1); exit 1; }; }
10513
- done` || { (exit 1); exit 1; }
10514
+cat >>$CONFIG_STATUS <<\_ACEOF
10515
+# If the template does not know about datarootdir, expand it.
10516
+# FIXME: This hack should be removed a few years after 2.60.
10517
+ac_datarootdir_hack=; ac_datarootdir_seen=
10519
+case `sed -n '/datarootdir/ {
10528
+' $ac_file_inputs` in
10529
+*datarootdir*) ac_datarootdir_seen=yes;;
10530
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10531
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10532
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10534
cat >>$CONFIG_STATUS <<_ACEOF
10535
+ ac_datarootdir_hack='
10536
+ s&@datadir@&$datadir&g
10537
+ s&@docdir@&$docdir&g
10538
+ s&@infodir@&$infodir&g
10539
+ s&@localedir@&$localedir&g
10540
+ s&@mandir@&$mandir&g
10541
+ s&\\\${datarootdir}&$datarootdir&g' ;;
10545
+# Neutralize VPATH when `$srcdir' = `.'.
10546
+# Shell code in configure.ac might set extrasub.
10547
+# FIXME: do we really want to maintain this feature?
10548
+cat >>$CONFIG_STATUS <<_ACEOF
10552
cat >>$CONFIG_STATUS <<\_ACEOF
10554
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10555
-s,@configure_input@,$configure_input,;t t
10556
-s,@srcdir@,$ac_srcdir,;t t
10557
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
10558
-s,@top_srcdir@,$ac_top_srcdir,;t t
10559
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10560
-s,@builddir@,$ac_builddir,;t t
10561
-s,@abs_builddir@,$ac_abs_builddir,;t t
10562
-s,@top_builddir@,$ac_top_builddir,;t t
10563
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10564
-s,@INSTALL@,$ac_INSTALL,;t t
10565
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10567
- if test x"$ac_file" != x-; then
10568
- mv $tmp/out $ac_file
10576
-cat >>$CONFIG_STATUS <<\_ACEOF
10579
-# CONFIG_HEADER section.
10582
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10583
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
10585
-# ac_d sets the value in "#define NAME VALUE" lines.
10586
-ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10587
-ac_dB='[ ].*$,\1#\2'
10590
-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10591
-ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10592
-ac_uB='$,\1#\2define\3'
10595
+s&@configure_input@&$configure_input&;t t
10596
+s&@top_builddir@&$ac_top_builddir_sub&;t t
10597
+s&@srcdir@&$ac_srcdir&;t t
10598
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
10599
+s&@top_srcdir@&$ac_top_srcdir&;t t
10600
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10601
+s&@builddir@&$ac_builddir&;t t
10602
+s&@abs_builddir@&$ac_abs_builddir&;t t
10603
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10604
+s&@INSTALL@&$ac_INSTALL&;t t
10605
+$ac_datarootdir_hack
10606
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
10608
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10609
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10610
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10611
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10612
+which seems to be undefined. Please make sure it is defined." >&5
10613
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10614
+which seems to be undefined. Please make sure it is defined." >&2;}
10616
-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10617
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10618
+ rm -f "$tmp/stdin"
10620
- - | *:- | *:-:* ) # input from stdin
10622
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10623
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10624
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10625
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10626
- * ) ac_file_in=$ac_file.in ;;
10627
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
10628
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10637
+# Transform confdefs.h into a sed script `conftest.defines', that
10638
+# substitutes the proper values into config.h.in to produce config.h.
10639
+rm -f conftest.defines conftest.tail
10640
+# First, append a space to every undef/define line, to ease matching.
10641
+echo 's/$/ /' >conftest.defines
10642
+# Then, protect against being on the right side of a sed subst, or in
10643
+# an unquoted here document, in config.status. If some macros were
10644
+# called several times there might be several #defines for the same
10645
+# symbol, which is useless. But do not sort them, since the last
10646
+# AC_DEFINE must be honored.
10647
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10648
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10649
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
10650
+# PARAMS is the parameter list in the macro definition--in most cases, it's
10651
+# just an empty string.
10652
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10653
+ac_dB='\\)[ (].*,\\1define\\2'
10657
- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10658
-echo "$as_me: creating $ac_file" >&6;}
10660
- # First look for the input files in the build tree, otherwise in the
10662
- ac_file_inputs=`IFS=:
10663
- for f in $ac_file_in; do
10665
- -) echo $tmp/stdin ;;
10667
- # Absolute (can't be DOS-style, as IFS=:)
10668
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10669
-echo "$as_me: error: cannot find input file: $f" >&2;}
10670
- { (exit 1); exit 1; }; }
10673
- if test -f "$f"; then
10676
- elif test -f "$srcdir/$f"; then
10681
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10682
-echo "$as_me: error: cannot find input file: $f" >&2;}
10683
- { (exit 1); exit 1; }; }
10686
- done` || { (exit 1); exit 1; }
10687
- # Remove the trailing spaces.
10688
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10692
-# Transform confdefs.h into two sed scripts, `conftest.defines' and
10693
-# `conftest.undefs', that substitutes the proper values into
10694
-# config.h.in to produce config.h. The first handles `#define'
10695
-# templates, and the second `#undef' templates.
10696
-# And first: Protect against being on the right side of a sed subst in
10697
-# config.status. Protect against being in an unquoted here document
10698
-# in config.status.
10699
-rm -f conftest.defines conftest.undefs
10700
-# Using a here document instead of a string reduces the quoting nightmare.
10701
-# Putting comments in sed scripts is not portable.
10703
-# `end' is used to avoid that the second main sed command (meant for
10704
-# 0-ary CPP macros) applies to n-ary macro definitions.
10705
-# See the Autoconf documentation for `clear'.
10706
-cat >confdef2sed.sed <<\_ACEOF
10711
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10713
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10716
-# If some macros were called several times there might be several times
10717
-# the same #defines, which is useless. Nevertheless, we may not want to
10718
-# sort them, since we want the *last* AC-DEFINE to be honored.
10719
-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10720
-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10721
-rm -f confdef2sed.sed
10726
+ s/^[ ]*#[ ]*define[ ][ ]*//
10731
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10732
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10733
+ ' >>conftest.defines
10735
-# This sed command replaces #undef with comments. This is necessary, for
10736
+# Remove the space that was appended to ease matching.
10737
+# Then replace #undef with comments. This is necessary, for
10738
# example, in the case of _POSIX_SOURCE, which is predefined and required
10739
# on some systems where configure will not decide to define it.
10740
-cat >>conftest.undefs <<\_ACEOF
10741
-s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10743
+# (The regexp can be short, since the line contains either #define or #undef.)
10745
+s,^[ #]*u.*,/* & */,' >>conftest.defines
10747
+# Break up conftest.defines:
10748
+ac_max_sed_lines=50
10750
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10751
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10752
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10754
+ac_in='$ac_file_inputs'
10755
+ac_out='"$tmp/out1"'
10756
+ac_nxt='"$tmp/out2"'
10758
-# Break up conftest.defines because some shells have a limit on the size
10759
-# of here documents, and old seds have small limits too (100 cmds).
10760
-echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10761
-echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10762
-echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10763
-echo ' :' >>$CONFIG_STATUS
10764
-rm -f conftest.tail
10765
-while grep . conftest.defines >/dev/null
10768
- # Write a limited-size here document to $tmp/defines.sed.
10769
- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10770
- # Speed up: don't consider the non `#define' lines.
10771
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10772
- # Work around the forget-to-reset-the-flag bug.
10773
- echo 't clr' >>$CONFIG_STATUS
10774
- echo ': clr' >>$CONFIG_STATUS
10775
- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10776
+ # Write a here document:
10777
+ cat >>$CONFIG_STATUS <<_ACEOF
10778
+ # First, check the format of the line:
10779
+ cat >"\$tmp/defines.sed" <<\\CEOF
10780
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
10781
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
10785
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
10787
- sed -f $tmp/defines.sed $tmp/in >$tmp/out
10789
- mv $tmp/out $tmp/in
10790
-' >>$CONFIG_STATUS
10791
- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10792
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
10793
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
10794
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
10795
+ grep . conftest.tail >/dev/null || break
10796
rm -f conftest.defines
10797
mv conftest.tail conftest.defines
10799
-rm -f conftest.defines
10800
-echo ' fi # grep' >>$CONFIG_STATUS
10801
-echo >>$CONFIG_STATUS
10803
-# Break up conftest.undefs because some shells have a limit on the size
10804
-# of here documents, and old seds have small limits too (100 cmds).
10805
-echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10806
-rm -f conftest.tail
10807
-while grep . conftest.undefs >/dev/null
10809
- # Write a limited-size here document to $tmp/undefs.sed.
10810
- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10811
- # Speed up: don't consider the non `#undef'
10812
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10813
- # Work around the forget-to-reset-the-flag bug.
10814
- echo 't clr' >>$CONFIG_STATUS
10815
- echo ': clr' >>$CONFIG_STATUS
10816
- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10818
- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10820
- mv $tmp/out $tmp/in
10821
-' >>$CONFIG_STATUS
10822
- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10823
- rm -f conftest.undefs
10824
- mv conftest.tail conftest.undefs
10826
-rm -f conftest.undefs
10827
+rm -f conftest.defines conftest.tail
10829
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
10830
cat >>$CONFIG_STATUS <<\_ACEOF
10831
- # Let's still pretend it is `configure' which instantiates (i.e., don't
10832
- # use $as_me), people would be surprised to read:
10833
- # /* config.h. Generated by config.status. */
10834
- if test x"$ac_file" = x-; then
10835
- echo "/* Generated by configure. */" >$tmp/config.h
10837
- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10839
- cat $tmp/in >>$tmp/config.h
10841
if test x"$ac_file" != x-; then
10842
- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10843
+ echo "/* $configure_input */" >"$tmp/config.h"
10844
+ cat "$ac_result" >>"$tmp/config.h"
10845
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10846
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10847
echo "$as_me: $ac_file is unchanged" >&6;}
10849
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10850
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10851
- X"$ac_file" : 'X\(//\)[^/]' \| \
10852
- X"$ac_file" : 'X\(//\)$' \| \
10853
- X"$ac_file" : 'X\(/\)' \| \
10854
- . : '\(.\)' 2>/dev/null ||
10855
-echo X"$ac_file" |
10856
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10857
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10858
- /^X\(\/\/\)$/{ s//\1/; q; }
10859
- /^X\(\/\).*/{ s//\1/; q; }
10861
- { if $as_mkdir_p; then
10862
- mkdir -p "$ac_dir"
10866
- while test ! -d "$as_dir"; do
10867
- as_dirs="$as_dir $as_dirs"
10868
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
10869
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10870
- X"$as_dir" : 'X\(//\)[^/]' \| \
10871
- X"$as_dir" : 'X\(//\)$' \| \
10872
- X"$as_dir" : 'X\(/\)' \| \
10873
- . : '\(.\)' 2>/dev/null ||
10875
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10876
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10877
- /^X\(\/\/\)$/{ s//\1/; q; }
10878
- /^X\(\/\).*/{ s//\1/; q; }
10881
- test ! -n "$as_dirs" || mkdir $as_dirs
10882
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10883
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10884
- { (exit 1); exit 1; }; }; }
10887
- mv $tmp/config.h $ac_file
10888
+ mv "$tmp/config.h" $ac_file
10891
- cat $tmp/config.h
10892
- rm -f $tmp/config.h
10893
+ echo "/* $configure_input */"
10898
-cat >>$CONFIG_STATUS <<\_ACEOF
10899
+ rm -f "$tmp/out12"
10903
-# CONFIG_COMMANDS section.
10905
-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10906
- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10907
- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10908
- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10909
-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10910
- X"$ac_dest" : 'X\(//\)[^/]' \| \
10911
- X"$ac_dest" : 'X\(//\)$' \| \
10912
- X"$ac_dest" : 'X\(/\)' \| \
10913
- . : '\(.\)' 2>/dev/null ||
10914
-echo X"$ac_dest" |
10915
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10916
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10917
- /^X\(\/\/\)$/{ s//\1/; q; }
10918
- /^X\(\/\).*/{ s//\1/; q; }
10921
+ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10922
+echo "$as_me: executing $ac_file commands" >&6;}
10926
-if test "$ac_dir" != .; then
10927
- ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10928
- # A "../" for each directory in $ac_dir_suffix.
10929
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10931
- ac_dir_suffix= ac_top_builddir=
10935
- .) # No --srcdir option. We are building in place.
10937
- if test -z "$ac_top_builddir"; then
10940
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10942
- [\\/]* | ?:[\\/]* ) # Absolute path.
10943
- ac_srcdir=$srcdir$ac_dir_suffix;
10944
- ac_top_srcdir=$srcdir ;;
10945
- *) # Relative path.
10946
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10947
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
10949
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10951
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10952
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10953
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10954
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10957
- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10958
-echo "$as_me: executing $ac_dest commands" >&6;}
10961
+ case $ac_file$ac_mode in
10963
# a hook for preserving undef directive in config.h
10964
mv config.h conftest
10965
sed -e 's@^\(.*\)defin.\( .*\) .*/\*\(.*KEEP_UNDEF_HERE\)@\1undef\2 /\*\3@' < conftest > config.h
10974
-cat >>$CONFIG_STATUS <<\_ACEOF
10976
{ (exit 0); exit 0; }