2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
25 DUALCASE
=1; export DUALCASE
# for MKS sh
29 # Avoid depending upon Character Ranges.
30 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits
='0123456789'
34 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
41 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49 # Support unset when possible.
50 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
66 # Find who we are. Look in the path if we contain no directory separator.
68 *[\\/]* ) as_myself
=$0 ;;
69 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
73 test -z "$as_dir" && as_dir
=.
74 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x
; then
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var
in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C
; export $as_var
107 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
111 # Required to use basename.
112 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
119 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 # Name of the executable.
127 as_me
=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
150 if test "x$CONFIG_SHELL" = x
; then
151 if (eval ":") 2>/dev
/null
; then
157 if test $as_have_required = yes && (eval ":
167 as_func_ret_success () {
170 as_func_ret_failure () {
175 if as_func_success; then
179 echo as_func_success failed.
182 if as_func_failure; then
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev
/null
; then
217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
224 for as_base
in sh bash ksh sh5
; do
225 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
232 for as_shell
in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
245 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
247 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
248 DUALCASE
=1; export DUALCASE
# for MKS sh
253 CONFIG_SHELL
=$as_shell
255 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
265 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
267 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
268 DUALCASE
=1; export DUALCASE
# for MKS sh
280 as_func_ret_success
() {
283 as_func_ret_failure
() {
288 if as_func_success
; then
292 echo as_func_success failed.
295 if as_func_failure
; then
297 echo as_func_failure succeeded.
300 if as_func_ret_success
; then
304 echo as_func_ret_success failed.
307 if as_func_ret_failure
; then
309 echo as_func_ret_failure succeeded.
312 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
316 echo positional parameters were not saved.
319 test $exitcode = 0) ||
{ (exit 1); exit 1; }
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
336 if test "x$CONFIG_SHELL" != x
; then
337 for as_var
in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no
; then
346 echo This
script requires a shell
more modern than all the
347 echo shells that I found on your system. Please
install a
348 echo modern shell
, or manually run the
script under such a
349 echo shell
if you
do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
369 as_func_ret_success () {
372 as_func_ret_failure () {
377 if as_func_success; then
381 echo as_func_success failed.
384 if as_func_failure; then
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 echo positional parameters were not saved.
408 test \$exitcode = 0") ||
{
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system
,
411 echo including any error possibly output before this
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
455 # Exit status is that of the last command.
460 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
466 ECHO_C
= ECHO_N
= ECHO_T
=
470 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
477 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
484 rm -f conf$$ conf$$.exe conf$$.
file
485 if test -d conf$$.dir
; then
486 rm -f conf$$.dir
/conf$$.
file
492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
505 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
506 rmdir conf$$.dir
2>/dev
/null
508 if mkdir
-p .
2>/dev
/null
; then
511 test -d .
/-p && rmdir .
/-p
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.
file <<_ASEOF
522 if test -x conf$$.
file >/dev
/null
2>&1; then
523 as_executable_p
="test -x"
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
555 SHELL
=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
564 ac_unique_file
="parser.y"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
569 # include <sys/types.h>
572 # include <sys/stat.h>
583 # if !STDC_HEADERS && HAVE_MEMORY_H
589 # include <strings.h>
592 # include <inttypes.h>
610 program_transform_name
652 INSTALL_STRIP_PROGRAM
685 ac_precious_vars
='build_alias
697 # Initialize some variables set by options.
699 ac_init_version
=false
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
709 program_transform_name
=s
,x
,x
,
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir
='${exec_prefix}/bin'
724 sbindir
='${exec_prefix}/sbin'
725 libexecdir
='${exec_prefix}/libexec'
726 datarootdir
='${prefix}/share'
727 datadir
='${datarootdir}'
728 sysconfdir
='${prefix}/etc'
729 sharedstatedir
='${prefix}/com'
730 localstatedir
='${prefix}/var'
731 includedir
='${prefix}/include'
732 oldincludedir
='/usr/include'
733 docdir
='${datarootdir}/doc/${PACKAGE}'
734 infodir
='${datarootdir}/info'
739 libdir
='${exec_prefix}/lib'
740 localedir
='${datarootdir}/locale'
741 mandir
='${datarootdir}/man'
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\
$ac_option
755 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
759 # Accept the important Cygnus configure options, so we can diagnose typos.
761 case $ac_dashdash$ac_option in
765 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
767 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
770 -build |
--build |
--buil |
--bui |
--bu)
771 ac_prev
=build_alias
;;
772 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
773 build_alias
=$ac_optarg ;;
775 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
776 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
777 ac_prev
=cache_file
;;
778 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
779 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
780 cache_file
=$ac_optarg ;;
783 cache_file
=config.cache
;;
785 -datadir |
--datadir |
--datadi |
--datad)
787 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
788 datadir
=$ac_optarg ;;
790 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
791 |
--dataroo |
--dataro |
--datar)
792 ac_prev
=datarootdir
;;
793 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
794 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
795 datarootdir
=$ac_optarg ;;
797 -disable-* |
--disable-*)
798 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
802 { (exit 1); exit 1; }; }
803 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
804 eval enable_
$ac_feature=no
;;
806 -docdir |
--docdir |
--docdi |
--doc |
--do)
808 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
811 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
813 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
816 -enable-* |
--enable-*)
817 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
822 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
823 eval enable_
$ac_feature=\
$ac_optarg ;;
825 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
826 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
827 |
--exec |
--exe |
--ex)
828 ac_prev
=exec_prefix
;;
829 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
830 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
831 |
--exec=* |
--exe=* |
--ex=*)
832 exec_prefix
=$ac_optarg ;;
834 -gas |
--gas |
--ga |
--g)
835 # Obsolete; use --with-gas.
838 -help |
--help |
--hel |
--he |
-h)
840 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
841 ac_init_help
=recursive
;;
842 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
843 ac_init_help
=short
;;
845 -host |
--host |
--hos |
--ho)
846 ac_prev
=host_alias
;;
847 -host=* |
--host=* |
--hos=* |
--ho=*)
848 host_alias
=$ac_optarg ;;
850 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
852 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
854 htmldir
=$ac_optarg ;;
856 -includedir |
--includedir |
--includedi |
--included |
--include \
857 |
--includ |
--inclu |
--incl |
--inc)
858 ac_prev
=includedir
;;
859 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
860 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
861 includedir
=$ac_optarg ;;
863 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
865 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
866 infodir
=$ac_optarg ;;
868 -libdir |
--libdir |
--libdi |
--libd)
870 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
873 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
874 |
--libexe |
--libex |
--libe)
875 ac_prev
=libexecdir
;;
876 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
877 |
--libexe=* |
--libex=* |
--libe=*)
878 libexecdir
=$ac_optarg ;;
880 -localedir |
--localedir |
--localedi |
--localed |
--locale)
882 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
883 localedir
=$ac_optarg ;;
885 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
886 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
887 ac_prev
=localstatedir
;;
888 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
889 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
890 localstatedir
=$ac_optarg ;;
892 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
894 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
898 # Obsolete; use --without-fp.
901 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
902 |
--no-cr |
--no-c |
-n)
905 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
906 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
909 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
910 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
911 |
--oldin |
--oldi |
--old |
--ol |
--o)
912 ac_prev
=oldincludedir
;;
913 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
914 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
915 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
916 oldincludedir
=$ac_optarg ;;
918 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
920 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
923 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
924 |
--program-pre |
--program-pr |
--program-p)
925 ac_prev
=program_prefix
;;
926 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
927 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
928 program_prefix
=$ac_optarg ;;
930 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
931 |
--program-suf |
--program-su |
--program-s)
932 ac_prev
=program_suffix
;;
933 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
934 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
935 program_suffix
=$ac_optarg ;;
937 -program-transform-name |
--program-transform-name \
938 |
--program-transform-nam |
--program-transform-na \
939 |
--program-transform-n |
--program-transform- \
940 |
--program-transform |
--program-transfor \
941 |
--program-transfo |
--program-transf \
942 |
--program-trans |
--program-tran \
943 |
--progr-tra |
--program-tr |
--program-t)
944 ac_prev
=program_transform_name
;;
945 -program-transform-name=* |
--program-transform-name=* \
946 |
--program-transform-nam=* |
--program-transform-na=* \
947 |
--program-transform-n=* |
--program-transform-=* \
948 |
--program-transform=* |
--program-transfor=* \
949 |
--program-transfo=* |
--program-transf=* \
950 |
--program-trans=* |
--program-tran=* \
951 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
952 program_transform_name
=$ac_optarg ;;
954 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
956 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
959 -psdir |
--psdir |
--psdi |
--psd |
--ps)
961 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
964 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
965 |
-silent |
--silent |
--silen |
--sile |
--sil)
968 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
970 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
972 sbindir
=$ac_optarg ;;
974 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
975 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
976 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
978 ac_prev
=sharedstatedir
;;
979 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
980 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
981 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
983 sharedstatedir
=$ac_optarg ;;
985 -site |
--site |
--sit)
987 -site=* |
--site=* |
--sit=*)
990 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
992 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
995 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
996 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
997 ac_prev
=sysconfdir
;;
998 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
999 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1000 sysconfdir
=$ac_optarg ;;
1002 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1003 ac_prev
=target_alias
;;
1004 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1005 target_alias
=$ac_optarg ;;
1007 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1010 -version |
--version |
--versio |
--versi |
--vers |
-V)
1011 ac_init_version
=: ;;
1014 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1020 eval with_
$ac_package=\
$ac_optarg ;;
1022 -without-* |
--without-*)
1023 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1026 { echo "$as_me: error: invalid package name: $ac_package" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1029 eval with_
$ac_package=no
;;
1032 # Obsolete; use --with-x.
1035 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1036 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1037 ac_prev
=x_includes
;;
1038 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1039 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1040 x_includes
=$ac_optarg ;;
1042 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1043 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1044 ac_prev
=x_libraries
;;
1045 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1046 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1047 x_libraries
=$ac_optarg ;;
1049 -*) { echo "$as_me: error: unrecognized option: $ac_option
1050 Try \`$0 --help' for more information." >&2
1051 { (exit 1); exit 1; }; }
1055 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1058 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1059 { (exit 1); exit 1; }; }
1060 eval $ac_envvar=\
$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1067 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1074 if test -n "$ac_prev"; then
1075 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1076 { echo "$as_me: error: missing argument to $ac_option" >&2
1077 { (exit 1); exit 1; }; }
1080 # Be sure to have absolute directory names.
1081 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val
=\$
$ac_var
1088 [\\/$
]* | ?
:[\\/]* ) continue;;
1089 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1091 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1092 { (exit 1); exit 1; }; }
1095 # There might be people who depend on the old broken behavior: `$host'
1096 # used to hold the argument of --host etc.
1097 # FIXME: To remove some day.
1100 target
=$target_alias
1102 # FIXME: To remove some day.
1103 if test "x$host_alias" != x
; then
1104 if test "x$build_alias" = x
; then
1105 cross_compiling
=maybe
1106 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107 If a cross compiler is detected then cross compile mode will be used." >&2
1108 elif test "x$build_alias" != "x$host_alias"; then
1114 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1116 test "$silent" = yes && exec 6>/dev
/null
1119 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1120 ac_ls_di
=`ls -di .` &&
1121 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1122 { echo "$as_me: error: Working directory cannot be determined" >&2
1123 { (exit 1); exit 1; }; }
1124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125 { echo "$as_me: error: pwd does not report name of working directory" >&2
1126 { (exit 1); exit 1; }; }
1129 # Find the source files, if location was not specified.
1130 if test -z "$srcdir"; then
1131 ac_srcdir_defaulted
=yes
1132 # Try the directory containing this script, then the parent directory.
1133 ac_confdir
=`$as_dirname -- "$0" ||
1134 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1135 X"$0" : 'X\(//\)[^/]' \| \
1136 X"$0" : 'X\(//\)$' \| \
1137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157 if test ! -r "$srcdir/$ac_unique_file"; then
1161 ac_srcdir_defaulted
=no
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1164 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1165 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1166 { (exit 1); exit 1; }; }
1168 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1170 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1171 { (exit 1); exit 1; }; }
1173 # When building in place, set srcdir=.
1174 if test "$ac_abs_confdir" = "$ac_pwd"; then
1177 # Remove unnecessary trailing slashes from srcdir.
1178 # Double slashes in file names in object file debugging info
1179 # mess up M-x gdb in Emacs.
1181 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183 for ac_var
in $ac_precious_vars; do
1184 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1186 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1191 # Report the --help message.
1193 if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1197 \`configure' configures this package to adapt to many kinds of systems.
1199 Usage: $0 [OPTION]... [VAR=VALUE]...
1201 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202 VAR=VALUE. See below for descriptions of some of the useful variables.
1204 Defaults for the options are specified in brackets.
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1217 Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
1219 [$ac_default_prefix]
1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1223 By default, \`make install' will install all the files in
1224 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226 for instance \`--prefix=\$HOME'.
1228 For better control, use the options below.
1230 Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
1255 --program-prefix=PREFIX prepend PREFIX to installed program names
1256 --program-suffix=SUFFIX append SUFFIX to installed program names
1257 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1261 if test -n "$ac_init_help"; then
1266 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1267 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1268 --disable-dependency-tracking speeds up one-time build
1269 --enable-dependency-tracking do not reject slow dependency extractors
1271 Some influential environment variables
:
1272 CC C compiler
command
1273 CFLAGS C compiler flags
1274 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1275 nonstandard directory
<lib dir
>
1276 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1277 you have headers
in a nonstandard directory
<include dir
>
1279 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1280 the first program found out of: `bison
-y', `byacc', `yacc'.
1281 YFLAGS The list of arguments that will be passed by default to $YACC.
1282 This script will default YFLAGS to the empty string to avoid a
1283 default value of `-d' given by some make applications.
1285 Use these variables to override the choices made by `configure' or to
help
1286 it to
find libraries and programs with nonstandard names
/locations.
1292 if test "$ac_init_help" = "recursive"; then
1293 # If there are subdirs, report their specific --help.
1294 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1295 test -d "$ac_dir" ||
continue
1299 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1301 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1302 # A ".." for each directory in $ac_dir_suffix.
1303 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1304 case $ac_top_builddir_sub in
1305 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1306 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1309 ac_abs_top_builddir
=$ac_pwd
1310 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1311 # for backward compatibility:
1312 ac_top_builddir
=$ac_top_build_prefix
1315 .
) # We are building in place.
1317 ac_top_srcdir
=$ac_top_builddir_sub
1318 ac_abs_top_srcdir
=$ac_pwd ;;
1319 [\\/]* | ?
:[\\/]* ) # Absolute name.
1320 ac_srcdir
=$srcdir$ac_dir_suffix;
1321 ac_top_srcdir
=$srcdir
1322 ac_abs_top_srcdir
=$srcdir ;;
1324 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1325 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1326 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1328 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1330 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1331 # Check for guested configure.
1332 if test -f "$ac_srcdir/configure.gnu"; then
1334 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1335 elif test -f "$ac_srcdir/configure"; then
1337 $SHELL "$ac_srcdir/configure" --help=recursive
1339 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1341 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1345 test -n "$ac_init_help" && exit $ac_status
1346 if $ac_init_version; then
1349 generated by GNU Autoconf
2.60
1351 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1352 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1353 This configure
script is free software
; the Free Software Foundation
1354 gives unlimited permission to copy
, distribute and modify it.
1358 cat >config.log
<<_ACEOF
1359 This file contains any messages produced by compilers while
1360 running configure, to aid debugging if configure makes a mistake.
1362 It was created by $as_me, which was
1363 generated by GNU Autoconf 2.60. Invocation command line was
1375 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1376 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1377 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1378 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1379 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1381 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1382 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1384 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1385 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1386 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1387 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1388 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1389 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1390 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1398 test -z "$as_dir" && as_dir
=.
1399 echo "PATH: $as_dir"
1415 # Keep a trace of the command line.
1416 # Strip out --no-create and --no-recursion so they do not pile up.
1417 # Strip out --silent because we don't want to record it for future runs.
1418 # Also quote any args containing shell meta-characters.
1419 # Make two passes to allow for proper duplicate-argument suppression.
1423 ac_must_keep_next
=false
1429 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1430 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1431 |
-silent |
--silent |
--silen |
--sile |
--sil)
1434 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1439 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1440 if test $ac_must_keep_next = true
; then
1441 ac_must_keep_next
=false
# Got value, back to normal.
1444 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1445 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1446 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1447 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1448 case "$ac_configure_args0 " in
1449 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1452 -* ) ac_must_keep_next
=true
;;
1455 ac_configure_args
="$ac_configure_args '$ac_arg'"
1460 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1461 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1463 # When interrupted or exit'd, cleanup temporary files, and complete
1464 # config.log. We remove comments because anyway the quotes in there
1465 # would cause problems or look ugly.
1466 # WARNING: Use '\'' to represent an apostrophe within the trap.
1467 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1468 trap 'exit_status=$?
1469 # Save into config.log some information that might help in debugging.
1474 ## ---------------- ##
1475 ## Cache variables. ##
1476 ## ---------------- ##
1479 # The following way of writing the cache mishandles newlines in values,
1481 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1482 eval ac_val=\$$ac_var
1486 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1487 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1490 _ | IFS | as_nl) ;; #(
1491 *) $as_unset $ac_var ;;
1496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1497 *${as_nl}ac_space=\ *)
1499 "s/'\''/'\''\\\\'\'''\''/g;
1500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1511 ## ----------------- ##
1512 ## Output variables. ##
1513 ## ----------------- ##
1516 for ac_var in $ac_subst_vars
1518 eval ac_val=\$$ac_var
1520 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1522 echo "$ac_var='\''$ac_val'\''"
1526 if test -n "$ac_subst_files"; then
1528 ## ------------------- ##
1529 ## File substitutions. ##
1530 ## ------------------- ##
1533 for ac_var
in $ac_subst_files
1535 eval ac_val
=\$
$ac_var
1537 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1539 echo "$ac_var='\''$ac_val'\''"
1544 if test -s confdefs.h; then
1554 test "$ac_signal" != 0 &&
1555 echo "$as_me: caught signal $ac_signal"
1556 echo "$as_me: exit $exit_status"
1558 rm -f core *.core core.conftest.* &&
1559 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1562 for ac_signal
in 1 2 13 15; do
1563 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1567 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1568 rm -f -r conftest
* confdefs.h
1570 # Predefined preprocessor variables.
1572 cat >>confdefs.h
<<_ACEOF
1573 #define PACKAGE_NAME "$PACKAGE_NAME"
1577 cat >>confdefs.h
<<_ACEOF
1578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1582 cat >>confdefs.h
<<_ACEOF
1583 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1587 cat >>confdefs.h
<<_ACEOF
1588 #define PACKAGE_STRING "$PACKAGE_STRING"
1592 cat >>confdefs.h
<<_ACEOF
1593 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1597 # Let the site file select an alternate cache file if it wants to.
1598 # Prefer explicitly selected file to automatically selected ones.
1599 if test -n "$CONFIG_SITE"; then
1600 set x
"$CONFIG_SITE"
1601 elif test "x$prefix" != xNONE
; then
1602 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1604 set x
"$ac_default_prefix/share/config.site" \
1605 "$ac_default_prefix/etc/config.site"
1610 if test -r "$ac_site_file"; then
1611 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1612 echo "$as_me: loading site script $ac_site_file" >&6;}
1613 sed 's/^/| /' "$ac_site_file" >&5
1618 if test -r "$cache_file"; then
1619 # Some versions of bash will fail to source /dev/null (special
1620 # files actually), so we avoid doing that.
1621 if test -f "$cache_file"; then
1622 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1623 echo "$as_me: loading cache $cache_file" >&6;}
1625 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1626 *) .
"./$cache_file";;
1630 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1631 echo "$as_me: creating cache $cache_file" >&6;}
1635 # Check that the precious variables saved in the cache have kept the same
1637 ac_cache_corrupted
=false
1638 for ac_var
in $ac_precious_vars; do
1639 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1640 eval ac_new_set
=\
$ac_env_${ac_var}_set
1641 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1642 eval ac_new_val
=\
$ac_env_${ac_var}_value
1643 case $ac_old_set,$ac_new_set in
1645 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1646 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1647 ac_cache_corrupted
=: ;;
1649 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1650 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1651 ac_cache_corrupted
=: ;;
1654 if test "x$ac_old_val" != "x$ac_new_val"; then
1655 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1656 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1657 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1658 echo "$as_me: former value: $ac_old_val" >&2;}
1659 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1660 echo "$as_me: current value: $ac_new_val" >&2;}
1661 ac_cache_corrupted
=:
1664 # Pass precious variables to config.status.
1665 if test "$ac_new_set" = set; then
1667 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1668 *) ac_arg
=$ac_var=$ac_new_val ;;
1670 case " $ac_configure_args " in
1671 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1672 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1676 if $ac_cache_corrupted; then
1677 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1678 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1679 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1680 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1681 { (exit 1); exit 1; }; }
1701 ac_cpp
='$CPP $CPPFLAGS'
1702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1708 ac_config_headers
="$ac_config_headers config.h"
1710 am__api_version
="1.8"
1712 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1713 if test -f "$ac_dir/install-sh"; then
1715 ac_install_sh
="$ac_aux_dir/install-sh -c"
1717 elif test -f "$ac_dir/install.sh"; then
1719 ac_install_sh
="$ac_aux_dir/install.sh -c"
1721 elif test -f "$ac_dir/shtool"; then
1723 ac_install_sh
="$ac_aux_dir/shtool install -c"
1727 if test -z "$ac_aux_dir"; then
1728 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1729 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1730 { (exit 1); exit 1; }; }
1733 # These three variables are undocumented and unsupported,
1734 # and are intended to be withdrawn in a future Autoconf release.
1735 # They can cause serious problems if a builder's source tree is in a directory
1736 # whose full name contains unusual characters.
1737 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1738 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1739 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1742 # Find a good install program. We prefer a C program (faster),
1743 # so one script is as good as another. But avoid the broken or
1744 # incompatible versions:
1745 # SysV /etc/install, /usr/sbin/install
1746 # SunOS /usr/etc/install
1747 # IRIX /sbin/install
1749 # AmigaOS /C/install, which installs bootblocks on floppy discs
1750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1753 # OS/2's system install, which has a completely different semantic
1754 # ./install, which can be erroneously created by make from ./install.sh.
1755 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1756 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1757 if test -z "$INSTALL"; then
1758 if test "${ac_cv_path_install+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 # Account for people who put trailing slashes in PATH elements.
1768 .
/ | .
// |
/cC
/* | \
1769 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1770 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1773 # OSF1 and SCO ODT 3.0 have their own names for install.
1774 # Don't use installbsd from OSF since it installs stuff as root
1776 for ac_prog
in ginstall scoinst
install; do
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1779 if test $ac_prog = install &&
1780 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1781 # AIX install. It has an incompatible calling convention.
1783 elif test $ac_prog = install &&
1784 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1785 # program-specific install script used by HP pwplus--don't use.
1788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1801 if test "${ac_cv_path_install+set}" = set; then
1802 INSTALL
=$ac_cv_path_install
1804 # As a last resort, use the slow shell script. Don't cache a
1805 # value for INSTALL within a source directory, because that will
1806 # break other packages using the cache if that directory is
1807 # removed, or if the value is a relative name.
1808 INSTALL
=$ac_install_sh
1811 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1812 echo "${ECHO_T}$INSTALL" >&6; }
1814 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1815 # It thinks the first close brace ends the variable substitution.
1816 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1818 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1820 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1822 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1823 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1826 echo timestamp
> conftest.
file
1827 # Do `set' in a subshell so we don't clobber the current shell's
1828 # arguments. Must try -L first in case configure is actually a
1829 # symlink; some systems play weird games with the mod time of symlinks
1830 # (eg FreeBSD returns the mod time of the symlink's containing
1833 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1834 if test "$*" = "X"; then
1836 set X
`ls -t $srcdir/configure conftest.file`
1839 if test "$*" != "X $srcdir/configure conftest.file" \
1840 && test "$*" != "X conftest.file $srcdir/configure"; then
1842 # If neither matched, then we have a broken ls. This can happen
1843 # if, for instance, CONFIG_SHELL is bash and it inherits a
1844 # broken ls alias from the environment. This has actually
1845 # happened. Such a system could not be considered "sane".
1846 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1847 alias in your environment" >&5
1848 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1849 alias in your environment" >&2;}
1850 { (exit 1); exit 1; }; }
1853 test "$2" = conftest.
file
1859 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1860 Check your system clock" >&5
1861 echo "$as_me: error: newly created file is older than distributed files!
1862 Check your system clock" >&2;}
1863 { (exit 1); exit 1; }; }
1865 { echo "$as_me:$LINENO: result: yes" >&5
1866 echo "${ECHO_T}yes" >&6; }
1867 test "$program_prefix" != NONE
&&
1868 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1869 # Use a double $ so make ignores it.
1870 test "$program_suffix" != NONE
&&
1871 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1872 # Double any \ or $. echo might interpret backslashes.
1873 # By default was `s,x,x', remove it if useless.
1874 cat <<\_ACEOF
>conftest.
sed
1875 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1877 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1880 # expand $ac_aux_dir to an absolute path
1881 am_aux_dir
=`cd $ac_aux_dir && pwd`
1883 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1884 # Use eval to expand $SHELL
1885 if eval "$MISSING --run true"; then
1886 am_missing_run
="$MISSING --run "
1889 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1890 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1893 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1894 # Keeping the `.' argument allows $(mkdir_p) to be used without
1895 # argument. Indeed, we sometimes output rules like
1896 # $(mkdir_p) $(somedir)
1897 # where $(somedir) is conditionally defined.
1898 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1899 # expensive solution, as it forces Make to start a sub-shell.)
1900 mkdir_p
='mkdir -p -- .'
1902 # On NextStep and OpenStep, the `mkdir' command does not
1903 # recognize any option. It will interpret all options as
1904 # directories to create, and then abort because `.' already
1906 for d
in .
/-p .
/--version;
1908 test -d $d && rmdir $d
1910 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1911 if test -f "$ac_aux_dir/mkinstalldirs"; then
1912 mkdir_p
='$(mkinstalldirs)'
1914 mkdir_p
='$(install_sh) -d'
1918 for ac_prog
in gawk mawk nawk
awk
1920 # Extract the first word of "$ac_prog", so it can be a program name with args.
1921 set dummy
$ac_prog; ac_word
=$2
1922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1924 if test "${ac_cv_prog_AWK+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 if test -n "$AWK"; then
1928 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1934 test -z "$as_dir" && as_dir
=.
1935 for ac_exec_ext
in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1937 ac_cv_prog_AWK
="$ac_prog"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 if test -n "$AWK"; then
1949 { echo "$as_me:$LINENO: result: $AWK" >&5
1950 echo "${ECHO_T}$AWK" >&6; }
1952 { echo "$as_me:$LINENO: result: no" >&5
1953 echo "${ECHO_T}no" >&6; }
1957 test -n "$AWK" && break
1960 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1961 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1962 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1963 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 cat >conftest.
make <<\_ACEOF
1969 @
echo '@@@%%%=$(MAKE)=@@@%%%'
1971 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1972 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1974 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
1976 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
1980 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
1981 { echo "$as_me:$LINENO: result: yes" >&5
1982 echo "${ECHO_T}yes" >&6; }
1985 { echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6; }
1987 SET_MAKE
="MAKE=${MAKE-make}"
1990 rm -rf .tst
2>/dev
/null
1991 mkdir .tst
2>/dev
/null
1992 if test -d .tst
; then
1997 rmdir .tst
2>/dev
/null
1999 # test to see if srcdir already configured
2000 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2001 test -f $srcdir/config.status
; then
2002 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2003 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2004 { (exit 1); exit 1; }; }
2007 # test whether we have cygpath
2008 if test -z "$CYGPATH_W"; then
2009 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2010 CYGPATH_W
='cygpath -w'
2017 # Define the identity of the package.
2022 cat >>confdefs.h
<<_ACEOF
2023 #define PACKAGE "$PACKAGE"
2027 cat >>confdefs.h
<<_ACEOF
2028 #define VERSION "$VERSION"
2031 # Some tools Automake needs.
2033 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2036 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2039 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2042 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2045 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2048 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2050 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2052 # Installed binaries are usually stripped using `strip' when the user
2053 # run `make install-strip'. However `strip' might not be the right
2054 # tool to use in cross-compilation environments, therefore Automake
2055 # will honor the `STRIP' environment variable to overrule this program.
2056 if test "$cross_compiling" != no
; then
2057 if test -n "$ac_tool_prefix"; then
2058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2059 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2062 if test "${ac_cv_prog_STRIP+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 if test -n "$STRIP"; then
2066 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2072 test -z "$as_dir" && as_dir
=.
2073 for ac_exec_ext
in '' $ac_executable_extensions; do
2074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2075 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 STRIP
=$ac_cv_prog_STRIP
2086 if test -n "$STRIP"; then
2087 { echo "$as_me:$LINENO: result: $STRIP" >&5
2088 echo "${ECHO_T}$STRIP" >&6; }
2090 { echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6; }
2096 if test -z "$ac_cv_prog_STRIP"; then
2098 # Extract the first word of "strip", so it can be a program name with args.
2099 set dummy strip
; ac_word
=$2
2100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$ac_ct_STRIP"; then
2106 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir
=.
2113 for ac_exec_ext
in '' $ac_executable_extensions; do
2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 ac_cv_prog_ac_ct_STRIP
="strip"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2126 if test -n "$ac_ct_STRIP"; then
2127 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2128 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2130 { echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6; }
2134 if test "x$ac_ct_STRIP" = x
; then
2137 case $cross_compiling:$ac_tool_warned in
2139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2140 whose name does not start with the host triplet. If you think this
2141 configuration is useful to you, please write to autoconf@gnu.org." >&5
2142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2143 whose name does not start with the host triplet. If you think this
2144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2145 ac_tool_warned
=yes ;;
2150 STRIP
="$ac_cv_prog_STRIP"
2154 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2156 # We need awk for the "check" target. The system "awk" is bad on
2162 DEPDIR
="${am__leading_dot}deps"
2164 ac_config_commands
="$ac_config_commands depfiles"
2167 am_make
=${MAKE-make}
2168 cat > confinc
<< 'END'
2173 # If we don't find an include directive, just comment out the code.
2174 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2175 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2179 # First try GNU make style include.
2180 echo "include confinc" > confmf
2181 # We grep out `Entering directory' and `Leaving directory'
2182 # messages which can occur if `w' ends up in MAKEFLAGS.
2183 # In particular we don't look at `^make:' because GNU make might
2184 # be invoked under some other name (usually "gmake"), in which
2185 # case it prints its new name instead of `make'.
2186 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2191 # Now try BSD make style include.
2192 if test "$am__include" = "#"; then
2193 echo '.include "confinc"' > confmf
2194 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2195 am__include
=.include
2202 { echo "$as_me:$LINENO: result: $_am_result" >&5
2203 echo "${ECHO_T}$_am_result" >&6; }
2204 rm -f confinc confmf
2206 # Check whether --enable-dependency-tracking was given.
2207 if test "${enable_dependency_tracking+set}" = set; then
2208 enableval
=$enable_dependency_tracking;
2211 if test "x$enable_dependency_tracking" != xno
; then
2212 am_depcomp
="$ac_aux_dir/depcomp"
2217 if test "x$enable_dependency_tracking" != xno; then
2228 ac_cpp
='$CPP $CPPFLAGS'
2229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2232 if test -n "$ac_tool_prefix"; then
2233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2234 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237 if test "${ac_cv_prog_CC+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 if test -n "$CC"; then
2241 ac_cv_prog_CC
="$CC" # Let the user override the test.
2243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir
=.
2248 for ac_exec_ext
in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 if test -n "$CC"; then
2262 { echo "$as_me:$LINENO: result: $CC" >&5
2263 echo "${ECHO_T}$CC" >&6; }
2265 { echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6; }
2271 if test -z "$ac_cv_prog_CC"; then
2273 # Extract the first word of "gcc", so it can be a program name with args.
2274 set dummy gcc
; ac_word
=$2
2275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2277 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 if test -n "$ac_ct_CC"; then
2281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2287 test -z "$as_dir" && as_dir
=.
2288 for ac_exec_ext
in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_ac_ct_CC
="gcc"
2291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2300 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2301 if test -n "$ac_ct_CC"; then
2302 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303 echo "${ECHO_T}$ac_ct_CC" >&6; }
2305 { echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6; }
2309 if test "x$ac_ct_CC" = x
; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned
=yes ;;
2328 if test -z "$CC"; then
2329 if test -n "$ac_tool_prefix"; then
2330 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2331 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC
="$CC" # Let the user override the test.
2340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir
=.
2345 for ac_exec_ext
in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 if test -n "$CC"; then
2359 { echo "$as_me:$LINENO: result: $CC" >&5
2360 echo "${ECHO_T}$CC" >&6; }
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2369 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc
; ac_word
=$2
2372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC
="$CC" # Let the user override the test.
2381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2385 test -z "$as_dir" && as_dir
=.
2386 for ac_exec_ext
in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2389 ac_prog_rejected
=yes
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test $ac_prog_rejected = yes; then
2401 # We found a bogon in the path, so make sure we never use it.
2402 set dummy
$ac_cv_prog_CC
2404 if test $# != 0; then
2405 # We chose a different compiler from the bogus one.
2406 # However, it has the same basename, so the bogon will be chosen
2407 # first if we set CC to just the basename; use the full file name.
2409 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2425 if test -z "$CC"; then
2426 if test -n "$ac_tool_prefix"; then
2427 for ac_prog
in cl.exe
2429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2430 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC
="$CC" # Let the user override the test.
2439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir
=.
2444 for ac_exec_ext
in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test -n "$CC"; then
2458 { echo "$as_me:$LINENO: result: $CC" >&5
2459 echo "${ECHO_T}$CC" >&6; }
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2466 test -n "$CC" && break
2469 if test -z "$CC"; then
2471 for ac_prog
in cl.exe
2473 # Extract the first word of "$ac_prog", so it can be a program name with args.
2474 set dummy
$ac_prog; ac_word
=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 if test -n "$ac_ct_CC"; then
2481 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2487 test -z "$as_dir" && as_dir
=.
2488 for ac_exec_ext
in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_CC
="$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6; }
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2510 test -n "$ac_ct_CC" && break
2513 if test "x$ac_ct_CC" = x
; then
2516 case $cross_compiling:$ac_tool_warned in
2518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&5
2521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2522 whose name does not start with the host triplet. If you think this
2523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2524 ac_tool_warned
=yes ;;
2533 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: no acceptable C compiler found in \$PATH
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2539 # Provide some information about the compiler.
2540 echo "$as_me:$LINENO: checking for C compiler version" >&5
2541 ac_compiler
=`set X $ac_compile; echo $2`
2542 { (ac_try
="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }
2552 { (ac_try="$ac_compiler -v >&5"
2554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2555 *) ac_try_echo
=$ac_try;;
2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2558 (eval "$ac_compiler -v >&5") 2>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }
2562 { (ac_try
="$ac_compiler -V >&5"
2564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2568 (eval "$ac_compiler -V >&5") 2>&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2588 ac_clean_files_save=$ac_clean_files
2589 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2590 # Try to create an executable without -o first, disregard a.out.
2591 # It will help us diagnose broken compilers, and finding out an intuition
2593 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2594 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2595 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2597 # List of possible output files, starting from the most likely.
2598 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2599 # only as a last resort. b.out is created by i960 compilers.
2600 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2602 # The IRIX 6 linker writes into existing files which may not be
2603 # executable, retaining their permissions. Remove them first so a
2604 # subsequent execution test works.
2606 for ac_file in $ac_files
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2610 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2615 if { (ac_try="$ac_link_default"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_link_default") 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2627 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2628 # so that the user can short-circuit this test for compilers unknown to
2630 for ac_file
in $ac_files
2632 test -f "$ac_file" ||
continue
2634 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2637 # We found the default executable, but exeext='' is most
2641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2643 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645 # We set ac_cv_exeext here because the later test for it is not
2646 # safe: cross compilers may not add the suffix if given an `-o'
2647 # argument, so we may need to know it at that point already.
2648 # Even if this section looks crufty: it has the advantage of
2655 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2661 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: C compiler cannot create executables
2664 See \`config.log' for more details." >&2;}
2665 { (exit 77); exit 77; }; }
2668 ac_exeext
=$ac_cv_exeext
2669 { echo "$as_me:$LINENO: result: $ac_file" >&5
2670 echo "${ECHO_T}$ac_file" >&6; }
2672 # Check that the compiler produces executables we can run. If not, either
2673 # the compiler is broken, or we cross compile.
2674 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2675 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2676 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2677 # If not cross compiling, check that we can run a simple program.
2678 if test "$cross_compiling" != yes; then
2679 if { ac_try
='./$ac_file'
2680 { (case "(($ac_try" in
2681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2685 (eval "$ac_try") 2>&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; }; then
2691 if test "$cross_compiling" = maybe; then
2694 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2695 If you meant to cross compile, use \`--host'.
2696 See \`config.log' for more details.
" >&5
2697 echo "$as_me: error
: cannot run C compiled programs.
2698 If you meant to cross compile
, use \
`--host'.
2699 See \`config.log
' for more details." >&2;}
2700 { (exit 1); exit 1; }; }
2704 { echo "$as_me:$LINENO: result: yes" >&5
2705 echo "${ECHO_T}yes" >&6; }
2707 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2708 ac_clean_files=$ac_clean_files_save
2709 # Check that the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile.
2711 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2712 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2713 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2714 echo "${ECHO_T}$cross_compiling" >&6; }
2716 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2717 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2718 if { (ac_try="$ac_link"
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_link") 2>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; then
2728 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2729 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2730 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2732 for ac_file
in conftest.exe conftest conftest.
*; do
2733 test -f "$ac_file" ||
continue
2735 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2736 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2742 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2743 See \`config.log' for more details." >&5
2744 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2745 See \`config.log' for more details." >&2;}
2746 { (exit 1); exit 1; }; }
2749 rm -f conftest
$ac_cv_exeext
2750 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2751 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2753 rm -f conftest.
$ac_ext
2754 EXEEXT
=$ac_cv_exeext
2756 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2757 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2758 if test "${ac_cv_objext+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 cat >conftest.
$ac_ext <<_ACEOF
2764 cat confdefs.h
>>conftest.
$ac_ext
2765 cat >>conftest.
$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2776 rm -f conftest.o conftest.obj
2777 if { (ac_try
="$ac_compile"
2779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compile") 2>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; then
2787 for ac_file in conftest.o conftest.obj conftest.*; do
2788 test -f "$ac_file" || continue;
2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2791 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2800 See \`config.log
' for more details." >&5
2801 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2802 See \`config.log' for more details.
" >&2;}
2803 { (exit 1); exit 1; }; }
2806 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2808 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2809 echo "${ECHO_T}$ac_cv_objext" >&6; }
2810 OBJEXT=$ac_cv_objext
2812 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2813 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2814 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2815 echo $ECHO_N "(cached
) $ECHO_C" >&6
2817 cat >conftest.$ac_ext <<_ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2835 rm -f conftest.$ac_objext
2836 if { (ac_try="$ac_compile"
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_compile") 2>conftest.er1
2844 grep -v '^ *+' conftest.er1 >conftest.err
2846 cat conftest.err >&5
2847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2848 (exit $ac_status); } &&
2849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2850 { (case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2855 (eval "$ac_try") 2>&5
2857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2858 (exit $ac_status); }; } &&
2859 { ac_try='test -s conftest.$ac_objext'
2860 { (case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_try") 2>&5
2867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2868 (exit $ac_status); }; }; then
2871 echo "$as_me: failed program was
:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2881 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2882 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2883 GCC=`test $ac_compiler_gnu = yes && echo yes`
2884 ac_test_CFLAGS=${CFLAGS+set}
2885 ac_save_CFLAGS=$CFLAGS
2886 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2887 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2888 if test "${ac_cv_prog_cc_g+set}" = set; then
2889 echo $ECHO_N "(cached
) $ECHO_C" >&6
2891 ac_save_c_werror_flag=$ac_c_werror_flag
2892 ac_c_werror_flag=yes
2895 cat >conftest.$ac_ext <<_ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2910 rm -f conftest.$ac_objext
2911 if { (ac_try="$ac_compile"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_compile") 2>conftest.er1
2919 grep -v '^ *+' conftest.er1 >conftest.err
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2925 { (case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_try") 2>&5
2932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_try") 2>&5
2942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2943 (exit $ac_status); }; }; then
2946 echo "$as_me: failed program was
:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2950 cat >conftest.$ac_ext <<_ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2965 rm -f conftest.$ac_objext
2966 if { (ac_try="$ac_compile"
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_compile") 2>conftest.er1
2974 grep -v '^ *+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2980 { (case "(($ac_try" in
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2985 (eval "$ac_try") 2>&5
2987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2988 (exit $ac_status); }; } &&
2989 { ac_try='test -s conftest.$ac_objext'
2990 { (case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_try") 2>&5
2997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2998 (exit $ac_status); }; }; then
3001 echo "$as_me: failed program was
:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_c_werror_flag=$ac_save_c_werror_flag
3006 cat >conftest.$ac_ext <<_ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3030 grep -v '^ *+' conftest.er1 >conftest.err
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3036 { (case "(($ac_try" in
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3041 (eval "$ac_try") 2>&5
3043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3044 (exit $ac_status); }; } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_try") 2>&5
3053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3054 (exit $ac_status); }; }; then
3057 echo "$as_me: failed program was
:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 ac_c_werror_flag=$ac_save_c_werror_flag
3072 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3073 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3074 if test "$ac_test_CFLAGS" = set; then
3075 CFLAGS=$ac_save_CFLAGS
3076 elif test $ac_cv_prog_cc_g = yes; then
3077 if test "$GCC" = yes; then
3083 if test "$GCC" = yes; then
3089 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3090 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_c89+set}" = set; then
3092 echo $ECHO_N "(cached
) $ECHO_C" >&6
3094 ac_cv_prog_cc_c89=no
3096 cat >conftest.$ac_ext <<_ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3104 #include <sys/types.h>
3105 #include <sys/stat.h>
3106 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3107 struct buf { int x; };
3108 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3109 static char *e (p, i)
3115 static char *f (char * (*g) (char **, int), char **p, ...)
3120 s = g (p, va_arg (v,int));
3125 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3126 function prototypes and stuff, but not '\xHH' hex character constants.
3127 These don't provoke an error unfortunately, instead are silently treated
3128 as 'x'. The following induces an error, until -std is added to get
3129 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3130 array size at least. It's necessary to write '\x00'==0 to get something
3131 that's true only with -std. */
3132 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3134 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3135 inside strings and character constants. */
3137 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3139 int test (int i, double x);
3140 struct s1 {int (*f) (int a);};
3141 struct s2 {int (*f) (double a);};
3142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3153 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3154 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3156 CC="$ac_save_CC $ac_arg"
3157 rm -f conftest.$ac_objext
3158 if { (ac_try="$ac_compile"
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3164 (eval "$ac_compile") 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3172 { (case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_try") 2>&5
3179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3180 (exit $ac_status); }; } &&
3181 { ac_try='test -s conftest.$ac_objext'
3182 { (case "(($ac_try" in
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_try") 2>&5
3189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_cv_prog_cc_c89=$ac_arg
3193 echo "$as_me: failed program was
:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3199 rm -f core conftest.err conftest.$ac_objext
3200 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3202 rm -f conftest.$ac_ext
3207 case "x
$ac_cv_prog_cc_c89" in
3209 { echo "$as_me:$LINENO: result
: none needed
" >&5
3210 echo "${ECHO_T}none needed
" >&6; } ;;
3212 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3213 echo "${ECHO_T}unsupported
" >&6; } ;;
3215 CC="$CC $ac_cv_prog_cc_c89"
3216 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3217 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3222 ac_cpp='$CPP $CPPFLAGS'
3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227 depcc="$CC" am_compiler_list=
3229 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3230 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3231 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3232 echo $ECHO_N "(cached
) $ECHO_C" >&6
3234 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3235 # We make a subdir and do the tests there. Otherwise we can end up
3236 # making bogus files that we don't know about and never remove. For
3237 # instance it was reported that on HP-UX the gcc test will end up
3238 # making a dummy file named `D' -- because `-MD' means `put the output
3241 # Copy depcomp to subdir because otherwise we won't find it if we're
3242 # using a relative directory.
3243 cp "$am_depcomp" conftest.dir
3245 # We will build objects and dependencies in a subdirectory because
3246 # it helps to detect inapplicable dependency modes. For instance
3247 # both Tru64's cc and ICC support -MD to output dependencies as a
3248 # side effect of compilation, but ICC will put the dependencies in
3249 # the current directory while Tru64 will put them in the object
3253 am_cv_CC_dependencies_compiler_type=none
3254 if test "$am_compiler_list" = ""; then
3255 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3257 for depmode in $am_compiler_list; do
3258 # Setup a source with many dependencies, because some compilers
3259 # like to wrap large dependency lists on column 80 (with \), and
3260 # we should not choose a depcomp mode which is confused by this.
3262 # We need to recreate these files for each test, as the compiler may
3263 # overwrite some of them when testing with obscure command lines.
3264 # This happens at least with the AIX C compiler.
3266 for i in 1 2 3 4 5 6; do
3267 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3268 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3269 # Solaris 8's {/usr,}/bin/sh.
3270 touch sub/conftst$i.h
3272 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3276 # after this tag, mechanisms are not by side-effect, so they'll
3277 # only be used when explicitly requested
3278 if test "x
$enable_dependency_tracking" = xyes; then
3286 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3287 # mode. It turns out that the SunPro C++ compiler does not properly
3288 # handle `-M -o', and we need to detect this.
3289 if depmode=$depmode \
3290 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3291 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3292 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3293 >/dev/null 2>conftest.err &&
3294 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3295 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3296 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3297 # icc doesn't choke on unknown options, it will just issue warnings
3298 # or remarks (even with -Werror). So we grep stderr for any message
3299 # that says an option was ignored or not supported.
3300 # When given -MP, icc 7.0 and 7.1 complain thusly:
3301 # icc: Command line warning: ignoring option '-M'; no argument required
3302 # The diagnosis changed in icc 8.0:
3303 # icc: Command line remark: option '-MP' not supported
3304 if (grep 'ignoring option' conftest.err ||
3305 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3306 am_cv_CC_dependencies_compiler_type=$depmode
3315 am_cv_CC_dependencies_compiler_type=none
3319 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3320 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3326 test "x
$enable_dependency_tracking" != xno \
3327 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3329 am__fastdepCC_FALSE='#'
3331 am__fastdepCC_TRUE='#'
3332 am__fastdepCC_FALSE=
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3343 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3344 # On Suns, sometimes $CPP names a directory.
3345 if test -n "$CPP" && test -d "$CPP"; then
3348 if test -z "$CPP"; then
3349 if test "${ac_cv_prog_CPP+set}" = set; then
3350 echo $ECHO_N "(cached
) $ECHO_C" >&6
3352 # Double quotes because CPP needs to be expanded
3353 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3356 for ac_c_preproc_warn_flag in '' yes
3358 # Use a header file that comes with gcc, so configuring glibc
3359 # with a fresh cross-compiler works.
3360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3361 # <limits.h> exists even on freestanding compilers.
3362 # On the NeXT, cc -E runs the code through the compiler's parser,
3363 # not just through cpp. "Syntax error
" is here to catch this case.
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3371 # include <limits.h>
3373 # include <assert.h>
3377 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3389 (exit $ac_status); } >/dev/null; then
3390 if test -s conftest.err; then
3391 ac_cpp_err=$ac_c_preproc_warn_flag
3392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3399 if test -z "$ac_cpp_err"; then
3402 echo "$as_me: failed program was
:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3405 # Broken: fails on valid input.
3409 rm -f conftest.err conftest.$ac_ext
3411 # OK, works on sane cases. Now check whether nonexistent headers
3412 # can be detected and how.
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3419 #include <ac_nonexistent.h>
3421 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3427 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3429 grep -v '^ *+' conftest.er1 >conftest.err
3431 cat conftest.err >&5
3432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3433 (exit $ac_status); } >/dev/null; then
3434 if test -s conftest.err; then
3435 ac_cpp_err=$ac_c_preproc_warn_flag
3436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3443 if test -z "$ac_cpp_err"; then
3444 # Broken: success on invalid input.
3447 echo "$as_me: failed program was
:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 # Passes both tests.
3455 rm -f conftest.err conftest.$ac_ext
3458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3459 rm -f conftest.err conftest.$ac_ext
3460 if $ac_preproc_ok; then
3472 { echo "$as_me:$LINENO: result
: $CPP" >&5
3473 echo "${ECHO_T}$CPP" >&6; }
3475 for ac_c_preproc_warn_flag in '' yes
3477 # Use a header file that comes with gcc, so configuring glibc
3478 # with a fresh cross-compiler works.
3479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3480 # <limits.h> exists even on freestanding compilers.
3481 # On the NeXT, cc -E runs the code through the compiler's parser,
3482 # not just through cpp. "Syntax error
" is here to catch this case.
3483 cat >conftest.$ac_ext <<_ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3490 # include <limits.h>
3492 # include <assert.h>
3496 if { (ac_try="$ac_cpp conftest.
$ac_ext"
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_cpp conftest.
$ac_ext") 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); } >/dev/null; then
3509 if test -s conftest.err; then
3510 ac_cpp_err=$ac_c_preproc_warn_flag
3511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3518 if test -z "$ac_cpp_err"; then
3521 echo "$as_me: failed program was
:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3524 # Broken: fails on valid input.
3528 rm -f conftest.err conftest.$ac_ext
3530 # OK, works on sane cases. Now check whether nonexistent headers
3531 # can be detected and how.
3532 cat >conftest.$ac_ext <<_ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 #include <ac_nonexistent.h>
3540 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3548 grep -v '^ *+' conftest.er1 >conftest.err
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3552 (exit $ac_status); } >/dev/null; then
3553 if test -s conftest.err; then
3554 ac_cpp_err=$ac_c_preproc_warn_flag
3555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3562 if test -z "$ac_cpp_err"; then
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was
:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3582 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3583 See \
`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log
' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3592 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3597 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3598 if test "${ac_cv_path_GREP+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 # Extract the first word of "grep ggrep" to use in msg output
3602 if test -z "$GREP"; then
3603 set dummy grep ggrep; ac_prog_name=$2
3604 if test "${ac_cv_path_GREP+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 ac_path_GREP_found=false
3608 # Loop through the user's path and
test for each of PROGNAME-LIST
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3610 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_prog
in grep ggrep
; do
3615 for ac_exec_ext
in '' $ac_executable_extensions; do
3616 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3617 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
3618 # Check for GNU ac_path_GREP and select it if it is found.
3619 # Check for GNU $ac_path_GREP
3620 case `"$ac_path_GREP" --version 2>&1` in
3622 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3625 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3628 cat "conftest.in" "conftest.in" >"conftest.tmp"
3629 mv "conftest.tmp" "conftest.in"
3630 cp "conftest.in" "conftest.nl"
3631 echo 'GREP' >> "conftest.nl"
3632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3633 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3634 ac_count
=`expr $ac_count + 1`
3635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3636 # Best one so far, save it but keep looking for a better one
3637 ac_cv_path_GREP
="$ac_path_GREP"
3638 ac_path_GREP_max
=$ac_count
3640 # 10*(2^10) chars as input seems more than enough
3641 test $ac_count -gt 10 && break
3643 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3647 $ac_path_GREP_found && break 3
3657 GREP
="$ac_cv_path_GREP"
3658 if test -z "$GREP"; then
3659 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3660 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3661 { (exit 1); exit 1; }; }
3665 ac_cv_path_GREP
=$GREP
3670 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3671 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3672 GREP
="$ac_cv_path_GREP"
3675 { echo "$as_me:$LINENO: checking for egrep" >&5
3676 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3677 if test "${ac_cv_path_EGREP+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3681 then ac_cv_path_EGREP
="$GREP -E"
3683 # Extract the first word of "egrep" to use in msg output
3684 if test -z "$EGREP"; then
3685 set dummy
egrep; ac_prog_name
=$2
3686 if test "${ac_cv_path_EGREP+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 ac_path_EGREP_found
=false
3690 # Loop through the user's path and test for each of PROGNAME-LIST
3691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3692 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3695 test -z "$as_dir" && as_dir
=.
3696 for ac_prog
in egrep; do
3697 for ac_exec_ext
in '' $ac_executable_extensions; do
3698 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3699 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3700 # Check for GNU ac_path_EGREP and select it if it is found.
3701 # Check for GNU $ac_path_EGREP
3702 case `"$ac_path_EGREP" --version 2>&1` in
3704 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3707 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3710 cat "conftest.in" "conftest.in" >"conftest.tmp"
3711 mv "conftest.tmp" "conftest.in"
3712 cp "conftest.in" "conftest.nl"
3713 echo 'EGREP' >> "conftest.nl"
3714 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3715 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3716 ac_count
=`expr $ac_count + 1`
3717 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3718 # Best one so far, save it but keep looking for a better one
3719 ac_cv_path_EGREP
="$ac_path_EGREP"
3720 ac_path_EGREP_max
=$ac_count
3722 # 10*(2^10) chars as input seems more than enough
3723 test $ac_count -gt 10 && break
3725 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3729 $ac_path_EGREP_found && break 3
3739 EGREP
="$ac_cv_path_EGREP"
3740 if test -z "$EGREP"; then
3741 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3742 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3743 { (exit 1); exit 1; }; }
3747 ac_cv_path_EGREP
=$EGREP
3753 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3754 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3755 EGREP
="$ac_cv_path_EGREP"
3758 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3759 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3760 if test "${ac_cv_header_stdc+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 cat >conftest.
$ac_ext <<_ACEOF
3766 cat confdefs.h
>>conftest.
$ac_ext
3767 cat >>conftest.
$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3782 rm -f conftest.
$ac_objext
3783 if { (ac_try
="$ac_compile"
3785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_compile") 2>conftest.er1
3791 grep -v '^ *+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3797 { (case "(($ac_try" in
3798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3799 *) ac_try_echo
=$ac_try;;
3801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3802 (eval "$ac_try") 2>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try
='test -s conftest.$ac_objext'
3807 { (case "(($ac_try" in
3808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_try") 2>&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_header_stdc=yes
3818 echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.$ac_ext >&5
3821 ac_cv_header_stdc=no
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 if test $ac_cv_header_stdc = yes; then
3827 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3828 cat >conftest.$ac_ext <<_ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3838 $EGREP "memchr" >/dev/null 2>&1; then
3841 ac_cv_header_stdc=no
3847 if test $ac_cv_header_stdc = yes; then
3848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859 $EGREP "free" >/dev/null 2>&1; then
3862 ac_cv_header_stdc=no
3868 if test $ac_cv_header_stdc = yes; then
3869 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3870 if test "$cross_compiling" = yes; then
3873 cat >conftest.$ac_ext <<_ACEOF
3876 cat confdefs.h >>conftest.$ac_ext
3877 cat >>conftest.$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3881 #if ((' ' & 0x0FF) == 0x020)
3882 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3883 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3885 # define ISLOWER(c) \
3886 (('a' <= (c) && (c) <= 'i') \
3887 || ('j' <= (c) && (c) <= 'r') \
3888 || ('s' <= (c) && (c) <= 'z'))
3889 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3892 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3897 for (i = 0; i < 256; i++)
3898 if (XOR (islower (i), ISLOWER (i))
3899 || toupper (i) != TOUPPER (i))
3904 rm -f conftest$ac_exeext
3905 if { (ac_try="$ac_link"
3907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3908 *) ac_try_echo
=$ac_try;;
3910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3911 (eval "$ac_link") 2>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3915 { (case "(($ac_try" in
3916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3920 (eval "$ac_try") 2>&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3926 echo "$as_me: program exited with status $ac_status" >&5
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.$ac_ext >&5
3931 ac_cv_header_stdc=no
3933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3939 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3940 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3941 if test $ac_cv_header_stdc = yes; then
3943 cat >>confdefs.h <<\_ACEOF
3944 #define STDC_HEADERS 1
3949 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3960 inttypes.h stdint.h unistd.h
3962 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 $ac_includes_default
3976 #include <$ac_header>
3978 rm -f conftest.$ac_objext
3979 if { (ac_try="$ac_compile"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_compile") 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } &&
3992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3993 { (case "(($ac_try" in
3994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_try") 2>&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; } &&
4002 { ac_try='test -s conftest.$ac_objext'
4003 { (case "(($ac_try" in
4004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4005 *) ac_try_echo
=$ac_try;;
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_try") 2>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4012 eval "$as_ac_Header=yes"
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.
$ac_ext >&5
4017 eval "$as_ac_Header=no"
4020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4022 ac_res
=`eval echo '${'$as_ac_Header'}'`
4023 { echo "$as_me:$LINENO: result: $ac_res" >&5
4024 echo "${ECHO_T}$ac_res" >&6; }
4025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4026 cat >>confdefs.h
<<_ACEOF
4027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4035 { echo "$as_me:$LINENO: checking for size_t" >&5
4036 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4037 if test "${ac_cv_type_size_t+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4040 cat >conftest.
$ac_ext <<_ACEOF
4043 cat confdefs.h
>>conftest.
$ac_ext
4044 cat >>conftest.
$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 $ac_includes_default
4047 typedef size_t ac__type_new_;
4051 if ((ac__type_new_ *) 0)
4053 if (sizeof (ac__type_new_))
4059 rm -f conftest.
$ac_objext
4060 if { (ac_try
="$ac_compile"
4062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compile") 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4074 { (case "(($ac_try" in
4075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4076 *) ac_try_echo
=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_try") 2>&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try
='test -s conftest.$ac_objext'
4084 { (case "(($ac_try" in
4085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089 (eval "$ac_try") 2>&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_cv_type_size_t=yes
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 ac_cv_type_size_t=no
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4104 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4105 if test $ac_cv_type_size_t = yes; then
4109 cat >>confdefs.h <<_ACEOF
4110 #define size_t unsigned int
4115 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4116 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4117 if test "${ac_cv_c_const+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 cat >conftest.$ac_ext <<_ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4130 /* FIXME: Include the comments suggested by Paul. */
4132 /* Ultrix mips cc rejects this. */
4133 typedef int charset[2];
4135 /* SunOS 4.1.1 cc rejects this. */
4136 char const *const *ccp;
4138 /* NEC SVR4.0.2 mips cc rejects this. */
4139 struct point {int x, y;};
4140 static struct point const zero = {0,0};
4141 /* AIX XL C 1.02.0.0 rejects this.
4142 It does not let you subtract one const X* pointer from another in
4143 an arm of an if-expression whose if-part is not a constant
4145 const char *g = "string";
4146 ccp = &g + (g ? g-g : 0);
4147 /* HPUX 7.0 cc rejects these. */
4150 ccp = (char const *const *) p;
4151 { /* SCO 3.2v4 cc rejects this. */
4153 char const *s = 0 ? (char *) 0 : (char const *) 0;
4158 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4160 const int *foo = &x[0];
4163 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4164 typedef const int *iptr;
4168 { /* AIX XL C 1.02.0.0 rejects this saying
4169 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4170 struct s { int j; const int *ap[3]; };
4171 struct s *b; b->j = 5;
4173 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4177 return !x[0] && !zero.x;
4184 rm -f conftest.$ac_objext
4185 if { (ac_try="$ac_compile"
4187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4188 *) ac_try_echo
=$ac_try;;
4190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191 (eval "$ac_compile") 2>conftest.er1
4193 grep -v '^ *+' conftest.er1
>conftest.err
4195 cat conftest.err
>&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } &&
4198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4199 { (case "(($ac_try" in
4200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_try") 2>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; } &&
4208 { ac_try='test -s conftest.$ac_objext'
4209 { (case "(($ac_try" in
4210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4211 *) ac_try_echo
=$ac_try;;
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_try") 2>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }; }; then
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.
$ac_ext >&5
4226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4228 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4229 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4230 if test $ac_cv_c_const = no
; then
4232 cat >>confdefs.h
<<\_ACEOF
4239 for ac_prog
in gawk mawk nawk
awk
4241 # Extract the first word of "$ac_prog", so it can be a program name with args.
4242 set dummy
$ac_prog; ac_word
=$2
4243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4245 if test "${ac_cv_prog_AWK+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 if test -n "$AWK"; then
4249 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir
=.
4256 for ac_exec_ext
in '' $ac_executable_extensions; do
4257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4258 ac_cv_prog_AWK
="$ac_prog"
4259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 if test -n "$AWK"; then
4270 { echo "$as_me:$LINENO: result: $AWK" >&5
4271 echo "${ECHO_T}$AWK" >&6; }
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4278 test -n "$AWK" && break
4282 ac_cpp
='$CPP $CPPFLAGS'
4283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4288 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4291 if test "${ac_cv_prog_CC+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 if test -n "$CC"; then
4295 ac_cv_prog_CC
="$CC" # Let the user override the test.
4297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir
=.
4302 for ac_exec_ext
in '' $ac_executable_extensions; do
4303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4304 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 if test -n "$CC"; then
4316 { echo "$as_me:$LINENO: result: $CC" >&5
4317 echo "${ECHO_T}$CC" >&6; }
4319 { echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6; }
4325 if test -z "$ac_cv_prog_CC"; then
4327 # Extract the first word of "gcc", so it can be a program name with args.
4328 set dummy gcc
; ac_word
=$2
4329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$ac_ct_CC"; then
4335 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_CC
="gcc"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4355 if test -n "$ac_ct_CC"; then
4356 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4357 echo "${ECHO_T}$ac_ct_CC" >&6; }
4359 { echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6; }
4363 if test "x$ac_ct_CC" = x
; then
4366 case $cross_compiling:$ac_tool_warned in
4368 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4369 whose name does not start with the host triplet. If you think this
4370 configuration is useful to you, please write to autoconf@gnu.org." >&5
4371 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4372 whose name does not start with the host triplet. If you think this
4373 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4374 ac_tool_warned
=yes ;;
4382 if test -z "$CC"; then
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4385 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388 if test "${ac_cv_prog_CC+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$CC"; then
4392 ac_cv_prog_CC
="$CC" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 if test -n "$CC"; then
4413 { echo "$as_me:$LINENO: result: $CC" >&5
4414 echo "${ECHO_T}$CC" >&6; }
4416 { echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6; }
4423 if test -z "$CC"; then
4424 # Extract the first word of "cc", so it can be a program name with args.
4425 set dummy cc
; ac_word
=$2
4426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4428 if test "${ac_cv_prog_CC+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$CC"; then
4432 ac_cv_prog_CC
="$CC" # Let the user override the test.
4435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir
=.
4440 for ac_exec_ext
in '' $ac_executable_extensions; do
4441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4442 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4443 ac_prog_rejected
=yes
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 if test $ac_prog_rejected = yes; then
4455 # We found a bogon in the path, so make sure we never use it.
4456 set dummy
$ac_cv_prog_CC
4458 if test $# != 0; then
4459 # We chose a different compiler from the bogus one.
4460 # However, it has the same basename, so the bogon will be chosen
4461 # first if we set CC to just the basename; use the full file name.
4463 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4469 if test -n "$CC"; then
4470 { echo "$as_me:$LINENO: result: $CC" >&5
4471 echo "${ECHO_T}$CC" >&6; }
4473 { echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6; }
4479 if test -z "$CC"; then
4480 if test -n "$ac_tool_prefix"; then
4481 for ac_prog
in cl.exe
4483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4484 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4487 if test "${ac_cv_prog_CC+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC
="$CC" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CC"; then
4512 { echo "$as_me:$LINENO: result: $CC" >&5
4513 echo "${ECHO_T}$CC" >&6; }
4515 { echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6; }
4520 test -n "$CC" && break
4523 if test -z "$CC"; then
4525 for ac_prog
in cl.exe
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy
$ac_prog; ac_word
=$2
4529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4534 if test -n "$ac_ct_CC"; then
4535 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4541 test -z "$as_dir" && as_dir
=.
4542 for ac_exec_ext
in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 ac_cv_prog_ac_ct_CC
="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4555 if test -n "$ac_ct_CC"; then
4556 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4557 echo "${ECHO_T}$ac_ct_CC" >&6; }
4559 { echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6; }
4564 test -n "$ac_ct_CC" && break
4567 if test "x$ac_ct_CC" = x
; then
4570 case $cross_compiling:$ac_tool_warned in
4572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4573 whose name does not start with the host triplet. If you think this
4574 configuration is useful to you, please write to autoconf@gnu.org." >&5
4575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4576 whose name does not start with the host triplet. If you think this
4577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4578 ac_tool_warned
=yes ;;
4587 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4588 See \`config.log' for more details." >&5
4589 echo "$as_me: error: no acceptable C compiler found in \$PATH
4590 See \`config.log' for more details." >&2;}
4591 { (exit 1); exit 1; }; }
4593 # Provide some information about the compiler.
4594 echo "$as_me:$LINENO: checking for C compiler version" >&5
4595 ac_compiler
=`set X $ac_compile; echo $2`
4596 { (ac_try
="$ac_compiler --version >&5"
4598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_compiler --version >&5") 2>&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }
4606 { (ac_try="$ac_compiler -v >&5"
4608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4609 *) ac_try_echo
=$ac_try;;
4611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4612 (eval "$ac_compiler -v >&5") 2>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }
4616 { (ac_try
="$ac_compiler -V >&5"
4618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4619 *) ac_try_echo=$ac_try;;
4621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4622 (eval "$ac_compiler -V >&5") 2>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); }
4627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 cat >conftest.$ac_ext <<_ACEOF
4635 cat confdefs.h >>conftest.$ac_ext
4636 cat >>conftest.$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4650 rm -f conftest.$ac_objext
4651 if { (ac_try="$ac_compile"
4653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4654 *) ac_try_echo
=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_compile") 2>conftest.er1
4659 grep -v '^ *+' conftest.er1
>conftest.err
4661 cat conftest.err
>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4665 { (case "(($ac_try" in
4666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_try") 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest.$ac_objext'
4675 { (case "(($ac_try" in
4676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4677 *) ac_try_echo
=$ac_try;;
4679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4680 (eval "$ac_try") 2>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.
$ac_ext >&5
4692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4693 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4696 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4697 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4698 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4699 ac_test_CFLAGS
=${CFLAGS+set}
4700 ac_save_CFLAGS
=$CFLAGS
4701 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4702 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4703 if test "${ac_cv_prog_cc_g+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4706 ac_save_c_werror_flag
=$ac_c_werror_flag
4707 ac_c_werror_flag
=yes
4710 cat >conftest.
$ac_ext <<_ACEOF
4713 cat confdefs.h
>>conftest.
$ac_ext
4714 cat >>conftest.
$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4725 rm -f conftest.
$ac_objext
4726 if { (ac_try
="$ac_compile"
4728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_compile") 2>conftest.er1
4734 grep -v '^ *+' conftest.er1 >conftest.err
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740 { (case "(($ac_try" in
4741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4742 *) ac_try_echo
=$ac_try;;
4744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4745 (eval "$ac_try") 2>&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try
='test -s conftest.$ac_objext'
4750 { (case "(($ac_try" in
4751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4755 (eval "$ac_try") 2>&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4765 cat >conftest.$ac_ext <<_ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4784 *) ac_try_echo
=$ac_try;;
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4789 grep -v '^ *+' conftest.er1
>conftest.err
4791 cat conftest.err
>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (case "(($ac_try" in
4796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4800 (eval "$ac_try") 2>&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (case "(($ac_try" in
4806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4807 *) ac_try_echo
=$ac_try;;
4809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4810 (eval "$ac_try") 2>&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 ac_c_werror_flag
=$ac_save_c_werror_flag
4821 cat >conftest.
$ac_ext <<_ACEOF
4824 cat confdefs.h
>>conftest.
$ac_ext
4825 cat >>conftest.
$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4836 rm -f conftest.
$ac_objext
4837 if { (ac_try
="$ac_compile"
4839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_compile") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1 >conftest.err
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try
='test -s conftest.$ac_objext'
4861 { (case "(($ac_try" in
4862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_try") 2>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4872 echo "$as_me: failed program was:" >&5
4873 sed 's/^/| /' conftest.$ac_ext >&5
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 ac_c_werror_flag=$ac_save_c_werror_flag
4887 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4888 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4889 if test "$ac_test_CFLAGS" = set; then
4890 CFLAGS=$ac_save_CFLAGS
4891 elif test $ac_cv_prog_cc_g = yes; then
4892 if test "$GCC" = yes; then
4898 if test "$GCC" = yes; then
4904 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4905 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4906 if test "${ac_cv_prog_cc_c89+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 ac_cv_prog_cc_c89=no
4911 cat >conftest.$ac_ext <<_ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4919 #include <sys/types.h>
4920 #include <sys/stat.h>
4921 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4922 struct buf { int x; };
4923 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4924 static char *e (p, i)
4930 static char *f (char * (*g) (char **, int), char **p, ...)
4935 s = g (p, va_arg (v,int));
4940 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4941 function prototypes and stuff, but not '\xHH' hex character constants.
4942 These don't provoke an error unfortunately, instead are silently treated
4943 as 'x'. The following induces an error, until -std is added to get
4944 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4945 array size at least. It's necessary to write '\x00'==0 to get something
4946 that's true only with -std. */
4947 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4949 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4950 inside strings and character constants. */
4952 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4954 int test (int i, double x);
4955 struct s1 {int (*f) (int a);};
4956 struct s2 {int (*f) (double a);};
4957 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4963 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4968 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4969 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4971 CC="$ac_save_CC $ac_arg"
4972 rm -f conftest.$ac_objext
4973 if { (ac_try="$ac_compile"
4975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4976 *) ac_try_echo
=$ac_try;;
4978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4979 (eval "$ac_compile") 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4987 { (case "(($ac_try" in
4988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4992 (eval "$ac_try") 2>&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; } &&
4996 { ac_try='test -s conftest.$ac_objext'
4997 { (case "(($ac_try" in
4998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4999 *) ac_try_echo
=$ac_try;;
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_try") 2>&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 ac_cv_prog_cc_c89
=$ac_arg
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.
$ac_ext >&5
5014 rm -f core conftest.err conftest.
$ac_objext
5015 test "x$ac_cv_prog_cc_c89" != "xno" && break
5017 rm -f conftest.
$ac_ext
5022 case "x$ac_cv_prog_cc_c89" in
5024 { echo "$as_me:$LINENO: result: none needed" >&5
5025 echo "${ECHO_T}none needed" >&6; } ;;
5027 { echo "$as_me:$LINENO: result: unsupported" >&5
5028 echo "${ECHO_T}unsupported" >&6; } ;;
5030 CC
="$CC $ac_cv_prog_cc_c89"
5031 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5032 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5037 ac_cpp
='$CPP $CPPFLAGS'
5038 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5042 depcc
="$CC" am_compiler_list
=
5044 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5045 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5046 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5050 # We make a subdir and do the tests there. Otherwise we can end up
5051 # making bogus files that we don't know about and never remove. For
5052 # instance it was reported that on HP-UX the gcc test will end up
5053 # making a dummy file named `D' -- because `-MD' means `put the output
5056 # Copy depcomp to subdir because otherwise we won't find it if we're
5057 # using a relative directory.
5058 cp "$am_depcomp" conftest.dir
5060 # We will build objects and dependencies in a subdirectory because
5061 # it helps to detect inapplicable dependency modes. For instance
5062 # both Tru64's cc and ICC support -MD to output dependencies as a
5063 # side effect of compilation, but ICC will put the dependencies in
5064 # the current directory while Tru64 will put them in the object
5068 am_cv_CC_dependencies_compiler_type
=none
5069 if test "$am_compiler_list" = ""; then
5070 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5072 for depmode
in $am_compiler_list; do
5073 # Setup a source with many dependencies, because some compilers
5074 # like to wrap large dependency lists on column 80 (with \), and
5075 # we should not choose a depcomp mode which is confused by this.
5077 # We need to recreate these files for each test, as the compiler may
5078 # overwrite some of them when testing with obscure command lines.
5079 # This happens at least with the AIX C compiler.
5081 for i
in 1 2 3 4 5 6; do
5082 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5083 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5084 # Solaris 8's {/usr,}/bin/sh.
5085 touch sub
/conftst
$i.h
5087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5091 # after this tag, mechanisms are not by side-effect, so they'll
5092 # only be used when explicitly requested
5093 if test "x$enable_dependency_tracking" = xyes
; then
5101 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5102 # mode. It turns out that the SunPro C++ compiler does not properly
5103 # handle `-M -o', and we need to detect this.
5104 if depmode
=$depmode \
5105 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5106 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5107 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5108 >/dev
/null
2>conftest.err
&&
5109 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5110 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5111 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5112 # icc doesn't choke on unknown options, it will just issue warnings
5113 # or remarks (even with -Werror). So we grep stderr for any message
5114 # that says an option was ignored or not supported.
5115 # When given -MP, icc 7.0 and 7.1 complain thusly:
5116 # icc: Command line warning: ignoring option '-M'; no argument required
5117 # The diagnosis changed in icc 8.0:
5118 # icc: Command line remark: option '-MP' not supported
5119 if (grep 'ignoring option' conftest.err ||
5120 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5121 am_cv_CC_dependencies_compiler_type
=$depmode
5130 am_cv_CC_dependencies_compiler_type
=none
5134 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5135 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5136 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5141 test "x$enable_dependency_tracking" != xno \
5142 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5144 am__fastdepCC_FALSE
='#'
5146 am__fastdepCC_TRUE
='#'
5147 am__fastdepCC_FALSE
=
5151 for ac_prog
in 'bison -y' byacc
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy
$ac_prog; ac_word
=$2
5155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5157 if test "${ac_cv_prog_YACC+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 if test -n "$YACC"; then
5161 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_YACC
="$ac_prog"
5171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 YACC
=$ac_cv_prog_YACC
5181 if test -n "$YACC"; then
5182 { echo "$as_me:$LINENO: result: $YACC" >&5
5183 echo "${ECHO_T}$YACC" >&6; }
5185 { echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6; }
5190 test -n "$YACC" && break
5192 test -n "$YACC" || YACC
="yacc"
5194 for ac_prog
in flex
lex
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy
$ac_prog; ac_word
=$2
5198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5200 if test "${ac_cv_prog_LEX+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 if test -n "$LEX"; then
5204 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5210 test -z "$as_dir" && as_dir
=.
5211 for ac_exec_ext
in '' $ac_executable_extensions; do
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5213 ac_cv_prog_LEX
="$ac_prog"
5214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 if test -n "$LEX"; then
5225 { echo "$as_me:$LINENO: result: $LEX" >&5
5226 echo "${ECHO_T}$LEX" >&6; }
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5233 test -n "$LEX" && break
5235 test -n "$LEX" || LEX
=":"
5237 if test -z "$LEXLIB"
5239 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5240 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 ac_check_lib_save_LIBS
=$LIBS
5246 cat >conftest.
$ac_ext <<_ACEOF
5249 cat confdefs.h
>>conftest.
$ac_ext
5250 cat >>conftest.
$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5268 rm -f conftest.
$ac_objext conftest
$ac_exeext
5269 if { (ac_try
="$ac_link"
5271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5285 *) ac_try_echo
=$ac_try;;
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try
='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_fl_yywrap=yes
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_fl_yywrap=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5315 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5316 if test $ac_cv_lib_fl_yywrap = yes; then
5319 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5320 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5321 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 ac_check_lib_save_LIBS=$LIBS
5326 cat >conftest.$ac_ext <<_ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5333 /* Override any GCC internal prototype to avoid an error.
5334 Use char because int might match the return type of a GCC
5335 builtin and then its argument prototype would still apply. */
5348 rm -f conftest.$ac_objext conftest$ac_exeext
5349 if { (ac_try="$ac_link"
5351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5352 *) ac_try_echo
=$ac_try;;
5354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5355 (eval "$ac_link") 2>conftest.er1
5357 grep -v '^ *+' conftest.er1
>conftest.err
5359 cat conftest.err
>&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } &&
5362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5363 { (case "(($ac_try" in
5364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_try") 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; } &&
5372 { ac_try='test -s conftest$ac_exeext'
5373 { (case "(($ac_try" in
5374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5375 *) ac_try_echo
=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_try") 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then
5382 ac_cv_lib_l_yywrap
=yes
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.
$ac_ext >&5
5387 ac_cv_lib_l_yywrap
=no
5390 rm -f core conftest.err conftest.
$ac_objext \
5391 conftest
$ac_exeext conftest.
$ac_ext
5392 LIBS
=$ac_check_lib_save_LIBS
5394 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5395 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5396 if test $ac_cv_lib_l_yywrap = yes; then
5404 if test "x$LEX" != "x:"; then
5405 { echo "$as_me:$LINENO: checking lex output file root" >&5
5406 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5407 if test "${ac_cv_prog_lex_root+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 # The minimal lex program is just a single line: %%. But some broken lexes
5411 # (Solaris, I think it was) want two %% lines, so accommodate them.
5412 cat >conftest.l
<<_ACEOF
5416 { (ac_try
="$LEX conftest.l"
5418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5419 *) ac_try_echo=$ac_try;;
5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$LEX conftest.l") 2>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }
5426 if test -f lex.yy.c; then
5427 ac_cv_prog_lex_root=lex.yy
5428 elif test -f lexyy.c; then
5429 ac_cv_prog_lex_root=lexyy
5431 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5432 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5433 { (exit 1); exit 1; }; }
5436 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5437 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5439 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5441 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5442 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5443 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 # POSIX says lex can declare yytext either as a pointer or an array; the
5447 # default is implementation-dependent. Figure out which it is, since
5448 # not all implementations provide the %pointer and %array declarations.
5449 ac_cv_prog_lex_yytext_pointer=no
5450 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5452 LIBS="$LIBS $LEXLIB"
5453 cat >conftest.$ac_ext <<_ACEOF
5454 `cat $LEX_OUTPUT_ROOT.c
`
5456 rm -f conftest.$ac_objext conftest$ac_exeext
5457 if { (ac_try="$ac_link"
5459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5460 *) ac_try_echo
=$ac_try;;
5462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5463 (eval "$ac_link") 2>conftest.er1
5465 grep -v '^ *+' conftest.er1
>conftest.err
5467 cat conftest.err
>&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); } &&
5470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5471 { (case "(($ac_try" in
5472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_try") 2>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; } &&
5480 { ac_try='test -s conftest$ac_exeext'
5481 { (case "(($ac_try" in
5482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5483 *) ac_try_echo
=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_try") 2>&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; }; then
5490 ac_cv_prog_lex_yytext_pointer
=yes
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.
$ac_ext >&5
5498 rm -f core conftest.err conftest.
$ac_objext \
5499 conftest
$ac_exeext conftest.
$ac_ext
5501 rm -f "${LEX_OUTPUT_ROOT}.c"
5504 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5505 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5506 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5508 cat >>confdefs.h
<<\_ACEOF
5509 #define YYTEXT_POINTER 1
5515 if test "$LEX" = :; then
5516 LEX
=${am_missing_run}flex
5518 # Find a good install program. We prefer a C program (faster),
5519 # so one script is as good as another. But avoid the broken or
5520 # incompatible versions:
5521 # SysV /etc/install, /usr/sbin/install
5522 # SunOS /usr/etc/install
5523 # IRIX /sbin/install
5525 # AmigaOS /C/install, which installs bootblocks on floppy discs
5526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5529 # OS/2's system install, which has a completely different semantic
5530 # ./install, which can be erroneously created by make from ./install.sh.
5531 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5533 if test -z "$INSTALL"; then
5534 if test "${ac_cv_path_install+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 # Account for people who put trailing slashes in PATH elements.
5544 .
/ | .
// |
/cC
/* | \
5545 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5546 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5549 # OSF1 and SCO ODT 3.0 have their own names for install.
5550 # Don't use installbsd from OSF since it installs stuff as root
5552 for ac_prog
in ginstall scoinst
install; do
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5555 if test $ac_prog = install &&
5556 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5557 # AIX install. It has an incompatible calling convention.
5559 elif test $ac_prog = install &&
5560 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5561 # program-specific install script used by HP pwplus--don't use.
5564 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5577 if test "${ac_cv_path_install+set}" = set; then
5578 INSTALL
=$ac_cv_path_install
5580 # As a last resort, use the slow shell script. Don't cache a
5581 # value for INSTALL within a source directory, because that will
5582 # break other packages using the cache if that directory is
5583 # removed, or if the value is a relative name.
5584 INSTALL
=$ac_install_sh
5587 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5588 echo "${ECHO_T}$INSTALL" >&6; }
5590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5591 # It thinks the first close brace ends the variable substitution.
5592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5596 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5598 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5599 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5601 if test "$LN_S" = "ln -s"; then
5602 { echo "$as_me:$LINENO: result: yes" >&5
5603 echo "${ECHO_T}yes" >&6; }
5605 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5606 echo "${ECHO_T}no, using $LN_S" >&6; }
5611 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5613 if test "${ac_cv_header_stdc+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 cat >conftest.
$ac_ext <<_ACEOF
5619 cat confdefs.h
>>conftest.
$ac_ext
5620 cat >>conftest.
$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5635 rm -f conftest.
$ac_objext
5636 if { (ac_try
="$ac_compile"
5638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5644 grep -v '^ *+' conftest.er1 >conftest.err
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5650 { (case "(($ac_try" in
5651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5652 *) ac_try_echo
=$ac_try;;
5654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5655 (eval "$ac_try") 2>&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try
='test -s conftest.$ac_objext'
5660 { (case "(($ac_try" in
5661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_try") 2>&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); }; }; then
5669 ac_cv_header_stdc=yes
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5674 ac_cv_header_stdc=no
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 if test $ac_cv_header_stdc = yes; then
5680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5681 cat >conftest.$ac_ext <<_ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5691 $EGREP "memchr" >/dev/null 2>&1; then
5694 ac_cv_header_stdc=no
5700 if test $ac_cv_header_stdc = yes; then
5701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5702 cat >conftest.$ac_ext <<_ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5712 $EGREP "free" >/dev/null 2>&1; then
5715 ac_cv_header_stdc=no
5721 if test $ac_cv_header_stdc = yes; then
5722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5723 if test "$cross_compiling" = yes; then
5726 cat >conftest.$ac_ext <<_ACEOF
5729 cat confdefs.h >>conftest.$ac_ext
5730 cat >>conftest.$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5734 #if ((' ' & 0x0FF) == 0x020)
5735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5738 # define ISLOWER(c) \
5739 (('a' <= (c) && (c) <= 'i') \
5740 || ('j' <= (c) && (c) <= 'r') \
5741 || ('s' <= (c) && (c) <= 'z'))
5742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5750 for (i = 0; i < 256; i++)
5751 if (XOR (islower (i), ISLOWER (i))
5752 || toupper (i) != TOUPPER (i))
5757 rm -f conftest$ac_exeext
5758 if { (ac_try="$ac_link"
5760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5761 *) ac_try_echo
=$ac_try;;
5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5764 (eval "$ac_link") 2>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5768 { (case "(($ac_try" in
5769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773 (eval "$ac_try") 2>&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5784 ac_cv_header_stdc=no
5786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5792 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5793 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5794 if test $ac_cv_header_stdc = yes; then
5796 cat >>confdefs.h <<\_ACEOF
5797 #define STDC_HEADERS 1
5803 for ac_header in stddef.h
5805 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 ac_res=`eval echo '${'$as_ac_Header'}'`
5813 { echo "$as_me:$LINENO: result: $ac_res" >&5
5814 echo "${ECHO_T}$ac_res" >&6; }
5816 # Is the header compilable?
5817 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5819 cat >conftest.$ac_ext <<_ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 #include <$ac_header>
5828 rm -f conftest.$ac_objext
5829 if { (ac_try="$ac_compile"
5831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5832 *) ac_try_echo
=$ac_try;;
5834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5835 (eval "$ac_compile") 2>conftest.er1
5837 grep -v '^ *+' conftest.er1
>conftest.err
5839 cat conftest.err
>&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5843 { (case "(($ac_try" in
5844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5845 *) ac_try_echo=$ac_try;;
5847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5848 (eval "$ac_try") 2>&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); }; } &&
5852 { ac_try='test -s conftest.$ac_objext'
5853 { (case "(($ac_try" in
5854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5855 *) ac_try_echo
=$ac_try;;
5857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5858 (eval "$ac_try") 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; }; then
5862 ac_header_compiler
=yes
5864 echo "$as_me: failed program was:" >&5
5865 sed 's/^/| /' conftest.
$ac_ext >&5
5867 ac_header_compiler
=no
5870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5872 echo "${ECHO_T}$ac_header_compiler" >&6; }
5874 # Is the header present?
5875 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <$ac_header>
5885 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5888 *) ac_try_echo=$ac_try;;
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5893 grep -v '^ *+' conftest.er1 >conftest.err
5895 cat conftest.err >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } >/dev/null; then
5898 if test -s conftest.err; then
5899 ac_cpp_err=$ac_c_preproc_warn_flag
5900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5907 if test -z "$ac_cpp_err"; then
5908 ac_header_preproc=yes
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5913 ac_header_preproc=no
5916 rm -f conftest.err conftest.$ac_ext
5917 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5918 echo "${ECHO_T}$ac_header_preproc" >&6; }
5920 # So? What about this header?
5921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5924 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5927 ac_header_preproc=yes
5930 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5931 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5932 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5933 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5934 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5935 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5936 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5937 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5940 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5941 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5945 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 eval "$as_ac_Header=\$ac_header_preproc"
5952 ac_res=`eval echo '${'$as_ac_Header'}'`
5953 { echo "$as_me:$LINENO: result: $ac_res" >&5
5954 echo "${ECHO_T}$ac_res" >&6; }
5957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5958 cat >>confdefs.h <<_ACEOF
5959 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5969 for ac_func in vprintf
5971 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5972 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5974 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 cat >conftest.$ac_ext <<_ACEOF
5980 cat confdefs.h >>conftest.$ac_ext
5981 cat >>conftest.$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5985 #define $ac_func innocuous_$ac_func
5987 /* System header to define __stub macros and hopefully few prototypes,
5988 which can conflict with char $ac_func (); below.
5989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5990 <limits.h> exists even on freestanding compilers. */
5993 # include <limits.h>
5995 # include <assert.h>
6000 /* Override any GCC internal prototype to avoid an error.
6001 Use char because int might match the return type of a GCC
6002 builtin and then its argument prototype would still apply. */
6007 /* The GNU C library defines this for functions which it implements
6008 to always fail with ENOSYS. Some functions are actually named
6009 something starting with __ and the normal name is an alias. */
6010 #if defined __stub_$ac_func || defined __stub___$ac_func
6022 rm -f conftest.$ac_objext conftest$ac_exeext
6023 if { (ac_try="$ac_link"
6025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6026 *) ac_try_echo
=$ac_try;;
6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 (eval "$ac_link") 2>conftest.er1
6031 grep -v '^ *+' conftest.er1
>conftest.err
6033 cat conftest.err
>&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); } &&
6036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6037 { (case "(($ac_try" in
6038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6039 *) ac_try_echo=$ac_try;;
6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042 (eval "$ac_try") 2>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest$ac_exeext'
6047 { (case "(($ac_try" in
6048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6049 *) ac_try_echo
=$ac_try;;
6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6052 (eval "$ac_try") 2>&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; }; then
6056 eval "$as_ac_var=yes"
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6061 eval "$as_ac_var=no"
6064 rm -f core conftest.err conftest.
$ac_objext \
6065 conftest
$ac_exeext conftest.
$ac_ext
6067 ac_res
=`eval echo '${'$as_ac_var'}'`
6068 { echo "$as_me:$LINENO: result: $ac_res" >&5
6069 echo "${ECHO_T}$ac_res" >&6; }
6070 if test `eval echo '${'$as_ac_var'}'` = yes; then
6071 cat >>confdefs.h
<<_ACEOF
6072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6075 { echo "$as_me:$LINENO: checking for _doprnt" >&5
6076 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6077 if test "${ac_cv_func__doprnt+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6088 #define _doprnt innocuous__doprnt
6090 /* System header to define __stub macros and hopefully few prototypes,
6091 which can conflict with char _doprnt (); below.
6092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6093 <limits.h> exists even on freestanding compilers. */
6096 # include <limits.h>
6098 # include <assert.h>
6103 /* Override any GCC internal prototype to avoid an error.
6104 Use char because int might match the return type of a GCC
6105 builtin and then its argument prototype would still apply. */
6110 /* The GNU C library defines this for functions which it implements
6111 to always fail with ENOSYS. Some functions are actually named
6112 something starting with __ and the normal name is an alias. */
6113 #if defined __stub__doprnt || defined __stub____doprnt
6125 rm -f conftest.
$ac_objext conftest
$ac_exeext
6126 if { (ac_try
="$ac_link"
6128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_link") 2>conftest.er1
6134 grep -v '^ *+' conftest.er1 >conftest.err
6136 cat conftest.err >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6140 { (case "(($ac_try" in
6141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6142 *) ac_try_echo
=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_try") 2>&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; } &&
6149 { ac_try
='test -s conftest$ac_exeext'
6150 { (case "(($ac_try" in
6151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6152 *) ac_try_echo=$ac_try;;
6154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6155 (eval "$ac_try") 2>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 ac_cv_func__doprnt=yes
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6164 ac_cv_func__doprnt=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6170 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6171 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6172 if test $ac_cv_func__doprnt = yes; then
6174 cat >>confdefs.h <<\_ACEOF
6175 #define HAVE_DOPRNT 1
6185 for ac_header in stdlib.h
6187 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 ac_res=`eval echo '${'$as_ac_Header'}'`
6195 { echo "$as_me:$LINENO: result: $ac_res" >&5
6196 echo "${ECHO_T}$ac_res" >&6; }
6198 # Is the header compilable?
6199 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6201 cat >conftest.$ac_ext <<_ACEOF
6204 cat confdefs.h >>conftest.$ac_ext
6205 cat >>conftest.$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6207 $ac_includes_default
6208 #include <$ac_header>
6210 rm -f conftest.$ac_objext
6211 if { (ac_try="$ac_compile"
6213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6214 *) ac_try_echo
=$ac_try;;
6216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6217 (eval "$ac_compile") 2>conftest.er1
6219 grep -v '^ *+' conftest.er1
>conftest.err
6221 cat conftest.err
>&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } &&
6224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6225 { (case "(($ac_try" in
6226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;;
6229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 (eval "$ac_try") 2>&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; } &&
6234 { ac_try='test -s conftest.$ac_objext'
6235 { (case "(($ac_try" in
6236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6237 *) ac_try_echo
=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_try") 2>&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; }; then
6244 ac_header_compiler
=yes
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.
$ac_ext >&5
6249 ac_header_compiler
=no
6252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6254 echo "${ECHO_T}$ac_header_compiler" >&6; }
6256 # Is the header present?
6257 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6259 cat >conftest.
$ac_ext <<_ACEOF
6262 cat confdefs.h
>>conftest.
$ac_ext
6263 cat >>conftest.
$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6265 #include <$ac_header>
6267 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6275 grep -v '^ *+' conftest.er1 >conftest.err
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } >/dev/null; then
6280 if test -s conftest.err; then
6281 ac_cpp_err=$ac_c_preproc_warn_flag
6282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6289 if test -z "$ac_cpp_err"; then
6290 ac_header_preproc=yes
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_header_preproc=no
6298 rm -f conftest.err conftest.$ac_ext
6299 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6300 echo "${ECHO_T}$ac_header_preproc" >&6; }
6302 # So? What about this header?
6303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6309 ac_header_preproc=yes
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6327 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 eval "$as_ac_Header=\$ac_header_preproc"
6334 ac_res=`eval echo '${'$as_ac_Header'}'`
6335 { echo "$as_me:$LINENO: result: $ac_res" >&5
6336 echo "${ECHO_T}$ac_res" >&6; }
6339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6340 cat >>confdefs.h <<_ACEOF
6341 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6348 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6349 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
6350 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 if test "$cross_compiling" = yes; then
6354 ac_cv_func_malloc_0_nonnull=no
6356 cat >conftest.$ac_ext <<_ACEOF
6359 cat confdefs.h >>conftest.$ac_ext
6360 cat >>conftest.$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 #if STDC_HEADERS || HAVE_STDLIB_H
6363 # include <stdlib.h>
6371 return ! malloc (0);
6376 rm -f conftest$ac_exeext
6377 if { (ac_try="$ac_link"
6379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6380 *) ac_try_echo
=$ac_try;;
6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 (eval "$ac_link") 2>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6387 { (case "(($ac_try" in
6388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6389 *) ac_try_echo=$ac_try;;
6391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392 (eval "$ac_try") 2>&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; }; then
6396 ac_cv_func_malloc_0_nonnull=yes
6398 echo "$as_me: program exited with status $ac_status" >&5
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6403 ac_cv_func_malloc_0_nonnull=no
6405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6410 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6411 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
6412 if test $ac_cv_func_malloc_0_nonnull = yes; then
6414 cat >>confdefs.h <<\_ACEOF
6415 #define HAVE_MALLOC 1
6419 cat >>confdefs.h <<\_ACEOF
6420 #define HAVE_MALLOC 0
6423 case " $LIBOBJS " in
6424 *" malloc.$ac_objext "* ) ;;
6425 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6430 cat >>confdefs.h <<\_ACEOF
6431 #define malloc rpl_malloc
6439 for ac_header in stdlib.h
6441 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 ac_res=`eval echo '${'$as_ac_Header'}'`
6449 { echo "$as_me:$LINENO: result: $ac_res" >&5
6450 echo "${ECHO_T}$ac_res" >&6; }
6452 # Is the header compilable?
6453 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6455 cat >conftest.$ac_ext <<_ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6462 #include <$ac_header>
6464 rm -f conftest.$ac_objext
6465 if { (ac_try="$ac_compile"
6467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6468 *) ac_try_echo
=$ac_try;;
6470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6471 (eval "$ac_compile") 2>conftest.er1
6473 grep -v '^ *+' conftest.er1
>conftest.err
6475 cat conftest.err
>&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6479 { (case "(($ac_try" in
6480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6481 *) ac_try_echo=$ac_try;;
6483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6484 (eval "$ac_try") 2>&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; } &&
6488 { ac_try='test -s conftest.$ac_objext'
6489 { (case "(($ac_try" in
6490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6491 *) ac_try_echo
=$ac_try;;
6493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6494 (eval "$ac_try") 2>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }; then
6498 ac_header_compiler
=yes
6500 echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.
$ac_ext >&5
6503 ac_header_compiler
=no
6506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6507 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6508 echo "${ECHO_T}$ac_header_compiler" >&6; }
6510 # Is the header present?
6511 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6513 cat >conftest.
$ac_ext <<_ACEOF
6516 cat confdefs.h
>>conftest.
$ac_ext
6517 cat >>conftest.
$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6519 #include <$ac_header>
6521 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6524 *) ac_try_echo=$ac_try;;
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6529 grep -v '^ *+' conftest.er1 >conftest.err
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } >/dev/null; then
6534 if test -s conftest.err; then
6535 ac_cpp_err=$ac_c_preproc_warn_flag
6536 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6543 if test -z "$ac_cpp_err"; then
6544 ac_header_preproc=yes
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6549 ac_header_preproc=no
6552 rm -f conftest.err conftest.$ac_ext
6553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6554 echo "${ECHO_T}$ac_header_preproc" >&6; }
6556 # So? What about this header?
6557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6563 ac_header_preproc=yes
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6581 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6586 eval "$as_ac_Header=\$ac_header_preproc"
6588 ac_res=`eval echo '${'$as_ac_Header'}'`
6589 { echo "$as_me:$LINENO: result: $ac_res" >&5
6590 echo "${ECHO_T}$ac_res" >&6; }
6593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6594 cat >>confdefs.h <<_ACEOF
6595 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6602 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6603 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
6604 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 if test "$cross_compiling" = yes; then
6608 ac_cv_func_realloc_0_nonnull=no
6610 cat >conftest.$ac_ext <<_ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6616 #if STDC_HEADERS || HAVE_STDLIB_H
6617 # include <stdlib.h>
6625 return ! realloc (0, 0);
6630 rm -f conftest$ac_exeext
6631 if { (ac_try="$ac_link"
6633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6634 *) ac_try_echo
=$ac_try;;
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_link") 2>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6641 { (case "(($ac_try" in
6642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 (eval "$ac_try") 2>&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }; then
6650 ac_cv_func_realloc_0_nonnull=yes
6652 echo "$as_me: program exited with status $ac_status" >&5
6653 echo "$as_me: failed program was:" >&5
6654 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_cv_func_realloc_0_nonnull=no
6659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6664 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6665 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
6666 if test $ac_cv_func_realloc_0_nonnull = yes; then
6668 cat >>confdefs.h <<\_ACEOF
6669 #define HAVE_REALLOC 1
6673 cat >>confdefs.h <<\_ACEOF
6674 #define HAVE_REALLOC 0
6677 case " $LIBOBJS " in
6678 *" realloc.$ac_objext "* ) ;;
6679 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6684 cat >>confdefs.h <<\_ACEOF
6685 #define realloc rpl_realloc
6693 for ac_func in strtol
6695 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 cat >conftest.$ac_ext <<_ACEOF
6704 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6709 #define $ac_func innocuous_$ac_func
6711 /* System header to define __stub macros and hopefully few prototypes,
6712 which can conflict with char $ac_func (); below.
6713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6714 <limits.h> exists even on freestanding compilers. */
6717 # include <limits.h>
6719 # include <assert.h>
6724 /* Override any GCC internal prototype to avoid an error.
6725 Use char because int might match the return type of a GCC
6726 builtin and then its argument prototype would still apply. */
6731 /* The GNU C library defines this for functions which it implements
6732 to always fail with ENOSYS. Some functions are actually named
6733 something starting with __ and the normal name is an alias. */
6734 #if defined __stub_$ac_func || defined __stub___$ac_func
6746 rm -f conftest.$ac_objext conftest$ac_exeext
6747 if { (ac_try="$ac_link"
6749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6750 *) ac_try_echo
=$ac_try;;
6752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6753 (eval "$ac_link") 2>conftest.er1
6755 grep -v '^ *+' conftest.er1
>conftest.err
6757 cat conftest.err
>&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6761 { (case "(($ac_try" in
6762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_try") 2>&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; } &&
6770 { ac_try='test -s conftest$ac_exeext'
6771 { (case "(($ac_try" in
6772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6773 *) ac_try_echo
=$ac_try;;
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_try") 2>&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 eval "$as_ac_var=yes"
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.
$ac_ext >&5
6785 eval "$as_ac_var=no"
6788 rm -f core conftest.err conftest.
$ac_objext \
6789 conftest
$ac_exeext conftest.
$ac_ext
6791 ac_res
=`eval echo '${'$as_ac_var'}'`
6792 { echo "$as_me:$LINENO: result: $ac_res" >&5
6793 echo "${ECHO_T}$ac_res" >&6; }
6794 if test `eval echo '${'$as_ac_var'}'` = yes; then
6795 cat >>confdefs.h
<<_ACEOF
6796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6803 for ac_func
in strchr
6805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6808 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 cat >conftest.
$ac_ext <<_ACEOF
6814 cat confdefs.h
>>conftest.
$ac_ext
6815 cat >>conftest.
$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6819 #define $ac_func innocuous_$ac_func
6821 /* System header to define __stub macros and hopefully few prototypes,
6822 which can conflict with char $ac_func (); below.
6823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6824 <limits.h> exists even on freestanding compilers. */
6827 # include <limits.h>
6829 # include <assert.h>
6834 /* Override any GCC internal prototype to avoid an error.
6835 Use char because int might match the return type of a GCC
6836 builtin and then its argument prototype would still apply. */
6841 /* The GNU C library defines this for functions which it implements
6842 to always fail with ENOSYS. Some functions are actually named
6843 something starting with __ and the normal name is an alias. */
6844 #if defined __stub_$ac_func || defined __stub___$ac_func
6856 rm -f conftest.
$ac_objext conftest
$ac_exeext
6857 if { (ac_try
="$ac_link"
6859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6860 *) ac_try_echo=$ac_try;;
6862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6863 (eval "$ac_link") 2>conftest.er1
6865 grep -v '^ *+' conftest.er1 >conftest.err
6867 cat conftest.err >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } &&
6870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6871 { (case "(($ac_try" in
6872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6873 *) ac_try_echo
=$ac_try;;
6875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6876 (eval "$ac_try") 2>&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; } &&
6880 { ac_try
='test -s conftest$ac_exeext'
6881 { (case "(($ac_try" in
6882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6883 *) ac_try_echo=$ac_try;;
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_try") 2>&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 eval "$as_ac_var=yes"
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6895 eval "$as_ac_var=no"
6898 rm -f core conftest.err conftest.$ac_objext \
6899 conftest$ac_exeext conftest.$ac_ext
6901 ac_res=`eval echo '${'$as_ac_var'}'`
6902 { echo "$as_me:$LINENO: result: $ac_res" >&5
6903 echo "${ECHO_T}$ac_res" >&6; }
6904 if test `eval echo '${'$as_ac_var'}'` = yes; then
6905 cat >>confdefs.h <<_ACEOF
6906 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6913 for ac_func in strrchr
6915 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6921 cat >conftest.$ac_ext <<_ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6929 #define $ac_func innocuous_$ac_func
6931 /* System header to define __stub macros and hopefully few prototypes,
6932 which can conflict with char $ac_func (); below.
6933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6934 <limits.h> exists even on freestanding compilers. */
6937 # include <limits.h>
6939 # include <assert.h>
6944 /* Override any GCC internal prototype to avoid an error.
6945 Use char because int might match the return type of a GCC
6946 builtin and then its argument prototype would still apply. */
6951 /* The GNU C library defines this for functions which it implements
6952 to always fail with ENOSYS. Some functions are actually named
6953 something starting with __ and the normal name is an alias. */
6954 #if defined __stub_$ac_func || defined __stub___$ac_func
6966 rm -f conftest.$ac_objext conftest$ac_exeext
6967 if { (ac_try="$ac_link"
6969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6970 *) ac_try_echo
=$ac_try;;
6972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6973 (eval "$ac_link") 2>conftest.er1
6975 grep -v '^ *+' conftest.er1
>conftest.err
6977 cat conftest.err
>&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } &&
6980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6981 { (case "(($ac_try" in
6982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_try") 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try='test -s conftest$ac_exeext'
6991 { (case "(($ac_try" in
6992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6993 *) ac_try_echo
=$ac_try;;
6995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996 (eval "$ac_try") 2>&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 eval "$as_ac_var=yes"
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.
$ac_ext >&5
7005 eval "$as_ac_var=no"
7008 rm -f core conftest.err conftest.
$ac_objext \
7009 conftest
$ac_exeext conftest.
$ac_ext
7011 ac_res
=`eval echo '${'$as_ac_var'}'`
7012 { echo "$as_me:$LINENO: result: $ac_res" >&5
7013 echo "${ECHO_T}$ac_res" >&6; }
7014 if test `eval echo '${'$as_ac_var'}'` = yes; then
7015 cat >>confdefs.h
<<_ACEOF
7016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7023 ac_config_files
="$ac_config_files Makefile"
7025 cat >confcache
<<\_ACEOF
7026 # This file is a shell script that caches the results of configure
7027 # tests run on this system so they can be shared between configure
7028 # scripts and configure runs, see configure's option --config-cache.
7029 # It is not useful on other systems. If it contains results you don't
7030 # want to keep, you may remove or edit it.
7032 # config.status only pays attention to the cache file if you give it
7033 # the --recheck option to rerun configure.
7035 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7041 # The following way of writing the cache mishandles newlines in values,
7042 # but we know of no workaround that is simple, portable, and efficient.
7043 # So, we kill variables containing newlines.
7044 # Ultrix sh set writes to stderr and can't be redirected directly,
7045 # and sets the high bit in the cache file unless we assign to the vars.
7047 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7048 eval ac_val
=\$
$ac_var
7052 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7053 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7056 _ | IFS | as_nl
) ;; #(
7057 *) $as_unset $ac_var ;;
7063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7064 *${as_nl}ac_space
=\
*)
7065 # `set' does not quote correctly, so add quotes (double-quote
7066 # substitution turns \\\\ into \\, and sed turns \\ into \).
7069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7072 # `set' quotes correctly as required by POSIX, so do not add quotes.
7073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7086 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7087 if test -w "$cache_file"; then
7088 test "x$cache_file" != "x/dev/null" &&
7089 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7090 echo "$as_me: updating cache $cache_file" >&6;}
7091 cat confcache
>$cache_file
7093 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7094 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7099 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7100 # Let make expand exec_prefix.
7101 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7103 DEFS
=-DHAVE_CONFIG_H
7107 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7108 # 1. Remove the extension, and $U if already installed.
7109 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7110 ac_i
=`echo "$ac_i" | sed "$ac_script"`
7111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7112 # will be set to the directory where LIBOBJS objects are built.
7113 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7114 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7118 LTLIBOBJS
=$ac_ltlibobjs
7121 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7122 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7123 Usually this means the macro was only invoked conditionally." >&5
7124 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7125 Usually this means the macro was only invoked conditionally." >&2;}
7126 { (exit 1); exit 1; }; }
7128 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7129 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7130 Usually this means the macro was only invoked conditionally." >&5
7131 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7132 Usually this means the macro was only invoked conditionally." >&2;}
7133 { (exit 1); exit 1; }; }
7135 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7136 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7137 Usually this means the macro was only invoked conditionally." >&5
7138 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7139 Usually this means the macro was only invoked conditionally." >&2;}
7140 { (exit 1); exit 1; }; }
7143 : ${CONFIG_STATUS=./config.status}
7144 ac_clean_files_save
=$ac_clean_files
7145 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7146 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7147 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7148 cat >$CONFIG_STATUS <<_ACEOF
7150 # Generated by $as_me.
7151 # Run this file to recreate the current configuration.
7152 # Compiler output produced by configure, useful for debugging
7153 # configure, is in config.log if it exists.
7158 SHELL=\${CONFIG_SHELL-$SHELL}
7161 cat >>$CONFIG_STATUS <<\_ACEOF
7162 ## --------------------- ##
7163 ## M4sh Initialization. ##
7164 ## --------------------- ##
7166 # Be Bourne compatible
7167 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7170 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7171 # is contrary to our usage. Disable this feature.
7172 alias -g '${1+"$@"}'='"$@"'
7173 setopt NO_GLOB_SUBST
7175 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
7177 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
7178 DUALCASE
=1; export DUALCASE
# for MKS sh
7182 # Avoid depending upon Character Ranges.
7183 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7184 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7185 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7186 as_cr_digits
='0123456789'
7187 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7189 # The user is always right.
7190 if test "${PATH_SEPARATOR+set}" != set; then
7191 echo "#! /bin/sh" >conf$$.sh
7192 echo "exit 0" >>conf$$.sh
7194 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7202 # Support unset when possible.
7203 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7211 # We need space, tab and new line, in precisely that order. Quoting is
7212 # there to prevent editors from complaining about space-tab.
7213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7214 # splitting by setting IFS to empty value.)
7219 # Find who we are. Look in the path if we contain no directory separator.
7221 *[\\/]* ) as_myself
=$0 ;;
7222 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir
=.
7227 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7233 # We did not find ourselves, most probably we were run as `sh COMMAND'
7234 # in which case we are not to be found in the path.
7235 if test "x$as_myself" = x
; then
7238 if test ! -f "$as_myself"; then
7239 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7240 { (exit 1); exit 1; }
7243 # Work around bugs in pre-3.0 UWIN ksh.
7244 for as_var
in ENV MAIL MAILPATH
7245 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7253 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7254 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7255 LC_TELEPHONE LC_TIME
7257 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7258 eval $as_var=C
; export $as_var
7260 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7264 # Required to use basename.
7265 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7266 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7272 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7273 as_basename
=basename
7279 # Name of the executable.
7280 as_me
=`$as_basename -- "$0" ||
7281 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7282 X"$0" : 'X\(//\)$' \| \
7283 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7285 sed '/^.*\/\([^/][^/]*\)\/*$/{
7306 test "x$as_lineno_1" != "x$as_lineno_2" &&
7307 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7309 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7310 # uniformly replaced by the line number. The first 'sed' inserts a
7311 # line-number line after each line using $LINENO; the second 'sed'
7312 # does the real work. The second script uses 'N' to pair each
7313 # line-number line with the line containing $LINENO, and appends
7314 # trailing '-' during substitution so that $LINENO is not a special
7316 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7317 # scripts with optimization help from Paolo Bonzini. Blame Lee
7318 # E. McMahon (1931-1989) for sed's syntax. :-)
7330 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7334 chmod +x
"$as_me.lineno" ||
7335 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7336 { (exit 1); exit 1; }; }
7338 # Don't try to exec as it changes $[0], causing all sort of problems
7339 # (the dirname of $[0] is not the place where we might find the
7340 # original and so on. Autoconf is especially sensitive to this).
7342 # Exit status is that of the last command.
7347 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7353 ECHO_C
= ECHO_N
= ECHO_T
=
7356 case `echo 'x\c'` in
7357 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7364 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7365 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7371 rm -f conf$$ conf$$.exe conf$$.
file
7372 if test -d conf$$.dir
; then
7373 rm -f conf$$.dir
/conf$$.
file
7379 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7381 # ... but there are two gotchas:
7382 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7383 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7384 # In both cases, we have to default to `cp -p'.
7385 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7387 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7392 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7393 rmdir conf$$.dir
2>/dev
/null
7395 if mkdir
-p .
2>/dev
/null
; then
7398 test -d .
/-p && rmdir .
/-p
7402 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
7403 # systems may use methods other than mode bits to determine executability.
7404 cat >conf$$.
file <<_ASEOF
7408 chmod +x conf$$.
file
7409 if test -x conf$$.
file >/dev
/null
2>&1; then
7410 as_executable_p
="test -x"
7416 # Sed expression to map a string onto a valid CPP name.
7417 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7419 # Sed expression to map a string onto a valid variable name.
7420 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7425 # Save the log message, to keep $[0] and so on meaningful, and to
7426 # report actual input values of CONFIG_FILES etc. instead of their
7427 # values after options handling.
7429 This file was extended by $as_me, which was
7430 generated by GNU Autoconf 2.60. Invocation command line was
7432 CONFIG_FILES = $CONFIG_FILES
7433 CONFIG_HEADERS = $CONFIG_HEADERS
7434 CONFIG_LINKS = $CONFIG_LINKS
7435 CONFIG_COMMANDS = $CONFIG_COMMANDS
7438 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7443 cat >>$CONFIG_STATUS <<_ACEOF
7444 # Files that config.status was made for.
7445 config_files="$ac_config_files"
7446 config_headers="$ac_config_headers"
7447 config_commands="$ac_config_commands"
7451 cat >>$CONFIG_STATUS <<\_ACEOF
7453 \`$as_me' instantiates files from templates according to the
7454 current configuration.
7456 Usage: $0 [OPTIONS] [FILE]...
7458 -h, --help print this help, then exit
7459 -V, --version print version number, then exit
7460 -q, --quiet do not print progress messages
7461 -d, --debug don't remove temporary files
7462 --recheck update $as_me by reconfiguring in the same conditions
7463 --file=FILE[:TEMPLATE]
7464 instantiate the configuration file FILE
7465 --header=FILE[:TEMPLATE]
7466 instantiate the configuration header FILE
7468 Configuration files:
7471 Configuration headers:
7474 Configuration commands:
7477 Report bugs to <bug-autoconf@gnu.org>."
7480 cat >>$CONFIG_STATUS <<_ACEOF
7483 configured by $0, generated by GNU Autoconf 2.60,
7484 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7486 Copyright (C) 2006 Free Software Foundation, Inc.
7487 This config.status script is free software; the Free Software Foundation
7488 gives unlimited permission to copy, distribute and modify it."
7495 cat >>$CONFIG_STATUS <<\_ACEOF
7496 # If no file are specified by the user, then we need to provide default
7497 # value. By we need to know if files were specified by the user.
7503 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7504 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7515 # Handling of the options.
7516 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7518 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7519 echo "$ac_cs_version"; exit ;;
7520 --debug |
--debu |
--deb |
--de |
--d |
-d )
7522 --file |
--fil |
--fi |
--f )
7524 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7525 ac_need_defaults
=false
;;
7526 --header |
--heade |
--head |
--hea )
7528 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7529 ac_need_defaults
=false
;;
7531 # Conflict between --help and --header
7532 { echo "$as_me: error: ambiguous option: $1
7533 Try \`$0 --help' for more information." >&2
7534 { (exit 1); exit 1; }; };;
7535 --help |
--hel |
-h )
7536 echo "$ac_cs_usage"; exit ;;
7537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7538 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7542 -*) { echo "$as_me: error: unrecognized option: $1
7543 Try \`$0 --help' for more information." >&2
7544 { (exit 1); exit 1; }; } ;;
7546 *) ac_config_targets
="$ac_config_targets $1"
7547 ac_need_defaults
=false
;;
7553 ac_configure_extra_args
=
7555 if $ac_cs_silent; then
7557 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7561 cat >>$CONFIG_STATUS <<_ACEOF
7562 if \$ac_cs_recheck; then
7563 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7566 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7570 cat >>$CONFIG_STATUS <<\_ACEOF
7574 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7575 ## Running $as_me. ##
7581 cat >>$CONFIG_STATUS <<_ACEOF
7585 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7589 cat >>$CONFIG_STATUS <<\_ACEOF
7591 # Handling of arguments.
7592 for ac_config_target
in $ac_config_targets
7594 case $ac_config_target in
7595 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7596 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7597 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7601 { (exit 1); exit 1; }; };;
7606 # If the user did not use the arguments to specify the items to instantiate,
7607 # then the envvar interface is used. Set only those that are not.
7608 # We use the long form for the default assignment because of an extremely
7609 # bizarre bug on SunOS 4.1.3.
7610 if $ac_need_defaults; then
7611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7616 # Have a temporary directory for convenience. Make it in the build tree
7617 # simply because there is no reason against having it here, and in addition,
7618 # creating and moving files from /tmp can sometimes cause problems.
7619 # Hook for its removal unless debugging.
7620 # Note that there is a small window in which the directory will not be cleaned:
7621 # after its creation but before its name has been assigned to `$tmp'.
7625 trap 'exit_status=$?
7626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7628 trap '{ (exit 1); exit 1; }' 1 2 13 15
7630 # Create a (secure) tmp directory for tmp files.
7633 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7634 test -n "$tmp" && test -d "$tmp"
7637 tmp
=.
/conf$$
-$RANDOM
7638 (umask 077 && mkdir
"$tmp")
7641 echo "$me: cannot create a temporary directory in ." >&2
7642 { (exit 1); exit 1; }
7646 # Set up the sed scripts for CONFIG_FILES section.
7649 # No need to generate the scripts if there are no CONFIG_FILES.
7650 # This happens for instance when ./config.status config.h
7651 if test -n "$CONFIG_FILES"; then
7658 for ac_last_try
in false false false false false
:; do
7659 cat >conf$
$subs.
sed <<_ACEOF
7660 SHELL!$SHELL$ac_delim
7661 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7662 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7663 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7664 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7665 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7666 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7667 exec_prefix!$exec_prefix$ac_delim
7668 prefix!$prefix$ac_delim
7669 program_transform_name!$program_transform_name$ac_delim
7670 bindir!$bindir$ac_delim
7671 sbindir!$sbindir$ac_delim
7672 libexecdir!$libexecdir$ac_delim
7673 datarootdir!$datarootdir$ac_delim
7674 datadir!$datadir$ac_delim
7675 sysconfdir!$sysconfdir$ac_delim
7676 sharedstatedir!$sharedstatedir$ac_delim
7677 localstatedir!$localstatedir$ac_delim
7678 includedir!$includedir$ac_delim
7679 oldincludedir!$oldincludedir$ac_delim
7680 docdir!$docdir$ac_delim
7681 infodir!$infodir$ac_delim
7682 htmldir!$htmldir$ac_delim
7683 dvidir!$dvidir$ac_delim
7684 pdfdir!$pdfdir$ac_delim
7685 psdir!$psdir$ac_delim
7686 libdir!$libdir$ac_delim
7687 localedir!$localedir$ac_delim
7688 mandir!$mandir$ac_delim
7690 ECHO_C!$ECHO_C$ac_delim
7691 ECHO_N!$ECHO_N$ac_delim
7692 ECHO_T!$ECHO_T$ac_delim
7694 build_alias!$build_alias$ac_delim
7695 host_alias!$host_alias$ac_delim
7696 target_alias!$target_alias$ac_delim
7697 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7698 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7699 INSTALL_DATA!$INSTALL_DATA$ac_delim
7700 CYGPATH_W!$CYGPATH_W$ac_delim
7701 PACKAGE!$PACKAGE$ac_delim
7702 VERSION!$VERSION$ac_delim
7703 ACLOCAL!$ACLOCAL$ac_delim
7704 AUTOCONF!$AUTOCONF$ac_delim
7705 AUTOMAKE!$AUTOMAKE$ac_delim
7706 AUTOHEADER!$AUTOHEADER$ac_delim
7707 MAKEINFO!$MAKEINFO$ac_delim
7708 AMTAR!$AMTAR$ac_delim
7709 install_sh!$install_sh$ac_delim
7710 STRIP!$STRIP$ac_delim
7711 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7712 mkdir_p!$mkdir_p$ac_delim
7714 SET_MAKE!$SET_MAKE$ac_delim
7715 am__leading_dot!$am__leading_dot$ac_delim
7717 CFLAGS!$CFLAGS$ac_delim
7718 LDFLAGS!$LDFLAGS$ac_delim
7719 CPPFLAGS!$CPPFLAGS$ac_delim
7720 ac_ct_CC!$ac_ct_CC$ac_delim
7721 EXEEXT!$EXEEXT$ac_delim
7722 OBJEXT!$OBJEXT$ac_delim
7723 DEPDIR!$DEPDIR$ac_delim
7724 am__include!$am__include$ac_delim
7725 am__quote!$am__quote$ac_delim
7726 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7727 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7728 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7729 CCDEPMODE!$CCDEPMODE$ac_delim
7730 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7731 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7734 EGREP!$EGREP$ac_delim
7736 YFLAGS!$YFLAGS$ac_delim
7738 LEXLIB!$LEXLIB$ac_delim
7739 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
7741 LIBOBJS!$LIBOBJS$ac_delim
7742 LTLIBOBJS!$LTLIBOBJS$ac_delim
7745 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
7747 elif $ac_last_try; then
7748 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7749 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7750 { (exit 1); exit 1; }; }
7752 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7756 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7757 if test -n "$ac_eof"; then
7758 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7759 ac_eof
=`expr $ac_eof + 1`
7762 cat >>$CONFIG_STATUS <<_ACEOF
7763 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7767 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7768 s/^/s,@/; s/!/@,|#_!!_#|/
7771 s/'"$ac_delim"'$/,g/; t
7773 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7774 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7775 rm -f conf$
$subs.
sed
7776 cat >>$CONFIG_STATUS <<_ACEOF
7783 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7784 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7785 # trailing colons and then remove the whole line if VPATH becomes empty
7786 # (actually we leave an empty line to preserve line numbers).
7787 if test "x$srcdir" = x.
; then
7788 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7792 s/^\([^=]*=[ ]*\):*/\1/
7798 cat >>$CONFIG_STATUS <<\_ACEOF
7799 fi # test -n "$CONFIG_FILES"
7802 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
7805 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7807 case $ac_mode$ac_tag in
7809 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7810 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7811 { (exit 1); exit 1; }; };;
7812 :[FH
]-) ac_tag
=-:-;;
7813 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7830 -) ac_f
="$tmp/stdin";;
7831 *) # Look for the file first in the build tree, then in the source tree
7832 # (if the path is not absolute). The absolute path cannot be DOS-style,
7833 # because $ac_f cannot contain `:'.
7837 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7839 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7840 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7841 { (exit 1); exit 1; }; };;
7843 ac_file_inputs
="$ac_file_inputs $ac_f"
7846 # Let's still pretend it is `configure' which instantiates (i.e., don't
7847 # use $as_me), people would be surprised to read:
7848 # /* config.h. Generated by config.status. */
7849 configure_input
="Generated from "`IFS=:
7850 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7851 if test x
"$ac_file" != x-
; then
7852 configure_input
="$ac_file. $configure_input"
7853 { echo "$as_me:$LINENO: creating $ac_file" >&5
7854 echo "$as_me: creating $ac_file" >&6;}
7858 *:-:* |
*:-) cat >"$tmp/stdin";;
7863 ac_dir
=`$as_dirname -- "$ac_file" ||
7864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7865 X"$ac_file" : 'X\(//\)[^/]' \| \
7866 X"$ac_file" : 'X\(//\)$' \| \
7867 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7888 -*) as_dir
=.
/$as_dir;;
7890 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7894 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7895 *) as_qdir
=$as_dir;;
7897 as_dirs
="'$as_qdir' $as_dirs"
7898 as_dir
=`$as_dirname -- "$as_dir" ||
7899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7900 X"$as_dir" : 'X\(//\)[^/]' \| \
7901 X"$as_dir" : 'X\(//\)$' \| \
7902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7921 test -d "$as_dir" && break
7923 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7924 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7925 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7926 { (exit 1); exit 1; }; }; }
7930 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7932 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7933 # A ".." for each directory in $ac_dir_suffix.
7934 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7935 case $ac_top_builddir_sub in
7936 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7937 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7940 ac_abs_top_builddir
=$ac_pwd
7941 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7942 # for backward compatibility:
7943 ac_top_builddir
=$ac_top_build_prefix
7946 .
) # We are building in place.
7948 ac_top_srcdir
=$ac_top_builddir_sub
7949 ac_abs_top_srcdir
=$ac_pwd ;;
7950 [\\/]* | ?
:[\\/]* ) # Absolute name.
7951 ac_srcdir
=$srcdir$ac_dir_suffix;
7952 ac_top_srcdir
=$srcdir
7953 ac_abs_top_srcdir
=$srcdir ;;
7955 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7956 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7957 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7959 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7969 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7970 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7974 cat >>$CONFIG_STATUS <<\_ACEOF
7975 # If the template does not know about datarootdir, expand it.
7976 # FIXME: This hack should be removed a few years after 2.60.
7977 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7979 case `sed -n '/datarootdir/ {
7988 ' $ac_file_inputs` in
7989 *datarootdir
*) ac_datarootdir_seen
=yes;;
7990 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7991 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7992 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7994 cat >>$CONFIG_STATUS <<_ACEOF
7995 ac_datarootdir_hack='
7996 s&@datadir@&$datadir&g
7997 s&@docdir@&$docdir&g
7998 s&@infodir@&$infodir&g
7999 s&@localedir@&$localedir&g
8000 s&@mandir@&$mandir&g
8001 s&\\\${datarootdir}&$datarootdir&g' ;;
8005 # Neutralize VPATH when `$srcdir' = `.'.
8006 # Shell code in configure.ac might set extrasub.
8007 # FIXME: do we really want to maintain this feature?
8008 cat >>$CONFIG_STATUS <<_ACEOF
8012 cat >>$CONFIG_STATUS <<\_ACEOF
8014 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8015 s
&@configure_input@
&$configure_input&;t t
8016 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8017 s
&@srcdir@
&$ac_srcdir&;t t
8018 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8019 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8020 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8021 s
&@builddir@
&$ac_builddir&;t t
8022 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8023 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8024 s
&@INSTALL@
&$ac_INSTALL&;t t
8025 $ac_datarootdir_hack
8026 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
8028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8029 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
8030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
8031 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8032 which seems to be undefined. Please make sure it is defined." >&5
8033 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8034 which seems to be undefined. Please make sure it is defined." >&2;}
8038 -) cat "$tmp/out"; rm -f "$tmp/out";;
8039 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8048 # Transform confdefs.h into a sed script `conftest.defines', that
8049 # substitutes the proper values into config.h.in to produce config.h.
8050 rm -f conftest.defines conftest.
tail
8051 # First, append a space to every undef/define line, to ease matching.
8052 echo 's/$/ /' >conftest.defines
8053 # Then, protect against being on the right side of a sed subst, or in
8054 # an unquoted here document, in config.status. If some macros were
8055 # called several times there might be several #defines for the same
8056 # symbol, which is useless. But do not sort them, since the last
8057 # AC_DEFINE must be honored.
8058 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
8059 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8060 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8061 # PARAMS is the parameter list in the macro definition--in most cases, it's
8062 # just an empty string.
8063 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8064 ac_dB
='\\)[ (].*,\\1define\\2'
8072 s/^[ ]*#[ ]*define[ ][ ]*//
8077 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8078 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8079 ' >>conftest.defines
8081 # Remove the space that was appended to ease matching.
8082 # Then replace #undef with comments. This is necessary, for
8083 # example, in the case of _POSIX_SOURCE, which is predefined and required
8084 # on some systems where configure will not decide to define it.
8085 # (The regexp can be short, since the line contains either #define or #undef.)
8087 s,^[ #]*u.*,/* & */,' >>conftest.defines
8089 # Break up conftest.defines:
8092 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8093 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8094 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8096 ac_in
='$ac_file_inputs'
8097 ac_out
='"$tmp/out1"'
8098 ac_nxt
='"$tmp/out2"'
8102 # Write a here document:
8103 cat >>$CONFIG_STATUS <<_ACEOF
8104 # First, check the format of the line:
8105 cat >"\$tmp/defines.sed" <<\\CEOF
8106 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8107 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8111 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
8113 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8114 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
8115 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
8116 grep . conftest.
tail >/dev
/null ||
break
8117 rm -f conftest.defines
8118 mv conftest.
tail conftest.defines
8120 rm -f conftest.defines conftest.
tail
8122 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8123 cat >>$CONFIG_STATUS <<\_ACEOF
8124 if test x
"$ac_file" != x-
; then
8125 echo "/* $configure_input */" >"$tmp/config.h"
8126 cat "$ac_result" >>"$tmp/config.h"
8127 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
8128 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8129 echo "$as_me: $ac_file is unchanged" >&6;}
8132 mv "$tmp/config.h" $ac_file
8135 echo "/* $configure_input */"
8139 # Compute $ac_file's index in $config_headers.
8141 for _am_header
in $config_headers :; do
8143 $ac_file |
$ac_file:* )
8146 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8149 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8150 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8151 X$ac_file : 'X\(//\)[^/]' \| \
8152 X$ac_file : 'X\(//\)$' \| \
8153 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8171 s/.*/./; q'`/stamp-h
$_am_stamp_count
8174 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8175 echo "$as_me: executing $ac_file commands" >&6;}
8180 case $ac_file$ac_mode in
8181 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8182 # Strip MF so we end up with the name of the file.
8183 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8184 # Check whether this is an Automake generated Makefile or not.
8185 # We used to match only the files named `Makefile.in', but
8186 # some people rename them; so instead we look at the file content.
8187 # Grep'ing the first line is not enough: some people post-process
8188 # each Makefile.in and add a new line on top of each file to say so.
8189 # So let's grep whole file.
8190 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8191 dirpart
=`$as_dirname -- "$mf" ||
8192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8193 X"$mf" : 'X\(//\)[^/]' \| \
8194 X"$mf" : 'X\(//\)$' \| \
8195 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8217 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8218 # Extract the definition of DEP_FILES from the Makefile without
8220 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8221 test -z "$DEPDIR" && continue
8222 # When using ansi2knr, U may be empty or an underscore; expand it
8223 U
=`sed -n 's/^U = //p' < "$mf"`
8224 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8225 # We invoke sed twice because it is the simplest approach to
8226 # changing $(DEPDIR) to its actual value in the expansion.
8227 for file in `sed -n '
8228 /^DEP_FILES = .*\\\\$/ {
8237 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8239 # Make sure the directory exists.
8240 test -f "$dirpart/$file" && continue
8241 fdir
=`$as_dirname -- "$file" ||
8242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8243 X"$file" : 'X\(//\)[^/]' \| \
8244 X"$file" : 'X\(//\)$' \| \
8245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8264 { as_dir
=$dirpart/$fdir
8266 -*) as_dir
=.
/$as_dir;;
8268 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8272 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8273 *) as_qdir
=$as_dir;;
8275 as_dirs
="'$as_qdir' $as_dirs"
8276 as_dir
=`$as_dirname -- "$as_dir" ||
8277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8278 X"$as_dir" : 'X\(//\)[^/]' \| \
8279 X"$as_dir" : 'X\(//\)$' \| \
8280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8299 test -d "$as_dir" && break
8301 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8302 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8304 { (exit 1); exit 1; }; }; }
8305 # echo "creating $dirpart/$file"
8306 echo '# dummy' > "$dirpart/$file"
8315 { (exit 0); exit 0; }
8317 chmod +x
$CONFIG_STATUS
8318 ac_clean_files
=$ac_clean_files_save
8321 # configure is writing to config.log, and then calls config.status.
8322 # config.status does its own redirection, appending to config.log.
8323 # Unfortunately, on DOS this fails, as config.log is still kept open
8324 # by configure, so config.status won't be able to write to it; its
8325 # output is simply discarded. So we exec the FD to /dev/null,
8326 # effectively closing config.log, so it can be properly (re)opened and
8327 # appended to by config.status. When coming back to configure, we
8328 # need to make the FD available again.
8329 if test "$no_create" != yes; then
8331 ac_config_status_args
=
8332 test "$silent" = yes &&
8333 ac_config_status_args
="$ac_config_status_args --quiet"
8335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8338 # would make configure fail if this is the last instruction.
8339 $ac_cs_success ||
{ (exit 1); exit 1; }