1
#!/bin/sh /usr/share/dpatch/dpatch-run
2
## 04-autoconf.dpatch by Petr Salinger <Petr.Salinger@seznam.cz>
4
## DP: rerun autoconf for support for GNU/kFreeBSD.
8
diff -Naur cdparanoia-III-10pre0+debian.orig/configure cdparanoia-III-10pre0+debian/configure
9
--- cdparanoia-III-10pre0+debian.orig/configure 2006-08-16 18:02:25.000000000 +0000
10
+++ cdparanoia-III-10pre0+debian/configure 2006-11-17 17:43:51.000000000 +0000
13
# Guess values for system-dependent variables and create Makefiles.
14
-# Generated by GNU Autoconf 2.59.
15
+# Generated by GNU Autoconf 2.60a.
17
-# Copyright (C) 2003 Free Software Foundation, Inc.
18
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
19
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
20
# This configure script is free software; the Free Software Foundation
21
# gives unlimited permission to copy, distribute and modify it.
22
## --------------------- ##
24
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
27
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
29
+ setopt NO_GLOB_SUBST
31
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
33
+BIN_SH=xpg4; export BIN_SH # for Tru64
34
DUALCASE=1; export DUALCASE # for MKS sh
38
+# Avoid depending upon Character Ranges.
39
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42
+as_cr_digits='0123456789'
43
+as_cr_alnum=$as_cr_Letters$as_cr_digits
45
+# The user is always right.
46
+if test "${PATH_SEPARATOR+set}" != set; then
47
+ echo "#! /bin/sh" >conf$$.sh
48
+ echo "exit 0" >>conf$$.sh
50
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
58
# Support unset when possible.
59
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
66
+# We need space, tab and new line, in precisely that order. Quoting is
67
+# there to prevent editors from complaining about space-tab.
68
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
69
+# splitting by setting IFS to empty value.)
74
+# Find who we are. Look in the path if we contain no directory separator.
76
+ *[\\/]* ) as_myself=$0 ;;
77
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81
+ test -z "$as_dir" && as_dir=.
82
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88
+# We did not find ourselves, most probably we were run as `sh COMMAND'
89
+# in which case we are not to be found in the path.
90
+if test "x$as_myself" = x; then
93
+if test ! -f "$as_myself"; then
94
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95
+ { (exit 1); exit 1; }
98
# Work around bugs in pre-3.0 UWIN ksh.
99
-$as_unset ENV MAIL MAILPATH
100
+for as_var in ENV MAIL MAILPATH
101
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108
eval $as_var=C; export $as_var
111
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
-if expr a : '\(a\)' >/dev/null 2>&1; then
117
+if expr a : '\(a\)' >/dev/null 2>&1 &&
118
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
124
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
125
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129
@@ -63,157 +124,386 @@
132
# Name of the executable.
133
-as_me=`$as_basename "$0" ||
134
+as_me=`$as_basename -- "$0" ||
135
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136
X"$0" : 'X\(//\)$' \| \
137
- X"$0" : 'X\(/\)$' \| \
138
- . : '\(.\)' 2>/dev/null ||
139
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
141
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
142
- /^X\/\(\/\/\)$/{ s//\1/; q; }
143
- /^X\/\(\/\).*/{ s//\1/; q; }
145
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
162
-# PATH needs CR, and LINENO needs CR and PATH.
163
-# Avoid depending upon Character Ranges.
164
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
165
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
166
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
167
-as_cr_digits='0123456789'
168
-as_cr_alnum=$as_cr_Letters$as_cr_digits
170
-# The user is always right.
171
-if test "${PATH_SEPARATOR+set}" != set; then
172
- echo "#! /bin/sh" >conf$$.sh
173
- echo "exit 0" >>conf$$.sh
175
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
181
+if test "x$CONFIG_SHELL" = x; then
182
+ if (eval ":") 2>/dev/null; then
183
+ as_have_required=yes
185
+ as_have_required=no
188
+ if test $as_have_required = yes && (eval ":
189
+(as_func_return () {
192
+as_func_success () {
195
+as_func_failure () {
198
+as_func_ret_success () {
201
+as_func_ret_failure () {
205
- as_lineno_1=$LINENO
206
- as_lineno_2=$LINENO
207
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
208
- test "x$as_lineno_1" != "x$as_lineno_2" &&
209
- test "x$as_lineno_3" = "x$as_lineno_2" || {
210
- # Find who we are. Look in the path if we contain no path at all
213
- *[\\/]* ) as_myself=$0 ;;
214
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218
- test -z "$as_dir" && as_dir=.
219
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
222
+if as_func_success; then
226
+ echo as_func_success failed.
231
- # We did not find ourselves, most probably we were run as `sh COMMAND'
232
- # in which case we are not to be found in the path.
233
- if test "x$as_myself" = x; then
236
- if test ! -f "$as_myself"; then
237
- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
238
- { (exit 1); exit 1; }; }
240
- case $CONFIG_SHELL in
242
+if as_func_failure; then
244
+ echo as_func_failure succeeded.
247
+if as_func_ret_success; then
251
+ echo as_func_ret_success failed.
254
+if as_func_ret_failure; then
256
+ echo as_func_ret_failure succeeded.
259
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
263
+ echo positional parameters were not saved.
266
+test \$exitcode = 0) || { (exit 1); exit 1; }
269
+ as_lineno_1=\$LINENO
270
+ as_lineno_2=\$LINENO
271
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
272
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
273
+") 2> /dev/null; then
276
+ as_candidate_shells=
277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
278
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
279
+for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
282
test -z "$as_dir" && as_dir=.
283
- for as_base in sh bash ksh sh5; do
287
- if ("$as_dir/$as_base" -c '
288
+ for as_base in sh bash ksh sh5; do
289
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
296
+ for as_shell in $as_candidate_shells $SHELL; do
297
+ # Try only shells that exist, to save several forks.
298
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
299
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
300
+# Be Bourne compatible
301
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
304
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
305
+ # is contrary to our usage. Disable this feature.
306
+ alias -g '${1+"$@"}'='"$@"'
307
+ setopt NO_GLOB_SUBST
309
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
311
+BIN_SH=xpg4; export BIN_SH # for Tru64
312
+DUALCASE=1; export DUALCASE # for MKS sh
317
+ CONFIG_SHELL=$as_shell
318
+ as_have_required=yes
319
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
320
+# Be Bourne compatible
321
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
324
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
325
+ # is contrary to our usage. Disable this feature.
326
+ alias -g '${1+"$@"}'='"$@"'
327
+ setopt NO_GLOB_SUBST
329
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
331
+BIN_SH=xpg4; export BIN_SH # for Tru64
332
+DUALCASE=1; export DUALCASE # for MKS sh
335
+(as_func_return () {
338
+as_func_success () {
341
+as_func_failure () {
344
+as_func_ret_success () {
347
+as_func_ret_failure () {
352
+if as_func_success; then
356
+ echo as_func_success failed.
359
+if as_func_failure; then
361
+ echo as_func_failure succeeded.
364
+if as_func_ret_success; then
368
+ echo as_func_ret_success failed.
371
+if as_func_ret_failure; then
373
+ echo as_func_ret_failure succeeded.
376
+if ( set x; as_func_ret_success y && test x = "$1" ); then
380
+ echo positional parameters were not saved.
383
+test $exitcode = 0) || { (exit 1); exit 1; }
388
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
389
test "x$as_lineno_1" != "x$as_lineno_2" &&
390
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
391
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
392
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
393
- CONFIG_SHELL=$as_dir/$as_base
394
- export CONFIG_SHELL
395
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
402
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
413
+ if test "x$CONFIG_SHELL" != x; then
414
+ for as_var in BASH_ENV ENV
415
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
417
+ export CONFIG_SHELL
418
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
422
+ if test $as_have_required = no; then
423
+ echo This script requires a shell more modern than all the
424
+ echo shells that I found on your system. Please install a
425
+ echo modern shell, or manually run the script under such a
426
+ echo shell if you do have one.
427
+ { (exit 1); exit 1; }
437
+(eval "as_func_return () {
440
+as_func_success () {
443
+as_func_failure () {
446
+as_func_ret_success () {
449
+as_func_ret_failure () {
454
+if as_func_success; then
458
+ echo as_func_success failed.
461
+if as_func_failure; then
463
+ echo as_func_failure succeeded.
466
+if as_func_ret_success; then
470
+ echo as_func_ret_success failed.
473
+if as_func_ret_failure; then
475
+ echo as_func_ret_failure succeeded.
478
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
482
+ echo positional parameters were not saved.
485
+test \$exitcode = 0") || {
486
+ echo No shell found that supports shell functions.
487
+ echo Please tell autoconf@gnu.org about your system,
488
+ echo including any error possibly output before this
494
+ as_lineno_1=$LINENO
495
+ as_lineno_2=$LINENO
496
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
497
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
499
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
500
# uniformly replaced by the line number. The first 'sed' inserts a
501
- # line-number line before each line; the second 'sed' does the real
502
- # work. The second script uses 'N' to pair each line-number line
503
- # with the numbered line, and appends trailing '-' during
504
- # substitution so that $LINENO is not a special case at line end.
505
+ # line-number line after each line using $LINENO; the second 'sed'
506
+ # does the real work. The second script uses 'N' to pair each
507
+ # line-number line with the line containing $LINENO, and appends
508
+ # trailing '-' during substitution so that $LINENO is not a special
509
+ # case at line end.
510
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
511
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
512
- sed '=' <$as_myself |
513
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
514
+ # E. McMahon (1931-1989) for sed's syntax. :-)
527
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
529
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
532
- s,^['$as_cr_digits']*\n,,
535
- chmod +x $as_me.lineno ||
536
+ chmod +x "$as_me.lineno" ||
537
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
538
{ (exit 1); exit 1; }; }
540
# Don't try to exec as it changes $[0], causing all sort of problems
541
# (the dirname of $[0] is not the place where we might find the
542
- # original and so on. Autoconf is especially sensible to this).
544
+ # original and so on. Autoconf is especially sensitive to this).
545
+ . "./$as_me.lineno"
546
# Exit status is that of the last command.
551
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
552
- *c*,-n*) ECHO_N= ECHO_C='
554
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
555
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
556
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
562
+ECHO_C= ECHO_N= ECHO_T=
565
+ case `echo 'x\c'` in
566
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
573
-if expr a : '\(a\)' >/dev/null 2>&1; then
574
+if expr a : '\(a\)' >/dev/null 2>&1 &&
575
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
581
rm -f conf$$ conf$$.exe conf$$.file
582
+if test -d conf$$.dir; then
583
+ rm -f conf$$.dir/conf$$.file
589
if ln -s conf$$.file conf$$ 2>/dev/null; then
590
- # We could just check for DJGPP; but this test a) works b) is more generic
591
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
592
- if test -f conf$$.exe; then
593
- # Don't use ln at all; we don't have any links
595
+ # ... but there are two gotchas:
596
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
597
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
598
+ # In both cases, we have to default to `cp -p'.
599
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
604
elif ln conf$$.file conf$$ 2>/dev/null; then
609
-rm -f conf$$ conf$$.exe conf$$.file
610
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
611
+rmdir conf$$.dir 2>/dev/null
613
if mkdir -p . 2>/dev/null; then
619
-as_executable_p="test -f"
620
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
621
+# systems may use methods other than mode bits to determine executability.
622
+cat >conf$$.file <<_ASEOF
626
+chmod +x conf$$.file
627
+if test -x conf$$.file >/dev/null 2>&1; then
628
+ as_executable_p="test -x"
634
# Sed expression to map a string onto a valid CPP name.
635
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
636
@@ -231,39 +533,27 @@
637
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
641
-# We need space, tab and new line, in precisely that order.
649
+exec 7<&0 </dev/null 6>&1
652
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
653
# so uname gets run too.
654
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
661
ac_default_prefix=/usr/local
663
ac_config_libobj_dir=.
669
SHELL=${CONFIG_SHELL-/bin/sh}
671
-# Maximum number of lines to put in a shell here document.
672
-# This variable seems obsolete. It should probably be removed, and
673
-# only ac_max_sed_lines should be used.
674
-: ${ac_max_here_lines=38}
676
# Identity of this package.
679
@@ -275,42 +565,116 @@
680
# Factoring default headers for most tests.
681
ac_includes_default="\
683
-#if HAVE_SYS_TYPES_H
684
+#ifdef HAVE_SYS_TYPES_H
685
# include <sys/types.h>
688
+#ifdef HAVE_SYS_STAT_H
689
# include <sys/stat.h>
697
+# ifdef HAVE_STDLIB_H
702
-# if !STDC_HEADERS && HAVE_MEMORY_H
703
+#ifdef HAVE_STRING_H
704
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
710
+#ifdef HAVE_STRINGS_H
711
# include <strings.h>
714
+#ifdef HAVE_INTTYPES_H
715
# include <inttypes.h>
718
-# include <stdint.h>
722
+#ifdef HAVE_STDINT_H
723
+# include <stdint.h>
725
+#ifdef HAVE_UNISTD_H
729
-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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB AR INSTALL CPP EGREP SET_MAKE SBPCD_H UCDROM_H TYPESIZES OPT DEBUG LIBOBJS LTLIBOBJS'
730
+ac_subst_vars='SHELL
739
+program_transform_name
798
+ ac_precious_vars='build_alias
808
# Initialize some variables set by options.
810
@@ -337,34 +701,48 @@
811
# and all the variables that are supposed to be based on exec_prefix
812
# by default will actually change.
813
# Use braces instead of parens because sh, perl, etc. also accept them.
814
+# (The list follows the same order as the GNU Coding Standards.)
815
bindir='${exec_prefix}/bin'
816
sbindir='${exec_prefix}/sbin'
817
libexecdir='${exec_prefix}/libexec'
818
-datadir='${prefix}/share'
819
+datarootdir='${prefix}/share'
820
+datadir='${datarootdir}'
821
sysconfdir='${prefix}/etc'
822
sharedstatedir='${prefix}/com'
823
localstatedir='${prefix}/var'
824
-libdir='${exec_prefix}/lib'
825
includedir='${prefix}/include'
826
oldincludedir='/usr/include'
827
-infodir='${prefix}/info'
828
-mandir='${prefix}/man'
829
+docdir='${datarootdir}/doc/${PACKAGE}'
830
+infodir='${datarootdir}/info'
835
+libdir='${exec_prefix}/lib'
836
+localedir='${datarootdir}/locale'
837
+mandir='${datarootdir}/man'
843
# If the previous option needs an argument, assign it.
844
if test -n "$ac_prev"; then
845
- eval "$ac_prev=\$ac_option"
846
+ eval $ac_prev=\$ac_option
851
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
853
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854
+ *) ac_optarg=yes ;;
857
# Accept the important Cygnus configure options, so we can diagnose typos.
860
+ case $ac_dashdash$ac_option in
864
-bindir | --bindir | --bindi | --bind | --bin | --bi)
866
@@ -386,12 +764,18 @@
868
cache_file=config.cache ;;
870
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
871
+ -datadir | --datadir | --datadi | --datad)
873
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
875
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
876
datadir=$ac_optarg ;;
878
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879
+ | --dataroo | --dataro | --datar)
880
+ ac_prev=datarootdir ;;
881
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883
+ datarootdir=$ac_optarg ;;
885
-disable-* | --disable-*)
886
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887
# Reject names that are not valid shell variable names.
889
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
890
{ (exit 1); exit 1; }; }
891
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
892
- eval "enable_$ac_feature=no" ;;
893
+ eval enable_$ac_feature=no ;;
895
+ -docdir | --docdir | --docdi | --doc | --do)
897
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
898
+ docdir=$ac_optarg ;;
900
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
903
+ dvidir=$ac_optarg ;;
905
-enable-* | --enable-*)
906
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
909
{ (exit 1); exit 1; }; }
910
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
912
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
913
- *) ac_optarg=yes ;;
915
- eval "enable_$ac_feature='$ac_optarg'" ;;
916
+ eval enable_$ac_feature=\$ac_optarg ;;
918
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921
-host=* | --host=* | --hos=* | --ho=*)
922
host_alias=$ac_optarg ;;
924
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
926
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
928
+ htmldir=$ac_optarg ;;
930
-includedir | --includedir | --includedi | --included | --include \
931
| --includ | --inclu | --incl | --inc)
932
ac_prev=includedir ;;
933
@@ -463,13 +859,16 @@
934
| --libexe=* | --libex=* | --libe=*)
935
libexecdir=$ac_optarg ;;
937
+ -localedir | --localedir | --localedi | --localed | --locale)
938
+ ac_prev=localedir ;;
939
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
940
+ localedir=$ac_optarg ;;
942
-localstatedir | --localstatedir | --localstatedi | --localstated \
943
- | --localstate | --localstat | --localsta | --localst \
944
- | --locals | --local | --loca | --loc | --lo)
945
+ | --localstate | --localstat | --localsta | --localst | --locals)
946
ac_prev=localstatedir ;;
947
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
948
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
949
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
950
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
951
localstatedir=$ac_optarg ;;
953
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955
| --progr-tra=* | --program-tr=* | --program-t=*)
956
program_transform_name=$ac_optarg ;;
958
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
960
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
961
+ pdfdir=$ac_optarg ;;
963
+ -psdir | --psdir | --psdi | --psd | --ps)
965
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
966
+ psdir=$ac_optarg ;;
968
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
969
| -silent | --silent | --silen | --sile | --sil)
972
{ echo "$as_me: error: invalid package name: $ac_package" >&2
973
{ (exit 1); exit 1; }; }
974
ac_package=`echo $ac_package| sed 's/-/_/g'`
976
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
977
- *) ac_optarg=yes ;;
979
- eval "with_$ac_package='$ac_optarg'" ;;
980
+ eval with_$ac_package=\$ac_optarg ;;
982
-without-* | --without-*)
983
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
985
{ echo "$as_me: error: invalid package name: $ac_package" >&2
986
{ (exit 1); exit 1; }; }
987
ac_package=`echo $ac_package | sed 's/-/_/g'`
988
- eval "with_$ac_package=no" ;;
989
+ eval with_$ac_package=no ;;
992
# Obsolete; use --with-x.
994
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
995
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
996
{ (exit 1); exit 1; }; }
997
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
998
- eval "$ac_envvar='$ac_optarg'"
999
+ eval $ac_envvar=\$ac_optarg
1000
export $ac_envvar ;;
1003
@@ -655,27 +1059,19 @@
1004
{ (exit 1); exit 1; }; }
1007
-# Be sure to have absolute paths.
1008
-for ac_var in exec_prefix prefix
1010
- eval ac_val=$`echo $ac_var`
1012
- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1013
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1014
- { (exit 1); exit 1; }; };;
1018
-# Be sure to have absolute paths.
1019
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1020
- localstatedir libdir includedir oldincludedir infodir mandir
1021
+# Be sure to have absolute directory names.
1022
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1023
+ datadir sysconfdir sharedstatedir localstatedir includedir \
1024
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1025
+ libdir localedir mandir
1027
- eval ac_val=$`echo $ac_var`
1028
+ eval ac_val=\$$ac_var
1030
- [\\/$]* | ?:[\\/]* ) ;;
1031
- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1032
- { (exit 1); exit 1; }; };;
1033
+ [\\/$]* | ?:[\\/]* ) continue;;
1034
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1036
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1037
+ { (exit 1); exit 1; }; }
1040
# There might be people who depend on the old broken behavior: `$host'
1041
@@ -702,74 +1098,76 @@
1042
test "$silent" = yes && exec 6>/dev/null
1045
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1046
+ac_ls_di=`ls -di .` &&
1047
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1048
+ { echo "$as_me: error: Working directory cannot be determined" >&2
1049
+ { (exit 1); exit 1; }; }
1050
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1051
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1052
+ { (exit 1); exit 1; }; }
1055
# Find the source files, if location was not specified.
1056
if test -z "$srcdir"; then
1057
ac_srcdir_defaulted=yes
1058
- # Try the directory containing this script, then its parent.
1059
- ac_confdir=`(dirname "$0") 2>/dev/null ||
1060
+ # Try the directory containing this script, then the parent directory.
1061
+ ac_confdir=`$as_dirname -- "$0" ||
1062
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1063
X"$0" : 'X\(//\)[^/]' \| \
1064
X"$0" : 'X\(//\)$' \| \
1065
- X"$0" : 'X\(/\)' \| \
1066
- . : '\(.\)' 2>/dev/null ||
1067
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1069
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1070
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1071
- /^X\(\/\/\)$/{ s//\1/; q; }
1072
- /^X\(\/\).*/{ s//\1/; q; }
1074
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1078
+ /^X\(\/\/\)[^/].*/{
1092
- if test ! -r $srcdir/$ac_unique_file; then
1093
+ if test ! -r "$srcdir/$ac_unique_file"; then
1097
ac_srcdir_defaulted=no
1099
-if test ! -r $srcdir/$ac_unique_file; then
1100
- if test "$ac_srcdir_defaulted" = yes; then
1101
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1102
+if test ! -r "$srcdir/$ac_unique_file"; then
1103
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1104
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1105
{ (exit 1); exit 1; }; }
1107
- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1108
- { (exit 1); exit 1; }; }
1111
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1112
- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1113
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1115
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1116
{ (exit 1); exit 1; }; }
1117
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1118
-ac_env_build_alias_set=${build_alias+set}
1119
-ac_env_build_alias_value=$build_alias
1120
-ac_cv_env_build_alias_set=${build_alias+set}
1121
-ac_cv_env_build_alias_value=$build_alias
1122
-ac_env_host_alias_set=${host_alias+set}
1123
-ac_env_host_alias_value=$host_alias
1124
-ac_cv_env_host_alias_set=${host_alias+set}
1125
-ac_cv_env_host_alias_value=$host_alias
1126
-ac_env_target_alias_set=${target_alias+set}
1127
-ac_env_target_alias_value=$target_alias
1128
-ac_cv_env_target_alias_set=${target_alias+set}
1129
-ac_cv_env_target_alias_value=$target_alias
1130
-ac_env_CC_set=${CC+set}
1131
-ac_env_CC_value=$CC
1132
-ac_cv_env_CC_set=${CC+set}
1133
-ac_cv_env_CC_value=$CC
1134
-ac_env_CFLAGS_set=${CFLAGS+set}
1135
-ac_env_CFLAGS_value=$CFLAGS
1136
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
1137
-ac_cv_env_CFLAGS_value=$CFLAGS
1138
-ac_env_LDFLAGS_set=${LDFLAGS+set}
1139
-ac_env_LDFLAGS_value=$LDFLAGS
1140
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1141
-ac_cv_env_LDFLAGS_value=$LDFLAGS
1142
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1143
-ac_env_CPPFLAGS_value=$CPPFLAGS
1144
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1145
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1146
-ac_env_CPP_set=${CPP+set}
1147
-ac_env_CPP_value=$CPP
1148
-ac_cv_env_CPP_set=${CPP+set}
1149
-ac_cv_env_CPP_value=$CPP
1151
+# When building in place, set srcdir=.
1152
+if test "$ac_abs_confdir" = "$ac_pwd"; then
1155
+# Remove unnecessary trailing slashes from srcdir.
1156
+# Double slashes in file names in object file debugging info
1157
+# mess up M-x gdb in Emacs.
1159
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1161
+for ac_var in $ac_precious_vars; do
1162
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1163
+ eval ac_env_${ac_var}_value=\$${ac_var}
1164
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1165
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1169
# Report the --help message.
1170
@@ -798,9 +1196,6 @@
1171
-n, --no-create do not create output files
1172
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1177
Installation directories:
1178
--prefix=PREFIX install architecture-independent files in PREFIX
1179
[$ac_default_prefix]
1180
@@ -818,15 +1213,22 @@
1181
--bindir=DIR user executables [EPREFIX/bin]
1182
--sbindir=DIR system admin executables [EPREFIX/sbin]
1183
--libexecdir=DIR program executables [EPREFIX/libexec]
1184
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
1185
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1186
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1187
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1188
--libdir=DIR object code libraries [EPREFIX/lib]
1189
--includedir=DIR C header files [PREFIX/include]
1190
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1191
- --infodir=DIR info documentation [PREFIX/info]
1192
- --mandir=DIR man documentation [PREFIX/man]
1193
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1194
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1195
+ --infodir=DIR info documentation [DATAROOTDIR/info]
1196
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1197
+ --mandir=DIR man documentation [DATAROOTDIR/man]
1198
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1199
+ --htmldir=DIR html documentation [DOCDIR]
1200
+ --dvidir=DIR dvi documentation [DOCDIR]
1201
+ --pdfdir=DIR pdf documentation [DOCDIR]
1202
+ --psdir=DIR ps documentation [DOCDIR]
1206
@@ -846,126 +1248,94 @@
1207
CFLAGS C compiler flags
1208
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1209
nonstandard directory <lib dir>
1210
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1211
- headers in a nonstandard directory <include dir>
1212
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1213
+ you have headers in a nonstandard directory <include dir>
1216
Use these variables to override the choices made by `configure' or to help
1217
it to find libraries and programs with nonstandard names/locations.
1223
if test "$ac_init_help" = "recursive"; then
1224
# If there are subdirs, report their specific --help.
1226
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1227
- test -d $ac_dir || continue
1228
+ test -d "$ac_dir" || continue
1231
-if test "$ac_dir" != .; then
1233
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1235
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1236
- # A "../" for each directory in $ac_dir_suffix.
1237
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1239
- ac_dir_suffix= ac_top_builddir=
1241
+ # A ".." for each directory in $ac_dir_suffix.
1242
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1243
+ case $ac_top_builddir_sub in
1244
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1245
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1248
+ac_abs_top_builddir=$ac_pwd
1249
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1250
+# for backward compatibility:
1251
+ac_top_builddir=$ac_top_build_prefix
1254
- .) # No --srcdir option. We are building in place.
1255
+ .) # We are building in place.
1257
- if test -z "$ac_top_builddir"; then
1260
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1262
- [\\/]* | ?:[\\/]* ) # Absolute path.
1263
+ ac_top_srcdir=$ac_top_builddir_sub
1264
+ ac_abs_top_srcdir=$ac_pwd ;;
1265
+ [\\/]* | ?:[\\/]* ) # Absolute name.
1266
ac_srcdir=$srcdir$ac_dir_suffix;
1267
- ac_top_srcdir=$srcdir ;;
1268
- *) # Relative path.
1269
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1270
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1271
+ ac_top_srcdir=$srcdir
1272
+ ac_abs_top_srcdir=$srcdir ;;
1273
+ *) # Relative name.
1274
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1275
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1276
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1278
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1280
-# Do not use `cd foo && pwd` to compute absolute paths, because
1281
-# the directories may not exist.
1283
-.) ac_abs_builddir="$ac_dir";;
1286
- .) ac_abs_builddir=`pwd`;;
1287
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1288
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
1291
-case $ac_abs_builddir in
1292
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
1294
- case ${ac_top_builddir}. in
1295
- .) ac_abs_top_builddir=$ac_abs_builddir;;
1296
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1297
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1300
-case $ac_abs_builddir in
1301
-.) ac_abs_srcdir=$ac_srcdir;;
1303
- case $ac_srcdir in
1304
- .) ac_abs_srcdir=$ac_abs_builddir;;
1305
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1306
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1309
-case $ac_abs_builddir in
1310
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
1312
- case $ac_top_srcdir in
1313
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
1314
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1315
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1320
- # Check for guested configure; otherwise get Cygnus style configure.
1321
- if test -f $ac_srcdir/configure.gnu; then
1323
- $SHELL $ac_srcdir/configure.gnu --help=recursive
1324
- elif test -f $ac_srcdir/configure; then
1326
- $SHELL $ac_srcdir/configure --help=recursive
1327
- elif test -f $ac_srcdir/configure.ac ||
1328
- test -f $ac_srcdir/configure.in; then
1330
- $ac_configure --help
1331
+ cd "$ac_dir" || { ac_status=$?; continue; }
1332
+ # Check for guested configure.
1333
+ if test -f "$ac_srcdir/configure.gnu"; then
1335
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1336
+ elif test -f "$ac_srcdir/configure"; then
1338
+ $SHELL "$ac_srcdir/configure" --help=recursive
1340
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343
+ fi || ac_status=$?
1344
+ cd "$ac_pwd" || { ac_status=$?; break; }
1348
-test -n "$ac_init_help" && exit 0
1349
+test -n "$ac_init_help" && exit $ac_status
1350
if $ac_init_version; then
1353
+generated by GNU Autoconf 2.60a
1355
-Copyright (C) 2003 Free Software Foundation, Inc.
1356
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1357
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1358
This configure script is free software; the Free Software Foundation
1359
gives unlimited permission to copy, distribute and modify it.
1366
+cat >config.log <<_ACEOF
1367
This file contains any messages produced by compilers while
1368
running configure, to aid debugging if configure makes a mistake.
1370
It was created by $as_me, which was
1371
-generated by GNU Autoconf 2.59. Invocation command line was
1372
+generated by GNU Autoconf 2.60a. Invocation command line was
1381
@@ -984,7 +1354,7 @@
1382
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1383
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1384
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1385
-hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1386
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1387
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1388
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1389
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1390
@@ -998,6 +1368,7 @@
1391
test -z "$as_dir" && as_dir=.
1392
echo "PATH: $as_dir"
1398
@@ -1019,7 +1390,6 @@
1403
ac_must_keep_next=false
1406
@@ -1030,7 +1400,7 @@
1407
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1408
| -silent | --silent | --silen | --sile | --sil)
1410
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1412
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1415
@@ -1052,9 +1422,7 @@
1416
-* ) ac_must_keep_next=true ;;
1419
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1420
- # Get rid of the leading space.
1422
+ ac_configure_args="$ac_configure_args '$ac_arg'"
1426
@@ -1065,8 +1433,8 @@
1427
# When interrupted or exit'd, cleanup temporary files, and complete
1428
# config.log. We remove comments because anyway the quotes in there
1429
# would cause problems or look ugly.
1430
-# WARNING: Be sure not to use single quotes in there, as some shells,
1431
-# such as our DU 5.0 friend, will then `close' the trap.
1432
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1433
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1434
trap 'exit_status=$?
1435
# Save into config.log some information that might help in debugging.
1437
@@ -1079,20 +1447,34 @@
1440
# The following way of writing the cache mishandles newlines in values,
1443
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1444
+ eval ac_val=\$$ac_var
1445
+ case $ac_val in #(
1447
+ case $ac_var in #(
1448
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1449
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1451
+ case $ac_var in #(
1452
+ _ | IFS | as_nl) ;; #(
1453
+ *) $as_unset $ac_var ;;
1458
- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1460
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1461
+ *${as_nl}ac_space=\ *)
1463
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1464
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1466
+ "s/'\''/'\''\\\\'\'''\''/g;
1467
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1471
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1472
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1482
@@ -1103,22 +1485,28 @@
1484
for ac_var in $ac_subst_vars
1486
- eval ac_val=$`echo $ac_var`
1487
- echo "$ac_var='"'"'$ac_val'"'"'"
1488
+ eval ac_val=\$$ac_var
1490
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1492
+ echo "$ac_var='\''$ac_val'\''"
1496
if test -n "$ac_subst_files"; then
1498
-## ------------- ##
1499
-## Output files. ##
1500
-## ------------- ##
1501
+## ------------------- ##
1502
+## File substitutions. ##
1503
+## ------------------- ##
1506
for ac_var in $ac_subst_files
1508
- eval ac_val=$`echo $ac_var`
1509
- echo "$ac_var='"'"'$ac_val'"'"'"
1510
+ eval ac_val=\$$ac_var
1512
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1514
+ echo "$ac_var='\''$ac_val'\''"
1518
@@ -1130,26 +1518,24 @@
1522
- sed "/^$/d" confdefs.h | sort
1526
test "$ac_signal" != 0 &&
1527
echo "$as_me: caught signal $ac_signal"
1528
echo "$as_me: exit $exit_status"
1530
- rm -f core *.core &&
1531
- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532
+ rm -f core *.core core.conftest.* &&
1533
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1537
for ac_signal in 1 2 13 15; do
1538
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1542
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1543
-rm -rf conftest* confdefs.h
1544
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1546
+rm -f -r conftest* confdefs.h
1548
# Predefined preprocessor variables.
1550
@@ -1180,14 +1566,17 @@
1552
# Let the site file select an alternate cache file if it wants to.
1553
# Prefer explicitly selected file to automatically selected ones.
1554
-if test -z "$CONFIG_SITE"; then
1555
- if test "x$prefix" != xNONE; then
1556
- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1558
- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1560
+if test -n "$CONFIG_SITE"; then
1561
+ set x "$CONFIG_SITE"
1562
+elif test "x$prefix" != xNONE; then
1563
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
1565
+ set x "$ac_default_prefix/share/config.site" \
1566
+ "$ac_default_prefix/etc/config.site"
1568
-for ac_site_file in $CONFIG_SITE; do
1572
if test -r "$ac_site_file"; then
1573
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1574
echo "$as_me: loading site script $ac_site_file" >&6;}
1575
@@ -1203,8 +1592,8 @@
1576
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1577
echo "$as_me: loading cache $cache_file" >&6;}
1579
- [\\/]* | ?:[\\/]* ) . $cache_file;;
1580
- *) . ./$cache_file;;
1581
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
1582
+ *) . "./$cache_file";;
1586
@@ -1216,12 +1605,11 @@
1587
# Check that the precious variables saved in the cache have kept the same
1589
ac_cache_corrupted=false
1590
-for ac_var in `(set) 2>&1 |
1591
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1592
+for ac_var in $ac_precious_vars; do
1593
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1594
eval ac_new_set=\$ac_env_${ac_var}_set
1595
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1596
- eval ac_new_val="\$ac_env_${ac_var}_value"
1597
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
1598
+ eval ac_new_val=\$ac_env_${ac_var}_value
1599
case $ac_old_set,$ac_new_set in
1601
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1602
@@ -1246,8 +1634,7 @@
1603
# Pass precious variables to config.status.
1604
if test "$ac_new_set" = set; then
1606
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1607
- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1608
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1609
*) ac_arg=$ac_var=$ac_new_val ;;
1611
case " $ac_configure_args " in
1612
@@ -1264,12 +1651,6 @@
1613
{ (exit 1); exit 1; }; }
1617
-ac_cpp='$CPP $CPPFLAGS'
1618
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1619
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1620
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
1625
@@ -1286,6 +1667,11 @@
1630
+ac_cpp='$CPP $CPPFLAGS'
1631
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1632
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1633
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1637
@@ -1293,82 +1679,117 @@
1638
cp $srcdir/configure.sub $srcdir/config.sub
1641
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1642
- if test -f $ac_dir/install-sh; then
1643
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1644
+ if test -f "$ac_dir/install-sh"; then
1646
ac_install_sh="$ac_aux_dir/install-sh -c"
1648
- elif test -f $ac_dir/install.sh; then
1649
+ elif test -f "$ac_dir/install.sh"; then
1651
ac_install_sh="$ac_aux_dir/install.sh -c"
1653
- elif test -f $ac_dir/shtool; then
1654
+ elif test -f "$ac_dir/shtool"; then
1656
ac_install_sh="$ac_aux_dir/shtool install -c"
1660
if test -z "$ac_aux_dir"; then
1661
- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1662
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1663
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1664
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1665
{ (exit 1); exit 1; }; }
1667
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1668
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1669
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1671
+# These three variables are undocumented and unsupported,
1672
+# and are intended to be withdrawn in a future Autoconf release.
1673
+# They can cause serious problems if a builder's source tree is in a directory
1674
+# whose full name contains unusual characters.
1675
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1676
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1677
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1680
# Make sure we can run config.sub.
1681
-$ac_config_sub sun4 >/dev/null 2>&1 ||
1682
- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1683
-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1684
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1685
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1686
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1687
{ (exit 1); exit 1; }; }
1689
-echo "$as_me:$LINENO: checking build system type" >&5
1690
-echo $ECHO_N "checking build system type... $ECHO_C" >&6
1691
+{ echo "$as_me:$LINENO: checking build system type" >&5
1692
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1693
if test "${ac_cv_build+set}" = set; then
1694
echo $ECHO_N "(cached) $ECHO_C" >&6
1696
- ac_cv_build_alias=$build_alias
1697
-test -z "$ac_cv_build_alias" &&
1698
- ac_cv_build_alias=`$ac_config_guess`
1699
-test -z "$ac_cv_build_alias" &&
1700
+ ac_build_alias=$build_alias
1701
+test "x$ac_build_alias" = x &&
1702
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1703
+test "x$ac_build_alias" = x &&
1704
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1705
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1706
{ (exit 1); exit 1; }; }
1707
-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1708
- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1709
-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1710
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1711
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1712
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1713
{ (exit 1); exit 1; }; }
1716
-echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1717
-echo "${ECHO_T}$ac_cv_build" >&6
1718
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1719
+echo "${ECHO_T}$ac_cv_build" >&6; }
1720
+case $ac_cv_build in
1722
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1723
+echo "$as_me: error: invalid value of canonical build" >&2;}
1724
+ { (exit 1); exit 1; }; };;
1727
-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1728
-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1729
-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1730
+ac_save_IFS=$IFS; IFS='-'
1736
+# Remember, the first character of IFS is used to create $*,
1737
+# except with old shells:
1740
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1743
-echo "$as_me:$LINENO: checking host system type" >&5
1744
-echo $ECHO_N "checking host system type... $ECHO_C" >&6
1745
+{ echo "$as_me:$LINENO: checking host system type" >&5
1746
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1747
if test "${ac_cv_host+set}" = set; then
1748
echo $ECHO_N "(cached) $ECHO_C" >&6
1750
- ac_cv_host_alias=$host_alias
1751
-test -z "$ac_cv_host_alias" &&
1752
- ac_cv_host_alias=$ac_cv_build_alias
1753
-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1754
- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1755
-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1756
+ if test "x$host_alias" = x; then
1757
+ ac_cv_host=$ac_cv_build
1759
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1760
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1761
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1762
{ (exit 1); exit 1; }; }
1766
-echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1767
-echo "${ECHO_T}$ac_cv_host" >&6
1768
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1769
+echo "${ECHO_T}$ac_cv_host" >&6; }
1770
+case $ac_cv_host in
1772
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1773
+echo "$as_me: error: invalid value of canonical host" >&2;}
1774
+ { (exit 1); exit 1; }; };;
1777
-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1778
-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1779
-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1780
+ac_save_IFS=$IFS; IFS='-'
1786
+# Remember, the first character of IFS is used to create $*,
1787
+# except with old shells:
1790
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1794
@@ -1381,8 +1802,8 @@
1795
if test -n "$ac_tool_prefix"; then
1796
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1797
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1798
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1799
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1801
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1802
if test "${ac_cv_prog_CC+set}" = set; then
1803
echo $ECHO_N "(cached) $ECHO_C" >&6
1805
@@ -1395,32 +1816,34 @@
1807
test -z "$as_dir" && as_dir=.
1808
for ac_exec_ext in '' $ac_executable_extensions; do
1809
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1811
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1812
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822
if test -n "$CC"; then
1823
- echo "$as_me:$LINENO: result: $CC" >&5
1824
-echo "${ECHO_T}$CC" >&6
1825
+ { echo "$as_me:$LINENO: result: $CC" >&5
1826
+echo "${ECHO_T}$CC" >&6; }
1828
- echo "$as_me:$LINENO: result: no" >&5
1829
-echo "${ECHO_T}no" >&6
1830
+ { echo "$as_me:$LINENO: result: no" >&5
1831
+echo "${ECHO_T}no" >&6; }
1836
if test -z "$ac_cv_prog_CC"; then
1838
# Extract the first word of "gcc", so it can be a program name with args.
1839
set dummy gcc; ac_word=$2
1840
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1841
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1843
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1844
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1845
echo $ECHO_N "(cached) $ECHO_C" >&6
1847
@@ -1433,36 +1856,51 @@
1849
test -z "$as_dir" && as_dir=.
1850
for ac_exec_ext in '' $ac_executable_extensions; do
1851
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1853
ac_cv_prog_ac_ct_CC="gcc"
1854
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1864
if test -n "$ac_ct_CC"; then
1865
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866
-echo "${ECHO_T}$ac_ct_CC" >&6
1867
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1868
+echo "${ECHO_T}$ac_ct_CC" >&6; }
1870
- echo "$as_me:$LINENO: result: no" >&5
1871
-echo "${ECHO_T}no" >&6
1872
+ { echo "$as_me:$LINENO: result: no" >&5
1873
+echo "${ECHO_T}no" >&6; }
1877
+ if test "x$ac_ct_CC" = x; then
1880
+ case $cross_compiling:$ac_tool_warned in
1882
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1883
+whose name does not start with the host triplet. If you think this
1884
+configuration is useful to you, please write to autoconf@gnu.org." >&5
1885
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1886
+whose name does not start with the host triplet. If you think this
1887
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1888
+ac_tool_warned=yes ;;
1896
if test -z "$CC"; then
1897
- if test -n "$ac_tool_prefix"; then
1898
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1899
+ if test -n "$ac_tool_prefix"; then
1900
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1901
set dummy ${ac_tool_prefix}cc; ac_word=$2
1902
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1903
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1905
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1906
if test "${ac_cv_prog_CC+set}" = set; then
1907
echo $ECHO_N "(cached) $ECHO_C" >&6
1909
@@ -1475,74 +1913,34 @@
1911
test -z "$as_dir" && as_dir=.
1912
for ac_exec_ext in '' $ac_executable_extensions; do
1913
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1914
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1915
ac_cv_prog_CC="${ac_tool_prefix}cc"
1916
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926
if test -n "$CC"; then
1927
- echo "$as_me:$LINENO: result: $CC" >&5
1928
-echo "${ECHO_T}$CC" >&6
1930
- echo "$as_me:$LINENO: result: no" >&5
1931
-echo "${ECHO_T}no" >&6
1935
-if test -z "$ac_cv_prog_CC"; then
1937
- # Extract the first word of "cc", so it can be a program name with args.
1938
-set dummy cc; ac_word=$2
1939
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1940
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1941
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1942
- echo $ECHO_N "(cached) $ECHO_C" >&6
1944
- if test -n "$ac_ct_CC"; then
1945
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1947
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948
-for as_dir in $PATH
1951
- test -z "$as_dir" && as_dir=.
1952
- for ac_exec_ext in '' $ac_executable_extensions; do
1953
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954
- ac_cv_prog_ac_ct_CC="cc"
1955
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
1964
-if test -n "$ac_ct_CC"; then
1965
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1966
-echo "${ECHO_T}$ac_ct_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
- CC="$ac_cv_prog_CC"
1983
if test -z "$CC"; then
1984
# Extract the first word of "cc", so it can be a program name with args.
1985
set dummy cc; ac_word=$2
1986
-echo "$as_me:$LINENO: checking for $ac_word" >&5
1987
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1989
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1990
if test "${ac_cv_prog_CC+set}" = set; then
1991
echo $ECHO_N "(cached) $ECHO_C" >&6
1993
@@ -1556,7 +1954,7 @@
1995
test -z "$as_dir" && as_dir=.
1996
for ac_exec_ext in '' $ac_executable_extensions; do
1997
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1998
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1999
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2000
ac_prog_rejected=yes
2002
@@ -1567,6 +1965,7 @@
2008
if test $ac_prog_rejected = yes; then
2009
# We found a bogon in the path, so make sure we never use it.
2010
@@ -1584,22 +1983,23 @@
2013
if test -n "$CC"; then
2014
- echo "$as_me:$LINENO: result: $CC" >&5
2015
-echo "${ECHO_T}$CC" >&6
2016
+ { echo "$as_me:$LINENO: result: $CC" >&5
2017
+echo "${ECHO_T}$CC" >&6; }
2019
- echo "$as_me:$LINENO: result: no" >&5
2020
-echo "${ECHO_T}no" >&6
2021
+ { echo "$as_me:$LINENO: result: no" >&5
2022
+echo "${ECHO_T}no" >&6; }
2027
if test -z "$CC"; then
2028
if test -n "$ac_tool_prefix"; then
2030
+ for ac_prog in cl.exe
2032
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2033
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2034
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2035
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2036
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2037
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038
if test "${ac_cv_prog_CC+set}" = set; then
2039
echo $ECHO_N "(cached) $ECHO_C" >&6
2041
@@ -1612,36 +2012,38 @@
2043
test -z "$as_dir" && as_dir=.
2044
for ac_exec_ext in '' $ac_executable_extensions; do
2045
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2048
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058
if test -n "$CC"; then
2059
- echo "$as_me:$LINENO: result: $CC" >&5
2060
-echo "${ECHO_T}$CC" >&6
2061
+ { echo "$as_me:$LINENO: result: $CC" >&5
2062
+echo "${ECHO_T}$CC" >&6; }
2064
- echo "$as_me:$LINENO: result: no" >&5
2065
-echo "${ECHO_T}no" >&6
2066
+ { echo "$as_me:$LINENO: result: no" >&5
2067
+echo "${ECHO_T}no" >&6; }
2071
test -n "$CC" && break
2074
if test -z "$CC"; then
2077
+ for ac_prog in cl.exe
2079
# Extract the first word of "$ac_prog", so it can be a program name with args.
2080
set dummy $ac_prog; 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
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2084
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2085
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2086
echo $ECHO_N "(cached) $ECHO_C" >&6
2088
@@ -1654,29 +2056,45 @@
2090
test -z "$as_dir" && as_dir=.
2091
for ac_exec_ext in '' $ac_executable_extensions; do
2092
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2094
ac_cv_prog_ac_ct_CC="$ac_prog"
2095
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2105
if test -n "$ac_ct_CC"; then
2106
- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2107
-echo "${ECHO_T}$ac_ct_CC" >&6
2108
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2111
- echo "$as_me:$LINENO: result: no" >&5
2112
-echo "${ECHO_T}no" >&6
2113
+ { echo "$as_me:$LINENO: result: no" >&5
2114
+echo "${ECHO_T}no" >&6; }
2118
test -n "$ac_ct_CC" && break
2122
+ if test "x$ac_ct_CC" = x; then
2125
+ case $cross_compiling:$ac_tool_warned in
2127
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2128
+whose name does not start with the host triplet. If you think this
2129
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2130
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2131
+whose name does not start with the host triplet. If you think this
2132
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2133
+ac_tool_warned=yes ;;
2140
@@ -1689,21 +2107,35 @@
2141
{ (exit 1); exit 1; }; }
2143
# Provide some information about the compiler.
2144
-echo "$as_me:$LINENO:" \
2145
- "checking for C compiler version" >&5
2146
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2147
ac_compiler=`set X $ac_compile; echo $2`
2148
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2149
- (eval $ac_compiler --version </dev/null >&5) 2>&5
2150
+{ (ac_try="$ac_compiler --version >&5"
2151
+case "(($ac_try" in
2152
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2153
+ *) ac_try_echo=$ac_try;;
2155
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2156
+ (eval "$ac_compiler --version >&5") 2>&5
2158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159
(exit $ac_status); }
2160
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2161
- (eval $ac_compiler -v </dev/null >&5) 2>&5
2162
+{ (ac_try="$ac_compiler -v >&5"
2163
+case "(($ac_try" in
2164
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2165
+ *) ac_try_echo=$ac_try;;
2167
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2168
+ (eval "$ac_compiler -v >&5") 2>&5
2170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171
(exit $ac_status); }
2172
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2173
- (eval $ac_compiler -V </dev/null >&5) 2>&5
2174
+{ (ac_try="$ac_compiler -V >&5"
2175
+case "(($ac_try" in
2176
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2177
+ *) ac_try_echo=$ac_try;;
2179
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2180
+ (eval "$ac_compiler -V >&5") 2>&5
2182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183
(exit $ac_status); }
2184
@@ -1728,47 +2160,77 @@
2185
# Try to create an executable without -o first, disregard a.out.
2186
# It will help us diagnose broken compilers, and finding out an intuition
2188
-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2189
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2190
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2191
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2192
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2193
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2194
- (eval $ac_link_default) 2>&5
2196
+# List of possible output files, starting from the most likely.
2197
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2198
+# only as a last resort. b.out is created by i960 compilers.
2199
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2201
+# The IRIX 6 linker writes into existing files which may not be
2202
+# executable, retaining their permissions. Remove them first so a
2203
+# subsequent execution test works.
2205
+for ac_file in $ac_files
2208
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2209
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2214
+if { (ac_try="$ac_link_default"
2215
+case "(($ac_try" in
2216
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217
+ *) ac_try_echo=$ac_try;;
2219
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2220
+ (eval "$ac_link_default") 2>&5
2222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223
(exit $ac_status); }; then
2224
- # Find the output, starting from the most likely. This scheme is
2225
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2228
-# Be careful to initialize this variable, since it used to be cached.
2229
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2231
-# b.out is created by i960 compilers.
2232
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2233
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2234
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2235
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
2236
+# so that the user can short-circuit this test for compilers unknown to
2238
+for ac_file in $ac_files ''
2240
test -f "$ac_file" || continue
2242
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2244
- conftest.$ac_ext )
2245
- # This is the source file.
2246
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2249
# We found the default executable, but exeext='' is most
2253
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2254
- # FIXME: I believe we export ac_cv_exeext for Libtool,
2255
- # but it would be cool to find out if it's true. Does anybody
2256
- # maintain Libtool? --akim.
2257
- export ac_cv_exeext
2258
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2260
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2262
+ # We set ac_cv_exeext here because the later test for it is not
2263
+ # safe: cross compilers may not add the suffix if given an `-o'
2264
+ # argument, so we may need to know it at that point already.
2265
+ # Even if this section looks crufty: it has the advantage of
2266
+ # actually working.
2272
+test "$ac_cv_exeext" = no && ac_cv_exeext=
2278
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2279
+echo "${ECHO_T}$ac_file" >&6; }
2280
+if test -z "$ac_file"; then
2281
echo "$as_me: failed program was:" >&5
2282
sed 's/^/| /' conftest.$ac_ext >&5
2284
@@ -1780,19 +2242,21 @@
2287
ac_exeext=$ac_cv_exeext
2288
-echo "$as_me:$LINENO: result: $ac_file" >&5
2289
-echo "${ECHO_T}$ac_file" >&6
2291
-# Check the compiler produces executables we can run. If not, either
2292
+# Check that the compiler produces executables we can run. If not, either
2293
# the compiler is broken, or we cross compile.
2294
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2295
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2296
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2297
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2298
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2299
# If not cross compiling, check that we can run a simple program.
2300
if test "$cross_compiling" != yes; then
2301
if { ac_try='./$ac_file'
2302
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303
- (eval $ac_try) 2>&5
2304
+ { (case "(($ac_try" in
2305
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2306
+ *) ac_try_echo=$ac_try;;
2308
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2309
+ (eval "$ac_try") 2>&5
2311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312
(exit $ac_status); }; }; then
2313
@@ -1811,22 +2275,27 @@
2317
-echo "$as_me:$LINENO: result: yes" >&5
2318
-echo "${ECHO_T}yes" >&6
2319
+{ echo "$as_me:$LINENO: result: yes" >&5
2320
+echo "${ECHO_T}yes" >&6; }
2322
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2323
ac_clean_files=$ac_clean_files_save
2324
-# Check the compiler produces executables we can run. If not, either
2325
+# Check that the compiler produces executables we can run. If not, either
2326
# the compiler is broken, or we cross compile.
2327
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2328
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2329
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2330
-echo "${ECHO_T}$cross_compiling" >&6
2332
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2333
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2334
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2335
- (eval $ac_link) 2>&5
2336
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2337
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2338
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2339
+echo "${ECHO_T}$cross_compiling" >&6; }
2341
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2342
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2343
+if { (ac_try="$ac_link"
2344
+case "(($ac_try" in
2345
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2346
+ *) ac_try_echo=$ac_try;;
2348
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2349
+ (eval "$ac_link") 2>&5
2351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352
(exit $ac_status); }; then
2353
@@ -1837,9 +2306,8 @@
2354
for ac_file in conftest.exe conftest conftest.*; do
2355
test -f "$ac_file" || continue
2357
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2358
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2359
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2360
- export ac_cv_exeext
2364
@@ -1853,14 +2321,14 @@
2367
rm -f conftest$ac_cv_exeext
2368
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2369
-echo "${ECHO_T}$ac_cv_exeext" >&6
2370
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2371
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2373
rm -f conftest.$ac_ext
2374
EXEEXT=$ac_cv_exeext
2376
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2377
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2378
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2379
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2380
if test "${ac_cv_objext+set}" = set; then
2381
echo $ECHO_N "(cached) $ECHO_C" >&6
2383
@@ -1880,14 +2348,20 @@
2386
rm -f conftest.o conftest.obj
2387
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388
- (eval $ac_compile) 2>&5
2389
+if { (ac_try="$ac_compile"
2390
+case "(($ac_try" in
2391
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392
+ *) ac_try_echo=$ac_try;;
2394
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2395
+ (eval "$ac_compile") 2>&5
2397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398
(exit $ac_status); }; then
2399
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2400
+ for ac_file in conftest.o conftest.obj conftest.*; do
2401
+ test -f "$ac_file" || continue;
2403
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2404
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2405
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2408
@@ -1905,12 +2379,12 @@
2410
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2412
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2413
-echo "${ECHO_T}$ac_cv_objext" >&6
2414
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2415
+echo "${ECHO_T}$ac_cv_objext" >&6; }
2416
OBJEXT=$ac_cv_objext
2418
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2419
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2420
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2421
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2422
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2423
echo $ECHO_N "(cached) $ECHO_C" >&6
2425
@@ -1933,24 +2407,36 @@
2428
rm -f conftest.$ac_objext
2429
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2430
- (eval $ac_compile) 2>conftest.er1
2431
+if { (ac_try="$ac_compile"
2432
+case "(($ac_try" in
2433
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2434
+ *) ac_try_echo=$ac_try;;
2436
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2437
+ (eval "$ac_compile") 2>conftest.er1
2439
grep -v '^ *+' conftest.er1 >conftest.err
2441
cat conftest.err >&5
2442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443
(exit $ac_status); } &&
2444
- { ac_try='test -z "$ac_c_werror_flag"
2445
- || test ! -s conftest.err'
2446
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447
- (eval $ac_try) 2>&5
2448
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2449
+ { (case "(($ac_try" in
2450
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451
+ *) ac_try_echo=$ac_try;;
2453
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454
+ (eval "$ac_try") 2>&5
2456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
(exit $ac_status); }; } &&
2458
{ ac_try='test -s conftest.$ac_objext'
2459
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460
- (eval $ac_try) 2>&5
2461
+ { (case "(($ac_try" in
2462
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463
+ *) ac_try_echo=$ac_try;;
2465
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466
+ (eval "$ac_try") 2>&5
2468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469
(exit $ac_status); }; }; then
2470
@@ -1959,24 +2445,139 @@
2471
echo "$as_me: failed program was:" >&5
2472
sed 's/^/| /' conftest.$ac_ext >&5
2475
+ ac_compiler_gnu=no
2477
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2479
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2483
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2484
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2485
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2486
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2487
GCC=`test $ac_compiler_gnu = yes && echo yes`
2488
ac_test_CFLAGS=${CFLAGS+set}
2489
ac_save_CFLAGS=$CFLAGS
2491
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2492
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2493
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2494
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2495
if test "${ac_cv_prog_cc_g+set}" = set; then
2496
echo $ECHO_N "(cached) $ECHO_C" >&6
2498
- cat >conftest.$ac_ext <<_ACEOF
2499
+ ac_save_c_werror_flag=$ac_c_werror_flag
2500
+ ac_c_werror_flag=yes
2501
+ ac_cv_prog_cc_g=no
2503
+ cat >conftest.$ac_ext <<_ACEOF
2506
+cat confdefs.h >>conftest.$ac_ext
2507
+cat >>conftest.$ac_ext <<_ACEOF
2508
+/* end confdefs.h. */
2518
+rm -f conftest.$ac_objext
2519
+if { (ac_try="$ac_compile"
2520
+case "(($ac_try" in
2521
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522
+ *) ac_try_echo=$ac_try;;
2524
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525
+ (eval "$ac_compile") 2>conftest.er1
2527
+ grep -v '^ *+' conftest.er1 >conftest.err
2528
+ rm -f conftest.er1
2529
+ cat conftest.err >&5
2530
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
+ (exit $ac_status); } &&
2532
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2533
+ { (case "(($ac_try" in
2534
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535
+ *) ac_try_echo=$ac_try;;
2537
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538
+ (eval "$ac_try") 2>&5
2540
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
+ (exit $ac_status); }; } &&
2542
+ { ac_try='test -s conftest.$ac_objext'
2543
+ { (case "(($ac_try" in
2544
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545
+ *) ac_try_echo=$ac_try;;
2547
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548
+ (eval "$ac_try") 2>&5
2550
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
+ (exit $ac_status); }; }; then
2552
+ ac_cv_prog_cc_g=yes
2554
+ echo "$as_me: failed program was:" >&5
2555
+sed 's/^/| /' conftest.$ac_ext >&5
2558
+ cat >conftest.$ac_ext <<_ACEOF
2561
+cat confdefs.h >>conftest.$ac_ext
2562
+cat >>conftest.$ac_ext <<_ACEOF
2563
+/* end confdefs.h. */
2573
+rm -f conftest.$ac_objext
2574
+if { (ac_try="$ac_compile"
2575
+case "(($ac_try" in
2576
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577
+ *) ac_try_echo=$ac_try;;
2579
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2580
+ (eval "$ac_compile") 2>conftest.er1
2582
+ grep -v '^ *+' conftest.er1 >conftest.err
2583
+ rm -f conftest.er1
2584
+ cat conftest.err >&5
2585
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586
+ (exit $ac_status); } &&
2587
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2588
+ { (case "(($ac_try" in
2589
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590
+ *) ac_try_echo=$ac_try;;
2592
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593
+ (eval "$ac_try") 2>&5
2595
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596
+ (exit $ac_status); }; } &&
2597
+ { ac_try='test -s conftest.$ac_objext'
2598
+ { (case "(($ac_try" in
2599
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600
+ *) ac_try_echo=$ac_try;;
2602
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603
+ (eval "$ac_try") 2>&5
2605
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
+ (exit $ac_status); }; }; then
2609
+ echo "$as_me: failed program was:" >&5
2610
+sed 's/^/| /' conftest.$ac_ext >&5
2612
+ ac_c_werror_flag=$ac_save_c_werror_flag
2614
+ cat >conftest.$ac_ext <<_ACEOF
2617
cat confdefs.h >>conftest.$ac_ext
2618
@@ -1992,24 +2593,36 @@
2621
rm -f conftest.$ac_objext
2622
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623
- (eval $ac_compile) 2>conftest.er1
2624
+if { (ac_try="$ac_compile"
2625
+case "(($ac_try" in
2626
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2627
+ *) ac_try_echo=$ac_try;;
2629
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2630
+ (eval "$ac_compile") 2>conftest.er1
2632
grep -v '^ *+' conftest.er1 >conftest.err
2634
cat conftest.err >&5
2635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636
(exit $ac_status); } &&
2637
- { ac_try='test -z "$ac_c_werror_flag"
2638
- || test ! -s conftest.err'
2639
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640
- (eval $ac_try) 2>&5
2641
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2642
+ { (case "(($ac_try" in
2643
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644
+ *) ac_try_echo=$ac_try;;
2646
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647
+ (eval "$ac_try") 2>&5
2649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650
(exit $ac_status); }; } &&
2651
{ ac_try='test -s conftest.$ac_objext'
2652
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653
- (eval $ac_try) 2>&5
2654
+ { (case "(($ac_try" in
2655
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656
+ *) ac_try_echo=$ac_try;;
2658
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659
+ (eval "$ac_try") 2>&5
2661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
(exit $ac_status); }; }; then
2663
@@ -2018,12 +2631,20 @@
2664
echo "$as_me: failed program was:" >&5
2665
sed 's/^/| /' conftest.$ac_ext >&5
2671
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679
+ ac_c_werror_flag=$ac_save_c_werror_flag
2681
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2682
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2683
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2684
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2685
if test "$ac_test_CFLAGS" = set; then
2686
CFLAGS=$ac_save_CFLAGS
2687
elif test $ac_cv_prog_cc_g = yes; then
2688
@@ -2039,12 +2660,12 @@
2692
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2693
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2694
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
2695
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2696
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2697
+if test "${ac_cv_prog_cc_c89+set}" = set; then
2698
echo $ECHO_N "(cached) $ECHO_C" >&6
2700
- ac_cv_prog_cc_stdc=no
2701
+ ac_cv_prog_cc_c89=no
2703
cat >conftest.$ac_ext <<_ACEOF
2705
@@ -2078,12 +2699,17 @@
2706
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2707
function prototypes and stuff, but not '\xHH' hex character constants.
2708
These don't provoke an error unfortunately, instead are silently treated
2709
- as 'x'. The following induces an error, until -std1 is added to get
2710
+ as 'x'. The following induces an error, until -std is added to get
2711
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2712
array size at least. It's necessary to write '\x00'==0 to get something
2713
- that's true only with -std1. */
2714
+ that's true only with -std. */
2715
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2717
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2718
+ inside strings and character constants. */
2720
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2722
int test (int i, double x);
2723
struct s1 {int (*f) (int a);};
2724
struct s2 {int (*f) (double a);};
2725
@@ -2098,255 +2724,126 @@
2729
-# Don't try gcc -ansi; that turns off useful extensions and
2730
-# breaks some systems' header files.
2731
-# AIX -qlanglvl=ansi
2732
-# Ultrix and OSF/1 -std1
2733
-# HP-UX 10.20 and later -Ae
2734
-# HP-UX older versions -Aa -D_HPUX_SOURCE
2735
-# SVR4 -Xc -D__EXTENSIONS__
2736
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2737
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2738
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2740
CC="$ac_save_CC $ac_arg"
2741
rm -f conftest.$ac_objext
2742
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2743
- (eval $ac_compile) 2>conftest.er1
2744
+if { (ac_try="$ac_compile"
2745
+case "(($ac_try" in
2746
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747
+ *) ac_try_echo=$ac_try;;
2749
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750
+ (eval "$ac_compile") 2>conftest.er1
2752
grep -v '^ *+' conftest.er1 >conftest.err
2754
cat conftest.err >&5
2755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756
(exit $ac_status); } &&
2757
- { ac_try='test -z "$ac_c_werror_flag"
2758
- || test ! -s conftest.err'
2759
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760
- (eval $ac_try) 2>&5
2761
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2762
+ { (case "(($ac_try" in
2763
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764
+ *) ac_try_echo=$ac_try;;
2766
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767
+ (eval "$ac_try") 2>&5
2769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
(exit $ac_status); }; } &&
2771
{ ac_try='test -s conftest.$ac_objext'
2772
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773
- (eval $ac_try) 2>&5
2774
+ { (case "(($ac_try" in
2775
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2776
+ *) ac_try_echo=$ac_try;;
2778
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2779
+ (eval "$ac_try") 2>&5
2781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
(exit $ac_status); }; }; then
2783
- ac_cv_prog_cc_stdc=$ac_arg
2785
+ ac_cv_prog_cc_c89=$ac_arg
2787
echo "$as_me: failed program was:" >&5
2788
sed 's/^/| /' conftest.$ac_ext >&5
2792
-rm -f conftest.err conftest.$ac_objext
2794
+rm -f core conftest.err conftest.$ac_objext
2795
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
2797
-rm -f conftest.$ac_ext conftest.$ac_objext
2798
+rm -f conftest.$ac_ext
2803
-case "x$ac_cv_prog_cc_stdc" in
2805
- echo "$as_me:$LINENO: result: none needed" >&5
2806
-echo "${ECHO_T}none needed" >&6 ;;
2808
+case "x$ac_cv_prog_cc_c89" in
2810
+ { echo "$as_me:$LINENO: result: none needed" >&5
2811
+echo "${ECHO_T}none needed" >&6; } ;;
2813
+ { echo "$as_me:$LINENO: result: unsupported" >&5
2814
+echo "${ECHO_T}unsupported" >&6; } ;;
2816
- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2817
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2818
- CC="$CC $ac_cv_prog_cc_stdc" ;;
2819
+ CC="$CC $ac_cv_prog_cc_c89"
2820
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2821
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2824
-# Some people use a C++ compiler to compile C. Since we use `exit',
2825
-# in C++ we need to declare it. In case someone uses the same compiler
2826
-# for both compiling C and C++ we need to have the C++ compiler decide
2827
-# the declaration of exit, since it's the most demanding environment.
2828
-cat >conftest.$ac_ext <<_ACEOF
2829
-#ifndef __cplusplus
2833
-rm -f conftest.$ac_objext
2834
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2835
- (eval $ac_compile) 2>conftest.er1
2837
- grep -v '^ *+' conftest.er1 >conftest.err
2838
- rm -f conftest.er1
2839
- cat conftest.err >&5
2840
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841
- (exit $ac_status); } &&
2842
- { ac_try='test -z "$ac_c_werror_flag"
2843
- || test ! -s conftest.err'
2844
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2845
- (eval $ac_try) 2>&5
2847
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848
- (exit $ac_status); }; } &&
2849
- { ac_try='test -s conftest.$ac_objext'
2850
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851
- (eval $ac_try) 2>&5
2853
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854
- (exit $ac_status); }; }; then
2855
- for ac_declaration in \
2857
- 'extern "C" void std::exit (int) throw (); using std::exit;' \
2858
- 'extern "C" void std::exit (int); using std::exit;' \
2859
- 'extern "C" void exit (int) throw ();' \
2860
- 'extern "C" void exit (int);' \
2861
- 'void exit (int);'
2863
- cat >conftest.$ac_ext <<_ACEOF
2866
-cat confdefs.h >>conftest.$ac_ext
2867
-cat >>conftest.$ac_ext <<_ACEOF
2868
-/* end confdefs.h. */
2870
-#include <stdlib.h>
2879
-rm -f conftest.$ac_objext
2880
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881
- (eval $ac_compile) 2>conftest.er1
2883
- grep -v '^ *+' conftest.er1 >conftest.err
2884
- rm -f conftest.er1
2885
- cat conftest.err >&5
2886
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887
- (exit $ac_status); } &&
2888
- { ac_try='test -z "$ac_c_werror_flag"
2889
- || test ! -s conftest.err'
2890
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891
- (eval $ac_try) 2>&5
2893
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
- (exit $ac_status); }; } &&
2895
- { ac_try='test -s conftest.$ac_objext'
2896
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897
- (eval $ac_try) 2>&5
2899
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
- (exit $ac_status); }; }; then
2903
- echo "$as_me: failed program was:" >&5
2904
-sed 's/^/| /' conftest.$ac_ext >&5
2908
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2909
- cat >conftest.$ac_ext <<_ACEOF
2912
-cat confdefs.h >>conftest.$ac_ext
2913
-cat >>conftest.$ac_ext <<_ACEOF
2914
-/* end confdefs.h. */
2924
-rm -f conftest.$ac_objext
2925
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2926
- (eval $ac_compile) 2>conftest.er1
2928
- grep -v '^ *+' conftest.er1 >conftest.err
2929
- rm -f conftest.er1
2930
- cat conftest.err >&5
2931
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932
- (exit $ac_status); } &&
2933
- { ac_try='test -z "$ac_c_werror_flag"
2934
- || test ! -s conftest.err'
2935
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936
- (eval $ac_try) 2>&5
2938
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939
- (exit $ac_status); }; } &&
2940
- { ac_try='test -s conftest.$ac_objext'
2941
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942
- (eval $ac_try) 2>&5
2944
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945
- (exit $ac_status); }; }; then
2948
- echo "$as_me: failed program was:" >&5
2949
-sed 's/^/| /' conftest.$ac_ext >&5
2952
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955
-if test -n "$ac_declaration"; then
2956
- echo '#ifdef __cplusplus' >>confdefs.h
2957
- echo $ac_declaration >>confdefs.h
2958
- echo '#endif' >>confdefs.h
2962
- echo "$as_me: failed program was:" >&5
2963
-sed 's/^/| /' conftest.$ac_ext >&5
2966
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2968
-ac_cpp='$CPP $CPPFLAGS'
2969
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974
-if test -n "$ac_tool_prefix"; then
2975
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2976
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2977
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2978
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979
-if test "${ac_cv_prog_RANLIB+set}" = set; then
2980
- echo $ECHO_N "(cached) $ECHO_C" >&6
2982
- if test -n "$RANLIB"; then
2983
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2985
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986
-for as_dir in $PATH
2989
+ac_cpp='$CPP $CPPFLAGS'
2990
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2991
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2992
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995
+if test -n "$ac_tool_prefix"; then
2996
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2997
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2998
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2999
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3000
+if test "${ac_cv_prog_RANLIB+set}" = set; then
3001
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3003
+ if test -n "$RANLIB"; then
3004
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3006
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3007
+for as_dir in $PATH
3010
test -z "$as_dir" && as_dir=.
3011
for ac_exec_ext in '' $ac_executable_extensions; do
3012
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3013
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3014
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3015
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024
RANLIB=$ac_cv_prog_RANLIB
3025
if test -n "$RANLIB"; then
3026
- echo "$as_me:$LINENO: result: $RANLIB" >&5
3027
-echo "${ECHO_T}$RANLIB" >&6
3028
+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
3029
+echo "${ECHO_T}$RANLIB" >&6; }
3031
- echo "$as_me:$LINENO: result: no" >&5
3032
-echo "${ECHO_T}no" >&6
3033
+ { echo "$as_me:$LINENO: result: no" >&5
3034
+echo "${ECHO_T}no" >&6; }
3039
if test -z "$ac_cv_prog_RANLIB"; then
3040
ac_ct_RANLIB=$RANLIB
3041
# Extract the first word of "ranlib", so it can be a program name with args.
3042
set dummy ranlib; ac_word=$2
3043
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3044
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3045
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3046
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3047
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3048
echo $ECHO_N "(cached) $ECHO_C" >&6
3050
@@ -2359,35 +2856,49 @@
3052
test -z "$as_dir" && as_dir=.
3053
for ac_exec_ext in '' $ac_executable_extensions; do
3054
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3055
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3056
ac_cv_prog_ac_ct_RANLIB="ranlib"
3057
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3064
- test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3067
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3068
if test -n "$ac_ct_RANLIB"; then
3069
- echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3070
-echo "${ECHO_T}$ac_ct_RANLIB" >&6
3071
+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3072
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3074
- echo "$as_me:$LINENO: result: no" >&5
3075
-echo "${ECHO_T}no" >&6
3076
+ { echo "$as_me:$LINENO: result: no" >&5
3077
+echo "${ECHO_T}no" >&6; }
3080
- RANLIB=$ac_ct_RANLIB
3081
+ if test "x$ac_ct_RANLIB" = x; then
3084
+ case $cross_compiling:$ac_tool_warned in
3086
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3087
+whose name does not start with the host triplet. If you think this
3088
+configuration is useful to you, please write to autoconf@gnu.org." >&5
3089
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3090
+whose name does not start with the host triplet. If you think this
3091
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3092
+ac_tool_warned=yes ;;
3094
+ RANLIB=$ac_ct_RANLIB
3097
RANLIB="$ac_cv_prog_RANLIB"
3100
# Extract the first word of "ar", so it can be a program name with args.
3101
set dummy ar; ac_word=$2
3102
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3103
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3104
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3105
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3106
if test "${ac_cv_prog_AR+set}" = set; then
3107
echo $ECHO_N "(cached) $ECHO_C" >&6
3109
@@ -2400,29 +2911,31 @@
3111
test -z "$as_dir" && as_dir=.
3112
for ac_exec_ext in '' $ac_executable_extensions; do
3113
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3116
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3126
if test -n "$AR"; then
3127
- echo "$as_me:$LINENO: result: $AR" >&5
3128
-echo "${ECHO_T}$AR" >&6
3129
+ { echo "$as_me:$LINENO: result: $AR" >&5
3130
+echo "${ECHO_T}$AR" >&6; }
3132
- echo "$as_me:$LINENO: result: no" >&5
3133
-echo "${ECHO_T}no" >&6
3134
+ { echo "$as_me:$LINENO: result: no" >&5
3135
+echo "${ECHO_T}no" >&6; }
3139
# Extract the first word of "install", so it can be a program name with args.
3140
set dummy install; ac_word=$2
3141
-echo "$as_me:$LINENO: checking for $ac_word" >&5
3142
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3144
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3145
if test "${ac_cv_prog_INSTALL+set}" = set; then
3146
echo $ECHO_N "(cached) $ECHO_C" >&6
3148
@@ -2435,26 +2948,28 @@
3150
test -z "$as_dir" && as_dir=.
3151
for ac_exec_ext in '' $ac_executable_extensions; do
3152
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3153
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
ac_cv_prog_INSTALL="install"
3155
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164
INSTALL=$ac_cv_prog_INSTALL
3165
if test -n "$INSTALL"; then
3166
- echo "$as_me:$LINENO: result: $INSTALL" >&5
3167
-echo "${ECHO_T}$INSTALL" >&6
3168
+ { echo "$as_me:$LINENO: result: $INSTALL" >&5
3169
+echo "${ECHO_T}$INSTALL" >&6; }
3171
- echo "$as_me:$LINENO: result: no" >&5
3172
-echo "${ECHO_T}no" >&6
3173
+ { echo "$as_me:$LINENO: result: no" >&5
3174
+echo "${ECHO_T}no" >&6; }
3179
if test -z "$GCC"; then
3182
@@ -2475,8 +2990,8 @@
3183
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3186
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3187
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3188
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3189
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3190
# On Suns, sometimes $CPP names a directory.
3191
if test -n "$CPP" && test -d "$CPP"; then
3193
@@ -2510,8 +3025,13 @@
3197
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3199
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3200
+case "(($ac_try" in
3201
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
+ *) ac_try_echo=$ac_try;;
3204
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3207
grep -v '^ *+' conftest.er1 >conftest.err
3209
@@ -2536,9 +3056,10 @@
3210
# Broken: fails on valid input.
3214
rm -f conftest.err conftest.$ac_ext
3216
- # OK, works on sane cases. Now check whether non-existent headers
3217
+ # OK, works on sane cases. Now check whether nonexistent headers
3218
# can be detected and how.
3219
cat >conftest.$ac_ext <<_ACEOF
3221
@@ -2548,8 +3069,13 @@
3222
/* end confdefs.h. */
3223
#include <ac_nonexistent.h>
3225
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3226
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3227
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3228
+case "(($ac_try" in
3229
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230
+ *) ac_try_echo=$ac_try;;
3232
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3235
grep -v '^ *+' conftest.er1 >conftest.err
3237
@@ -2576,6 +3102,7 @@
3242
rm -f conftest.err conftest.$ac_ext
3245
@@ -2593,8 +3120,8 @@
3249
-echo "$as_me:$LINENO: result: $CPP" >&5
3250
-echo "${ECHO_T}$CPP" >&6
3251
+{ echo "$as_me:$LINENO: result: $CPP" >&5
3252
+echo "${ECHO_T}$CPP" >&6; }
3254
for ac_c_preproc_warn_flag in '' yes
3256
@@ -2617,8 +3144,13 @@
3260
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3261
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3262
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3263
+case "(($ac_try" in
3264
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265
+ *) ac_try_echo=$ac_try;;
3267
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3268
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3270
grep -v '^ *+' conftest.er1 >conftest.err
3272
@@ -2643,9 +3175,10 @@
3273
# Broken: fails on valid input.
3277
rm -f conftest.err conftest.$ac_ext
3279
- # OK, works on sane cases. Now check whether non-existent headers
3280
+ # OK, works on sane cases. Now check whether nonexistent headers
3281
# can be detected and how.
3282
cat >conftest.$ac_ext <<_ACEOF
3284
@@ -2655,8 +3188,13 @@
3285
/* end confdefs.h. */
3286
#include <ac_nonexistent.h>
3288
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3289
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3290
+if { (ac_try="$ac_cpp conftest.$ac_ext"
3291
+case "(($ac_try" in
3292
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293
+ *) ac_try_echo=$ac_try;;
3295
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3298
grep -v '^ *+' conftest.er1 >conftest.err
3300
@@ -2683,6 +3221,7 @@
3305
rm -f conftest.err conftest.$ac_ext
3308
@@ -2705,23 +3244,170 @@
3309
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312
-echo "$as_me:$LINENO: checking for egrep" >&5
3313
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3314
-if test "${ac_cv_prog_egrep+set}" = set; then
3315
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3316
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3317
+if test "${ac_cv_path_GREP+set}" = set; then
3318
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3320
+ # Extract the first word of "grep ggrep" to use in msg output
3321
+if test -z "$GREP"; then
3322
+set dummy grep ggrep; ac_prog_name=$2
3323
+if test "${ac_cv_path_GREP+set}" = set; then
3324
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3326
+ ac_path_GREP_found=false
3327
+# Loop through the user's path and test for each of PROGNAME-LIST
3328
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3332
+ test -z "$as_dir" && as_dir=.
3333
+ for ac_prog in grep ggrep; do
3334
+ for ac_exec_ext in '' $ac_executable_extensions; do
3335
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3336
+ { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3337
+ # Check for GNU ac_path_GREP and select it if it is found.
3338
+ # Check for GNU $ac_path_GREP
3339
+case `"$ac_path_GREP" --version 2>&1` in
3341
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3344
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3347
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3348
+ mv "conftest.tmp" "conftest.in"
3349
+ cp "conftest.in" "conftest.nl"
3350
+ echo 'GREP' >> "conftest.nl"
3351
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3352
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3353
+ ac_count=`expr $ac_count + 1`
3354
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
3355
+ # Best one so far, save it but keep looking for a better one
3356
+ ac_cv_path_GREP="$ac_path_GREP"
3357
+ ac_path_GREP_max=$ac_count
3359
+ # 10*(2^10) chars as input seems more than enough
3360
+ test $ac_count -gt 10 && break
3362
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3366
+ $ac_path_GREP_found && break 3
3376
+GREP="$ac_cv_path_GREP"
3377
+if test -z "$GREP"; then
3378
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3379
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3380
+ { (exit 1); exit 1; }; }
3384
+ ac_cv_path_GREP=$GREP
3389
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3390
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3391
+ GREP="$ac_cv_path_GREP"
3394
+{ echo "$as_me:$LINENO: checking for egrep" >&5
3395
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3396
+if test "${ac_cv_path_EGREP+set}" = set; then
3397
+ echo $ECHO_N "(cached) $ECHO_C" >&6
3399
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3400
+ then ac_cv_path_EGREP="$GREP -E"
3402
+ # Extract the first word of "egrep" to use in msg output
3403
+if test -z "$EGREP"; then
3404
+set dummy egrep; ac_prog_name=$2
3405
+if test "${ac_cv_path_EGREP+set}" = set; then
3406
echo $ECHO_N "(cached) $ECHO_C" >&6
3408
- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3409
- then ac_cv_prog_egrep='grep -E'
3410
- else ac_cv_prog_egrep='egrep'
3411
+ ac_path_EGREP_found=false
3412
+# Loop through the user's path and test for each of PROGNAME-LIST
3413
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3417
+ test -z "$as_dir" && as_dir=.
3418
+ for ac_prog in egrep; do
3419
+ for ac_exec_ext in '' $ac_executable_extensions; do
3420
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3421
+ { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3422
+ # Check for GNU ac_path_EGREP and select it if it is found.
3423
+ # Check for GNU $ac_path_EGREP
3424
+case `"$ac_path_EGREP" --version 2>&1` in
3426
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3429
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3432
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
3433
+ mv "conftest.tmp" "conftest.in"
3434
+ cp "conftest.in" "conftest.nl"
3435
+ echo 'EGREP' >> "conftest.nl"
3436
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3437
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3438
+ ac_count=`expr $ac_count + 1`
3439
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3440
+ # Best one so far, save it but keep looking for a better one
3441
+ ac_cv_path_EGREP="$ac_path_EGREP"
3442
+ ac_path_EGREP_max=$ac_count
3444
+ # 10*(2^10) chars as input seems more than enough
3445
+ test $ac_count -gt 10 && break
3447
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3451
+ $ac_path_EGREP_found && break 3
3461
+EGREP="$ac_cv_path_EGREP"
3462
+if test -z "$EGREP"; then
3463
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3464
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3465
+ { (exit 1); exit 1; }; }
3469
+ ac_cv_path_EGREP=$EGREP
3475
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3476
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3477
- EGREP=$ac_cv_prog_egrep
3478
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3479
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3480
+ EGREP="$ac_cv_path_EGREP"
3483
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3484
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3485
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3486
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3487
if test "${ac_cv_header_stdc+set}" = set; then
3488
echo $ECHO_N "(cached) $ECHO_C" >&6
3490
@@ -2745,24 +3431,36 @@
3493
rm -f conftest.$ac_objext
3494
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3495
- (eval $ac_compile) 2>conftest.er1
3496
+if { (ac_try="$ac_compile"
3497
+case "(($ac_try" in
3498
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499
+ *) ac_try_echo=$ac_try;;
3501
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3502
+ (eval "$ac_compile") 2>conftest.er1
3504
grep -v '^ *+' conftest.er1 >conftest.err
3506
cat conftest.err >&5
3507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508
(exit $ac_status); } &&
3509
- { ac_try='test -z "$ac_c_werror_flag"
3510
- || test ! -s conftest.err'
3511
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512
- (eval $ac_try) 2>&5
3513
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3514
+ { (case "(($ac_try" in
3515
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516
+ *) ac_try_echo=$ac_try;;
3518
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519
+ (eval "$ac_try") 2>&5
3521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522
(exit $ac_status); }; } &&
3523
{ ac_try='test -s conftest.$ac_objext'
3524
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525
- (eval $ac_try) 2>&5
3526
+ { (case "(($ac_try" in
3527
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528
+ *) ac_try_echo=$ac_try;;
3530
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531
+ (eval "$ac_try") 2>&5
3533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
(exit $ac_status); }; }; then
3535
@@ -2771,9 +3469,10 @@
3536
echo "$as_me: failed program was:" >&5
3537
sed 's/^/| /' conftest.$ac_ext >&5
3539
-ac_cv_header_stdc=no
3540
+ ac_cv_header_stdc=no
3542
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3544
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546
if test $ac_cv_header_stdc = yes; then
3547
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3548
@@ -2829,6 +3528,7 @@
3549
cat >>conftest.$ac_ext <<_ACEOF
3550
/* end confdefs.h. */
3552
+#include <stdlib.h>
3553
#if ((' ' & 0x0FF) == 0x020)
3554
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3555
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3556
@@ -2848,18 +3548,27 @@
3557
for (i = 0; i < 256; i++)
3558
if (XOR (islower (i), ISLOWER (i))
3559
|| toupper (i) != TOUPPER (i))
3566
rm -f conftest$ac_exeext
3567
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3568
- (eval $ac_link) 2>&5
3569
+if { (ac_try="$ac_link"
3570
+case "(($ac_try" in
3571
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572
+ *) ac_try_echo=$ac_try;;
3574
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575
+ (eval "$ac_link") 2>&5
3577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3579
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580
- (eval $ac_try) 2>&5
3581
+ { (case "(($ac_try" in
3582
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583
+ *) ac_try_echo=$ac_try;;
3585
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3586
+ (eval "$ac_try") 2>&5
3588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589
(exit $ac_status); }; }; then
3590
@@ -2872,12 +3581,14 @@
3592
ac_cv_header_stdc=no
3594
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3595
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3601
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3602
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
3603
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3604
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3605
if test $ac_cv_header_stdc = yes; then
3607
cat >>confdefs.h <<\_ACEOF
3608
@@ -2901,9 +3612,9 @@
3609
inttypes.h stdint.h unistd.h
3611
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3612
-echo "$as_me:$LINENO: checking for $ac_header" >&5
3613
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3614
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
3615
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3616
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3617
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3618
echo $ECHO_N "(cached) $ECHO_C" >&6
3620
cat >conftest.$ac_ext <<_ACEOF
3621
@@ -2917,24 +3628,36 @@
3622
#include <$ac_header>
3624
rm -f conftest.$ac_objext
3625
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626
- (eval $ac_compile) 2>conftest.er1
3627
+if { (ac_try="$ac_compile"
3628
+case "(($ac_try" in
3629
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630
+ *) ac_try_echo=$ac_try;;
3632
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633
+ (eval "$ac_compile") 2>conftest.er1
3635
grep -v '^ *+' conftest.er1 >conftest.err
3637
cat conftest.err >&5
3638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639
(exit $ac_status); } &&
3640
- { ac_try='test -z "$ac_c_werror_flag"
3641
- || test ! -s conftest.err'
3642
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643
- (eval $ac_try) 2>&5
3644
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3645
+ { (case "(($ac_try" in
3646
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647
+ *) ac_try_echo=$ac_try;;
3649
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3650
+ (eval "$ac_try") 2>&5
3652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653
(exit $ac_status); }; } &&
3654
{ ac_try='test -s conftest.$ac_objext'
3655
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656
- (eval $ac_try) 2>&5
3657
+ { (case "(($ac_try" in
3658
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659
+ *) ac_try_echo=$ac_try;;
3661
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3662
+ (eval "$ac_try") 2>&5
3664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665
(exit $ac_status); }; }; then
3666
@@ -2943,12 +3666,14 @@
3667
echo "$as_me: failed program was:" >&5
3668
sed 's/^/| /' conftest.$ac_ext >&5
3670
-eval "$as_ac_Header=no"
3671
+ eval "$as_ac_Header=no"
3673
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3675
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3677
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3678
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3679
+ac_res=`eval echo '${'$as_ac_Header'}'`
3680
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
3681
+echo "${ECHO_T}$ac_res" >&6; }
3682
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3683
cat >>confdefs.h <<_ACEOF
3684
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3685
@@ -2959,8 +3684,8 @@
3689
-echo "$as_me:$LINENO: checking for short" >&5
3690
-echo $ECHO_N "checking for short... $ECHO_C" >&6
3691
+{ echo "$as_me:$LINENO: checking for short" >&5
3692
+echo $ECHO_N "checking for short... $ECHO_C" >&6; }
3693
if test "${ac_cv_type_short+set}" = set; then
3694
echo $ECHO_N "(cached) $ECHO_C" >&6
3696
@@ -2971,36 +3696,49 @@
3697
cat >>conftest.$ac_ext <<_ACEOF
3698
/* end confdefs.h. */
3699
$ac_includes_default
3700
+typedef short ac__type_new_;
3705
+if ((ac__type_new_ *) 0)
3707
-if (sizeof (short))
3708
+if (sizeof (ac__type_new_))
3714
rm -f conftest.$ac_objext
3715
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3716
- (eval $ac_compile) 2>conftest.er1
3717
+if { (ac_try="$ac_compile"
3718
+case "(($ac_try" in
3719
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720
+ *) ac_try_echo=$ac_try;;
3722
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3723
+ (eval "$ac_compile") 2>conftest.er1
3725
grep -v '^ *+' conftest.er1 >conftest.err
3727
cat conftest.err >&5
3728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
(exit $ac_status); } &&
3730
- { ac_try='test -z "$ac_c_werror_flag"
3731
- || test ! -s conftest.err'
3732
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733
- (eval $ac_try) 2>&5
3734
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3735
+ { (case "(($ac_try" in
3736
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737
+ *) ac_try_echo=$ac_try;;
3739
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740
+ (eval "$ac_try") 2>&5
3742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743
(exit $ac_status); }; } &&
3744
{ ac_try='test -s conftest.$ac_objext'
3745
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746
- (eval $ac_try) 2>&5
3747
+ { (case "(($ac_try" in
3748
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749
+ *) ac_try_echo=$ac_try;;
3751
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3752
+ (eval "$ac_try") 2>&5
3754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755
(exit $ac_status); }; }; then
3756
@@ -3009,23 +3747,23 @@
3757
echo "$as_me: failed program was:" >&5
3758
sed 's/^/| /' conftest.$ac_ext >&5
3760
-ac_cv_type_short=no
3761
+ ac_cv_type_short=no
3763
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3765
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3767
-echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3768
-echo "${ECHO_T}$ac_cv_type_short" >&6
3769
+{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
3770
+echo "${ECHO_T}$ac_cv_type_short" >&6; }
3772
-echo "$as_me:$LINENO: checking size of short" >&5
3773
-echo $ECHO_N "checking size of short... $ECHO_C" >&6
3774
+# The cast to long int works around a bug in the HP C Compiler
3775
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3776
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3777
+# This bug is HP SR number 8606223364.
3778
+{ echo "$as_me:$LINENO: checking size of short" >&5
3779
+echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
3780
if test "${ac_cv_sizeof_short+set}" = set; then
3781
echo $ECHO_N "(cached) $ECHO_C" >&6
3783
- if test "$ac_cv_type_short" = yes; then
3784
- # The cast to unsigned long works around a bug in the HP C Compiler
3785
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3786
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3787
- # This bug is HP SR number 8606223364.
3788
if test "$cross_compiling" = yes; then
3789
# Depending upon the size, compute the lo and hi bounds.
3790
cat >conftest.$ac_ext <<_ACEOF
3791
@@ -3035,10 +3773,12 @@
3792
cat >>conftest.$ac_ext <<_ACEOF
3793
/* end confdefs.h. */
3794
$ac_includes_default
3795
+ typedef short ac__type_sizeof_;
3800
-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
3801
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
3805
@@ -3046,24 +3786,36 @@
3808
rm -f conftest.$ac_objext
3809
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3810
- (eval $ac_compile) 2>conftest.er1
3811
+if { (ac_try="$ac_compile"
3812
+case "(($ac_try" in
3813
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814
+ *) ac_try_echo=$ac_try;;
3816
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817
+ (eval "$ac_compile") 2>conftest.er1
3819
grep -v '^ *+' conftest.er1 >conftest.err
3821
cat conftest.err >&5
3822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823
(exit $ac_status); } &&
3824
- { ac_try='test -z "$ac_c_werror_flag"
3825
- || test ! -s conftest.err'
3826
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827
- (eval $ac_try) 2>&5
3828
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3829
+ { (case "(($ac_try" in
3830
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831
+ *) ac_try_echo=$ac_try;;
3833
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834
+ (eval "$ac_try") 2>&5
3836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837
(exit $ac_status); }; } &&
3838
{ ac_try='test -s conftest.$ac_objext'
3839
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840
- (eval $ac_try) 2>&5
3841
+ { (case "(($ac_try" in
3842
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843
+ *) ac_try_echo=$ac_try;;
3845
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846
+ (eval "$ac_try") 2>&5
3848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
(exit $ac_status); }; }; then
3850
@@ -3076,10 +3828,12 @@
3851
cat >>conftest.$ac_ext <<_ACEOF
3852
/* end confdefs.h. */
3853
$ac_includes_default
3854
+ typedef short ac__type_sizeof_;
3859
-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
3860
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
3864
@@ -3087,24 +3841,36 @@
3867
rm -f conftest.$ac_objext
3868
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3869
- (eval $ac_compile) 2>conftest.er1
3870
+if { (ac_try="$ac_compile"
3871
+case "(($ac_try" in
3872
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873
+ *) ac_try_echo=$ac_try;;
3875
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876
+ (eval "$ac_compile") 2>conftest.er1
3878
grep -v '^ *+' conftest.er1 >conftest.err
3880
cat conftest.err >&5
3881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882
(exit $ac_status); } &&
3883
- { ac_try='test -z "$ac_c_werror_flag"
3884
- || test ! -s conftest.err'
3885
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886
- (eval $ac_try) 2>&5
3887
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3888
+ { (case "(($ac_try" in
3889
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890
+ *) ac_try_echo=$ac_try;;
3892
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893
+ (eval "$ac_try") 2>&5
3895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896
(exit $ac_status); }; } &&
3897
{ ac_try='test -s conftest.$ac_objext'
3898
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3899
- (eval $ac_try) 2>&5
3900
+ { (case "(($ac_try" in
3901
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902
+ *) ac_try_echo=$ac_try;;
3904
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3905
+ (eval "$ac_try") 2>&5
3907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908
(exit $ac_status); }; }; then
3909
@@ -3113,30 +3879,33 @@
3910
echo "$as_me: failed program was:" >&5
3911
sed 's/^/| /' conftest.$ac_ext >&5
3913
-ac_lo=`expr $ac_mid + 1`
3914
- if test $ac_lo -le $ac_mid; then
3918
- ac_mid=`expr 2 '*' $ac_mid + 1`
3919
+ ac_lo=`expr $ac_mid + 1`
3920
+ if test $ac_lo -le $ac_mid; then
3924
+ ac_mid=`expr 2 '*' $ac_mid + 1`
3926
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3928
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931
echo "$as_me: failed program was:" >&5
3932
sed 's/^/| /' conftest.$ac_ext >&5
3934
-cat >conftest.$ac_ext <<_ACEOF
3935
+ cat >conftest.$ac_ext <<_ACEOF
3938
cat confdefs.h >>conftest.$ac_ext
3939
cat >>conftest.$ac_ext <<_ACEOF
3940
/* end confdefs.h. */
3941
$ac_includes_default
3942
+ typedef short ac__type_sizeof_;
3947
-static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
3948
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
3952
@@ -3144,24 +3913,36 @@
3955
rm -f conftest.$ac_objext
3956
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3957
- (eval $ac_compile) 2>conftest.er1
3958
+if { (ac_try="$ac_compile"
3959
+case "(($ac_try" in
3960
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961
+ *) ac_try_echo=$ac_try;;
3963
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964
+ (eval "$ac_compile") 2>conftest.er1
3966
grep -v '^ *+' conftest.er1 >conftest.err
3968
cat conftest.err >&5
3969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
(exit $ac_status); } &&
3971
- { ac_try='test -z "$ac_c_werror_flag"
3972
- || test ! -s conftest.err'
3973
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974
- (eval $ac_try) 2>&5
3975
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3976
+ { (case "(($ac_try" in
3977
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978
+ *) ac_try_echo=$ac_try;;
3980
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3981
+ (eval "$ac_try") 2>&5
3983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984
(exit $ac_status); }; } &&
3985
{ ac_try='test -s conftest.$ac_objext'
3986
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987
- (eval $ac_try) 2>&5
3988
+ { (case "(($ac_try" in
3989
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3990
+ *) ac_try_echo=$ac_try;;
3992
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993
+ (eval "$ac_try") 2>&5
3995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996
(exit $ac_status); }; }; then
3997
@@ -3174,10 +3955,12 @@
3998
cat >>conftest.$ac_ext <<_ACEOF
3999
/* end confdefs.h. */
4000
$ac_includes_default
4001
+ typedef short ac__type_sizeof_;
4006
-static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
4007
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4011
@@ -3185,24 +3968,36 @@
4014
rm -f conftest.$ac_objext
4015
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4016
- (eval $ac_compile) 2>conftest.er1
4017
+if { (ac_try="$ac_compile"
4018
+case "(($ac_try" in
4019
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020
+ *) ac_try_echo=$ac_try;;
4022
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023
+ (eval "$ac_compile") 2>conftest.er1
4025
grep -v '^ *+' conftest.er1 >conftest.err
4027
cat conftest.err >&5
4028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029
(exit $ac_status); } &&
4030
- { ac_try='test -z "$ac_c_werror_flag"
4031
- || test ! -s conftest.err'
4032
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033
- (eval $ac_try) 2>&5
4034
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4035
+ { (case "(($ac_try" in
4036
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037
+ *) ac_try_echo=$ac_try;;
4039
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4040
+ (eval "$ac_try") 2>&5
4042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043
(exit $ac_status); }; } &&
4044
{ ac_try='test -s conftest.$ac_objext'
4045
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046
- (eval $ac_try) 2>&5
4047
+ { (case "(($ac_try" in
4048
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049
+ *) ac_try_echo=$ac_try;;
4051
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4052
+ (eval "$ac_try") 2>&5
4054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055
(exit $ac_status); }; }; then
4056
@@ -3211,24 +4006,27 @@
4057
echo "$as_me: failed program was:" >&5
4058
sed 's/^/| /' conftest.$ac_ext >&5
4060
-ac_hi=`expr '(' $ac_mid ')' - 1`
4061
- if test $ac_mid -le $ac_hi; then
4065
- ac_mid=`expr 2 '*' $ac_mid`
4066
+ ac_hi=`expr '(' $ac_mid ')' - 1`
4067
+ if test $ac_mid -le $ac_hi; then
4071
+ ac_mid=`expr 2 '*' $ac_mid`
4073
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4075
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078
echo "$as_me: failed program was:" >&5
4079
sed 's/^/| /' conftest.$ac_ext >&5
4084
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4086
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4090
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091
# Binary search between lo and hi bounds.
4092
while test "x$ac_lo" != "x$ac_hi"; do
4093
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4094
@@ -3239,10 +4037,12 @@
4095
cat >>conftest.$ac_ext <<_ACEOF
4096
/* end confdefs.h. */
4097
$ac_includes_default
4098
+ typedef short ac__type_sizeof_;
4103
-static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
4104
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4108
@@ -3250,24 +4050,36 @@
4111
rm -f conftest.$ac_objext
4112
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4113
- (eval $ac_compile) 2>conftest.er1
4114
+if { (ac_try="$ac_compile"
4115
+case "(($ac_try" in
4116
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
+ *) ac_try_echo=$ac_try;;
4119
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120
+ (eval "$ac_compile") 2>conftest.er1
4122
grep -v '^ *+' conftest.er1 >conftest.err
4124
cat conftest.err >&5
4125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
(exit $ac_status); } &&
4127
- { ac_try='test -z "$ac_c_werror_flag"
4128
- || test ! -s conftest.err'
4129
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130
- (eval $ac_try) 2>&5
4131
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4132
+ { (case "(($ac_try" in
4133
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
+ *) ac_try_echo=$ac_try;;
4136
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4137
+ (eval "$ac_try") 2>&5
4139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140
(exit $ac_status); }; } &&
4141
{ ac_try='test -s conftest.$ac_objext'
4142
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143
- (eval $ac_try) 2>&5
4144
+ { (case "(($ac_try" in
4145
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146
+ *) ac_try_echo=$ac_try;;
4148
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4149
+ (eval "$ac_try") 2>&5
4151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152
(exit $ac_status); }; }; then
4153
@@ -3276,26 +4088,24 @@
4154
echo "$as_me: failed program was:" >&5
4155
sed 's/^/| /' conftest.$ac_ext >&5
4157
-ac_lo=`expr '(' $ac_mid ')' + 1`
4158
+ ac_lo=`expr '(' $ac_mid ')' + 1`
4160
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4162
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165
?*) ac_cv_sizeof_short=$ac_lo;;
4166
-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4167
+'') if test "$ac_cv_type_short" = yes; then
4168
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4169
See \`config.log' for more details." >&5
4170
-echo "$as_me: error: cannot compute sizeof (short), 77
4171
+echo "$as_me: error: cannot compute sizeof (short)
4172
See \`config.log' for more details." >&2;}
4173
- { (exit 1); exit 1; }; } ;;
4174
+ { (exit 77); exit 77; }; }
4176
+ ac_cv_sizeof_short=0
4180
- if test "$cross_compiling" = yes; then
4181
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4182
-See \`config.log' for more details." >&5
4183
-echo "$as_me: error: cannot run test program while cross compiling
4184
-See \`config.log' for more details." >&2;}
4185
- { (exit 1); exit 1; }; }
4187
cat >conftest.$ac_ext <<_ACEOF
4190
@@ -3303,8 +4113,10 @@
4191
cat >>conftest.$ac_ext <<_ACEOF
4192
/* end confdefs.h. */
4193
$ac_includes_default
4194
-long longval () { return (long) (sizeof (short)); }
4195
-unsigned long ulongval () { return (long) (sizeof (short)); }
4196
+ typedef short ac__type_sizeof_;
4198
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4199
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4203
@@ -3313,35 +4125,44 @@
4205
FILE *f = fopen ("conftest.val", "w");
4208
- if (((long) (sizeof (short))) < 0)
4210
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4212
- long i = longval ();
4213
- if (i != ((long) (sizeof (short))))
4215
+ long int i = longval ();
4216
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
4218
fprintf (f, "%ld\n", i);
4222
- unsigned long i = ulongval ();
4223
- if (i != ((long) (sizeof (short))))
4225
+ unsigned long int i = ulongval ();
4226
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
4228
fprintf (f, "%lu\n", i);
4230
- exit (ferror (f) || fclose (f) != 0);
4231
+ return ferror (f) || fclose (f) != 0;
4237
rm -f conftest$ac_exeext
4238
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4239
- (eval $ac_link) 2>&5
4240
+if { (ac_try="$ac_link"
4241
+case "(($ac_try" in
4242
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243
+ *) ac_try_echo=$ac_try;;
4245
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4246
+ (eval "$ac_link") 2>&5
4248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4250
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251
- (eval $ac_try) 2>&5
4252
+ { (case "(($ac_try" in
4253
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254
+ *) ac_try_echo=$ac_try;;
4256
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4257
+ (eval "$ac_try") 2>&5
4259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
(exit $ac_status); }; }; then
4261
@@ -3352,29 +4173,32 @@
4262
sed 's/^/| /' conftest.$ac_ext >&5
4265
-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
4266
+if test "$ac_cv_type_short" = yes; then
4267
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
4268
See \`config.log' for more details." >&5
4269
-echo "$as_me: error: cannot compute sizeof (short), 77
4270
+echo "$as_me: error: cannot compute sizeof (short)
4271
See \`config.log' for more details." >&2;}
4272
- { (exit 1); exit 1; }; }
4274
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4275
+ { (exit 77); exit 77; }; }
4277
+ ac_cv_sizeof_short=0
4280
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4284
- ac_cv_sizeof_short=0
4287
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4288
-echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4289
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4290
+echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
4294
cat >>confdefs.h <<_ACEOF
4295
#define SIZEOF_SHORT $ac_cv_sizeof_short
4299
-echo "$as_me:$LINENO: checking for int" >&5
4300
-echo $ECHO_N "checking for int... $ECHO_C" >&6
4301
+{ echo "$as_me:$LINENO: checking for int" >&5
4302
+echo $ECHO_N "checking for int... $ECHO_C" >&6; }
4303
if test "${ac_cv_type_int+set}" = set; then
4304
echo $ECHO_N "(cached) $ECHO_C" >&6
4306
@@ -3385,36 +4209,49 @@
4307
cat >>conftest.$ac_ext <<_ACEOF
4308
/* end confdefs.h. */
4309
$ac_includes_default
4310
+typedef int ac__type_new_;
4315
+if ((ac__type_new_ *) 0)
4318
+if (sizeof (ac__type_new_))
4324
rm -f conftest.$ac_objext
4325
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4326
- (eval $ac_compile) 2>conftest.er1
4327
+if { (ac_try="$ac_compile"
4328
+case "(($ac_try" in
4329
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4330
+ *) ac_try_echo=$ac_try;;
4332
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4333
+ (eval "$ac_compile") 2>conftest.er1
4335
grep -v '^ *+' conftest.er1 >conftest.err
4337
cat conftest.err >&5
4338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339
(exit $ac_status); } &&
4340
- { ac_try='test -z "$ac_c_werror_flag"
4341
- || test ! -s conftest.err'
4342
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343
- (eval $ac_try) 2>&5
4344
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4345
+ { (case "(($ac_try" in
4346
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347
+ *) ac_try_echo=$ac_try;;
4349
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350
+ (eval "$ac_try") 2>&5
4352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353
(exit $ac_status); }; } &&
4354
{ ac_try='test -s conftest.$ac_objext'
4355
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356
- (eval $ac_try) 2>&5
4357
+ { (case "(($ac_try" in
4358
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4359
+ *) ac_try_echo=$ac_try;;
4361
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4362
+ (eval "$ac_try") 2>&5
4364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
(exit $ac_status); }; }; then
4366
@@ -3423,23 +4260,23 @@
4367
echo "$as_me: failed program was:" >&5
4368
sed 's/^/| /' conftest.$ac_ext >&5
4373
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4375
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377
-echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4378
-echo "${ECHO_T}$ac_cv_type_int" >&6
4379
+{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4380
+echo "${ECHO_T}$ac_cv_type_int" >&6; }
4382
-echo "$as_me:$LINENO: checking size of int" >&5
4383
-echo $ECHO_N "checking size of int... $ECHO_C" >&6
4384
+# The cast to long int works around a bug in the HP C Compiler
4385
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4386
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4387
+# This bug is HP SR number 8606223364.
4388
+{ echo "$as_me:$LINENO: checking size of int" >&5
4389
+echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
4390
if test "${ac_cv_sizeof_int+set}" = set; then
4391
echo $ECHO_N "(cached) $ECHO_C" >&6
4393
- if test "$ac_cv_type_int" = yes; then
4394
- # The cast to unsigned long works around a bug in the HP C Compiler
4395
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4396
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4397
- # This bug is HP SR number 8606223364.
4398
if test "$cross_compiling" = yes; then
4399
# Depending upon the size, compute the lo and hi bounds.
4400
cat >conftest.$ac_ext <<_ACEOF
4401
@@ -3449,10 +4286,12 @@
4402
cat >>conftest.$ac_ext <<_ACEOF
4403
/* end confdefs.h. */
4404
$ac_includes_default
4405
+ typedef int ac__type_sizeof_;
4410
-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4411
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4415
@@ -3460,24 +4299,36 @@
4418
rm -f conftest.$ac_objext
4419
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420
- (eval $ac_compile) 2>conftest.er1
4421
+if { (ac_try="$ac_compile"
4422
+case "(($ac_try" in
4423
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424
+ *) ac_try_echo=$ac_try;;
4426
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427
+ (eval "$ac_compile") 2>conftest.er1
4429
grep -v '^ *+' conftest.er1 >conftest.err
4431
cat conftest.err >&5
4432
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
(exit $ac_status); } &&
4434
- { ac_try='test -z "$ac_c_werror_flag"
4435
- || test ! -s conftest.err'
4436
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437
- (eval $ac_try) 2>&5
4438
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4439
+ { (case "(($ac_try" in
4440
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441
+ *) ac_try_echo=$ac_try;;
4443
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4444
+ (eval "$ac_try") 2>&5
4446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447
(exit $ac_status); }; } &&
4448
{ ac_try='test -s conftest.$ac_objext'
4449
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450
- (eval $ac_try) 2>&5
4451
+ { (case "(($ac_try" in
4452
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453
+ *) ac_try_echo=$ac_try;;
4455
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456
+ (eval "$ac_try") 2>&5
4458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459
(exit $ac_status); }; }; then
4460
@@ -3490,10 +4341,12 @@
4461
cat >>conftest.$ac_ext <<_ACEOF
4462
/* end confdefs.h. */
4463
$ac_includes_default
4464
+ typedef int ac__type_sizeof_;
4469
-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4470
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4474
@@ -3501,24 +4354,36 @@
4477
rm -f conftest.$ac_objext
4478
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4479
- (eval $ac_compile) 2>conftest.er1
4480
+if { (ac_try="$ac_compile"
4481
+case "(($ac_try" in
4482
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4483
+ *) ac_try_echo=$ac_try;;
4485
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4486
+ (eval "$ac_compile") 2>conftest.er1
4488
grep -v '^ *+' conftest.er1 >conftest.err
4490
cat conftest.err >&5
4491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492
(exit $ac_status); } &&
4493
- { ac_try='test -z "$ac_c_werror_flag"
4494
- || test ! -s conftest.err'
4495
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496
- (eval $ac_try) 2>&5
4497
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4498
+ { (case "(($ac_try" in
4499
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500
+ *) ac_try_echo=$ac_try;;
4502
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4503
+ (eval "$ac_try") 2>&5
4505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506
(exit $ac_status); }; } &&
4507
{ ac_try='test -s conftest.$ac_objext'
4508
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509
- (eval $ac_try) 2>&5
4510
+ { (case "(($ac_try" in
4511
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4512
+ *) ac_try_echo=$ac_try;;
4514
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4515
+ (eval "$ac_try") 2>&5
4517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
(exit $ac_status); }; }; then
4519
@@ -3527,30 +4392,33 @@
4520
echo "$as_me: failed program was:" >&5
4521
sed 's/^/| /' conftest.$ac_ext >&5
4523
-ac_lo=`expr $ac_mid + 1`
4524
- if test $ac_lo -le $ac_mid; then
4528
- ac_mid=`expr 2 '*' $ac_mid + 1`
4529
+ ac_lo=`expr $ac_mid + 1`
4530
+ if test $ac_lo -le $ac_mid; then
4534
+ ac_mid=`expr 2 '*' $ac_mid + 1`
4536
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4538
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4541
echo "$as_me: failed program was:" >&5
4542
sed 's/^/| /' conftest.$ac_ext >&5
4544
-cat >conftest.$ac_ext <<_ACEOF
4545
+ cat >conftest.$ac_ext <<_ACEOF
4548
cat confdefs.h >>conftest.$ac_ext
4549
cat >>conftest.$ac_ext <<_ACEOF
4550
/* end confdefs.h. */
4551
$ac_includes_default
4552
+ typedef int ac__type_sizeof_;
4557
-static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4558
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4562
@@ -3558,24 +4426,36 @@
4565
rm -f conftest.$ac_objext
4566
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4567
- (eval $ac_compile) 2>conftest.er1
4568
+if { (ac_try="$ac_compile"
4569
+case "(($ac_try" in
4570
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4571
+ *) ac_try_echo=$ac_try;;
4573
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4574
+ (eval "$ac_compile") 2>conftest.er1
4576
grep -v '^ *+' conftest.er1 >conftest.err
4578
cat conftest.err >&5
4579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580
(exit $ac_status); } &&
4581
- { ac_try='test -z "$ac_c_werror_flag"
4582
- || test ! -s conftest.err'
4583
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584
- (eval $ac_try) 2>&5
4585
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4586
+ { (case "(($ac_try" in
4587
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588
+ *) ac_try_echo=$ac_try;;
4590
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591
+ (eval "$ac_try") 2>&5
4593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594
(exit $ac_status); }; } &&
4595
{ ac_try='test -s conftest.$ac_objext'
4596
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597
- (eval $ac_try) 2>&5
4598
+ { (case "(($ac_try" in
4599
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600
+ *) ac_try_echo=$ac_try;;
4602
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603
+ (eval "$ac_try") 2>&5
4605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606
(exit $ac_status); }; }; then
4607
@@ -3588,10 +4468,12 @@
4608
cat >>conftest.$ac_ext <<_ACEOF
4609
/* end confdefs.h. */
4610
$ac_includes_default
4611
+ typedef int ac__type_sizeof_;
4616
-static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4617
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4621
@@ -3599,24 +4481,36 @@
4624
rm -f conftest.$ac_objext
4625
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4626
- (eval $ac_compile) 2>conftest.er1
4627
+if { (ac_try="$ac_compile"
4628
+case "(($ac_try" in
4629
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4630
+ *) ac_try_echo=$ac_try;;
4632
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4633
+ (eval "$ac_compile") 2>conftest.er1
4635
grep -v '^ *+' conftest.er1 >conftest.err
4637
cat conftest.err >&5
4638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639
(exit $ac_status); } &&
4640
- { ac_try='test -z "$ac_c_werror_flag"
4641
- || test ! -s conftest.err'
4642
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643
- (eval $ac_try) 2>&5
4644
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645
+ { (case "(($ac_try" in
4646
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647
+ *) ac_try_echo=$ac_try;;
4649
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650
+ (eval "$ac_try") 2>&5
4652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653
(exit $ac_status); }; } &&
4654
{ ac_try='test -s conftest.$ac_objext'
4655
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4656
- (eval $ac_try) 2>&5
4657
+ { (case "(($ac_try" in
4658
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659
+ *) ac_try_echo=$ac_try;;
4661
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4662
+ (eval "$ac_try") 2>&5
4664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665
(exit $ac_status); }; }; then
4666
@@ -3625,24 +4519,27 @@
4667
echo "$as_me: failed program was:" >&5
4668
sed 's/^/| /' conftest.$ac_ext >&5
4670
-ac_hi=`expr '(' $ac_mid ')' - 1`
4671
- if test $ac_mid -le $ac_hi; then
4675
- ac_mid=`expr 2 '*' $ac_mid`
4676
+ ac_hi=`expr '(' $ac_mid ')' - 1`
4677
+ if test $ac_mid -le $ac_hi; then
4681
+ ac_mid=`expr 2 '*' $ac_mid`
4683
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4685
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688
echo "$as_me: failed program was:" >&5
4689
sed 's/^/| /' conftest.$ac_ext >&5
4694
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4696
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4700
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4701
# Binary search between lo and hi bounds.
4702
while test "x$ac_lo" != "x$ac_hi"; do
4703
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4704
@@ -3653,10 +4550,12 @@
4705
cat >>conftest.$ac_ext <<_ACEOF
4706
/* end confdefs.h. */
4707
$ac_includes_default
4708
+ typedef int ac__type_sizeof_;
4713
-static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4714
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4718
@@ -3664,24 +4563,36 @@
4721
rm -f conftest.$ac_objext
4722
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723
- (eval $ac_compile) 2>conftest.er1
4724
+if { (ac_try="$ac_compile"
4725
+case "(($ac_try" in
4726
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4727
+ *) ac_try_echo=$ac_try;;
4729
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4730
+ (eval "$ac_compile") 2>conftest.er1
4732
grep -v '^ *+' conftest.er1 >conftest.err
4734
cat conftest.err >&5
4735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736
(exit $ac_status); } &&
4737
- { ac_try='test -z "$ac_c_werror_flag"
4738
- || test ! -s conftest.err'
4739
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740
- (eval $ac_try) 2>&5
4741
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4742
+ { (case "(($ac_try" in
4743
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744
+ *) ac_try_echo=$ac_try;;
4746
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747
+ (eval "$ac_try") 2>&5
4749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750
(exit $ac_status); }; } &&
4751
{ ac_try='test -s conftest.$ac_objext'
4752
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753
- (eval $ac_try) 2>&5
4754
+ { (case "(($ac_try" in
4755
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756
+ *) ac_try_echo=$ac_try;;
4758
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759
+ (eval "$ac_try") 2>&5
4761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762
(exit $ac_status); }; }; then
4763
@@ -3690,26 +4601,24 @@
4764
echo "$as_me: failed program was:" >&5
4765
sed 's/^/| /' conftest.$ac_ext >&5
4767
-ac_lo=`expr '(' $ac_mid ')' + 1`
4768
+ ac_lo=`expr '(' $ac_mid ')' + 1`
4770
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4772
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775
?*) ac_cv_sizeof_int=$ac_lo;;
4776
-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4777
+'') if test "$ac_cv_type_int" = yes; then
4778
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4779
See \`config.log' for more details." >&5
4780
-echo "$as_me: error: cannot compute sizeof (int), 77
4781
+echo "$as_me: error: cannot compute sizeof (int)
4782
See \`config.log' for more details." >&2;}
4783
- { (exit 1); exit 1; }; } ;;
4784
+ { (exit 77); exit 77; }; }
4786
+ ac_cv_sizeof_int=0
4790
- if test "$cross_compiling" = yes; then
4791
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4792
-See \`config.log' for more details." >&5
4793
-echo "$as_me: error: cannot run test program while cross compiling
4794
-See \`config.log' for more details." >&2;}
4795
- { (exit 1); exit 1; }; }
4797
cat >conftest.$ac_ext <<_ACEOF
4800
@@ -3717,8 +4626,10 @@
4801
cat >>conftest.$ac_ext <<_ACEOF
4802
/* end confdefs.h. */
4803
$ac_includes_default
4804
-long longval () { return (long) (sizeof (int)); }
4805
-unsigned long ulongval () { return (long) (sizeof (int)); }
4806
+ typedef int ac__type_sizeof_;
4808
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4809
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4813
@@ -3727,35 +4638,44 @@
4815
FILE *f = fopen ("conftest.val", "w");
4818
- if (((long) (sizeof (int))) < 0)
4820
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4822
- long i = longval ();
4823
- if (i != ((long) (sizeof (int))))
4825
+ long int i = longval ();
4826
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
4828
fprintf (f, "%ld\n", i);
4832
- unsigned long i = ulongval ();
4833
- if (i != ((long) (sizeof (int))))
4835
+ unsigned long int i = ulongval ();
4836
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
4838
fprintf (f, "%lu\n", i);
4840
- exit (ferror (f) || fclose (f) != 0);
4841
+ return ferror (f) || fclose (f) != 0;
4847
rm -f conftest$ac_exeext
4848
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4849
- (eval $ac_link) 2>&5
4850
+if { (ac_try="$ac_link"
4851
+case "(($ac_try" in
4852
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853
+ *) ac_try_echo=$ac_try;;
4855
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856
+ (eval "$ac_link") 2>&5
4858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4860
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861
- (eval $ac_try) 2>&5
4862
+ { (case "(($ac_try" in
4863
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864
+ *) ac_try_echo=$ac_try;;
4866
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867
+ (eval "$ac_try") 2>&5
4869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870
(exit $ac_status); }; }; then
4871
@@ -3766,29 +4686,32 @@
4872
sed 's/^/| /' conftest.$ac_ext >&5
4875
-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4876
+if test "$ac_cv_type_int" = yes; then
4877
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4878
See \`config.log' for more details." >&5
4879
-echo "$as_me: error: cannot compute sizeof (int), 77
4880
+echo "$as_me: error: cannot compute sizeof (int)
4881
See \`config.log' for more details." >&2;}
4882
- { (exit 1); exit 1; }; }
4884
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4885
+ { (exit 77); exit 77; }; }
4887
+ ac_cv_sizeof_int=0
4890
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4894
- ac_cv_sizeof_int=0
4897
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4898
-echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4899
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4900
+echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
4904
cat >>confdefs.h <<_ACEOF
4905
#define SIZEOF_INT $ac_cv_sizeof_int
4909
-echo "$as_me:$LINENO: checking for long" >&5
4910
-echo $ECHO_N "checking for long... $ECHO_C" >&6
4911
+{ echo "$as_me:$LINENO: checking for long" >&5
4912
+echo $ECHO_N "checking for long... $ECHO_C" >&6; }
4913
if test "${ac_cv_type_long+set}" = set; then
4914
echo $ECHO_N "(cached) $ECHO_C" >&6
4916
@@ -3799,36 +4722,49 @@
4917
cat >>conftest.$ac_ext <<_ACEOF
4918
/* end confdefs.h. */
4919
$ac_includes_default
4920
+typedef long ac__type_new_;
4925
+if ((ac__type_new_ *) 0)
4928
+if (sizeof (ac__type_new_))
4934
rm -f conftest.$ac_objext
4935
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4936
- (eval $ac_compile) 2>conftest.er1
4937
+if { (ac_try="$ac_compile"
4938
+case "(($ac_try" in
4939
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940
+ *) ac_try_echo=$ac_try;;
4942
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943
+ (eval "$ac_compile") 2>conftest.er1
4945
grep -v '^ *+' conftest.er1 >conftest.err
4947
cat conftest.err >&5
4948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
(exit $ac_status); } &&
4950
- { ac_try='test -z "$ac_c_werror_flag"
4951
- || test ! -s conftest.err'
4952
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953
- (eval $ac_try) 2>&5
4954
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4955
+ { (case "(($ac_try" in
4956
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957
+ *) ac_try_echo=$ac_try;;
4959
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960
+ (eval "$ac_try") 2>&5
4962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
(exit $ac_status); }; } &&
4964
{ ac_try='test -s conftest.$ac_objext'
4965
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966
- (eval $ac_try) 2>&5
4967
+ { (case "(($ac_try" in
4968
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4969
+ *) ac_try_echo=$ac_try;;
4971
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4972
+ (eval "$ac_try") 2>&5
4974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975
(exit $ac_status); }; }; then
4976
@@ -3837,23 +4773,23 @@
4977
echo "$as_me: failed program was:" >&5
4978
sed 's/^/| /' conftest.$ac_ext >&5
4981
+ ac_cv_type_long=no
4983
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4985
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987
-echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4988
-echo "${ECHO_T}$ac_cv_type_long" >&6
4989
+{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4990
+echo "${ECHO_T}$ac_cv_type_long" >&6; }
4992
-echo "$as_me:$LINENO: checking size of long" >&5
4993
-echo $ECHO_N "checking size of long... $ECHO_C" >&6
4994
+# The cast to long int works around a bug in the HP C Compiler
4995
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4996
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4997
+# This bug is HP SR number 8606223364.
4998
+{ echo "$as_me:$LINENO: checking size of long" >&5
4999
+echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
5000
if test "${ac_cv_sizeof_long+set}" = set; then
5001
echo $ECHO_N "(cached) $ECHO_C" >&6
5003
- if test "$ac_cv_type_long" = yes; then
5004
- # The cast to unsigned long works around a bug in the HP C Compiler
5005
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5006
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5007
- # This bug is HP SR number 8606223364.
5008
if test "$cross_compiling" = yes; then
5009
# Depending upon the size, compute the lo and hi bounds.
5010
cat >conftest.$ac_ext <<_ACEOF
5011
@@ -3863,10 +4799,12 @@
5012
cat >>conftest.$ac_ext <<_ACEOF
5013
/* end confdefs.h. */
5014
$ac_includes_default
5015
+ typedef long ac__type_sizeof_;
5020
-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5021
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5025
@@ -3874,24 +4812,36 @@
5028
rm -f conftest.$ac_objext
5029
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5030
- (eval $ac_compile) 2>conftest.er1
5031
+if { (ac_try="$ac_compile"
5032
+case "(($ac_try" in
5033
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034
+ *) ac_try_echo=$ac_try;;
5036
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037
+ (eval "$ac_compile") 2>conftest.er1
5039
grep -v '^ *+' conftest.er1 >conftest.err
5041
cat conftest.err >&5
5042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043
(exit $ac_status); } &&
5044
- { ac_try='test -z "$ac_c_werror_flag"
5045
- || test ! -s conftest.err'
5046
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047
- (eval $ac_try) 2>&5
5048
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5049
+ { (case "(($ac_try" in
5050
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5051
+ *) ac_try_echo=$ac_try;;
5053
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5054
+ (eval "$ac_try") 2>&5
5056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057
(exit $ac_status); }; } &&
5058
{ ac_try='test -s conftest.$ac_objext'
5059
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060
- (eval $ac_try) 2>&5
5061
+ { (case "(($ac_try" in
5062
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5063
+ *) ac_try_echo=$ac_try;;
5065
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066
+ (eval "$ac_try") 2>&5
5068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069
(exit $ac_status); }; }; then
5070
@@ -3904,10 +4854,12 @@
5071
cat >>conftest.$ac_ext <<_ACEOF
5072
/* end confdefs.h. */
5073
$ac_includes_default
5074
+ typedef long ac__type_sizeof_;
5079
-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5080
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5084
@@ -3915,24 +4867,36 @@
5087
rm -f conftest.$ac_objext
5088
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5089
- (eval $ac_compile) 2>conftest.er1
5090
+if { (ac_try="$ac_compile"
5091
+case "(($ac_try" in
5092
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093
+ *) ac_try_echo=$ac_try;;
5095
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096
+ (eval "$ac_compile") 2>conftest.er1
5098
grep -v '^ *+' conftest.er1 >conftest.err
5100
cat conftest.err >&5
5101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102
(exit $ac_status); } &&
5103
- { ac_try='test -z "$ac_c_werror_flag"
5104
- || test ! -s conftest.err'
5105
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106
- (eval $ac_try) 2>&5
5107
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5108
+ { (case "(($ac_try" in
5109
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5110
+ *) ac_try_echo=$ac_try;;
5112
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5113
+ (eval "$ac_try") 2>&5
5115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116
(exit $ac_status); }; } &&
5117
{ ac_try='test -s conftest.$ac_objext'
5118
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119
- (eval $ac_try) 2>&5
5120
+ { (case "(($ac_try" in
5121
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5122
+ *) ac_try_echo=$ac_try;;
5124
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5125
+ (eval "$ac_try") 2>&5
5127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128
(exit $ac_status); }; }; then
5129
@@ -3941,30 +4905,33 @@
5130
echo "$as_me: failed program was:" >&5
5131
sed 's/^/| /' conftest.$ac_ext >&5
5133
-ac_lo=`expr $ac_mid + 1`
5134
- if test $ac_lo -le $ac_mid; then
5138
- ac_mid=`expr 2 '*' $ac_mid + 1`
5139
+ ac_lo=`expr $ac_mid + 1`
5140
+ if test $ac_lo -le $ac_mid; then
5144
+ ac_mid=`expr 2 '*' $ac_mid + 1`
5146
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5148
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151
echo "$as_me: failed program was:" >&5
5152
sed 's/^/| /' conftest.$ac_ext >&5
5154
-cat >conftest.$ac_ext <<_ACEOF
5155
+ cat >conftest.$ac_ext <<_ACEOF
5158
cat confdefs.h >>conftest.$ac_ext
5159
cat >>conftest.$ac_ext <<_ACEOF
5160
/* end confdefs.h. */
5161
$ac_includes_default
5162
+ typedef long ac__type_sizeof_;
5167
-static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5168
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5172
@@ -3972,24 +4939,36 @@
5175
rm -f conftest.$ac_objext
5176
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5177
- (eval $ac_compile) 2>conftest.er1
5178
+if { (ac_try="$ac_compile"
5179
+case "(($ac_try" in
5180
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181
+ *) ac_try_echo=$ac_try;;
5183
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5184
+ (eval "$ac_compile") 2>conftest.er1
5186
grep -v '^ *+' conftest.er1 >conftest.err
5188
cat conftest.err >&5
5189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
(exit $ac_status); } &&
5191
- { ac_try='test -z "$ac_c_werror_flag"
5192
- || test ! -s conftest.err'
5193
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194
- (eval $ac_try) 2>&5
5195
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5196
+ { (case "(($ac_try" in
5197
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198
+ *) ac_try_echo=$ac_try;;
5200
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201
+ (eval "$ac_try") 2>&5
5203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204
(exit $ac_status); }; } &&
5205
{ ac_try='test -s conftest.$ac_objext'
5206
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5207
- (eval $ac_try) 2>&5
5208
+ { (case "(($ac_try" in
5209
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210
+ *) ac_try_echo=$ac_try;;
5212
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213
+ (eval "$ac_try") 2>&5
5215
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216
(exit $ac_status); }; }; then
5217
@@ -4002,10 +4981,12 @@
5218
cat >>conftest.$ac_ext <<_ACEOF
5219
/* end confdefs.h. */
5220
$ac_includes_default
5221
+ typedef long ac__type_sizeof_;
5226
-static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5227
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5231
@@ -4013,24 +4994,36 @@
5234
rm -f conftest.$ac_objext
5235
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5236
- (eval $ac_compile) 2>conftest.er1
5237
+if { (ac_try="$ac_compile"
5238
+case "(($ac_try" in
5239
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5240
+ *) ac_try_echo=$ac_try;;
5242
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5243
+ (eval "$ac_compile") 2>conftest.er1
5245
grep -v '^ *+' conftest.er1 >conftest.err
5247
cat conftest.err >&5
5248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249
(exit $ac_status); } &&
5250
- { ac_try='test -z "$ac_c_werror_flag"
5251
- || test ! -s conftest.err'
5252
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253
- (eval $ac_try) 2>&5
5254
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5255
+ { (case "(($ac_try" in
5256
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257
+ *) ac_try_echo=$ac_try;;
5259
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5260
+ (eval "$ac_try") 2>&5
5262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263
(exit $ac_status); }; } &&
5264
{ ac_try='test -s conftest.$ac_objext'
5265
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5266
- (eval $ac_try) 2>&5
5267
+ { (case "(($ac_try" in
5268
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269
+ *) ac_try_echo=$ac_try;;
5271
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272
+ (eval "$ac_try") 2>&5
5274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275
(exit $ac_status); }; }; then
5276
@@ -4039,24 +5032,27 @@
5277
echo "$as_me: failed program was:" >&5
5278
sed 's/^/| /' conftest.$ac_ext >&5
5280
-ac_hi=`expr '(' $ac_mid ')' - 1`
5281
- if test $ac_mid -le $ac_hi; then
5285
- ac_mid=`expr 2 '*' $ac_mid`
5286
+ ac_hi=`expr '(' $ac_mid ')' - 1`
5287
+ if test $ac_mid -le $ac_hi; then
5291
+ ac_mid=`expr 2 '*' $ac_mid`
5293
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5295
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5298
echo "$as_me: failed program was:" >&5
5299
sed 's/^/| /' conftest.$ac_ext >&5
5304
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5306
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5308
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5310
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311
# Binary search between lo and hi bounds.
5312
while test "x$ac_lo" != "x$ac_hi"; do
5313
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5314
@@ -4067,10 +5063,12 @@
5315
cat >>conftest.$ac_ext <<_ACEOF
5316
/* end confdefs.h. */
5317
$ac_includes_default
5318
+ typedef long ac__type_sizeof_;
5323
-static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5324
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5328
@@ -4078,24 +5076,36 @@
5331
rm -f conftest.$ac_objext
5332
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5333
- (eval $ac_compile) 2>conftest.er1
5334
+if { (ac_try="$ac_compile"
5335
+case "(($ac_try" in
5336
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5337
+ *) ac_try_echo=$ac_try;;
5339
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5340
+ (eval "$ac_compile") 2>conftest.er1
5342
grep -v '^ *+' conftest.er1 >conftest.err
5344
cat conftest.err >&5
5345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346
(exit $ac_status); } &&
5347
- { ac_try='test -z "$ac_c_werror_flag"
5348
- || test ! -s conftest.err'
5349
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350
- (eval $ac_try) 2>&5
5351
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5352
+ { (case "(($ac_try" in
5353
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5354
+ *) ac_try_echo=$ac_try;;
5356
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5357
+ (eval "$ac_try") 2>&5
5359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360
(exit $ac_status); }; } &&
5361
{ ac_try='test -s conftest.$ac_objext'
5362
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363
- (eval $ac_try) 2>&5
5364
+ { (case "(($ac_try" in
5365
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5366
+ *) ac_try_echo=$ac_try;;
5368
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369
+ (eval "$ac_try") 2>&5
5371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372
(exit $ac_status); }; }; then
5373
@@ -4104,26 +5114,24 @@
5374
echo "$as_me: failed program was:" >&5
5375
sed 's/^/| /' conftest.$ac_ext >&5
5377
-ac_lo=`expr '(' $ac_mid ')' + 1`
5378
+ ac_lo=`expr '(' $ac_mid ')' + 1`
5380
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5382
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385
?*) ac_cv_sizeof_long=$ac_lo;;
5386
-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5387
+'') if test "$ac_cv_type_long" = yes; then
5388
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5389
See \`config.log' for more details." >&5
5390
-echo "$as_me: error: cannot compute sizeof (long), 77
5391
+echo "$as_me: error: cannot compute sizeof (long)
5392
See \`config.log' for more details." >&2;}
5393
- { (exit 1); exit 1; }; } ;;
5394
+ { (exit 77); exit 77; }; }
5396
+ ac_cv_sizeof_long=0
5400
- if test "$cross_compiling" = yes; then
5401
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5402
-See \`config.log' for more details." >&5
5403
-echo "$as_me: error: cannot run test program while cross compiling
5404
-See \`config.log' for more details." >&2;}
5405
- { (exit 1); exit 1; }; }
5407
cat >conftest.$ac_ext <<_ACEOF
5410
@@ -4131,8 +5139,10 @@
5411
cat >>conftest.$ac_ext <<_ACEOF
5412
/* end confdefs.h. */
5413
$ac_includes_default
5414
-long longval () { return (long) (sizeof (long)); }
5415
-unsigned long ulongval () { return (long) (sizeof (long)); }
5416
+ typedef long ac__type_sizeof_;
5418
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5419
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5423
@@ -4141,35 +5151,44 @@
5425
FILE *f = fopen ("conftest.val", "w");
5428
- if (((long) (sizeof (long))) < 0)
5430
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5432
- long i = longval ();
5433
- if (i != ((long) (sizeof (long))))
5435
+ long int i = longval ();
5436
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
5438
fprintf (f, "%ld\n", i);
5442
- unsigned long i = ulongval ();
5443
- if (i != ((long) (sizeof (long))))
5445
+ unsigned long int i = ulongval ();
5446
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
5448
fprintf (f, "%lu\n", i);
5450
- exit (ferror (f) || fclose (f) != 0);
5451
+ return ferror (f) || fclose (f) != 0;
5457
rm -f conftest$ac_exeext
5458
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5459
- (eval $ac_link) 2>&5
5460
+if { (ac_try="$ac_link"
5461
+case "(($ac_try" in
5462
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463
+ *) ac_try_echo=$ac_try;;
5465
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466
+ (eval "$ac_link") 2>&5
5468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5470
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471
- (eval $ac_try) 2>&5
5472
+ { (case "(($ac_try" in
5473
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5474
+ *) ac_try_echo=$ac_try;;
5476
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5477
+ (eval "$ac_try") 2>&5
5479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480
(exit $ac_status); }; }; then
5481
@@ -4180,29 +5199,32 @@
5482
sed 's/^/| /' conftest.$ac_ext >&5
5485
-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5486
+if test "$ac_cv_type_long" = yes; then
5487
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
5488
See \`config.log' for more details." >&5
5489
-echo "$as_me: error: cannot compute sizeof (long), 77
5490
+echo "$as_me: error: cannot compute sizeof (long)
5491
See \`config.log' for more details." >&2;}
5492
- { (exit 1); exit 1; }; }
5494
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5495
+ { (exit 77); exit 77; }; }
5497
+ ac_cv_sizeof_long=0
5500
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5504
- ac_cv_sizeof_long=0
5507
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5508
-echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5509
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5510
+echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
5514
cat >>confdefs.h <<_ACEOF
5515
#define SIZEOF_LONG $ac_cv_sizeof_long
5519
-echo "$as_me:$LINENO: checking for long long" >&5
5520
-echo $ECHO_N "checking for long long... $ECHO_C" >&6
5521
+{ echo "$as_me:$LINENO: checking for long long" >&5
5522
+echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
5523
if test "${ac_cv_type_long_long+set}" = set; then
5524
echo $ECHO_N "(cached) $ECHO_C" >&6
5526
@@ -4213,36 +5235,49 @@
5527
cat >>conftest.$ac_ext <<_ACEOF
5528
/* end confdefs.h. */
5529
$ac_includes_default
5530
+typedef long long ac__type_new_;
5534
-if ((long long *) 0)
5535
+if ((ac__type_new_ *) 0)
5537
-if (sizeof (long long))
5538
+if (sizeof (ac__type_new_))
5544
rm -f conftest.$ac_objext
5545
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5546
- (eval $ac_compile) 2>conftest.er1
5547
+if { (ac_try="$ac_compile"
5548
+case "(($ac_try" in
5549
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5550
+ *) ac_try_echo=$ac_try;;
5552
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5553
+ (eval "$ac_compile") 2>conftest.er1
5555
grep -v '^ *+' conftest.er1 >conftest.err
5557
cat conftest.err >&5
5558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559
(exit $ac_status); } &&
5560
- { ac_try='test -z "$ac_c_werror_flag"
5561
- || test ! -s conftest.err'
5562
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563
- (eval $ac_try) 2>&5
5564
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5565
+ { (case "(($ac_try" in
5566
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5567
+ *) ac_try_echo=$ac_try;;
5569
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5570
+ (eval "$ac_try") 2>&5
5572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573
(exit $ac_status); }; } &&
5574
{ ac_try='test -s conftest.$ac_objext'
5575
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576
- (eval $ac_try) 2>&5
5577
+ { (case "(($ac_try" in
5578
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579
+ *) ac_try_echo=$ac_try;;
5581
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582
+ (eval "$ac_try") 2>&5
5584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585
(exit $ac_status); }; }; then
5586
@@ -4251,23 +5286,23 @@
5587
echo "$as_me: failed program was:" >&5
5588
sed 's/^/| /' conftest.$ac_ext >&5
5590
-ac_cv_type_long_long=no
5591
+ ac_cv_type_long_long=no
5593
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5595
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5597
-echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5598
-echo "${ECHO_T}$ac_cv_type_long_long" >&6
5599
+{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
5600
+echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
5602
-echo "$as_me:$LINENO: checking size of long long" >&5
5603
-echo $ECHO_N "checking size of long long... $ECHO_C" >&6
5604
+# The cast to long int works around a bug in the HP C Compiler
5605
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5606
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5607
+# This bug is HP SR number 8606223364.
5608
+{ echo "$as_me:$LINENO: checking size of long long" >&5
5609
+echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
5610
if test "${ac_cv_sizeof_long_long+set}" = set; then
5611
echo $ECHO_N "(cached) $ECHO_C" >&6
5613
- if test "$ac_cv_type_long_long" = yes; then
5614
- # The cast to unsigned long works around a bug in the HP C Compiler
5615
- # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5616
- # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5617
- # This bug is HP SR number 8606223364.
5618
if test "$cross_compiling" = yes; then
5619
# Depending upon the size, compute the lo and hi bounds.
5620
cat >conftest.$ac_ext <<_ACEOF
5621
@@ -4277,10 +5312,12 @@
5622
cat >>conftest.$ac_ext <<_ACEOF
5623
/* end confdefs.h. */
5624
$ac_includes_default
5625
+ typedef long long ac__type_sizeof_;
5630
-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
5631
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5635
@@ -4288,24 +5325,36 @@
5638
rm -f conftest.$ac_objext
5639
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5640
- (eval $ac_compile) 2>conftest.er1
5641
+if { (ac_try="$ac_compile"
5642
+case "(($ac_try" in
5643
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5644
+ *) ac_try_echo=$ac_try;;
5646
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647
+ (eval "$ac_compile") 2>conftest.er1
5649
grep -v '^ *+' conftest.er1 >conftest.err
5651
cat conftest.err >&5
5652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653
(exit $ac_status); } &&
5654
- { ac_try='test -z "$ac_c_werror_flag"
5655
- || test ! -s conftest.err'
5656
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657
- (eval $ac_try) 2>&5
5658
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5659
+ { (case "(($ac_try" in
5660
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5661
+ *) ac_try_echo=$ac_try;;
5663
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5664
+ (eval "$ac_try") 2>&5
5666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
(exit $ac_status); }; } &&
5668
{ ac_try='test -s conftest.$ac_objext'
5669
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670
- (eval $ac_try) 2>&5
5671
+ { (case "(($ac_try" in
5672
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5673
+ *) ac_try_echo=$ac_try;;
5675
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5676
+ (eval "$ac_try") 2>&5
5678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679
(exit $ac_status); }; }; then
5680
@@ -4318,10 +5367,12 @@
5681
cat >>conftest.$ac_ext <<_ACEOF
5682
/* end confdefs.h. */
5683
$ac_includes_default
5684
+ typedef long long ac__type_sizeof_;
5689
-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5690
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5694
@@ -4329,24 +5380,36 @@
5697
rm -f conftest.$ac_objext
5698
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5699
- (eval $ac_compile) 2>conftest.er1
5700
+if { (ac_try="$ac_compile"
5701
+case "(($ac_try" in
5702
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703
+ *) ac_try_echo=$ac_try;;
5705
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706
+ (eval "$ac_compile") 2>conftest.er1
5708
grep -v '^ *+' conftest.er1 >conftest.err
5710
cat conftest.err >&5
5711
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712
(exit $ac_status); } &&
5713
- { ac_try='test -z "$ac_c_werror_flag"
5714
- || test ! -s conftest.err'
5715
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716
- (eval $ac_try) 2>&5
5717
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5718
+ { (case "(($ac_try" in
5719
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5720
+ *) ac_try_echo=$ac_try;;
5722
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5723
+ (eval "$ac_try") 2>&5
5725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726
(exit $ac_status); }; } &&
5727
{ ac_try='test -s conftest.$ac_objext'
5728
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729
- (eval $ac_try) 2>&5
5730
+ { (case "(($ac_try" in
5731
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732
+ *) ac_try_echo=$ac_try;;
5734
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5735
+ (eval "$ac_try") 2>&5
5737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738
(exit $ac_status); }; }; then
5739
@@ -4355,30 +5418,33 @@
5740
echo "$as_me: failed program was:" >&5
5741
sed 's/^/| /' conftest.$ac_ext >&5
5743
-ac_lo=`expr $ac_mid + 1`
5744
- if test $ac_lo -le $ac_mid; then
5748
- ac_mid=`expr 2 '*' $ac_mid + 1`
5749
+ ac_lo=`expr $ac_mid + 1`
5750
+ if test $ac_lo -le $ac_mid; then
5754
+ ac_mid=`expr 2 '*' $ac_mid + 1`
5756
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5758
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5761
echo "$as_me: failed program was:" >&5
5762
sed 's/^/| /' conftest.$ac_ext >&5
5764
-cat >conftest.$ac_ext <<_ACEOF
5765
+ cat >conftest.$ac_ext <<_ACEOF
5768
cat confdefs.h >>conftest.$ac_ext
5769
cat >>conftest.$ac_ext <<_ACEOF
5770
/* end confdefs.h. */
5771
$ac_includes_default
5772
+ typedef long long ac__type_sizeof_;
5777
-static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
5778
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5782
@@ -4386,24 +5452,36 @@
5785
rm -f conftest.$ac_objext
5786
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5787
- (eval $ac_compile) 2>conftest.er1
5788
+if { (ac_try="$ac_compile"
5789
+case "(($ac_try" in
5790
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5791
+ *) ac_try_echo=$ac_try;;
5793
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5794
+ (eval "$ac_compile") 2>conftest.er1
5796
grep -v '^ *+' conftest.er1 >conftest.err
5798
cat conftest.err >&5
5799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
(exit $ac_status); } &&
5801
- { ac_try='test -z "$ac_c_werror_flag"
5802
- || test ! -s conftest.err'
5803
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5804
- (eval $ac_try) 2>&5
5805
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5806
+ { (case "(($ac_try" in
5807
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808
+ *) ac_try_echo=$ac_try;;
5810
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811
+ (eval "$ac_try") 2>&5
5813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
(exit $ac_status); }; } &&
5815
{ ac_try='test -s conftest.$ac_objext'
5816
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5817
- (eval $ac_try) 2>&5
5818
+ { (case "(($ac_try" in
5819
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5820
+ *) ac_try_echo=$ac_try;;
5822
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5823
+ (eval "$ac_try") 2>&5
5825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826
(exit $ac_status); }; }; then
5827
@@ -4416,10 +5494,12 @@
5828
cat >>conftest.$ac_ext <<_ACEOF
5829
/* end confdefs.h. */
5830
$ac_includes_default
5831
+ typedef long long ac__type_sizeof_;
5836
-static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
5837
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5841
@@ -4427,24 +5507,36 @@
5844
rm -f conftest.$ac_objext
5845
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5846
- (eval $ac_compile) 2>conftest.er1
5847
+if { (ac_try="$ac_compile"
5848
+case "(($ac_try" in
5849
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850
+ *) ac_try_echo=$ac_try;;
5852
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853
+ (eval "$ac_compile") 2>conftest.er1
5855
grep -v '^ *+' conftest.er1 >conftest.err
5857
cat conftest.err >&5
5858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859
(exit $ac_status); } &&
5860
- { ac_try='test -z "$ac_c_werror_flag"
5861
- || test ! -s conftest.err'
5862
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5863
- (eval $ac_try) 2>&5
5864
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5865
+ { (case "(($ac_try" in
5866
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867
+ *) ac_try_echo=$ac_try;;
5869
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5870
+ (eval "$ac_try") 2>&5
5872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873
(exit $ac_status); }; } &&
5874
{ ac_try='test -s conftest.$ac_objext'
5875
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876
- (eval $ac_try) 2>&5
5877
+ { (case "(($ac_try" in
5878
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5879
+ *) ac_try_echo=$ac_try;;
5881
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5882
+ (eval "$ac_try") 2>&5
5884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885
(exit $ac_status); }; }; then
5886
@@ -4453,24 +5545,27 @@
5887
echo "$as_me: failed program was:" >&5
5888
sed 's/^/| /' conftest.$ac_ext >&5
5890
-ac_hi=`expr '(' $ac_mid ')' - 1`
5891
- if test $ac_mid -le $ac_hi; then
5895
- ac_mid=`expr 2 '*' $ac_mid`
5896
+ ac_hi=`expr '(' $ac_mid ')' - 1`
5897
+ if test $ac_mid -le $ac_hi; then
5901
+ ac_mid=`expr 2 '*' $ac_mid`
5903
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5905
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5908
echo "$as_me: failed program was:" >&5
5909
sed 's/^/| /' conftest.$ac_ext >&5
5914
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5916
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5920
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5921
# Binary search between lo and hi bounds.
5922
while test "x$ac_lo" != "x$ac_hi"; do
5923
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5924
@@ -4481,10 +5576,12 @@
5925
cat >>conftest.$ac_ext <<_ACEOF
5926
/* end confdefs.h. */
5927
$ac_includes_default
5928
+ typedef long long ac__type_sizeof_;
5933
-static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
5934
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5938
@@ -4492,24 +5589,36 @@
5941
rm -f conftest.$ac_objext
5942
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5943
- (eval $ac_compile) 2>conftest.er1
5944
+if { (ac_try="$ac_compile"
5945
+case "(($ac_try" in
5946
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947
+ *) ac_try_echo=$ac_try;;
5949
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950
+ (eval "$ac_compile") 2>conftest.er1
5952
grep -v '^ *+' conftest.er1 >conftest.err
5954
cat conftest.err >&5
5955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956
(exit $ac_status); } &&
5957
- { ac_try='test -z "$ac_c_werror_flag"
5958
- || test ! -s conftest.err'
5959
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960
- (eval $ac_try) 2>&5
5961
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5962
+ { (case "(($ac_try" in
5963
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5964
+ *) ac_try_echo=$ac_try;;
5966
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5967
+ (eval "$ac_try") 2>&5
5969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970
(exit $ac_status); }; } &&
5971
{ ac_try='test -s conftest.$ac_objext'
5972
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973
- (eval $ac_try) 2>&5
5974
+ { (case "(($ac_try" in
5975
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5976
+ *) ac_try_echo=$ac_try;;
5978
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5979
+ (eval "$ac_try") 2>&5
5981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
(exit $ac_status); }; }; then
5983
@@ -4518,26 +5627,24 @@
5984
echo "$as_me: failed program was:" >&5
5985
sed 's/^/| /' conftest.$ac_ext >&5
5987
-ac_lo=`expr '(' $ac_mid ')' + 1`
5988
+ ac_lo=`expr '(' $ac_mid ')' + 1`
5990
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5992
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995
?*) ac_cv_sizeof_long_long=$ac_lo;;
5996
-'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
5997
+'') if test "$ac_cv_type_long_long" = yes; then
5998
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
5999
See \`config.log' for more details." >&5
6000
-echo "$as_me: error: cannot compute sizeof (long long), 77
6001
+echo "$as_me: error: cannot compute sizeof (long long)
6002
See \`config.log' for more details." >&2;}
6003
- { (exit 1); exit 1; }; } ;;
6004
+ { (exit 77); exit 77; }; }
6006
+ ac_cv_sizeof_long_long=0
6010
- if test "$cross_compiling" = yes; then
6011
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6012
-See \`config.log' for more details." >&5
6013
-echo "$as_me: error: cannot run test program while cross compiling
6014
-See \`config.log' for more details." >&2;}
6015
- { (exit 1); exit 1; }; }
6017
cat >conftest.$ac_ext <<_ACEOF
6020
@@ -4545,8 +5652,10 @@
6021
cat >>conftest.$ac_ext <<_ACEOF
6022
/* end confdefs.h. */
6023
$ac_includes_default
6024
-long longval () { return (long) (sizeof (long long)); }
6025
-unsigned long ulongval () { return (long) (sizeof (long long)); }
6026
+ typedef long long ac__type_sizeof_;
6028
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6029
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6033
@@ -4555,35 +5664,44 @@
6035
FILE *f = fopen ("conftest.val", "w");
6038
- if (((long) (sizeof (long long))) < 0)
6040
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6042
- long i = longval ();
6043
- if (i != ((long) (sizeof (long long))))
6045
+ long int i = longval ();
6046
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
6048
fprintf (f, "%ld\n", i);
6052
- unsigned long i = ulongval ();
6053
- if (i != ((long) (sizeof (long long))))
6055
+ unsigned long int i = ulongval ();
6056
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
6058
fprintf (f, "%lu\n", i);
6060
- exit (ferror (f) || fclose (f) != 0);
6061
+ return ferror (f) || fclose (f) != 0;
6067
rm -f conftest$ac_exeext
6068
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6069
- (eval $ac_link) 2>&5
6070
+if { (ac_try="$ac_link"
6071
+case "(($ac_try" in
6072
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6073
+ *) ac_try_echo=$ac_try;;
6075
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6076
+ (eval "$ac_link") 2>&5
6078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6080
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6081
- (eval $ac_try) 2>&5
6082
+ { (case "(($ac_try" in
6083
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084
+ *) ac_try_echo=$ac_try;;
6086
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087
+ (eval "$ac_try") 2>&5
6089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090
(exit $ac_status); }; }; then
6091
@@ -4594,22 +5712,25 @@
6092
sed 's/^/| /' conftest.$ac_ext >&5
6095
-{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6096
+if test "$ac_cv_type_long_long" = yes; then
6097
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
6098
See \`config.log' for more details." >&5
6099
-echo "$as_me: error: cannot compute sizeof (long long), 77
6100
+echo "$as_me: error: cannot compute sizeof (long long)
6101
See \`config.log' for more details." >&2;}
6102
- { (exit 1); exit 1; }; }
6104
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6105
+ { (exit 77); exit 77; }; }
6107
+ ac_cv_sizeof_long_long=0
6110
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6114
- ac_cv_sizeof_long_long=0
6117
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6118
-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6119
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6120
+echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
6124
cat >>confdefs.h <<_ACEOF
6125
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6127
@@ -4627,8 +5748,8 @@
6128
$ac_cv_sizeof_long) SIZE32="long";;
6131
-echo "$as_me:$LINENO: checking for int16_t" >&5
6132
-echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
6133
+{ echo "$as_me:$LINENO: checking for int16_t" >&5
6134
+echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
6135
if test "${ac_cv_type_int16_t+set}" = set; then
6136
echo $ECHO_N "(cached) $ECHO_C" >&6
6138
@@ -4639,36 +5760,49 @@
6139
cat >>conftest.$ac_ext <<_ACEOF
6140
/* end confdefs.h. */
6141
$ac_includes_default
6142
+typedef int16_t ac__type_new_;
6147
+if ((ac__type_new_ *) 0)
6149
-if (sizeof (int16_t))
6150
+if (sizeof (ac__type_new_))
6156
rm -f conftest.$ac_objext
6157
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6158
- (eval $ac_compile) 2>conftest.er1
6159
+if { (ac_try="$ac_compile"
6160
+case "(($ac_try" in
6161
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6162
+ *) ac_try_echo=$ac_try;;
6164
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165
+ (eval "$ac_compile") 2>conftest.er1
6167
grep -v '^ *+' conftest.er1 >conftest.err
6169
cat conftest.err >&5
6170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171
(exit $ac_status); } &&
6172
- { ac_try='test -z "$ac_c_werror_flag"
6173
- || test ! -s conftest.err'
6174
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6175
- (eval $ac_try) 2>&5
6176
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6177
+ { (case "(($ac_try" in
6178
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6179
+ *) ac_try_echo=$ac_try;;
6181
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6182
+ (eval "$ac_try") 2>&5
6184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185
(exit $ac_status); }; } &&
6186
{ ac_try='test -s conftest.$ac_objext'
6187
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188
- (eval $ac_try) 2>&5
6189
+ { (case "(($ac_try" in
6190
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6191
+ *) ac_try_echo=$ac_try;;
6193
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194
+ (eval "$ac_try") 2>&5
6196
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197
(exit $ac_status); }; }; then
6198
@@ -4677,18 +5811,19 @@
6199
echo "$as_me: failed program was:" >&5
6200
sed 's/^/| /' conftest.$ac_ext >&5
6202
-ac_cv_type_int16_t=no
6203
+ ac_cv_type_int16_t=no
6205
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6207
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209
-echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
6210
-echo "${ECHO_T}$ac_cv_type_int16_t" >&6
6211
+{ echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
6212
+echo "${ECHO_T}$ac_cv_type_int16_t" >&6; }
6213
if test $ac_cv_type_int16_t = yes; then
6217
-echo "$as_me:$LINENO: checking for int32_t" >&5
6218
-echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6219
+{ echo "$as_me:$LINENO: checking for int32_t" >&5
6220
+echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
6221
if test "${ac_cv_type_int32_t+set}" = set; then
6222
echo $ECHO_N "(cached) $ECHO_C" >&6
6224
@@ -4699,36 +5834,49 @@
6225
cat >>conftest.$ac_ext <<_ACEOF
6226
/* end confdefs.h. */
6227
$ac_includes_default
6228
+typedef int32_t ac__type_new_;
6233
+if ((ac__type_new_ *) 0)
6235
-if (sizeof (int32_t))
6236
+if (sizeof (ac__type_new_))
6242
rm -f conftest.$ac_objext
6243
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6244
- (eval $ac_compile) 2>conftest.er1
6245
+if { (ac_try="$ac_compile"
6246
+case "(($ac_try" in
6247
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6248
+ *) ac_try_echo=$ac_try;;
6250
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6251
+ (eval "$ac_compile") 2>conftest.er1
6253
grep -v '^ *+' conftest.er1 >conftest.err
6255
cat conftest.err >&5
6256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257
(exit $ac_status); } &&
6258
- { ac_try='test -z "$ac_c_werror_flag"
6259
- || test ! -s conftest.err'
6260
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261
- (eval $ac_try) 2>&5
6262
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6263
+ { (case "(($ac_try" in
6264
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6265
+ *) ac_try_echo=$ac_try;;
6267
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6268
+ (eval "$ac_try") 2>&5
6270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271
(exit $ac_status); }; } &&
6272
{ ac_try='test -s conftest.$ac_objext'
6273
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274
- (eval $ac_try) 2>&5
6275
+ { (case "(($ac_try" in
6276
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6277
+ *) ac_try_echo=$ac_try;;
6279
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6280
+ (eval "$ac_try") 2>&5
6282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283
(exit $ac_status); }; }; then
6284
@@ -4737,12 +5885,13 @@
6285
echo "$as_me: failed program was:" >&5
6286
sed 's/^/| /' conftest.$ac_ext >&5
6288
-ac_cv_type_int32_t=no
6289
+ ac_cv_type_int32_t=no
6291
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6293
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6295
-echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6296
-echo "${ECHO_T}$ac_cv_type_int32_t" >&6
6297
+{ echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6298
+echo "${ECHO_T}$ac_cv_type_int32_t" >&6; }
6299
if test $ac_cv_type_int32_t = yes; then
6302
@@ -4763,18 +5912,19 @@
6303
for ac_header in linux/sbpcd.h
6305
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6306
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6307
- echo "$as_me:$LINENO: checking for $ac_header" >&5
6308
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6309
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6310
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6311
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
6312
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6313
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6314
echo $ECHO_N "(cached) $ECHO_C" >&6
6316
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6317
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6318
+ac_res=`eval echo '${'$as_ac_Header'}'`
6319
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6320
+echo "${ECHO_T}$ac_res" >&6; }
6322
# Is the header compilable?
6323
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
6324
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6325
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6326
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6327
cat >conftest.$ac_ext <<_ACEOF
6330
@@ -4785,24 +5935,36 @@
6331
#include <$ac_header>
6333
rm -f conftest.$ac_objext
6334
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6335
- (eval $ac_compile) 2>conftest.er1
6336
+if { (ac_try="$ac_compile"
6337
+case "(($ac_try" in
6338
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6339
+ *) ac_try_echo=$ac_try;;
6341
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6342
+ (eval "$ac_compile") 2>conftest.er1
6344
grep -v '^ *+' conftest.er1 >conftest.err
6346
cat conftest.err >&5
6347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348
(exit $ac_status); } &&
6349
- { ac_try='test -z "$ac_c_werror_flag"
6350
- || test ! -s conftest.err'
6351
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6352
- (eval $ac_try) 2>&5
6353
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6354
+ { (case "(($ac_try" in
6355
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356
+ *) ac_try_echo=$ac_try;;
6358
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359
+ (eval "$ac_try") 2>&5
6361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362
(exit $ac_status); }; } &&
6363
{ ac_try='test -s conftest.$ac_objext'
6364
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365
- (eval $ac_try) 2>&5
6366
+ { (case "(($ac_try" in
6367
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6368
+ *) ac_try_echo=$ac_try;;
6370
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6371
+ (eval "$ac_try") 2>&5
6373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374
(exit $ac_status); }; }; then
6375
@@ -4811,15 +5973,16 @@
6376
echo "$as_me: failed program was:" >&5
6377
sed 's/^/| /' conftest.$ac_ext >&5
6379
-ac_header_compiler=no
6380
+ ac_header_compiler=no
6382
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6383
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6384
-echo "${ECHO_T}$ac_header_compiler" >&6
6386
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6387
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6388
+echo "${ECHO_T}$ac_header_compiler" >&6; }
6390
# Is the header present?
6391
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
6392
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6393
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6394
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6395
cat >conftest.$ac_ext <<_ACEOF
6398
@@ -4828,8 +5991,13 @@
6399
/* end confdefs.h. */
6400
#include <$ac_header>
6402
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6403
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6404
+if { (ac_try="$ac_cpp conftest.$ac_ext"
6405
+case "(($ac_try" in
6406
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6407
+ *) ac_try_echo=$ac_try;;
6409
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6410
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6412
grep -v '^ *+' conftest.er1 >conftest.err
6414
@@ -4853,9 +6021,10 @@
6416
ac_header_preproc=no
6419
rm -f conftest.err conftest.$ac_ext
6420
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6421
-echo "${ECHO_T}$ac_header_preproc" >&6
6422
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6423
+echo "${ECHO_T}$ac_header_preproc" >&6; }
6425
# So? What about this header?
6426
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6427
@@ -4879,25 +6048,19 @@
6428
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6429
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6430
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6433
-## ------------------------------------------ ##
6434
-## Report this to the AC_PACKAGE_NAME lists. ##
6435
-## ------------------------------------------ ##
6438
- sed "s/^/$as_me: WARNING: /" >&2
6442
-echo "$as_me:$LINENO: checking for $ac_header" >&5
6443
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6444
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6445
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6446
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6447
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6448
echo $ECHO_N "(cached) $ECHO_C" >&6
6450
eval "$as_ac_Header=\$ac_header_preproc"
6452
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6453
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6454
+ac_res=`eval echo '${'$as_ac_Header'}'`
6455
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6456
+echo "${ECHO_T}$ac_res" >&6; }
6459
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6460
@@ -4913,18 +6076,19 @@
6461
for ac_header in linux/ucdrom.h
6463
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6464
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6465
- echo "$as_me:$LINENO: checking for $ac_header" >&5
6466
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6467
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6468
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6469
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
6470
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6471
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6472
echo $ECHO_N "(cached) $ECHO_C" >&6
6474
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6475
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6476
+ac_res=`eval echo '${'$as_ac_Header'}'`
6477
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6478
+echo "${ECHO_T}$ac_res" >&6; }
6480
# Is the header compilable?
6481
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
6482
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6483
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6484
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6485
cat >conftest.$ac_ext <<_ACEOF
6488
@@ -4935,24 +6099,36 @@
6489
#include <$ac_header>
6491
rm -f conftest.$ac_objext
6492
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6493
- (eval $ac_compile) 2>conftest.er1
6494
+if { (ac_try="$ac_compile"
6495
+case "(($ac_try" in
6496
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497
+ *) ac_try_echo=$ac_try;;
6499
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500
+ (eval "$ac_compile") 2>conftest.er1
6502
grep -v '^ *+' conftest.er1 >conftest.err
6504
cat conftest.err >&5
6505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506
(exit $ac_status); } &&
6507
- { ac_try='test -z "$ac_c_werror_flag"
6508
- || test ! -s conftest.err'
6509
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510
- (eval $ac_try) 2>&5
6511
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6512
+ { (case "(($ac_try" in
6513
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6514
+ *) ac_try_echo=$ac_try;;
6516
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6517
+ (eval "$ac_try") 2>&5
6519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520
(exit $ac_status); }; } &&
6521
{ ac_try='test -s conftest.$ac_objext'
6522
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523
- (eval $ac_try) 2>&5
6524
+ { (case "(($ac_try" in
6525
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6526
+ *) ac_try_echo=$ac_try;;
6528
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6529
+ (eval "$ac_try") 2>&5
6531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532
(exit $ac_status); }; }; then
6533
@@ -4961,15 +6137,16 @@
6534
echo "$as_me: failed program was:" >&5
6535
sed 's/^/| /' conftest.$ac_ext >&5
6537
-ac_header_compiler=no
6538
+ ac_header_compiler=no
6540
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6542
-echo "${ECHO_T}$ac_header_compiler" >&6
6544
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6546
+echo "${ECHO_T}$ac_header_compiler" >&6; }
6548
# Is the header present?
6549
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
6550
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6551
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6552
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6553
cat >conftest.$ac_ext <<_ACEOF
6556
@@ -4978,8 +6155,13 @@
6557
/* end confdefs.h. */
6558
#include <$ac_header>
6560
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6561
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6562
+if { (ac_try="$ac_cpp conftest.$ac_ext"
6563
+case "(($ac_try" in
6564
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6565
+ *) ac_try_echo=$ac_try;;
6567
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6568
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6570
grep -v '^ *+' conftest.er1 >conftest.err
6572
@@ -5003,9 +6185,10 @@
6574
ac_header_preproc=no
6577
rm -f conftest.err conftest.$ac_ext
6578
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6579
-echo "${ECHO_T}$ac_header_preproc" >&6
6580
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6581
+echo "${ECHO_T}$ac_header_preproc" >&6; }
6583
# So? What about this header?
6584
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6585
@@ -5029,25 +6212,19 @@
6586
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6587
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6588
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6591
-## ------------------------------------------ ##
6592
-## Report this to the AC_PACKAGE_NAME lists. ##
6593
-## ------------------------------------------ ##
6596
- sed "s/^/$as_me: WARNING: /" >&2
6600
-echo "$as_me:$LINENO: checking for $ac_header" >&5
6601
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6602
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
6603
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6604
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6605
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6606
echo $ECHO_N "(cached) $ECHO_C" >&6
6608
eval "$as_ac_Header=\$ac_header_preproc"
6610
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6611
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6612
+ac_res=`eval echo '${'$as_ac_Header'}'`
6613
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6614
+echo "${ECHO_T}$ac_res" >&6; }
6617
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6618
@@ -5060,152 +6237,335 @@
6622
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6623
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6624
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6625
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6626
+for ac_header in cam/cam.h
6628
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6629
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6630
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
6631
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6632
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6633
echo $ECHO_N "(cached) $ECHO_C" >&6
6635
- cat >conftest.make <<\_ACEOF
6637
- @echo 'ac_maketemp="$(MAKE)"'
6639
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6640
-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6641
-if test -n "$ac_maketemp"; then
6642
- eval ac_cv_prog_make_${ac_make}_set=yes
6644
- eval ac_cv_prog_make_${ac_make}_set=no
6646
-rm -f conftest.make
6648
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6649
- echo "$as_me:$LINENO: result: yes" >&5
6650
-echo "${ECHO_T}yes" >&6
6653
- echo "$as_me:$LINENO: result: no" >&5
6654
-echo "${ECHO_T}no" >&6
6655
- SET_MAKE="MAKE=${MAKE-make}"
6658
-echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6659
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6660
-if test "${ac_cv_c_const+set}" = set; then
6661
- echo $ECHO_N "(cached) $ECHO_C" >&6
6662
+ac_res=`eval echo '${'$as_ac_Header'}'`
6663
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6664
+echo "${ECHO_T}$ac_res" >&6; }
6666
- cat >conftest.$ac_ext <<_ACEOF
6667
+ # Is the header compilable?
6668
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6669
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6670
+cat >conftest.$ac_ext <<_ACEOF
6673
cat confdefs.h >>conftest.$ac_ext
6674
cat >>conftest.$ac_ext <<_ACEOF
6675
/* end confdefs.h. */
6680
-/* FIXME: Include the comments suggested by Paul. */
6681
-#ifndef __cplusplus
6682
- /* Ultrix mips cc rejects this. */
6683
- typedef int charset[2];
6685
- /* SunOS 4.1.1 cc rejects this. */
6686
- char const *const *ccp;
6688
- /* NEC SVR4.0.2 mips cc rejects this. */
6689
- struct point {int x, y;};
6690
- static struct point const zero = {0,0};
6691
- /* AIX XL C 1.02.0.0 rejects this.
6692
- It does not let you subtract one const X* pointer from another in
6693
- an arm of an if-expression whose if-part is not a constant
6695
- const char *g = "string";
6696
- ccp = &g + (g ? g-g : 0);
6697
- /* HPUX 7.0 cc rejects these. */
6700
- ccp = (char const *const *) p;
6701
- { /* SCO 3.2v4 cc rejects this. */
6703
- char const *s = 0 ? (char *) 0 : (char const *) 0;
6707
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6708
- int x[] = {25, 17};
6709
- const int *foo = &x[0];
6712
- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6713
- typedef const int *iptr;
6717
- { /* AIX XL C 1.02.0.0 rejects this saying
6718
- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6719
- struct s { int j; const int *ap[3]; };
6720
- struct s *b; b->j = 5;
6722
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6723
- const int foo = 10;
6730
+$ac_includes_default
6731
+#include <$ac_header>
6733
rm -f conftest.$ac_objext
6734
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6735
- (eval $ac_compile) 2>conftest.er1
6736
+if { (ac_try="$ac_compile"
6737
+case "(($ac_try" in
6738
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6739
+ *) ac_try_echo=$ac_try;;
6741
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6742
+ (eval "$ac_compile") 2>conftest.er1
6744
grep -v '^ *+' conftest.er1 >conftest.err
6746
cat conftest.err >&5
6747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
(exit $ac_status); } &&
6749
- { ac_try='test -z "$ac_c_werror_flag"
6750
- || test ! -s conftest.err'
6751
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752
- (eval $ac_try) 2>&5
6753
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6754
+ { (case "(($ac_try" in
6755
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756
+ *) ac_try_echo=$ac_try;;
6758
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759
+ (eval "$ac_try") 2>&5
6761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762
(exit $ac_status); }; } &&
6763
{ ac_try='test -s conftest.$ac_objext'
6764
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765
- (eval $ac_try) 2>&5
6766
+ { (case "(($ac_try" in
6767
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6768
+ *) ac_try_echo=$ac_try;;
6770
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6771
+ (eval "$ac_try") 2>&5
6773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774
(exit $ac_status); }; }; then
6776
+ ac_header_compiler=yes
6778
echo "$as_me: failed program was:" >&5
6779
sed 's/^/| /' conftest.$ac_ext >&5
6782
+ ac_header_compiler=no
6784
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6786
-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6787
-echo "${ECHO_T}$ac_cv_c_const" >&6
6788
-if test $ac_cv_c_const = no; then
6790
-cat >>confdefs.h <<\_ACEOF
6793
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6794
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6795
+echo "${ECHO_T}$ac_header_compiler" >&6; }
6797
+# Is the header present?
6798
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6799
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6800
+cat >conftest.$ac_ext <<_ACEOF
6803
+cat confdefs.h >>conftest.$ac_ext
6804
+cat >>conftest.$ac_ext <<_ACEOF
6805
+/* end confdefs.h. */
6806
+#include <$ac_header>
6808
+if { (ac_try="$ac_cpp conftest.$ac_ext"
6809
+case "(($ac_try" in
6810
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6811
+ *) ac_try_echo=$ac_try;;
6813
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6816
+ grep -v '^ *+' conftest.er1 >conftest.err
6817
+ rm -f conftest.er1
6818
+ cat conftest.err >&5
6819
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820
+ (exit $ac_status); } >/dev/null; then
6821
+ if test -s conftest.err; then
6822
+ ac_cpp_err=$ac_c_preproc_warn_flag
6823
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6830
+if test -z "$ac_cpp_err"; then
6831
+ ac_header_preproc=yes
6833
+ echo "$as_me: failed program was:" >&5
6834
+sed 's/^/| /' conftest.$ac_ext >&5
6836
+ ac_header_preproc=no
6839
+rm -f conftest.err conftest.$ac_ext
6840
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6841
+echo "${ECHO_T}$ac_header_preproc" >&6; }
6849
- ac_config_files="$ac_config_files Makefile interface/Makefile paranoia/Makefile"
6850
-cat >confcache <<\_ACEOF
6851
+# So? What about this header?
6852
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6854
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6855
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6856
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6857
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6858
+ ac_header_preproc=yes
6861
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6862
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6863
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6864
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6865
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6866
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6867
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6868
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6869
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6870
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6871
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6872
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6876
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6877
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6878
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6879
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6881
+ eval "$as_ac_Header=\$ac_header_preproc"
6883
+ac_res=`eval echo '${'$as_ac_Header'}'`
6884
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
6885
+echo "${ECHO_T}$ac_res" >&6; }
6888
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
6889
+ cat >>confdefs.h <<_ACEOF
6890
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6898
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6899
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
6900
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6901
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6902
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6904
+ cat >conftest.make <<\_ACEOF
6907
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
6909
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6910
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
6911
+ *@@@%%%=?*=@@@%%%*)
6912
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
6914
+ eval ac_cv_prog_make_${ac_make}_set=no;;
6916
+rm -f conftest.make
6918
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6919
+ { echo "$as_me:$LINENO: result: yes" >&5
6920
+echo "${ECHO_T}yes" >&6; }
6923
+ { echo "$as_me:$LINENO: result: no" >&5
6924
+echo "${ECHO_T}no" >&6; }
6925
+ SET_MAKE="MAKE=${MAKE-make}"
6928
+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6929
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6930
+if test "${ac_cv_c_const+set}" = set; then
6931
+ echo $ECHO_N "(cached) $ECHO_C" >&6
6933
+ cat >conftest.$ac_ext <<_ACEOF
6936
+cat confdefs.h >>conftest.$ac_ext
6937
+cat >>conftest.$ac_ext <<_ACEOF
6938
+/* end confdefs.h. */
6943
+/* FIXME: Include the comments suggested by Paul. */
6944
+#ifndef __cplusplus
6945
+ /* Ultrix mips cc rejects this. */
6946
+ typedef int charset[2];
6948
+ /* SunOS 4.1.1 cc rejects this. */
6949
+ char const *const *pcpcc;
6951
+ /* NEC SVR4.0.2 mips cc rejects this. */
6952
+ struct point {int x, y;};
6953
+ static struct point const zero = {0,0};
6954
+ /* AIX XL C 1.02.0.0 rejects this.
6955
+ It does not let you subtract one const X* pointer from another in
6956
+ an arm of an if-expression whose if-part is not a constant
6958
+ const char *g = "string";
6959
+ pcpcc = &g + (g ? g-g : 0);
6960
+ /* HPUX 7.0 cc rejects these. */
6962
+ ppc = (char**) pcpcc;
6963
+ pcpcc = (char const *const *) ppc;
6964
+ { /* SCO 3.2v4 cc rejects this. */
6966
+ char const *s = 0 ? (char *) 0 : (char const *) 0;
6971
+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6972
+ int x[] = {25, 17};
6973
+ const int *foo = &x[0];
6976
+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6977
+ typedef const int *iptr;
6981
+ { /* AIX XL C 1.02.0.0 rejects this saying
6982
+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6983
+ struct s { int j; const int *ap[3]; };
6984
+ struct s *b; b->j = 5;
6986
+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6987
+ const int foo = 10;
6988
+ if (!foo) return 0;
6990
+ return !cs[0] && !zero.x;
6997
+rm -f conftest.$ac_objext
6998
+if { (ac_try="$ac_compile"
6999
+case "(($ac_try" in
7000
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001
+ *) ac_try_echo=$ac_try;;
7003
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004
+ (eval "$ac_compile") 2>conftest.er1
7006
+ grep -v '^ *+' conftest.er1 >conftest.err
7007
+ rm -f conftest.er1
7008
+ cat conftest.err >&5
7009
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010
+ (exit $ac_status); } &&
7011
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7012
+ { (case "(($ac_try" in
7013
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7014
+ *) ac_try_echo=$ac_try;;
7016
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7017
+ (eval "$ac_try") 2>&5
7019
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020
+ (exit $ac_status); }; } &&
7021
+ { ac_try='test -s conftest.$ac_objext'
7022
+ { (case "(($ac_try" in
7023
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7024
+ *) ac_try_echo=$ac_try;;
7026
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7027
+ (eval "$ac_try") 2>&5
7029
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030
+ (exit $ac_status); }; }; then
7033
+ echo "$as_me: failed program was:" >&5
7034
+sed 's/^/| /' conftest.$ac_ext >&5
7039
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041
+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7042
+echo "${ECHO_T}$ac_cv_c_const" >&6; }
7043
+if test $ac_cv_c_const = no; then
7045
+cat >>confdefs.h <<\_ACEOF
7060
+ac_config_files="$ac_config_files Makefile interface/Makefile paranoia/Makefile"
7062
+cat >confcache <<\_ACEOF
7063
# This file is a shell script that caches the results of configure
7064
# tests run on this system so they can be shared between configure
7065
# scripts and configure runs, see configure's option --config-cache.
7066
@@ -5223,39 +6583,58 @@
7068
# The following way of writing the cache mishandles newlines in values,
7069
# but we know of no workaround that is simple, portable, and efficient.
7070
-# So, don't put newlines in cache variables' values.
7071
+# So, we kill variables containing newlines.
7072
# Ultrix sh set writes to stderr and can't be redirected directly,
7073
# and sets the high bit in the cache file unless we assign to the vars.
7076
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7077
+ eval ac_val=\$$ac_var
7078
+ case $ac_val in #(
7080
+ case $ac_var in #(
7081
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7082
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7084
+ case $ac_var in #(
7085
+ _ | IFS | as_nl) ;; #(
7086
+ *) $as_unset $ac_var ;;
7092
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
7094
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
7095
+ *${as_nl}ac_space=\ *)
7096
# `set' does not quote correctly, so add quotes (double-quote
7097
# substitution turns \\\\ into \\, and sed turns \\ into \).
7100
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7104
# `set' quotes correctly as required by POSIX, so do not add quotes.
7106
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7107
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7115
+ /^ac_cv_env_/b end
7119
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7121
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7122
- : end' >>confcache
7123
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
7124
- if test -w $cache_file; then
7125
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7126
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7128
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7129
+ if test -w "$cache_file"; then
7130
+ test "x$cache_file" != "x/dev/null" &&
7131
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7132
+echo "$as_me: updating cache $cache_file" >&6;}
7133
cat confcache >$cache_file
7135
- echo "not updating unwritable cache $cache_file"
7136
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7137
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7141
@@ -5264,63 +6643,48 @@
7142
# Let make expand exec_prefix.
7143
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7145
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
7146
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7147
-# trailing colons and then remove the whole line if VPATH becomes empty
7148
-# (actually we leave an empty line to preserve line numbers).
7149
-if test "x$srcdir" = x.; then
7150
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
7151
-s/:*\$(srcdir):*/:/;
7152
-s/:*\${srcdir}:*/:/;
7154
-s/^\([^=]*=[ ]*\):*/\1/;
7160
# Transform confdefs.h into DEFS.
7161
# Protect against shell expansion while executing Makefile rules.
7162
# Protect against Makefile macro expansion.
7164
# If the first sed substitution is executed (which looks for macros that
7165
-# take arguments), then we branch to the quote section. Otherwise,
7166
+# take arguments), then branch to the quote section. Otherwise,
7167
# look for a macro that doesn't take arguments.
7168
-cat >confdef2opt.sed <<\_ACEOF
7172
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
7174
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7176
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
7177
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7181
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
7187
-# We use echo to avoid assuming a particular line-breaking character.
7188
-# The extra dot is to prevent the shell from consuming trailing
7189
-# line-breaks from the sub-command output. A line-break within
7190
-# single-quotes doesn't work because, if this script is created in a
7191
-# platform that uses two characters for line-breaks (e.g., DOS), tr
7193
-ac_LF_and_DOT=`echo; echo .`
7194
-DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
7195
-rm -f confdef2opt.sed
7198
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7211
+DEFS=`sed -n "$ac_script" confdefs.h`
7216
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7217
# 1. Remove the extension, and $U if already installed.
7218
- ac_i=`echo "$ac_i" |
7219
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7221
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7222
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7223
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7224
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
7225
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7226
+ # will be set to the directory where LIBOBJS objects are built.
7227
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7228
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7232
@@ -5358,11 +6722,35 @@
7233
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7234
# is contrary to our usage. Disable this feature.
7235
alias -g '${1+"$@"}'='"$@"'
7236
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7238
+ setopt NO_GLOB_SUBST
7240
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
7242
+BIN_SH=xpg4; export BIN_SH # for Tru64
7243
DUALCASE=1; export DUALCASE # for MKS sh
7247
+# Avoid depending upon Character Ranges.
7248
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7249
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7250
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7251
+as_cr_digits='0123456789'
7252
+as_cr_alnum=$as_cr_Letters$as_cr_digits
7254
+# The user is always right.
7255
+if test "${PATH_SEPARATOR+set}" != set; then
7256
+ echo "#! /bin/sh" >conf$$.sh
7257
+ echo "exit 0" >>conf$$.sh
7258
+ chmod +x conf$$.sh
7259
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7260
+ PATH_SEPARATOR=';'
7267
# Support unset when possible.
7268
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7270
@@ -5371,8 +6759,43 @@
7275
+# We need space, tab and new line, in precisely that order. Quoting is
7276
+# there to prevent editors from complaining about space-tab.
7277
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7278
+# splitting by setting IFS to empty value.)
7283
+# Find who we are. Look in the path if we contain no directory separator.
7285
+ *[\\/]* ) as_myself=$0 ;;
7286
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287
+for as_dir in $PATH
7290
+ test -z "$as_dir" && as_dir=.
7291
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7297
+# We did not find ourselves, most probably we were run as `sh COMMAND'
7298
+# in which case we are not to be found in the path.
7299
+if test "x$as_myself" = x; then
7302
+if test ! -f "$as_myself"; then
7303
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7304
+ { (exit 1); exit 1; }
7307
# Work around bugs in pre-3.0 UWIN ksh.
7308
-$as_unset ENV MAIL MAILPATH
7309
+for as_var in ENV MAIL MAILPATH
7310
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7315
@@ -5386,18 +6809,19 @@
7316
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7317
eval $as_var=C; export $as_var
7320
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7324
# Required to use basename.
7325
-if expr a : '\(a\)' >/dev/null 2>&1; then
7326
+if expr a : '\(a\)' >/dev/null 2>&1 &&
7327
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
7333
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7334
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7335
as_basename=basename
7338
@@ -5405,159 +6829,120 @@
7341
# Name of the executable.
7342
-as_me=`$as_basename "$0" ||
7343
+as_me=`$as_basename -- "$0" ||
7344
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7345
X"$0" : 'X\(//\)$' \| \
7346
- X"$0" : 'X\(/\)$' \| \
7347
- . : '\(.\)' 2>/dev/null ||
7348
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7350
- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7351
- /^X\/\(\/\/\)$/{ s//\1/; q; }
7352
- /^X\/\(\/\).*/{ s//\1/; q; }
7354
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
7369
-# PATH needs CR, and LINENO needs CR and PATH.
7370
-# Avoid depending upon Character Ranges.
7371
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7372
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7373
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7374
-as_cr_digits='0123456789'
7375
-as_cr_alnum=$as_cr_Letters$as_cr_digits
7377
-# The user is always right.
7378
-if test "${PATH_SEPARATOR+set}" != set; then
7379
- echo "#! /bin/sh" >conf$$.sh
7380
- echo "exit 0" >>conf$$.sh
7381
- chmod +x conf$$.sh
7382
- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7383
- PATH_SEPARATOR=';'
7393
- as_lineno_1=$LINENO
7394
- as_lineno_2=$LINENO
7395
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7396
- test "x$as_lineno_1" != "x$as_lineno_2" &&
7397
- test "x$as_lineno_3" = "x$as_lineno_2" || {
7398
- # Find who we are. Look in the path if we contain no path at all
7399
- # relative or not.
7401
- *[\\/]* ) as_myself=$0 ;;
7402
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403
-for as_dir in $PATH
7406
- test -z "$as_dir" && as_dir=.
7407
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7412
- # We did not find ourselves, most probably we were run as `sh COMMAND'
7413
- # in which case we are not to be found in the path.
7414
- if test "x$as_myself" = x; then
7417
- if test ! -f "$as_myself"; then
7418
- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7419
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7420
- { (exit 1); exit 1; }; }
7422
- case $CONFIG_SHELL in
7424
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7428
- test -z "$as_dir" && as_dir=.
7429
- for as_base in sh bash ksh sh5; do
7432
- if ("$as_dir/$as_base" -c '
7435
- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7436
test "x$as_lineno_1" != "x$as_lineno_2" &&
7437
- test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7438
- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7439
- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7440
- CONFIG_SHELL=$as_dir/$as_base
7441
- export CONFIG_SHELL
7442
- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7449
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7451
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7452
# uniformly replaced by the line number. The first 'sed' inserts a
7453
- # line-number line before each line; the second 'sed' does the real
7454
- # work. The second script uses 'N' to pair each line-number line
7455
- # with the numbered line, and appends trailing '-' during
7456
- # substitution so that $LINENO is not a special case at line end.
7457
+ # line-number line after each line using $LINENO; the second 'sed'
7458
+ # does the real work. The second script uses 'N' to pair each
7459
+ # line-number line with the line containing $LINENO, and appends
7460
+ # trailing '-' during substitution so that $LINENO is not a special
7461
+ # case at line end.
7462
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7463
- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7464
- sed '=' <$as_myself |
7465
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
7466
+ # E. McMahon (1931-1989) for sed's syntax. :-)
7479
- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7481
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7484
- s,^['$as_cr_digits']*\n,,
7487
- chmod +x $as_me.lineno ||
7488
- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7489
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7490
+ chmod +x "$as_me.lineno" ||
7491
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7492
{ (exit 1); exit 1; }; }
7494
# Don't try to exec as it changes $[0], causing all sort of problems
7495
# (the dirname of $[0] is not the place where we might find the
7496
- # original and so on. Autoconf is especially sensible to this).
7498
+ # original and so on. Autoconf is especially sensitive to this).
7499
+ . "./$as_me.lineno"
7500
# Exit status is that of the last command.
7505
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7506
- *c*,-n*) ECHO_N= ECHO_C='
7508
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7509
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7510
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7511
+ as_dirname=dirname
7516
+ECHO_C= ECHO_N= ECHO_T=
7517
+case `echo -n x` in
7519
+ case `echo 'x\c'` in
7520
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7527
-if expr a : '\(a\)' >/dev/null 2>&1; then
7528
+if expr a : '\(a\)' >/dev/null 2>&1 &&
7529
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
7535
rm -f conf$$ conf$$.exe conf$$.file
7536
+if test -d conf$$.dir; then
7537
+ rm -f conf$$.dir/conf$$.file
7543
if ln -s conf$$.file conf$$ 2>/dev/null; then
7544
- # We could just check for DJGPP; but this test a) works b) is more generic
7545
- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7546
- if test -f conf$$.exe; then
7547
- # Don't use ln at all; we don't have any links
7549
+ # ... but there are two gotchas:
7550
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7551
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7552
+ # In both cases, we have to default to `cp -p'.
7553
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7558
elif ln conf$$.file conf$$ 2>/dev/null; then
7563
-rm -f conf$$ conf$$.exe conf$$.file
7564
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7565
+rmdir conf$$.dir 2>/dev/null
7567
if mkdir -p . 2>/dev/null; then
7569
@@ -5566,7 +6951,19 @@
7573
-as_executable_p="test -f"
7574
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
7575
+# systems may use methods other than mode bits to determine executability.
7576
+cat >conf$$.file <<_ASEOF
7580
+chmod +x conf$$.file
7581
+if test -x conf$$.file >/dev/null 2>&1; then
7582
+ as_executable_p="test -x"
7588
# Sed expression to map a string onto a valid CPP name.
7589
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7590
@@ -5575,31 +6972,14 @@
7591
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7595
-# We need space, tab and new line, in precisely that order.
7605
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
7606
+# Save the log message, to keep $[0] and so on meaningful, and to
7607
# report actual input values of CONFIG_FILES etc. instead of their
7608
-# values after options handling. Logging --version etc. is OK.
7612
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7613
-## Running $as_me. ##
7618
+# values after options handling.
7620
This file was extended by $as_me, which was
7621
-generated by GNU Autoconf 2.59. Invocation command line was
7622
+generated by GNU Autoconf 2.60a. Invocation command line was
7624
CONFIG_FILES = $CONFIG_FILES
7625
CONFIG_HEADERS = $CONFIG_HEADERS
7626
@@ -5607,30 +6987,18 @@
7627
CONFIG_COMMANDS = $CONFIG_COMMANDS
7631
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7633
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
7638
+cat >>$CONFIG_STATUS <<_ACEOF
7639
# Files that config.status was made for.
7640
-if test -n "$ac_config_files"; then
7641
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7644
-if test -n "$ac_config_headers"; then
7645
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7648
-if test -n "$ac_config_links"; then
7649
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7651
+config_files="$ac_config_files"
7653
-if test -n "$ac_config_commands"; then
7654
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7658
cat >>$CONFIG_STATUS <<\_ACEOF
7661
\`$as_me' instantiates files from templates according to the
7662
current configuration.
7663
@@ -5638,7 +7006,7 @@
7664
Usage: $0 [OPTIONS] [FILE]...
7666
-h, --help print this help, then exit
7667
- -V, --version print version number, then exit
7668
+ -V, --version print version number and configuration settings, then exit
7669
-q, --quiet do not print progress messages
7670
-d, --debug don't remove temporary files
7671
--recheck update $as_me by reconfiguring in the same conditions
7672
@@ -5649,18 +7017,20 @@
7675
Report bugs to <bug-autoconf@gnu.org>."
7679
cat >>$CONFIG_STATUS <<_ACEOF
7682
-configured by $0, generated by GNU Autoconf 2.59,
7683
- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7684
+configured by $0, generated by GNU Autoconf 2.60a,
7685
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7687
-Copyright (C) 2003 Free Software Foundation, Inc.
7688
+Copyright (C) 2006 Free Software Foundation, Inc.
7689
This config.status script is free software; the Free Software Foundation
7690
gives unlimited permission to copy, distribute and modify it."
7697
cat >>$CONFIG_STATUS <<\_ACEOF
7698
@@ -5671,60 +7041,42 @@
7702
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
7703
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7704
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
7705
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7714
- *) # This is not an option, so the user has probably given explicit
7717
- ac_need_defaults=false;;
7721
# Handling of the options.
7723
-cat >>$CONFIG_STATUS <<\_ACEOF
7724
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7726
- --version | --vers* | -V )
7727
- echo "$ac_cs_version"; exit 0 ;;
7729
- # Conflict between --help and --header
7730
- { { echo "$as_me:$LINENO: error: ambiguous option: $1
7731
-Try \`$0 --help' for more information." >&5
7732
-echo "$as_me: error: ambiguous option: $1
7733
-Try \`$0 --help' for more information." >&2;}
7734
- { (exit 1); exit 1; }; };;
7735
- --help | --hel | -h )
7736
- echo "$ac_cs_usage"; exit 0 ;;
7737
- --debug | --d* | -d )
7738
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7739
+ echo "$ac_cs_version"; exit ;;
7740
+ --debug | --debu | --deb | --de | --d | -d )
7742
--file | --fil | --fi | --f )
7744
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7745
ac_need_defaults=false;;
7746
- --header | --heade | --head | --hea )
7748
- CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7749
- ac_need_defaults=false;;
7750
+ --he | --h | --help | --hel | -h )
7751
+ echo "$ac_cs_usage"; exit ;;
7752
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7753
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7757
- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7758
-Try \`$0 --help' for more information." >&5
7759
-echo "$as_me: error: unrecognized option: $1
7760
-Try \`$0 --help' for more information." >&2;}
7761
+ -*) { echo "$as_me: error: unrecognized option: $1
7762
+Try \`$0 --help' for more information." >&2
7763
{ (exit 1); exit 1; }; } ;;
7765
- *) ac_config_targets="$ac_config_targets $1" ;;
7766
+ *) ac_config_targets="$ac_config_targets $1"
7767
+ ac_need_defaults=false ;;
7771
@@ -5740,30 +7092,44 @@
7773
cat >>$CONFIG_STATUS <<_ACEOF
7774
if \$ac_cs_recheck; then
7775
- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7776
- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7777
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7778
+ CONFIG_SHELL=$SHELL
7779
+ export CONFIG_SHELL
7780
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7784
+cat >>$CONFIG_STATUS <<\_ACEOF
7788
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7789
+## Running $as_me. ##
7798
+cat >>$CONFIG_STATUS <<_ACEOF
7801
cat >>$CONFIG_STATUS <<\_ACEOF
7803
+# Handling of arguments.
7804
for ac_config_target in $ac_config_targets
7806
- case "$ac_config_target" in
7807
- # Handling of arguments.
7808
- "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7809
- "interface/Makefile" ) CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;;
7810
- "paranoia/Makefile" ) CONFIG_FILES="$CONFIG_FILES paranoia/Makefile" ;;
7811
+ case $ac_config_target in
7812
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7813
+ "interface/Makefile") CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;;
7814
+ "paranoia/Makefile") CONFIG_FILES="$CONFIG_FILES paranoia/Makefile" ;;
7816
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7817
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7818
{ (exit 1); exit 1; }; };;
7823
# If the user did not use the arguments to specify the items to instantiate,
7824
# then the envvar interface is used. Set only those that are not.
7825
# We use the long form for the default assignment because of an extremely
7826
@@ -5773,309 +7139,377 @@
7829
# Have a temporary directory for convenience. Make it in the build tree
7830
-# simply because there is no reason to put it here, and in addition,
7831
+# simply because there is no reason against having it here, and in addition,
7832
# creating and moving files from /tmp can sometimes cause problems.
7833
-# Create a temporary directory, and hook for its removal unless debugging.
7834
+# Hook for its removal unless debugging.
7835
+# Note that there is a small window in which the directory will not be cleaned:
7836
+# after its creation but before its name has been assigned to `$tmp'.
7839
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7841
+ trap 'exit_status=$?
7842
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7844
trap '{ (exit 1); exit 1; }' 1 2 13 15
7847
# Create a (secure) tmp directory for tmp files.
7850
- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7851
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7852
test -n "$tmp" && test -d "$tmp"
7855
- tmp=./confstat$$-$RANDOM
7856
- (umask 077 && mkdir $tmp)
7857
+ tmp=./conf$$-$RANDOM
7858
+ (umask 077 && mkdir "$tmp")
7861
echo "$me: cannot create a temporary directory in ." >&2
7862
{ (exit 1); exit 1; }
7867
-cat >>$CONFIG_STATUS <<_ACEOF
7870
-# CONFIG_FILES section.
7871
+# Set up the sed scripts for CONFIG_FILES section.
7874
# No need to generate the scripts if there are no CONFIG_FILES.
7875
# This happens for instance when ./config.status config.h
7876
-if test -n "\$CONFIG_FILES"; then
7877
- # Protect against being on the right side of a sed subst in config.status.
7878
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7879
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7880
-s,@SHELL@,$SHELL,;t t
7881
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7882
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7883
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7884
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7885
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7886
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7887
-s,@exec_prefix@,$exec_prefix,;t t
7888
-s,@prefix@,$prefix,;t t
7889
-s,@program_transform_name@,$program_transform_name,;t t
7890
-s,@bindir@,$bindir,;t t
7891
-s,@sbindir@,$sbindir,;t t
7892
-s,@libexecdir@,$libexecdir,;t t
7893
-s,@datadir@,$datadir,;t t
7894
-s,@sysconfdir@,$sysconfdir,;t t
7895
-s,@sharedstatedir@,$sharedstatedir,;t t
7896
-s,@localstatedir@,$localstatedir,;t t
7897
-s,@libdir@,$libdir,;t t
7898
-s,@includedir@,$includedir,;t t
7899
-s,@oldincludedir@,$oldincludedir,;t t
7900
-s,@infodir@,$infodir,;t t
7901
-s,@mandir@,$mandir,;t t
7902
-s,@build_alias@,$build_alias,;t t
7903
-s,@host_alias@,$host_alias,;t t
7904
-s,@target_alias@,$target_alias,;t t
7905
-s,@DEFS@,$DEFS,;t t
7906
-s,@ECHO_C@,$ECHO_C,;t t
7907
-s,@ECHO_N@,$ECHO_N,;t t
7908
-s,@ECHO_T@,$ECHO_T,;t t
7909
-s,@LIBS@,$LIBS,;t t
7910
-s,@build@,$build,;t t
7911
-s,@build_cpu@,$build_cpu,;t t
7912
-s,@build_vendor@,$build_vendor,;t t
7913
-s,@build_os@,$build_os,;t t
7914
-s,@host@,$host,;t t
7915
-s,@host_cpu@,$host_cpu,;t t
7916
-s,@host_vendor@,$host_vendor,;t t
7917
-s,@host_os@,$host_os,;t t
7919
-s,@CFLAGS@,$CFLAGS,;t t
7920
-s,@LDFLAGS@,$LDFLAGS,;t t
7921
-s,@CPPFLAGS@,$CPPFLAGS,;t t
7922
-s,@ac_ct_CC@,$ac_ct_CC,;t t
7923
-s,@EXEEXT@,$EXEEXT,;t t
7924
-s,@OBJEXT@,$OBJEXT,;t t
7925
-s,@RANLIB@,$RANLIB,;t t
7926
-s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7928
-s,@INSTALL@,$INSTALL,;t t
7930
-s,@EGREP@,$EGREP,;t t
7931
-s,@SET_MAKE@,$SET_MAKE,;t t
7932
-s,@SBPCD_H@,$SBPCD_H,;t t
7933
-s,@UCDROM_H@,$UCDROM_H,;t t
7934
-s,@TYPESIZES@,$TYPESIZES,;t t
7936
-s,@DEBUG@,$DEBUG,;t t
7937
-s,@LIBOBJS@,$LIBOBJS,;t t
7938
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7943
- cat >>$CONFIG_STATUS <<\_ACEOF
7944
- # Split the substitutions into bite-sized pieces for seds with
7945
- # small command number limits, like on Digital OSF/1 and HP-UX.
7946
- ac_max_sed_lines=48
7947
- ac_sed_frag=1 # Number of current file.
7948
- ac_beg=1 # First line for current file.
7949
- ac_end=$ac_max_sed_lines # Line after last line for current file.
7952
- while $ac_more_lines; do
7953
- if test $ac_beg -gt 1; then
7954
- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7956
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7958
- if test ! -s $tmp/subs.frag; then
7959
- ac_more_lines=false
7961
- # The purpose of the label and of the branching condition is to
7962
- # speed up the sed processing (if there are no `@' at all, there
7963
- # is no need to browse any of the substitutions).
7964
- # These are the two extra sed commands mentioned above.
7966
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7967
- if test -z "$ac_sed_cmds"; then
7968
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7970
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7972
- ac_sed_frag=`expr $ac_sed_frag + 1`
7974
- ac_end=`expr $ac_end + $ac_max_sed_lines`
7977
- if test -z "$ac_sed_cmds"; then
7979
+if test -n "$CONFIG_FILES"; then
7986
+for ac_last_try in false false false false false :; do
7987
+ cat >conf$$subs.sed <<_ACEOF
7988
+SHELL!$SHELL$ac_delim
7989
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7990
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7991
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7992
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7993
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7994
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7995
+exec_prefix!$exec_prefix$ac_delim
7996
+prefix!$prefix$ac_delim
7997
+program_transform_name!$program_transform_name$ac_delim
7998
+bindir!$bindir$ac_delim
7999
+sbindir!$sbindir$ac_delim
8000
+libexecdir!$libexecdir$ac_delim
8001
+datarootdir!$datarootdir$ac_delim
8002
+datadir!$datadir$ac_delim
8003
+sysconfdir!$sysconfdir$ac_delim
8004
+sharedstatedir!$sharedstatedir$ac_delim
8005
+localstatedir!$localstatedir$ac_delim
8006
+includedir!$includedir$ac_delim
8007
+oldincludedir!$oldincludedir$ac_delim
8008
+docdir!$docdir$ac_delim
8009
+infodir!$infodir$ac_delim
8010
+htmldir!$htmldir$ac_delim
8011
+dvidir!$dvidir$ac_delim
8012
+pdfdir!$pdfdir$ac_delim
8013
+psdir!$psdir$ac_delim
8014
+libdir!$libdir$ac_delim
8015
+localedir!$localedir$ac_delim
8016
+mandir!$mandir$ac_delim
8017
+DEFS!$DEFS$ac_delim
8018
+ECHO_C!$ECHO_C$ac_delim
8019
+ECHO_N!$ECHO_N$ac_delim
8020
+ECHO_T!$ECHO_T$ac_delim
8021
+LIBS!$LIBS$ac_delim
8022
+build_alias!$build_alias$ac_delim
8023
+host_alias!$host_alias$ac_delim
8024
+target_alias!$target_alias$ac_delim
8025
+build!$build$ac_delim
8026
+build_cpu!$build_cpu$ac_delim
8027
+build_vendor!$build_vendor$ac_delim
8028
+build_os!$build_os$ac_delim
8029
+host!$host$ac_delim
8030
+host_cpu!$host_cpu$ac_delim
8031
+host_vendor!$host_vendor$ac_delim
8032
+host_os!$host_os$ac_delim
8034
+CFLAGS!$CFLAGS$ac_delim
8035
+LDFLAGS!$LDFLAGS$ac_delim
8036
+CPPFLAGS!$CPPFLAGS$ac_delim
8037
+ac_ct_CC!$ac_ct_CC$ac_delim
8038
+EXEEXT!$EXEEXT$ac_delim
8039
+OBJEXT!$OBJEXT$ac_delim
8040
+RANLIB!$RANLIB$ac_delim
8042
+INSTALL!$INSTALL$ac_delim
8044
+GREP!$GREP$ac_delim
8045
+EGREP!$EGREP$ac_delim
8046
+SET_MAKE!$SET_MAKE$ac_delim
8047
+SBPCD_H!$SBPCD_H$ac_delim
8048
+UCDROM_H!$UCDROM_H$ac_delim
8049
+LIBCAM!$LIBCAM$ac_delim
8050
+TYPESIZES!$TYPESIZES$ac_delim
8052
+DEBUG!$DEBUG$ac_delim
8053
+LIBOBJS!$LIBOBJS$ac_delim
8054
+LTLIBOBJS!$LTLIBOBJS$ac_delim
8057
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
8059
+ elif $ac_last_try; then
8060
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8061
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8062
+ { (exit 1); exit 1; }; }
8064
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8066
-fi # test -n "$CONFIG_FILES"
8069
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8070
+if test -n "$ac_eof"; then
8071
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8072
+ ac_eof=`expr $ac_eof + 1`
8075
+cat >>$CONFIG_STATUS <<_ACEOF
8076
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8077
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8080
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8081
+s/^/s,@/; s/!/@,|#_!!_#|/
8084
+s/'"$ac_delim"'$/,g/; t
8086
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8087
+' >>$CONFIG_STATUS <conf$$subs.sed
8088
+rm -f conf$$subs.sed
8089
+cat >>$CONFIG_STATUS <<_ACEOF
8096
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
8097
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8098
+# trailing colons and then remove the whole line if VPATH becomes empty
8099
+# (actually we leave an empty line to preserve line numbers).
8100
+if test "x$srcdir" = x.; then
8101
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
8102
+s/:*\$(srcdir):*/:/
8103
+s/:*\${srcdir}:*/:/
8105
+s/^\([^=]*=[ ]*\):*/\1/
8111
cat >>$CONFIG_STATUS <<\_ACEOF
8112
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8113
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8115
- - | *:- | *:-:* ) # input from stdin
8117
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8118
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8119
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8120
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8121
- * ) ac_file_in=$ac_file.in ;;
8122
+fi # test -n "$CONFIG_FILES"
8125
+for ac_tag in :F $CONFIG_FILES
8128
+ :[FHLC]) ac_mode=$ac_tag; continue;;
8130
+ case $ac_mode$ac_tag in
8132
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8133
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8134
+ { (exit 1); exit 1; }; };;
8135
+ :[FH]-) ac_tag=-:-;;
8136
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8147
+ :L) ac_source=$1;;
8153
+ -) ac_f="$tmp/stdin";;
8154
+ *) # Look for the file first in the build tree, then in the source tree
8155
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
8156
+ # because $ac_f cannot contain `:'.
8157
+ test -f "$ac_f" ||
8160
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8162
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8163
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8164
+ { (exit 1); exit 1; }; };;
8166
+ ac_file_inputs="$ac_file_inputs $ac_f"
8169
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
8170
+ # use $as_me), people would be surprised to read:
8171
+ # /* config.h. Generated by config.status. */
8172
+ configure_input="Generated from "`IFS=:
8173
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8174
+ if test x"$ac_file" != x-; then
8175
+ configure_input="$ac_file. $configure_input"
8176
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
8177
+echo "$as_me: creating $ac_file" >&6;}
8181
+ *:-:* | *:-) cat >"$tmp/stdin";;
8186
- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8187
- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8188
+ ac_dir=`$as_dirname -- "$ac_file" ||
8189
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8190
X"$ac_file" : 'X\(//\)[^/]' \| \
8191
X"$ac_file" : 'X\(//\)$' \| \
8192
- X"$ac_file" : 'X\(/\)' \| \
8193
- . : '\(.\)' 2>/dev/null ||
8194
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8196
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8197
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8198
- /^X\(\/\/\)$/{ s//\1/; q; }
8199
- /^X\(\/\).*/{ s//\1/; q; }
8201
- { if $as_mkdir_p; then
8202
- mkdir -p "$ac_dir"
8205
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8209
+ /^X\(\/\/\)[^/].*/{
8222
+ { as_dir="$ac_dir"
8223
+ case $as_dir in #(
8224
+ -*) as_dir=./$as_dir;;
8226
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8228
- while test ! -d "$as_dir"; do
8229
- as_dirs="$as_dir $as_dirs"
8230
- as_dir=`(dirname "$as_dir") 2>/dev/null ||
8232
+ case $as_dir in #(
8233
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8234
+ *) as_qdir=$as_dir;;
8236
+ as_dirs="'$as_qdir' $as_dirs"
8237
+ as_dir=`$as_dirname -- "$as_dir" ||
8238
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8239
X"$as_dir" : 'X\(//\)[^/]' \| \
8240
X"$as_dir" : 'X\(//\)$' \| \
8241
- X"$as_dir" : 'X\(/\)' \| \
8242
- . : '\(.\)' 2>/dev/null ||
8243
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8245
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8246
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8247
- /^X\(\/\/\)$/{ s//\1/; q; }
8248
- /^X\(\/\).*/{ s//\1/; q; }
8250
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8254
+ /^X\(\/\/\)[^/].*/{
8267
+ test -d "$as_dir" && break
8269
- test ! -n "$as_dirs" || mkdir $as_dirs
8270
- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8271
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8272
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
8273
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8274
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
8275
{ (exit 1); exit 1; }; }; }
8279
-if test "$ac_dir" != .; then
8281
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8283
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8284
- # A "../" for each directory in $ac_dir_suffix.
8285
- ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8287
- ac_dir_suffix= ac_top_builddir=
8289
+ # A ".." for each directory in $ac_dir_suffix.
8290
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8291
+ case $ac_top_builddir_sub in
8292
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8293
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8296
+ac_abs_top_builddir=$ac_pwd
8297
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
8298
+# for backward compatibility:
8299
+ac_top_builddir=$ac_top_build_prefix
8302
- .) # No --srcdir option. We are building in place.
8303
+ .) # We are building in place.
8305
- if test -z "$ac_top_builddir"; then
8308
- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8310
- [\\/]* | ?:[\\/]* ) # Absolute path.
8311
+ ac_top_srcdir=$ac_top_builddir_sub
8312
+ ac_abs_top_srcdir=$ac_pwd ;;
8313
+ [\\/]* | ?:[\\/]* ) # Absolute name.
8314
ac_srcdir=$srcdir$ac_dir_suffix;
8315
- ac_top_srcdir=$srcdir ;;
8316
- *) # Relative path.
8317
- ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8318
- ac_top_srcdir=$ac_top_builddir$srcdir ;;
8319
+ ac_top_srcdir=$srcdir
8320
+ ac_abs_top_srcdir=$srcdir ;;
8321
+ *) # Relative name.
8322
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8323
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
8324
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8326
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8328
-# Do not use `cd foo && pwd` to compute absolute paths, because
8329
-# the directories may not exist.
8331
-.) ac_abs_builddir="$ac_dir";;
8334
- .) ac_abs_builddir=`pwd`;;
8335
- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8336
- *) ac_abs_builddir=`pwd`/"$ac_dir";;
8339
-case $ac_abs_builddir in
8340
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
8342
- case ${ac_top_builddir}. in
8343
- .) ac_abs_top_builddir=$ac_abs_builddir;;
8344
- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8345
- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8348
-case $ac_abs_builddir in
8349
-.) ac_abs_srcdir=$ac_srcdir;;
8351
- case $ac_srcdir in
8352
- .) ac_abs_srcdir=$ac_abs_builddir;;
8353
- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8354
- *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8357
-case $ac_abs_builddir in
8358
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
8360
- case $ac_top_srcdir in
8361
- .) ac_abs_top_srcdir=$ac_abs_builddir;;
8362
- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8363
- *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8375
- if test x"$ac_file" != x-; then
8376
- { echo "$as_me:$LINENO: creating $ac_file" >&5
8377
-echo "$as_me: creating $ac_file" >&6;}
8380
- # Let's still pretend it is `configure' which instantiates (i.e., don't
8381
- # use $as_me), people would be surprised to read:
8382
- # /* config.h. Generated by config.status. */
8383
- if test x"$ac_file" = x-; then
8386
- configure_input="$ac_file. "
8388
- configure_input=$configure_input"Generated from `echo $ac_file_in |
8389
- sed 's,.*/,,'` by configure."
8391
- # First look for the input files in the build tree, otherwise in the
8393
- ac_file_inputs=`IFS=:
8394
- for f in $ac_file_in; do
8396
- -) echo $tmp/stdin ;;
8398
- # Absolute (can't be DOS-style, as IFS=:)
8399
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8400
-echo "$as_me: error: cannot find input file: $f" >&2;}
8401
- { (exit 1); exit 1; }; }
8404
- if test -f "$f"; then
8407
- elif test -f "$srcdir/$f"; then
8412
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8413
-echo "$as_me: error: cannot find input file: $f" >&2;}
8414
- { (exit 1); exit 1; }; }
8417
- done` || { (exit 1); exit 1; }
8418
+cat >>$CONFIG_STATUS <<\_ACEOF
8419
+# If the template does not know about datarootdir, expand it.
8420
+# FIXME: This hack should be removed a few years after 2.60.
8421
+ac_datarootdir_hack=; ac_datarootdir_seen=
8423
+case `sed -n '/datarootdir/ {
8432
+' $ac_file_inputs` in
8433
+*datarootdir*) ac_datarootdir_seen=yes;;
8434
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8435
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8436
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8438
+cat >>$CONFIG_STATUS <<_ACEOF
8439
+ ac_datarootdir_hack='
8440
+ s&@datadir@&$datadir&g
8441
+ s&@docdir@&$docdir&g
8442
+ s&@infodir@&$infodir&g
8443
+ s&@localedir@&$localedir&g
8444
+ s&@mandir@&$mandir&g
8445
+ s&\\\${datarootdir}&$datarootdir&g' ;;
8449
+# Neutralize VPATH when `$srcdir' = `.'.
8450
+# Shell code in configure.ac might set extrasub.
8451
+# FIXME: do we really want to maintain this feature?
8452
cat >>$CONFIG_STATUS <<_ACEOF
8455
@@ -6083,28 +7517,39 @@
8456
cat >>$CONFIG_STATUS <<\_ACEOF
8458
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8459
-s,@configure_input@,$configure_input,;t t
8460
-s,@srcdir@,$ac_srcdir,;t t
8461
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
8462
-s,@top_srcdir@,$ac_top_srcdir,;t t
8463
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8464
-s,@builddir@,$ac_builddir,;t t
8465
-s,@abs_builddir@,$ac_abs_builddir,;t t
8466
-s,@top_builddir@,$ac_top_builddir,;t t
8467
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8468
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8470
- if test x"$ac_file" != x-; then
8471
- mv $tmp/out $ac_file
8476
+s&@configure_input@&$configure_input&;t t
8477
+s&@top_builddir@&$ac_top_builddir_sub&;t t
8478
+s&@srcdir@&$ac_srcdir&;t t
8479
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
8480
+s&@top_srcdir@&$ac_top_srcdir&;t t
8481
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8482
+s&@builddir@&$ac_builddir&;t t
8483
+s&@abs_builddir@&$ac_abs_builddir&;t t
8484
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8485
+$ac_datarootdir_hack
8486
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
8488
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8489
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8490
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8491
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8492
+which seems to be undefined. Please make sure it is defined." >&5
8493
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8494
+which seems to be undefined. Please make sure it is defined." >&2;}
8498
+ rm -f "$tmp/stdin"
8500
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
8501
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8511
-cat >>$CONFIG_STATUS <<\_ACEOF
8513
{ (exit 0); exit 0; }