2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="parser.y"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
673 INSTALL_STRIP_PROGRAM
715 program_transform_name
727 enable_option_checking
728 enable_dependency_tracking
730 ac_precious_vars
='build_alias
743 # Initialize some variables set by options.
745 ac_init_version
=false
746 ac_unrecognized_opts
=
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name
=s
,x
,x
,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir
='${exec_prefix}/bin'
772 sbindir
='${exec_prefix}/sbin'
773 libexecdir
='${exec_prefix}/libexec'
774 datarootdir
='${prefix}/share'
775 datadir
='${datarootdir}'
776 sysconfdir
='${prefix}/etc'
777 sharedstatedir
='${prefix}/com'
778 localstatedir
='${prefix}/var'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807 # Accept the important Cygnus configure options, so we can diagnose typos.
809 case $ac_dashdash$ac_option in
813 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
815 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
818 -build |
--build |
--buil |
--bui |
--bu)
819 ac_prev
=build_alias
;;
820 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
821 build_alias
=$ac_optarg ;;
823 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
824 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
825 ac_prev
=cache_file
;;
826 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
827 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
828 cache_file
=$ac_optarg ;;
831 cache_file
=config.cache
;;
833 -datadir |
--datadir |
--datadi |
--datad)
835 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
836 datadir
=$ac_optarg ;;
838 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
839 |
--dataroo |
--dataro |
--datar)
840 ac_prev
=datarootdir
;;
841 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
842 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
843 datarootdir
=$ac_optarg ;;
845 -disable-* |
--disable-*)
846 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
849 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
850 { (exit 1); exit 1; }; }
851 ac_useropt_orig
=$ac_useropt
852 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
857 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
858 ac_unrecognized_sep
=', ';;
860 eval enable_
$ac_useropt=no
;;
862 -docdir |
--docdir |
--docdi |
--doc |
--do)
864 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
867 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
869 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
872 -enable-* |
--enable-*)
873 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
874 # Reject names that are not valid shell variable names.
875 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
876 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
877 { (exit 1); exit 1; }; }
878 ac_useropt_orig
=$ac_useropt
879 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
885 ac_unrecognized_sep
=', ';;
887 eval enable_
$ac_useropt=\
$ac_optarg ;;
889 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
890 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
891 |
--exec |
--exe |
--ex)
892 ac_prev
=exec_prefix
;;
893 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
894 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
895 |
--exec=* |
--exe=* |
--ex=*)
896 exec_prefix
=$ac_optarg ;;
898 -gas |
--gas |
--ga |
--g)
899 # Obsolete; use --with-gas.
902 -help |
--help |
--hel |
--he |
-h)
904 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
905 ac_init_help
=recursive
;;
906 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
907 ac_init_help
=short
;;
909 -host |
--host |
--hos |
--ho)
910 ac_prev
=host_alias
;;
911 -host=* |
--host=* |
--hos=* |
--ho=*)
912 host_alias
=$ac_optarg ;;
914 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
916 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
918 htmldir
=$ac_optarg ;;
920 -includedir |
--includedir |
--includedi |
--included |
--include \
921 |
--includ |
--inclu |
--incl |
--inc)
922 ac_prev
=includedir
;;
923 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
924 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
925 includedir
=$ac_optarg ;;
927 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
929 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
930 infodir
=$ac_optarg ;;
932 -libdir |
--libdir |
--libdi |
--libd)
934 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
937 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
938 |
--libexe |
--libex |
--libe)
939 ac_prev
=libexecdir
;;
940 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
941 |
--libexe=* |
--libex=* |
--libe=*)
942 libexecdir
=$ac_optarg ;;
944 -localedir |
--localedir |
--localedi |
--localed |
--locale)
946 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
947 localedir
=$ac_optarg ;;
949 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
950 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
951 ac_prev
=localstatedir
;;
952 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
953 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
954 localstatedir
=$ac_optarg ;;
956 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
958 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
962 # Obsolete; use --without-fp.
965 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
966 |
--no-cr |
--no-c |
-n)
969 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
970 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
973 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
974 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
975 |
--oldin |
--oldi |
--old |
--ol |
--o)
976 ac_prev
=oldincludedir
;;
977 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
978 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
979 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
980 oldincludedir
=$ac_optarg ;;
982 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
984 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
987 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
988 |
--program-pre |
--program-pr |
--program-p)
989 ac_prev
=program_prefix
;;
990 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
991 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
992 program_prefix
=$ac_optarg ;;
994 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
995 |
--program-suf |
--program-su |
--program-s)
996 ac_prev
=program_suffix
;;
997 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
998 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
999 program_suffix
=$ac_optarg ;;
1001 -program-transform-name |
--program-transform-name \
1002 |
--program-transform-nam |
--program-transform-na \
1003 |
--program-transform-n |
--program-transform- \
1004 |
--program-transform |
--program-transfor \
1005 |
--program-transfo |
--program-transf \
1006 |
--program-trans |
--program-tran \
1007 |
--progr-tra |
--program-tr |
--program-t)
1008 ac_prev
=program_transform_name
;;
1009 -program-transform-name=* |
--program-transform-name=* \
1010 |
--program-transform-nam=* |
--program-transform-na=* \
1011 |
--program-transform-n=* |
--program-transform-=* \
1012 |
--program-transform=* |
--program-transfor=* \
1013 |
--program-transfo=* |
--program-transf=* \
1014 |
--program-trans=* |
--program-tran=* \
1015 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1016 program_transform_name
=$ac_optarg ;;
1018 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1020 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1021 pdfdir
=$ac_optarg ;;
1023 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1025 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1028 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1029 |
-silent |
--silent |
--silen |
--sile |
--sil)
1032 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1034 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1036 sbindir
=$ac_optarg ;;
1038 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1039 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1040 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1042 ac_prev
=sharedstatedir
;;
1043 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1044 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1045 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1047 sharedstatedir
=$ac_optarg ;;
1049 -site |
--site |
--sit)
1051 -site=* |
--site=* |
--sit=*)
1054 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1056 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1057 srcdir
=$ac_optarg ;;
1059 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1060 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1061 ac_prev
=sysconfdir
;;
1062 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1063 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1064 sysconfdir
=$ac_optarg ;;
1066 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1067 ac_prev
=target_alias
;;
1068 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1069 target_alias
=$ac_optarg ;;
1071 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1074 -version |
--version |
--versio |
--versi |
--vers |
-V)
1075 ac_init_version
=: ;;
1078 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1081 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1082 { (exit 1); exit 1; }; }
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval with_
$ac_useropt=\
$ac_optarg ;;
1094 -without-* |
--without-*)
1095 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1098 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1099 { (exit 1); exit 1; }; }
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=no
;;
1112 # Obsolete; use --with-x.
1115 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1116 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1117 ac_prev
=x_includes
;;
1118 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1119 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1120 x_includes
=$ac_optarg ;;
1122 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1123 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1124 ac_prev
=x_libraries
;;
1125 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1126 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1127 x_libraries
=$ac_optarg ;;
1129 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1130 Try \`$0 --help' for more information." >&2
1131 { (exit 1); exit 1; }; }
1135 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1138 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1139 { (exit 1); exit 1; }; }
1140 eval $ac_envvar=\
$ac_optarg
1141 export $ac_envvar ;;
1144 # FIXME: should be removed in autoconf 3.0.
1145 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1147 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1154 if test -n "$ac_prev"; then
1155 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1156 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1157 { (exit 1); exit 1; }; }
1160 if test -n "$ac_unrecognized_opts"; then
1161 case $enable_option_checking in
1163 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1164 { (exit 1); exit 1; }; } ;;
1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1169 # Check all directory arguments for consistency.
1170 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171 datadir sysconfdir sharedstatedir localstatedir includedir \
1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173 libdir localedir mandir
1175 eval ac_val
=\$
$ac_var
1176 # Remove trailing slashes.
1179 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1180 eval $ac_var=\
$ac_val;;
1182 # Be sure to have absolute directory names.
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$as_myself" ||
1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$as_myself" : 'X\(//\)[^/]' \| \
1232 X"$as_myself" : 'X\(//\)$' \| \
1233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1234 $as_echo X"$as_myself" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures this package to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1357 if test -n "$ac_init_help"; then
1362 --disable-option-checking ignore unrecognized
--enable/--with options
1363 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1364 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1365 --disable-dependency-tracking speeds up one-time build
1366 --enable-dependency-tracking do not reject slow dependency extractors
1368 Some influential environment variables
:
1369 CC C compiler
command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1372 nonstandard directory
<lib dir
>
1373 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1374 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1375 you have headers
in a nonstandard directory
<include dir
>
1377 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1378 the first program found out of: `bison
-y', `byacc', `yacc'.
1379 YFLAGS The list of arguments that will be passed by default to $YACC.
1380 This script will default YFLAGS to the empty string to avoid a
1381 default value of `-d' given by some make applications.
1383 Use these variables to override the choices made by `configure' or to
help
1384 it to
find libraries and programs with nonstandard names
/locations.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1399 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1401 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1406 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1409 ac_abs_top_builddir
=$ac_pwd
1410 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir
=$ac_top_build_prefix
1415 .
) # We are building in place.
1417 ac_top_srcdir
=$ac_top_builddir_sub
1418 ac_abs_top_srcdir
=$ac_pwd ;;
1419 [\\/]* | ?
:[\\/]* ) # Absolute name.
1420 ac_srcdir
=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir
=$srcdir
1422 ac_abs_top_srcdir
=$srcdir ;;
1424 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1428 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1430 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1431 # Check for guested configure.
1432 if test -f "$ac_srcdir/configure.gnu"; then
1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1435 elif test -f "$ac_srcdir/configure"; then
1437 $SHELL "$ac_srcdir/configure" --help=recursive
1439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1445 test -n "$ac_init_help" && exit $ac_status
1446 if $ac_init_version; then
1449 generated by GNU Autoconf
2.63
1451 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1452 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1453 This configure
script is free software
; the Free Software Foundation
1454 gives unlimited permission to copy
, distribute and modify it.
1458 cat >config.log
<<_ACEOF
1459 This file contains any messages produced by compilers while
1460 running configure, to aid debugging if configure makes a mistake.
1462 It was created by $as_me, which was
1463 generated by GNU Autoconf 2.63. Invocation command line was
1475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir
=.
1499 $as_echo "PATH: $as_dir"
1515 # Keep a trace of the command line.
1516 # Strip out --no-create and --no-recursion so they do not pile up.
1517 # Strip out --silent because we don't want to record it for future runs.
1518 # Also quote any args containing shell meta-characters.
1519 # Make two passes to allow for proper duplicate-argument suppression.
1523 ac_must_keep_next
=false
1529 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1530 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1531 |
-silent |
--silent |
--silen |
--sile |
--sil)
1534 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1539 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1540 if test $ac_must_keep_next = true
; then
1541 ac_must_keep_next
=false
# Got value, back to normal.
1544 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1545 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1546 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1547 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1548 case "$ac_configure_args0 " in
1549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552 -* ) ac_must_keep_next
=true
;;
1555 ac_configure_args
="$ac_configure_args '$ac_arg'"
1560 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1561 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1563 # When interrupted or exit'd, cleanup temporary files, and complete
1564 # config.log. We remove comments because anyway the quotes in there
1565 # would cause problems or look ugly.
1566 # WARNING: Use '\'' to represent an apostrophe within the trap.
1567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568 trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1574 ## ---------------- ##
1575 ## Cache variables. ##
1576 ## ---------------- ##
1579 # The following way of writing the cache mishandles newlines in values,
1581 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1582 eval ac_val=\$$ac_var
1586 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1590 _ | IFS | as_nl) ;; #(
1591 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1592 *) $as_unset $ac_var ;;
1597 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1598 *${as_nl}ac_space=\ *)
1600 "s/'\''/'\''\\\\'\'''\''/g;
1601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 ## ----------------- ##
1613 ## Output variables. ##
1614 ## ----------------- ##
1617 for ac_var in $ac_subst_vars
1619 eval ac_val=\$$ac_var
1621 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1623 $as_echo "$ac_var='\''$ac_val'\''"
1627 if test -n "$ac_subst_files"; then
1629 ## ------------------- ##
1630 ## File substitutions. ##
1631 ## ------------------- ##
1634 for ac_var
in $ac_subst_files
1636 eval ac_val
=\$
$ac_var
1638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640 $as_echo "$ac_var='\''$ac_val'\''"
1645 if test -s confdefs.h; then
1655 test "$ac_signal" != 0 &&
1656 $as_echo "$as_me: caught signal $ac_signal"
1657 $as_echo "$as_me: exit $exit_status"
1659 rm -f core *.core core.conftest.* &&
1660 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663 for ac_signal
in 1 2 13 15; do
1664 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1668 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1669 rm -f -r conftest
* confdefs.h
1671 # Predefined preprocessor variables.
1673 cat >>confdefs.h
<<_ACEOF
1674 #define PACKAGE_NAME "$PACKAGE_NAME"
1678 cat >>confdefs.h
<<_ACEOF
1679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_STRING "$PACKAGE_STRING"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1698 # Let the site file select an alternate cache file if it wants to.
1699 # Prefer an explicitly selected file to automatically selected ones.
1702 if test -n "$CONFIG_SITE"; then
1703 ac_site_file1
=$CONFIG_SITE
1704 elif test "x$prefix" != xNONE
; then
1705 ac_site_file1
=$prefix/share
/config.site
1706 ac_site_file2
=$prefix/etc
/config.site
1708 ac_site_file1
=$ac_default_prefix/share
/config.site
1709 ac_site_file2
=$ac_default_prefix/etc
/config.site
1711 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1713 test "x$ac_site_file" = xNONE
&& continue
1714 if test -r "$ac_site_file"; then
1715 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1716 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1722 if test -r "$cache_file"; then
1723 # Some versions of bash will fail to source /dev/null (special
1724 # files actually), so we avoid doing that.
1725 if test -f "$cache_file"; then
1726 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1727 $as_echo "$as_me: loading cache $cache_file" >&6;}
1729 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1730 *) .
"./$cache_file";;
1734 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1735 $as_echo "$as_me: creating cache $cache_file" >&6;}
1739 # Check that the precious variables saved in the cache have kept the same
1741 ac_cache_corrupted
=false
1742 for ac_var
in $ac_precious_vars; do
1743 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1744 eval ac_new_set
=\
$ac_env_${ac_var}_set
1745 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1746 eval ac_new_val
=\
$ac_env_${ac_var}_value
1747 case $ac_old_set,$ac_new_set in
1749 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1750 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1751 ac_cache_corrupted
=: ;;
1753 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1754 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1755 ac_cache_corrupted
=: ;;
1758 if test "x$ac_old_val" != "x$ac_new_val"; then
1759 # differences in whitespace do not lead to failure.
1760 ac_old_val_w
=`echo x $ac_old_val`
1761 ac_new_val_w
=`echo x $ac_new_val`
1762 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1763 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 ac_cache_corrupted
=:
1767 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1768 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1769 eval $ac_var=\
$ac_old_val
1771 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1772 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1773 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1774 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1777 # Pass precious variables to config.status.
1778 if test "$ac_new_set" = set; then
1780 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1781 *) ac_arg
=$ac_var=$ac_new_val ;;
1783 case " $ac_configure_args " in
1784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1789 if $ac_cache_corrupted; then
1790 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1792 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1793 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1794 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1795 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1796 { (exit 1); exit 1; }; }
1816 ac_cpp
='$CPP $CPPFLAGS'
1817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1823 ac_config_headers
="$ac_config_headers config.h"
1825 am__api_version
='1.10'
1828 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1829 if test -f "$ac_dir/install-sh"; then
1831 ac_install_sh
="$ac_aux_dir/install-sh -c"
1833 elif test -f "$ac_dir/install.sh"; then
1835 ac_install_sh
="$ac_aux_dir/install.sh -c"
1837 elif test -f "$ac_dir/shtool"; then
1839 ac_install_sh
="$ac_aux_dir/shtool install -c"
1843 if test -z "$ac_aux_dir"; then
1844 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1845 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1846 { (exit 1); exit 1; }; }
1849 # These three variables are undocumented and unsupported,
1850 # and are intended to be withdrawn in a future Autoconf release.
1851 # They can cause serious problems if a builder's source tree is in a directory
1852 # whose full name contains unusual characters.
1853 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1854 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1855 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Find a good install program. We prefer a C program (faster),
1859 # so one script is as good as another. But avoid the broken or
1860 # incompatible versions:
1861 # SysV /etc/install, /usr/sbin/install
1862 # SunOS /usr/etc/install
1863 # IRIX /sbin/install
1865 # AmigaOS /C/install, which installs bootblocks on floppy discs
1866 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1867 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1868 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1869 # OS/2's system install, which has a completely different semantic
1870 # ./install, which can be erroneously created by make from ./install.sh.
1871 # Reject install programs that cannot install multiple files.
1872 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1873 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1874 if test -z "$INSTALL"; then
1875 if test "${ac_cv_path_install+set}" = set; then
1876 $as_echo_n "(cached) " >&6
1878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1882 test -z "$as_dir" && as_dir
=.
1883 # Account for people who put trailing slashes in PATH elements.
1885 .
/ | .
// |
/cC
/* | \
1886 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1887 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1890 # OSF1 and SCO ODT 3.0 have their own names for install.
1891 # Don't use installbsd from OSF since it installs stuff as root
1893 for ac_prog
in ginstall scoinst
install; do
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1896 if test $ac_prog = install &&
1897 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1898 # AIX install. It has an incompatible calling convention.
1900 elif test $ac_prog = install &&
1901 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1902 # program-specific install script used by HP pwplus--don't use.
1905 rm -rf conftest.one conftest.two conftest.dir
1906 echo one
> conftest.one
1907 echo two
> conftest.two
1909 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1910 test -s conftest.one
&& test -s conftest.two
&&
1911 test -s conftest.dir
/conftest.one
&&
1912 test -s conftest.dir
/conftest.two
1914 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1927 rm -rf conftest.one conftest.two conftest.dir
1930 if test "${ac_cv_path_install+set}" = set; then
1931 INSTALL
=$ac_cv_path_install
1933 # As a last resort, use the slow shell script. Don't cache a
1934 # value for INSTALL within a source directory, because that will
1935 # break other packages using the cache if that directory is
1936 # removed, or if the value is a relative name.
1937 INSTALL
=$ac_install_sh
1940 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1941 $as_echo "$INSTALL" >&6; }
1943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1944 # It thinks the first close brace ends the variable substitution.
1945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1949 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1951 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1952 $as_echo_n "checking whether build environment is sane... " >&6; }
1955 echo timestamp
> conftest.
file
1956 # Do `set' in a subshell so we don't clobber the current shell's
1957 # arguments. Must try -L first in case configure is actually a
1958 # symlink; some systems play weird games with the mod time of symlinks
1959 # (eg FreeBSD returns the mod time of the symlink's containing
1962 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1963 if test "$*" = "X"; then
1965 set X
`ls -t $srcdir/configure conftest.file`
1968 if test "$*" != "X $srcdir/configure conftest.file" \
1969 && test "$*" != "X conftest.file $srcdir/configure"; then
1971 # If neither matched, then we have a broken ls. This can happen
1972 # if, for instance, CONFIG_SHELL is bash and it inherits a
1973 # broken ls alias from the environment. This has actually
1974 # happened. Such a system could not be considered "sane".
1975 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1976 alias in your environment" >&5
1977 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1978 alias in your environment" >&2;}
1979 { (exit 1); exit 1; }; }
1982 test "$2" = conftest.
file
1988 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1989 Check your system clock" >&5
1990 $as_echo "$as_me: error: newly created file is older than distributed files!
1991 Check your system clock" >&2;}
1992 { (exit 1); exit 1; }; }
1994 { $as_echo "$as_me:$LINENO: result: yes" >&5
1995 $as_echo "yes" >&6; }
1996 test "$program_prefix" != NONE
&&
1997 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1998 # Use a double $ so make ignores it.
1999 test "$program_suffix" != NONE
&&
2000 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2001 # Double any \ or $.
2002 # By default was `s,x,x', remove it if useless.
2003 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2004 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2006 # expand $ac_aux_dir to an absolute path
2007 am_aux_dir
=`cd $ac_aux_dir && pwd`
2009 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2010 # Use eval to expand $SHELL
2011 if eval "$MISSING --run true"; then
2012 am_missing_run
="$MISSING --run "
2015 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2016 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2019 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2020 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2021 if test -z "$MKDIR_P"; then
2022 if test "${ac_cv_path_mkdir+set}" = set; then
2023 $as_echo_n "(cached) " >&6
2025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2029 test -z "$as_dir" && as_dir
=.
2030 for ac_prog
in mkdir gmkdir
; do
2031 for ac_exec_ext
in '' $ac_executable_extensions; do
2032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2033 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2034 'mkdir (GNU coreutils) '* | \
2035 'mkdir (coreutils) '* | \
2036 'mkdir (fileutils) '4.1*)
2037 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2047 if test "${ac_cv_path_mkdir+set}" = set; then
2048 MKDIR_P
="$ac_cv_path_mkdir -p"
2050 # As a last resort, use the slow shell script. Don't cache a
2051 # value for MKDIR_P within a source directory, because that will
2052 # break other packages using the cache if that directory is
2053 # removed, or if the value is a relative name.
2054 test -d .
/--version && rmdir .
/--version
2055 MKDIR_P
="$ac_install_sh -d"
2058 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2059 $as_echo "$MKDIR_P" >&6; }
2063 [\\/$
]* | ?
:[\\/]*) ;;
2064 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2067 for ac_prog
in gawk mawk nawk
awk
2069 # Extract the first word of "$ac_prog", so it can be a program name with args.
2070 set dummy
$ac_prog; ac_word
=$2
2071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_AWK+set}" = set; then
2074 $as_echo_n "(cached) " >&6
2076 if test -n "$AWK"; then
2077 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_AWK
="$ac_prog"
2087 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 if test -n "$AWK"; then
2098 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2099 $as_echo "$AWK" >&6; }
2101 { $as_echo "$as_me:$LINENO: result: no" >&5
2102 $as_echo "no" >&6; }
2106 test -n "$AWK" && break
2109 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2110 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2112 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2113 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2114 $as_echo_n "(cached) " >&6
2116 cat >conftest.
make <<\_ACEOF
2119 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2124 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2126 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2130 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2131 { $as_echo "$as_me:$LINENO: result: yes" >&5
2132 $as_echo "yes" >&6; }
2135 { $as_echo "$as_me:$LINENO: result: no" >&5
2136 $as_echo "no" >&6; }
2137 SET_MAKE
="MAKE=${MAKE-make}"
2140 rm -rf .tst
2>/dev
/null
2141 mkdir .tst
2>/dev
/null
2142 if test -d .tst
; then
2147 rmdir .tst
2>/dev
/null
2149 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2150 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2151 # is not polluted with repeated "-I."
2152 am__isrc
=' -I$(srcdir)'
2153 # test to see if srcdir already configured
2154 if test -f $srcdir/config.status
; then
2155 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2156 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2157 { (exit 1); exit 1; }; }
2161 # test whether we have cygpath
2162 if test -z "$CYGPATH_W"; then
2163 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2164 CYGPATH_W
='cygpath -w'
2171 # Define the identity of the package.
2176 cat >>confdefs.h
<<_ACEOF
2177 #define PACKAGE "$PACKAGE"
2181 cat >>confdefs.h
<<_ACEOF
2182 #define VERSION "$VERSION"
2185 # Some tools Automake needs.
2187 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2190 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2193 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2196 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2199 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2201 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2203 # Installed binaries are usually stripped using `strip' when the user
2204 # run `make install-strip'. However `strip' might not be the right
2205 # tool to use in cross-compilation environments, therefore Automake
2206 # will honor the `STRIP' environment variable to overrule this program.
2207 if test "$cross_compiling" != no
; then
2208 if test -n "$ac_tool_prefix"; then
2209 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2210 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2212 $as_echo_n "checking for $ac_word... " >&6; }
2213 if test "${ac_cv_prog_STRIP+set}" = set; then
2214 $as_echo_n "(cached) " >&6
2216 if test -n "$STRIP"; then
2217 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir
=.
2224 for ac_exec_ext
in '' $ac_executable_extensions; do
2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 STRIP
=$ac_cv_prog_STRIP
2237 if test -n "$STRIP"; then
2238 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2239 $as_echo "$STRIP" >&6; }
2241 { $as_echo "$as_me:$LINENO: result: no" >&5
2242 $as_echo "no" >&6; }
2247 if test -z "$ac_cv_prog_STRIP"; then
2249 # Extract the first word of "strip", so it can be a program name with args.
2250 set dummy strip
; ac_word
=$2
2251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 $as_echo_n "checking for $ac_word... " >&6; }
2253 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2254 $as_echo_n "(cached) " >&6
2256 if test -n "$ac_ct_STRIP"; then
2257 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 for ac_exec_ext
in '' $ac_executable_extensions; do
2265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2266 ac_cv_prog_ac_ct_STRIP
="strip"
2267 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2277 if test -n "$ac_ct_STRIP"; then
2278 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2279 $as_echo "$ac_ct_STRIP" >&6; }
2281 { $as_echo "$as_me:$LINENO: result: no" >&5
2282 $as_echo "no" >&6; }
2285 if test "x$ac_ct_STRIP" = x
; then
2288 case $cross_compiling:$ac_tool_warned in
2290 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2292 ac_tool_warned
=yes ;;
2297 STRIP
="$ac_cv_prog_STRIP"
2301 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2303 # We need awk for the "check" target. The system "awk" is bad on
2305 # Always define AMTAR for backward compatibility.
2307 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2309 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2316 DEPDIR
="${am__leading_dot}deps"
2318 ac_config_commands
="$ac_config_commands depfiles"
2321 am_make
=${MAKE-make}
2322 cat > confinc
<< 'END'
2327 # If we don't find an include directive, just comment out the code.
2328 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2333 # First try GNU make style include.
2334 echo "include confinc" > confmf
2335 # We grep out `Entering directory' and `Leaving directory'
2336 # messages which can occur if `w' ends up in MAKEFLAGS.
2337 # In particular we don't look at `^make:' because GNU make might
2338 # be invoked under some other name (usually "gmake"), in which
2339 # case it prints its new name instead of `make'.
2340 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2345 # Now try BSD make style include.
2346 if test "$am__include" = "#"; then
2347 echo '.include "confinc"' > confmf
2348 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2349 am__include
=.include
2356 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2357 $as_echo "$_am_result" >&6; }
2358 rm -f confinc confmf
2360 # Check whether --enable-dependency-tracking was given.
2361 if test "${enable_dependency_tracking+set}" = set; then
2362 enableval
=$enable_dependency_tracking;
2365 if test "x$enable_dependency_tracking" != xno
; then
2366 am_depcomp
="$ac_aux_dir/depcomp"
2369 if test "x$enable_dependency_tracking" != xno; then
2379 ac_cpp
='$CPP $CPPFLAGS'
2380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2383 if test -n "$ac_tool_prefix"; then
2384 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2385 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 $as_echo_n "checking for $ac_word... " >&6; }
2388 if test "${ac_cv_prog_CC+set}" = set; then
2389 $as_echo_n "(cached) " >&6
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC
="$CC" # Let the user override the test.
2394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir
=.
2399 for ac_exec_ext
in '' $ac_executable_extensions; do
2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 if test -n "$CC"; then
2413 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2414 $as_echo "$CC" >&6; }
2416 { $as_echo "$as_me:$LINENO: result: no" >&5
2417 $as_echo "no" >&6; }
2422 if test -z "$ac_cv_prog_CC"; then
2424 # Extract the first word of "gcc", so it can be a program name with args.
2425 set dummy gcc
; ac_word
=$2
2426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 $as_echo_n "checking for $ac_word... " >&6; }
2428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2429 $as_echo_n "(cached) " >&6
2431 if test -n "$ac_ct_CC"; then
2432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441 ac_cv_prog_ac_ct_CC
="gcc"
2442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2452 if test -n "$ac_ct_CC"; then
2453 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2454 $as_echo "$ac_ct_CC" >&6; }
2456 { $as_echo "$as_me:$LINENO: result: no" >&5
2457 $as_echo "no" >&6; }
2460 if test "x$ac_ct_CC" = x
; then
2463 case $cross_compiling:$ac_tool_warned in
2465 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2467 ac_tool_warned
=yes ;;
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2478 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if test "${ac_cv_prog_CC+set}" = set; then
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$CC"; then
2485 ac_cv_prog_CC
="$CC" # Let the user override the test.
2487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir
=.
2492 for ac_exec_ext
in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2495 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 if test -n "$CC"; then
2506 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2507 $as_echo "$CC" >&6; }
2509 { $as_echo "$as_me:$LINENO: result: no" >&5
2510 $as_echo "no" >&6; }
2516 if test -z "$CC"; then
2517 # Extract the first word of "cc", so it can be a program name with args.
2518 set dummy cc
; ac_word
=$2
2519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 $as_echo_n "(cached) " >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC
="$CC" # Let the user override the test.
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_exec_ext
in '' $ac_executable_extensions; do
2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2536 ac_prog_rejected
=yes
2540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 if test $ac_prog_rejected = yes; then
2548 # We found a bogon in the path, so make sure we never use it.
2549 set dummy
$ac_cv_prog_CC
2551 if test $# != 0; then
2552 # We chose a different compiler from the bogus one.
2553 # However, it has the same basename, so the bogon will be chosen
2554 # first if we set CC to just the basename; use the full file name.
2556 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2562 if test -n "$CC"; then
2563 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2564 $as_echo "$CC" >&6; }
2566 { $as_echo "$as_me:$LINENO: result: no" >&5
2567 $as_echo "no" >&6; }
2572 if test -z "$CC"; then
2573 if test -n "$ac_tool_prefix"; then
2574 for ac_prog
in cl.exe
2576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if test "${ac_cv_prog_CC+set}" = set; then
2581 $as_echo_n "(cached) " >&6
2583 if test -n "$CC"; then
2584 ac_cv_prog_CC
="$CC" # Let the user override the test.
2586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir
=.
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 if test -n "$CC"; then
2605 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2606 $as_echo "$CC" >&6; }
2608 { $as_echo "$as_me:$LINENO: result: no" >&5
2609 $as_echo "no" >&6; }
2613 test -n "$CC" && break
2616 if test -z "$CC"; then
2618 for ac_prog
in cl.exe
2620 # Extract the first word of "$ac_prog", so it can be a program name with args.
2621 set dummy
$ac_prog; ac_word
=$2
2622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 $as_echo_n "checking for $ac_word... " >&6; }
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 $as_echo_n "(cached) " >&6
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2634 test -z "$as_dir" && as_dir
=.
2635 for ac_exec_ext
in '' $ac_executable_extensions; do
2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637 ac_cv_prog_ac_ct_CC
="$ac_prog"
2638 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2648 if test -n "$ac_ct_CC"; then
2649 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2650 $as_echo "$ac_ct_CC" >&6; }
2652 { $as_echo "$as_me:$LINENO: result: no" >&5
2653 $as_echo "no" >&6; }
2657 test -n "$ac_ct_CC" && break
2660 if test "x$ac_ct_CC" = x
; then
2663 case $cross_compiling:$ac_tool_warned in
2665 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2667 ac_tool_warned
=yes ;;
2676 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2679 See \`config.log' for more details." >&5
2680 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2681 See \`config.log' for more details." >&2;}
2682 { (exit 1); exit 1; }; }; }
2684 # Provide some information about the compiler.
2685 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2688 { (ac_try
="$ac_compiler --version >&5"
2690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2694 $as_echo "$ac_try_echo") >&5
2695 (eval "$ac_compiler --version >&5") 2>&5
2697 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }
2699 { (ac_try="$ac_compiler -v >&5"
2701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2702 *) ac_try_echo
=$ac_try;;
2704 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2705 $as_echo "$ac_try_echo") >&5
2706 (eval "$ac_compiler -v >&5") 2>&5
2708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }
2710 { (ac_try
="$ac_compiler -V >&5"
2712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2716 $as_echo "$ac_try_echo") >&5
2717 (eval "$ac_compiler -V >&5") 2>&5
2719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }
2722 cat >conftest.$ac_ext <<_ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2737 ac_clean_files_save=$ac_clean_files
2738 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2739 # Try to create an executable without -o first, disregard a.out.
2740 # It will help us diagnose broken compilers, and finding out an intuition
2742 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2743 $as_echo_n "checking for C compiler default output file name... " >&6; }
2744 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2746 # The possible output files:
2747 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2750 for ac_file in $ac_files
2753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2754 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2759 if { (ac_try="$ac_link_default"
2761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2762 *) ac_try_echo
=$ac_try;;
2764 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2765 $as_echo "$ac_try_echo") >&5
2766 (eval "$ac_link_default") 2>&5
2768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2771 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2772 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2773 # so that the user can short-circuit this test for compilers unknown to
2775 for ac_file
in $ac_files ''
2777 test -f "$ac_file" ||
continue
2779 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2782 # We found the default executable, but exeext='' is most
2786 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2788 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2790 # We set ac_cv_exeext here because the later test for it is not
2791 # safe: cross compilers may not add the suffix if given an `-o'
2792 # argument, so we may need to know it at that point already.
2793 # Even if this section looks crufty: it has the advantage of
2800 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2806 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2807 $as_echo "$ac_file" >&6; }
2808 if test -z "$ac_file"; then
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.
$ac_ext >&5
2812 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2815 See \`config.log' for more details." >&5
2816 $as_echo "$as_me: error: C compiler cannot create executables
2817 See \`config.log' for more details." >&2;}
2818 { (exit 77); exit 77; }; }; }
2821 ac_exeext
=$ac_cv_exeext
2823 # Check that the compiler produces executables we can run. If not, either
2824 # the compiler is broken, or we cross compile.
2825 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2826 $as_echo_n "checking whether the C compiler works... " >&6; }
2827 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2828 # If not cross compiling, check that we can run a simple program.
2829 if test "$cross_compiling" != yes; then
2830 if { ac_try
='./$ac_file'
2831 { (case "(($ac_try" in
2832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836 $as_echo "$ac_try_echo") >&5
2837 (eval "$ac_try") 2>&5
2839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2843 if test "$cross_compiling" = maybe; then
2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2848 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2849 If you meant to cross compile
, use \
`--host'.
2850 See \`config.log
' for more details." >&5
2851 $as_echo "$as_me: error: cannot run C compiled programs.
2852 If you meant to cross compile, use \`--host'.
2853 See \
`config.log' for more details." >&2;}
2854 { (exit 1); exit 1; }; }; }
2858 { $as_echo "$as_me:$LINENO: result: yes" >&5
2859 $as_echo "yes" >&6; }
2861 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2862 ac_clean_files=$ac_clean_files_save
2863 # Check that the compiler produces executables we can run. If not, either
2864 # the compiler is broken, or we cross compile.
2865 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2866 $as_echo_n "checking whether we are cross compiling... " >&6; }
2867 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2868 $as_echo "$cross_compiling" >&6; }
2870 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2871 $as_echo_n "checking for suffix of executables... " >&6; }
2872 if { (ac_try="$ac_link"
2874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2875 *) ac_try_echo
=$ac_try;;
2877 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2878 $as_echo "$ac_try_echo") >&5
2879 (eval "$ac_link") 2>&5
2881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; then
2883 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2884 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2885 # work properly (i.e., refer to `conftest.exe'), while it won't with
2887 for ac_file
in conftest.exe conftest conftest.
*; do
2888 test -f "$ac_file" ||
continue
2890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2891 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2897 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2900 See \`config.log' for more details." >&5
2901 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2902 See \`config.log' for more details." >&2;}
2903 { (exit 1); exit 1; }; }; }
2906 rm -f conftest
$ac_cv_exeext
2907 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2908 $as_echo "$ac_cv_exeext" >&6; }
2910 rm -f conftest.
$ac_ext
2911 EXEEXT
=$ac_cv_exeext
2913 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2914 $as_echo_n "checking for suffix of object files... " >&6; }
2915 if test "${ac_cv_objext+set}" = set; then
2916 $as_echo_n "(cached) " >&6
2918 cat >conftest.
$ac_ext <<_ACEOF
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2933 rm -f conftest.o conftest.obj
2934 if { (ac_try
="$ac_compile"
2936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_compile") 2>&5
2943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; then
2945 for ac_file in conftest.o conftest.obj conftest.*; do
2946 test -f "$ac_file" || continue;
2948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2949 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2960 See \
`config.log' for more details." >&5
2961 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2962 See \`config.log
' for more details." >&2;}
2963 { (exit 1); exit 1; }; }; }
2966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2968 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2969 $as_echo "$ac_cv_objext" >&6; }
2970 OBJEXT=$ac_cv_objext
2972 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2973 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2975 $as_echo_n "(cached) " >&6
2977 cat >conftest.$ac_ext <<_ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2995 rm -f conftest.$ac_objext
2996 if { (ac_try="$ac_compile"
2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999 *) ac_try_echo=$ac_try;;
3001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3002 $as_echo "$ac_try_echo") >&5
3003 (eval "$ac_compile") 2>conftest.er1
3005 grep -v '^
*+' conftest.er1 >conftest.err
3007 cat conftest.err >&5
3008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } && {
3010 test -z "$ac_c_werror_flag" ||
3011 test ! -s conftest.err
3012 } && test -s conftest.$ac_objext; then
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's
/^
/|
/' conftest.$ac_ext >&5
3021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3025 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3027 if test $ac_compiler_gnu = yes; then
3032 ac_test_CFLAGS=${CFLAGS+set}
3033 ac_save_CFLAGS=$CFLAGS
3034 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3036 if test "${ac_cv_prog_cc_g+set}" = set; then
3037 $as_echo_n "(cached) " >&6
3039 ac_save_c_werror_flag=$ac_c_werror_flag
3040 ac_c_werror_flag=yes
3043 cat >conftest.$ac_ext <<_ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3058 rm -f conftest.$ac_objext
3059 if { (ac_try="$ac_compile"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3065 $as_echo "$ac_try_echo") >&5
3066 (eval "$ac_compile") 2>conftest.er1
3068 grep -v '^
*+' conftest.er1 >conftest.err
3070 cat conftest.err >&5
3071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); } && {
3073 test -z "$ac_c_werror_flag" ||
3074 test ! -s conftest.err
3075 } && test -s conftest.$ac_objext; then
3078 $as_echo "$as_me: failed program was:" >&5
3079 sed 's
/^
/|
/' conftest.$ac_ext >&5
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3097 rm -f conftest.$ac_objext
3098 if { (ac_try="$ac_compile"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3104 $as_echo "$ac_try_echo") >&5
3105 (eval "$ac_compile") 2>conftest.er1
3107 grep -v '^
*+' conftest.er1 >conftest.err
3109 cat conftest.err >&5
3110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } && {
3112 test -z "$ac_c_werror_flag" ||
3113 test ! -s conftest.err
3114 } && test -s conftest.$ac_objext; then
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's
/^
/|
/' conftest.$ac_ext >&5
3120 ac_c_werror_flag=$ac_save_c_werror_flag
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144 $as_echo "$ac_try_echo") >&5
3145 (eval "$ac_compile") 2>conftest.er1
3147 grep -v '^
*+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && {
3152 test -z "$ac_c_werror_flag" ||
3153 test ! -s conftest.err
3154 } && test -s conftest.$ac_objext; then
3157 $as_echo "$as_me: failed program was:" >&5
3158 sed 's
/^
/|
/' conftest.$ac_ext >&5
3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170 ac_c_werror_flag=$ac_save_c_werror_flag
3172 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3173 $as_echo "$ac_cv_prog_cc_g" >&6; }
3174 if test "$ac_test_CFLAGS" = set; then
3175 CFLAGS=$ac_save_CFLAGS
3176 elif test $ac_cv_prog_cc_g = yes; then
3177 if test "$GCC" = yes; then
3183 if test "$GCC" = yes; then
3189 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3190 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3191 if test "${ac_cv_prog_cc_c89+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3194 ac_cv_prog_cc_c89=no
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3204 #include <sys/types.h>
3205 #include <sys/stat.h>
3206 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3207 struct buf
{ int x
; };
3208 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3209 static char
*e
(p
, i
)
3215 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3220 s
= g
(p
, va_arg
(v
,int
));
3225 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3226 function prototypes and stuff
, but not
'\xHH' hex character constants.
3227 These don
't provoke an error unfortunately, instead are silently treated
3228 as 'x
'. The following induces an error, until -std is added to get
3229 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3230 array size at least. It's necessary to
write '\x00'==0 to get something
3231 that
's true only with -std. */
3232 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3234 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3235 inside strings and character constants. */
3237 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3239 int test (int i, double x);
3240 struct s1 {int (*f) (int a);};
3241 struct s2 {int (*f) (double a);};
3242 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3248 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3253 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3254 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3256 CC="$ac_save_CC $ac_arg"
3257 rm -f conftest.$ac_objext
3258 if { (ac_try="$ac_compile"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3264 $as_echo "$ac_try_echo") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3267 grep -v '^
*+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_c_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3275 ac_cv_prog_cc_c89=$ac_arg
3277 $as_echo "$as_me: failed program was:" >&5
3278 sed 's
/^
/|
/' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext
3284 test "x$ac_cv_prog_cc_c89" != "xno" && break
3286 rm -f conftest.$ac_ext
3291 case "x$ac_cv_prog_cc_c89" in
3293 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3294 $as_echo "none needed" >&6; } ;;
3296 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3297 $as_echo "unsupported" >&6; } ;;
3299 CC="$CC $ac_cv_prog_cc_c89"
3300 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3301 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 depcc="$CC" am_compiler_list=
3313 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3314 $as_echo_n "checking dependency style of $depcc... " >&6; }
3315 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3316 $as_echo_n "(cached) " >&6
3318 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3319 # We make a subdir and do the tests there. Otherwise we can end up
3320 # making bogus files that we don't know about and never remove. For
3321 # instance it was reported that on HP-UX the gcc test will end up
3322 # making a dummy file named `D' -- because `-MD' means `put the output
3325 # Copy depcomp to subdir because otherwise we won't find it if we're
3326 # using a relative directory.
3327 cp "$am_depcomp" conftest.dir
3329 # We will build objects and dependencies in a subdirectory because
3330 # it helps to detect inapplicable dependency modes. For instance
3331 # both Tru64's cc and ICC support -MD to output dependencies as a
3332 # side effect of compilation, but ICC will put the dependencies in
3333 # the current directory while Tru64 will put them in the object
3337 am_cv_CC_dependencies_compiler_type
=none
3338 if test "$am_compiler_list" = ""; then
3339 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3341 for depmode
in $am_compiler_list; do
3342 # Setup a source with many dependencies, because some compilers
3343 # like to wrap large dependency lists on column 80 (with \), and
3344 # we should not choose a depcomp mode which is confused by this.
3346 # We need to recreate these files for each test, as the compiler may
3347 # overwrite some of them when testing with obscure command lines.
3348 # This happens at least with the AIX C compiler.
3350 for i
in 1 2 3 4 5 6; do
3351 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3352 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3353 # Solaris 8's {/usr,}/bin/sh.
3354 touch sub
/conftst
$i.h
3356 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3360 # after this tag, mechanisms are not by side-effect, so they'll
3361 # only be used when explicitly requested
3362 if test "x$enable_dependency_tracking" = xyes
; then
3370 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3371 # mode. It turns out that the SunPro C++ compiler does not properly
3372 # handle `-M -o', and we need to detect this.
3373 if depmode
=$depmode \
3374 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3375 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3376 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3377 >/dev
/null
2>conftest.err
&&
3378 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3379 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3380 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3381 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3382 # icc doesn't choke on unknown options, it will just issue warnings
3383 # or remarks (even with -Werror). So we grep stderr for any message
3384 # that says an option was ignored or not supported.
3385 # When given -MP, icc 7.0 and 7.1 complain thusly:
3386 # icc: Command line warning: ignoring option '-M'; no argument required
3387 # The diagnosis changed in icc 8.0:
3388 # icc: Command line remark: option '-MP' not supported
3389 if (grep 'ignoring option' conftest.err ||
3390 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3391 am_cv_CC_dependencies_compiler_type
=$depmode
3400 am_cv_CC_dependencies_compiler_type
=none
3404 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3405 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3406 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3409 test "x$enable_dependency_tracking" != xno \
3410 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3412 am__fastdepCC_FALSE
='#'
3414 am__fastdepCC_TRUE
='#'
3415 am__fastdepCC_FALSE
=
3421 ac_cpp
='$CPP $CPPFLAGS'
3422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3425 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3426 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3427 # On Suns, sometimes $CPP names a directory.
3428 if test -n "$CPP" && test -d "$CPP"; then
3431 if test -z "$CPP"; then
3432 if test "${ac_cv_prog_CPP+set}" = set; then
3433 $as_echo_n "(cached) " >&6
3435 # Double quotes because CPP needs to be expanded
3436 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3439 for ac_c_preproc_warn_flag
in '' yes
3441 # Use a header file that comes with gcc, so configuring glibc
3442 # with a fresh cross-compiler works.
3443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3444 # <limits.h> exists even on freestanding compilers.
3445 # On the NeXT, cc -E runs the code through the compiler's parser,
3446 # not just through cpp. "Syntax error" is here to catch this case.
3447 cat >conftest.
$ac_ext <<_ACEOF
3450 cat confdefs.h
>>conftest.
$ac_ext
3451 cat >>conftest.
$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3454 # include <limits.h>
3456 # include <assert.h>
3460 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3466 $as_echo "$ac_try_echo") >&5
3467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3469 grep -v '^ *+' conftest.er1 >conftest.err
3471 cat conftest.err >&5
3472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } >/dev/null && {
3474 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3475 test ! -s conftest.err
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 # Broken: fails on valid input.
3486 rm -f conftest.err conftest.$ac_ext
3488 # OK, works on sane cases. Now check whether nonexistent headers
3489 # can be detected and how.
3490 cat >conftest.$ac_ext <<_ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3496 #include <ac_nonexistent.h>
3498 if { (ac_try="$ac_cpp conftest.$ac_ext"
3500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3501 *) ac_try_echo
=$ac_try;;
3503 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3504 $as_echo "$ac_try_echo") >&5
3505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } >/dev
/null
&& {
3512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3513 test ! -s conftest.err
3515 # Broken: success on invalid input.
3518 $as_echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.
$ac_ext >&5
3521 # Passes both tests.
3526 rm -f conftest.err conftest.
$ac_ext
3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530 rm -f conftest.err conftest.
$ac_ext
3531 if $ac_preproc_ok; then
3543 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3544 $as_echo "$CPP" >&6; }
3546 for ac_c_preproc_warn_flag
in '' yes
3548 # Use a header file that comes with gcc, so configuring glibc
3549 # with a fresh cross-compiler works.
3550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3551 # <limits.h> exists even on freestanding compilers.
3552 # On the NeXT, cc -E runs the code through the compiler's parser,
3553 # not just through cpp. "Syntax error" is here to catch this case.
3554 cat >conftest.
$ac_ext <<_ACEOF
3557 cat confdefs.h
>>conftest.
$ac_ext
3558 cat >>conftest.
$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3561 # include <limits.h>
3563 # include <assert.h>
3567 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3573 $as_echo "$ac_try_echo") >&5
3574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3576 grep -v '^ *+' conftest.er1 >conftest.err
3578 cat conftest.err >&5
3579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } >/dev/null && {
3581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3582 test ! -s conftest.err
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 # Broken: fails on valid input.
3593 rm -f conftest.err conftest.$ac_ext
3595 # OK, works on sane cases. Now check whether nonexistent headers
3596 # can be detected and how.
3597 cat >conftest.$ac_ext <<_ACEOF
3600 cat confdefs.h >>conftest.$ac_ext
3601 cat >>conftest.$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3603 #include <ac_nonexistent.h>
3605 if { (ac_try="$ac_cpp conftest.$ac_ext"
3607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3608 *) ac_try_echo
=$ac_try;;
3610 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3611 $as_echo "$ac_try_echo") >&5
3612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1
>conftest.err
3616 cat conftest.err
>&5
3617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } >/dev
/null
&& {
3619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3622 # Broken: success on invalid input.
3625 $as_echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.
$ac_ext >&5
3628 # Passes both tests.
3633 rm -f conftest.err conftest.
$ac_ext
3636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3637 rm -f conftest.err conftest.
$ac_ext
3638 if $ac_preproc_ok; then
3641 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3643 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3644 See \`config.log' for more details." >&5
3645 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3646 See \`config.log' for more details." >&2;}
3647 { (exit 1); exit 1; }; }; }
3651 ac_cpp
='$CPP $CPPFLAGS'
3652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3657 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3658 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3659 if test "${ac_cv_path_GREP+set}" = set; then
3660 $as_echo_n "(cached) " >&6
3662 if test -z "$GREP"; then
3663 ac_path_GREP_found
=false
3664 # Loop through the user's path and test for each of PROGNAME-LIST
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3666 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_prog
in grep ggrep
; do
3671 for ac_exec_ext
in '' $ac_executable_extensions; do
3672 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3673 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3674 # Check for GNU ac_path_GREP and select it if it is found.
3675 # Check for GNU $ac_path_GREP
3676 case `"$ac_path_GREP" --version 2>&1` in
3678 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3681 $as_echo_n 0123456789 >"conftest.in"
3684 cat "conftest.in" "conftest.in" >"conftest.tmp"
3685 mv "conftest.tmp" "conftest.in"
3686 cp "conftest.in" "conftest.nl"
3687 $as_echo 'GREP' >> "conftest.nl"
3688 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3689 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3690 ac_count
=`expr $ac_count + 1`
3691 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3692 # Best one so far, save it but keep looking for a better one
3693 ac_cv_path_GREP
="$ac_path_GREP"
3694 ac_path_GREP_max
=$ac_count
3696 # 10*(2^10) chars as input seems more than enough
3697 test $ac_count -gt 10 && break
3699 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3702 $ac_path_GREP_found && break 3
3707 if test -z "$ac_cv_path_GREP"; then
3708 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3709 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3710 { (exit 1); exit 1; }; }
3713 ac_cv_path_GREP
=$GREP
3717 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3718 $as_echo "$ac_cv_path_GREP" >&6; }
3719 GREP
="$ac_cv_path_GREP"
3722 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3723 $as_echo_n "checking for egrep... " >&6; }
3724 if test "${ac_cv_path_EGREP+set}" = set; then
3725 $as_echo_n "(cached) " >&6
3727 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3728 then ac_cv_path_EGREP
="$GREP -E"
3730 if test -z "$EGREP"; then
3731 ac_path_EGREP_found
=false
3732 # Loop through the user's path and test for each of PROGNAME-LIST
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3734 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_prog
in egrep; do
3739 for ac_exec_ext
in '' $ac_executable_extensions; do
3740 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3741 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3742 # Check for GNU ac_path_EGREP and select it if it is found.
3743 # Check for GNU $ac_path_EGREP
3744 case `"$ac_path_EGREP" --version 2>&1` in
3746 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3749 $as_echo_n 0123456789 >"conftest.in"
3752 cat "conftest.in" "conftest.in" >"conftest.tmp"
3753 mv "conftest.tmp" "conftest.in"
3754 cp "conftest.in" "conftest.nl"
3755 $as_echo 'EGREP' >> "conftest.nl"
3756 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3757 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3758 ac_count
=`expr $ac_count + 1`
3759 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3760 # Best one so far, save it but keep looking for a better one
3761 ac_cv_path_EGREP
="$ac_path_EGREP"
3762 ac_path_EGREP_max
=$ac_count
3764 # 10*(2^10) chars as input seems more than enough
3765 test $ac_count -gt 10 && break
3767 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3770 $ac_path_EGREP_found && break 3
3775 if test -z "$ac_cv_path_EGREP"; then
3776 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3777 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3778 { (exit 1); exit 1; }; }
3781 ac_cv_path_EGREP
=$EGREP
3786 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3787 $as_echo "$ac_cv_path_EGREP" >&6; }
3788 EGREP
="$ac_cv_path_EGREP"
3791 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3792 $as_echo_n "checking for ANSI C header files... " >&6; }
3793 if test "${ac_cv_header_stdc+set}" = set; then
3794 $as_echo_n "(cached) " >&6
3796 cat >conftest.
$ac_ext <<_ACEOF
3799 cat confdefs.h
>>conftest.
$ac_ext
3800 cat >>conftest.
$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3815 rm -f conftest.
$ac_objext
3816 if { (ac_try
="$ac_compile"
3818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3822 $as_echo "$ac_try_echo") >&5
3823 (eval "$ac_compile") 2>conftest.er1
3825 grep -v '^ *+' conftest.er1 >conftest.err
3827 cat conftest.err >&5
3828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } && {
3830 test -z "$ac_c_werror_flag" ||
3831 test ! -s conftest.err
3832 } && test -s conftest.$ac_objext; then
3833 ac_cv_header_stdc=yes
3835 $as_echo "$as_me: failed program was:" >&5
3836 sed 's/^/| /' conftest.$ac_ext >&5
3838 ac_cv_header_stdc=no
3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3843 if test $ac_cv_header_stdc = yes; then
3844 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3845 cat >conftest.$ac_ext <<_ACEOF
3848 cat confdefs.h >>conftest.$ac_ext
3849 cat >>conftest.$ac_ext <<_ACEOF
3850 /* end confdefs.h. */
3854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3855 $EGREP "memchr" >/dev/null 2>&1; then
3858 ac_cv_header_stdc=no
3864 if test $ac_cv_header_stdc = yes; then
3865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3866 cat >conftest.$ac_ext <<_ACEOF
3869 cat confdefs.h >>conftest.$ac_ext
3870 cat >>conftest.$ac_ext <<_ACEOF
3871 /* end confdefs.h. */
3875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3876 $EGREP "free" >/dev/null 2>&1; then
3879 ac_cv_header_stdc=no
3885 if test $ac_cv_header_stdc = yes; then
3886 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3887 if test "$cross_compiling" = yes; then
3890 cat >conftest.$ac_ext <<_ACEOF
3893 cat confdefs.h >>conftest.$ac_ext
3894 cat >>conftest.$ac_ext <<_ACEOF
3895 /* end confdefs.h. */
3898 #if ((' ' & 0x0FF) == 0x020)
3899 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3900 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3902 # define ISLOWER(c) \
3903 (('a' <= (c) && (c) <= 'i') \
3904 || ('j' <= (c) && (c) <= 'r') \
3905 || ('s' <= (c) && (c) <= 'z'))
3906 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3914 for (i = 0; i < 256; i++)
3915 if (XOR (islower (i), ISLOWER (i))
3916 || toupper (i) != TOUPPER (i))
3921 rm -f conftest$ac_exeext
3922 if { (ac_try="$ac_link"
3924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3925 *) ac_try_echo
=$ac_try;;
3927 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3928 $as_echo "$ac_try_echo") >&5
3929 (eval "$ac_link") 2>&5
3931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3933 { (case "(($ac_try" in
3934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3935 *) ac_try_echo=$ac_try;;
3937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3938 $as_echo "$ac_try_echo") >&5
3939 (eval "$ac_try") 2>&5
3941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3945 $as_echo "$as_me: program exited with status $ac_status" >&5
3946 $as_echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3950 ac_cv_header_stdc=no
3952 rm -rf conftest.dSYM
3953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3959 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3960 $as_echo "$ac_cv_header_stdc" >&6; }
3961 if test $ac_cv_header_stdc = yes; then
3963 cat >>confdefs.h <<\_ACEOF
3964 #define STDC_HEADERS 1
3969 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3979 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3980 inttypes.h stdint.h unistd.h
3982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3983 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3984 $as_echo_n "checking for $ac_header... " >&6; }
3985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3986 $as_echo_n "(cached) " >&6
3988 cat >conftest.$ac_ext <<_ACEOF
3991 cat confdefs.h >>conftest.$ac_ext
3992 cat >>conftest.$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
3994 $ac_includes_default
3996 #include <$ac_header>
3998 rm -f conftest.$ac_objext
3999 if { (ac_try="$ac_compile"
4001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4002 *) ac_try_echo
=$ac_try;;
4004 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4005 $as_echo "$ac_try_echo") >&5
4006 (eval "$ac_compile") 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } && {
4013 test -z "$ac_c_werror_flag" ||
4014 test ! -s conftest.err
4015 } && test -s conftest.
$ac_objext; then
4016 eval "$as_ac_Header=yes"
4018 $as_echo "$as_me: failed program was:" >&5
4019 sed 's/^/| /' conftest.
$ac_ext >&5
4021 eval "$as_ac_Header=no"
4024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4026 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4027 $as_echo "$as_val"'`
4028 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4029 $as_echo "$ac_res" >&6; }
4030 as_val
=`eval 'as_val=${'$as_ac_Header'}
4031 $as_echo "$as_val"'`
4032 if test "x$as_val" = x
""yes; then
4033 cat >>confdefs.h
<<_ACEOF
4034 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4042 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4043 $as_echo_n "checking for size_t... " >&6; }
4044 if test "${ac_cv_type_size_t+set}" = set; then
4045 $as_echo_n "(cached) " >&6
4047 ac_cv_type_size_t
=no
4048 cat >conftest.
$ac_ext <<_ACEOF
4051 cat confdefs.h
>>conftest.
$ac_ext
4052 cat >>conftest.
$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4054 $ac_includes_default
4058 if (sizeof (size_t))
4064 rm -f conftest.
$ac_objext
4065 if { (ac_try
="$ac_compile"
4067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4071 $as_echo "$ac_try_echo") >&5
4072 (eval "$ac_compile") 2>conftest.er1
4074 grep -v '^ *+' conftest.er1 >conftest.err
4076 cat conftest.err >&5
4077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); } && {
4079 test -z "$ac_c_werror_flag" ||
4080 test ! -s conftest.err
4081 } && test -s conftest.$ac_objext; then
4082 cat >conftest.$ac_ext <<_ACEOF
4085 cat confdefs.h >>conftest.$ac_ext
4086 cat >>conftest.$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4088 $ac_includes_default
4092 if (sizeof ((size_t)))
4098 rm -f conftest.$ac_objext
4099 if { (ac_try="$ac_compile"
4101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4102 *) ac_try_echo
=$ac_try;;
4104 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4105 $as_echo "$ac_try_echo") >&5
4106 (eval "$ac_compile") 2>conftest.er1
4108 grep -v '^ *+' conftest.er1
>conftest.err
4110 cat conftest.err
>&5
4111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } && {
4113 test -z "$ac_c_werror_flag" ||
4114 test ! -s conftest.err
4115 } && test -s conftest.
$ac_objext; then
4118 $as_echo "$as_me: failed program was:" >&5
4119 sed 's/^/| /' conftest.
$ac_ext >&5
4121 ac_cv_type_size_t
=yes
4124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.
$ac_ext >&5
4132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4134 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4135 $as_echo "$ac_cv_type_size_t" >&6; }
4136 if test "x$ac_cv_type_size_t" = x
""yes; then
4140 cat >>confdefs.h
<<_ACEOF
4141 #define size_t unsigned int
4146 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4147 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4148 if test "${ac_cv_c_const+set}" = set; then
4149 $as_echo_n "(cached) " >&6
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4161 /* FIXME: Include the comments suggested by Paul. */
4163 /* Ultrix mips cc rejects this. */
4164 typedef int charset[2];
4166 /* SunOS 4.1.1 cc rejects this. */
4167 char const *const *pcpcc;
4169 /* NEC SVR4.0.2 mips cc rejects this. */
4170 struct point {int x, y;};
4171 static struct point const zero = {0,0};
4172 /* AIX XL C 1.02.0.0 rejects this.
4173 It does not let you subtract one const X* pointer from another in
4174 an arm of an if-expression whose if-part is not a constant
4176 const char *g = "string";
4177 pcpcc = &g + (g ? g-g : 0);
4178 /* HPUX 7.0 cc rejects these. */
4180 ppc = (char**) pcpcc;
4181 pcpcc = (char const *const *) ppc;
4182 { /* SCO 3.2v4 cc rejects this. */
4184 char const *s = 0 ? (char *) 0 : (char const *) 0;
4189 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4191 const int *foo = &x[0];
4194 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4195 typedef const int *iptr;
4199 { /* AIX XL C 1.02.0.0 rejects this saying
4200 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4201 struct s { int j; const int *ap[3]; };
4202 struct s *b; b->j = 5;
4204 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4208 return !cs[0] && !zero.x;
4215 rm -f conftest.
$ac_objext
4216 if { (ac_try
="$ac_compile"
4218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4222 $as_echo "$ac_try_echo") >&5
4223 (eval "$ac_compile") 2>conftest.er1
4225 grep -v '^ *+' conftest.er1 >conftest.err
4227 cat conftest.err >&5
4228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } && {
4230 test -z "$ac_c_werror_flag" ||
4231 test ! -s conftest.err
4232 } && test -s conftest.$ac_objext; then
4235 $as_echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4244 $as_echo "$ac_cv_c_const" >&6; }
4245 if test $ac_cv_c_const = no; then
4247 cat >>confdefs.h <<\_ACEOF
4254 for ac_prog in gawk mawk nawk awk
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy $ac_prog; ac_word=$2
4258 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_prog_AWK+set}" = set; then
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$AWK"; then
4264 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_AWK="$ac_prog"
4274 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 if test -n "$AWK"; then
4285 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
4286 $as_echo "$AWK" >&6; }
4288 { $as_echo "$as_me:$LINENO: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$AWK" && break
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4301 if test -n "$ac_tool_prefix"; then
4302 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if test "${ac_cv_prog_CC+set}" = set; then
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$CC"; then
4310 ac_cv_prog_CC="$CC" # Let the user override the test.
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4320 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 if test -n "$CC"; then
4331 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4332 $as_echo "$CC" >&6; }
4334 { $as_echo "$as_me:$LINENO: result: no" >&5
4335 $as_echo "no" >&6; }
4340 if test -z "$ac_cv_prog_CC"; then
4342 # Extract the first word of "gcc", so it can be a program name with args.
4343 set dummy gcc; ac_word=$2
4344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4345 $as_echo_n "checking for $ac_word... " >&6; }
4346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4347 $as_echo_n "(cached) " >&6
4349 if test -n "$ac_ct_CC"; then
4350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_ac_ct_CC="gcc"
4360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4370 if test -n "$ac_ct_CC"; then
4371 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4372 $as_echo "$ac_ct_CC" >&6; }
4374 { $as_echo "$as_me:$LINENO: result: no" >&5
4375 $as_echo "no" >&6; }
4378 if test "x$ac_ct_CC" = x; then
4381 case $cross_compiling:$ac_tool_warned in
4383 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4385 ac_tool_warned=yes ;;
4393 if test -z "$CC"; then
4394 if test -n "$ac_tool_prefix"; then
4395 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4396 set dummy ${ac_tool_prefix}cc; ac_word=$2
4397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if test "${ac_cv_prog_CC+set}" = set; then
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$CC"; then
4403 ac_cv_prog_CC="$CC" # Let the user override the test.
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_prog_CC="${ac_tool_prefix}cc"
4413 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 if test -n "$CC"; then
4424 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4425 $as_echo "$CC" >&6; }
4427 { $as_echo "$as_me:$LINENO: result: no" >&5
4428 $as_echo "no" >&6; }
4434 if test -z "$CC"; then
4435 # Extract the first word of "cc", so it can be a program name with args.
4436 set dummy cc; ac_word=$2
4437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CC+set}" = set; then
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$CC"; then
4443 ac_cv_prog_CC="$CC" # Let the user override the test.
4446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir=.
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4454 ac_prog_rejected=yes
4458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 if test $ac_prog_rejected = yes; then
4466 # We found a bogon in the path, so make sure we never use it.
4467 set dummy $ac_cv_prog_CC
4469 if test $# != 0; then
4470 # We chose a different compiler from the bogus one.
4471 # However, it has the same basename, so the bogon will be chosen
4472 # first if we set CC to just the basename; use the full file name.
4474 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4480 if test -n "$CC"; then
4481 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4482 $as_echo "$CC" >&6; }
4484 { $as_echo "$as_me:$LINENO: result: no" >&5
4485 $as_echo "no" >&6; }
4490 if test -z "$CC"; then
4491 if test -n "$ac_tool_prefix"; then
4492 for ac_prog in cl.exe
4494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4496 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if test "${ac_cv_prog_CC+set}" = set; then
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$CC"; then
4502 ac_cv_prog_CC="$CC" # Let the user override the test.
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4512 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 if test -n "$CC"; then
4523 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4524 $as_echo "$CC" >&6; }
4526 { $as_echo "$as_me:$LINENO: result: no" >&5
4527 $as_echo "no" >&6; }
4531 test -n "$CC" && break
4534 if test -z "$CC"; then
4536 for ac_prog in cl.exe
4538 # Extract the first word of "$ac_prog", so it can be a program name with args.
4539 set dummy $ac_prog; ac_word=$2
4540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$ac_ct_CC"; then
4546 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_ac_ct_CC="$ac_prog"
4556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4566 if test -n "$ac_ct_CC"; then
4567 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4568 $as_echo "$ac_ct_CC" >&6; }
4570 { $as_echo "$as_me:$LINENO: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$ac_ct_CC" && break
4578 if test "x$ac_ct_CC" = x; then
4581 case $cross_compiling:$ac_tool_warned in
4583 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585 ac_tool_warned=yes ;;
4594 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
4597 See \
`config.log' for more details." >&5
4598 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4599 See \`config.log
' for more details." >&2;}
4600 { (exit 1); exit 1; }; }; }
4602 # Provide some information about the compiler.
4603 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4606 { (ac_try="$ac_compiler --version >&5"
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4611 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4612 $as_echo "$ac_try_echo") >&5
4613 (eval "$ac_compiler --version >&5") 2>&5
4615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }
4617 { (ac_try="$ac_compiler -v >&5"
4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4620 *) ac_try_echo=$ac_try;;
4622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4623 $as_echo "$ac_try_echo") >&5
4624 (eval "$ac_compiler -v >&5") 2>&5
4626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }
4628 { (ac_try="$ac_compiler -V >&5"
4630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631 *) ac_try_echo=$ac_try;;
4633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4634 $as_echo "$ac_try_echo") >&5
4635 (eval "$ac_compiler -V >&5") 2>&5
4637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }
4640 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4641 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4642 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4643 $as_echo_n "(cached) " >&6
4645 cat >conftest.$ac_ext <<_ACEOF
4648 cat confdefs.h >>conftest.$ac_ext
4649 cat >>conftest.$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4663 rm -f conftest.$ac_objext
4664 if { (ac_try="$ac_compile"
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4670 $as_echo "$ac_try_echo") >&5
4671 (eval "$ac_compile") 2>conftest.er1
4673 grep -v '^
*+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest.$ac_objext; then
4683 $as_echo "$as_me: failed program was:" >&5
4684 sed 's
/^
/|
/' conftest.$ac_ext >&5
4689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4693 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4694 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4695 if test $ac_compiler_gnu = yes; then
4700 ac_test_CFLAGS=${CFLAGS+set}
4701 ac_save_CFLAGS=$CFLAGS
4702 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4703 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4704 if test "${ac_cv_prog_cc_g+set}" = set; then
4705 $as_echo_n "(cached) " >&6
4707 ac_save_c_werror_flag=$ac_c_werror_flag
4708 ac_c_werror_flag=yes
4711 cat >conftest.$ac_ext <<_ACEOF
4714 cat confdefs.h >>conftest.$ac_ext
4715 cat >>conftest.$ac_ext <<_ACEOF
4716 /* end confdefs.h. */
4726 rm -f conftest.$ac_objext
4727 if { (ac_try="$ac_compile"
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4733 $as_echo "$ac_try_echo") >&5
4734 (eval "$ac_compile") 2>conftest.er1
4736 grep -v '^
*+' conftest.er1 >conftest.err
4738 cat conftest.err >&5
4739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } && {
4741 test -z "$ac_c_werror_flag" ||
4742 test ! -s conftest.err
4743 } && test -s conftest.$ac_objext; then
4746 $as_echo "$as_me: failed program was:" >&5
4747 sed 's
/^
/|
/' conftest.$ac_ext >&5
4750 cat >conftest.$ac_ext <<_ACEOF
4753 cat confdefs.h >>conftest.$ac_ext
4754 cat >>conftest.$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4765 rm -f conftest.$ac_objext
4766 if { (ac_try="$ac_compile"
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4772 $as_echo "$ac_try_echo") >&5
4773 (eval "$ac_compile") 2>conftest.er1
4775 grep -v '^
*+' conftest.er1 >conftest.err
4777 cat conftest.err >&5
4778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } && {
4780 test -z "$ac_c_werror_flag" ||
4781 test ! -s conftest.err
4782 } && test -s conftest.$ac_objext; then
4785 $as_echo "$as_me: failed program was:" >&5
4786 sed 's
/^
/|
/' conftest.$ac_ext >&5
4788 ac_c_werror_flag=$ac_save_c_werror_flag
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4805 rm -f conftest.$ac_objext
4806 if { (ac_try="$ac_compile"
4808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809 *) ac_try_echo=$ac_try;;
4811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4812 $as_echo "$ac_try_echo") >&5
4813 (eval "$ac_compile") 2>conftest.er1
4815 grep -v '^
*+' conftest.er1 >conftest.err
4817 cat conftest.err >&5
4818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } && {
4820 test -z "$ac_c_werror_flag" ||
4821 test ! -s conftest.err
4822 } && test -s conftest.$ac_objext; then
4825 $as_echo "$as_me: failed program was:" >&5
4826 sed 's
/^
/|
/' conftest.$ac_ext >&5
4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 ac_c_werror_flag=$ac_save_c_werror_flag
4840 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4841 $as_echo "$ac_cv_prog_cc_g" >&6; }
4842 if test "$ac_test_CFLAGS" = set; then
4843 CFLAGS=$ac_save_CFLAGS
4844 elif test $ac_cv_prog_cc_g = yes; then
4845 if test "$GCC" = yes; then
4851 if test "$GCC" = yes; then
4857 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4858 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4859 if test "${ac_cv_prog_cc_c89+set}" = set; then
4860 $as_echo_n "(cached) " >&6
4862 ac_cv_prog_cc_c89=no
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4872 #include <sys/types.h>
4873 #include <sys/stat.h>
4874 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4875 struct buf
{ int x
; };
4876 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4877 static char
*e
(p
, i
)
4883 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4888 s
= g
(p
, va_arg
(v
,int
));
4893 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4894 function prototypes and stuff
, but not
'\xHH' hex character constants.
4895 These don
't provoke an error unfortunately, instead are silently treated
4896 as 'x
'. The following induces an error, until -std is added to get
4897 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4898 array size at least. It's necessary to
write '\x00'==0 to get something
4899 that
's true only with -std. */
4900 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4902 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4903 inside strings and character constants. */
4905 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4907 int test (int i, double x);
4908 struct s1 {int (*f) (int a);};
4909 struct s2 {int (*f) (double a);};
4910 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4916 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4922 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4924 CC="$ac_save_CC $ac_arg"
4925 rm -f conftest.$ac_objext
4926 if { (ac_try="$ac_compile"
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4932 $as_echo "$ac_try_echo") >&5
4933 (eval "$ac_compile") 2>conftest.er1
4935 grep -v '^
*+' conftest.er1 >conftest.err
4937 cat conftest.err >&5
4938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); } && {
4940 test -z "$ac_c_werror_flag" ||
4941 test ! -s conftest.err
4942 } && test -s conftest.$ac_objext; then
4943 ac_cv_prog_cc_c89=$ac_arg
4945 $as_echo "$as_me: failed program was:" >&5
4946 sed 's
/^
/|
/' conftest.$ac_ext >&5
4951 rm -f core conftest.err conftest.$ac_objext
4952 test "x$ac_cv_prog_cc_c89" != "xno" && break
4954 rm -f conftest.$ac_ext
4959 case "x$ac_cv_prog_cc_c89" in
4961 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4962 $as_echo "none needed" >&6; } ;;
4964 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4965 $as_echo "unsupported" >&6; } ;;
4967 CC="$CC $ac_cv_prog_cc_c89"
4968 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4969 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4974 ac_cpp='$CPP $CPPFLAGS'
4975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4976 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979 depcc="$CC" am_compiler_list=
4981 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4982 $as_echo_n "checking dependency style of $depcc... " >&6; }
4983 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4984 $as_echo_n "(cached) " >&6
4986 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4987 # We make a subdir and do the tests there. Otherwise we can end up
4988 # making bogus files that we don't know about and never remove. For
4989 # instance it was reported that on HP-UX the gcc test will end up
4990 # making a dummy file named `D' -- because `-MD' means `put the output
4993 # Copy depcomp to subdir because otherwise we won't find it if we're
4994 # using a relative directory.
4995 cp "$am_depcomp" conftest.dir
4997 # We will build objects and dependencies in a subdirectory because
4998 # it helps to detect inapplicable dependency modes. For instance
4999 # both Tru64's cc and ICC support -MD to output dependencies as a
5000 # side effect of compilation, but ICC will put the dependencies in
5001 # the current directory while Tru64 will put them in the object
5005 am_cv_CC_dependencies_compiler_type
=none
5006 if test "$am_compiler_list" = ""; then
5007 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5009 for depmode
in $am_compiler_list; do
5010 # Setup a source with many dependencies, because some compilers
5011 # like to wrap large dependency lists on column 80 (with \), and
5012 # we should not choose a depcomp mode which is confused by this.
5014 # We need to recreate these files for each test, as the compiler may
5015 # overwrite some of them when testing with obscure command lines.
5016 # This happens at least with the AIX C compiler.
5018 for i
in 1 2 3 4 5 6; do
5019 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5020 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5021 # Solaris 8's {/usr,}/bin/sh.
5022 touch sub
/conftst
$i.h
5024 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5028 # after this tag, mechanisms are not by side-effect, so they'll
5029 # only be used when explicitly requested
5030 if test "x$enable_dependency_tracking" = xyes
; then
5038 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5039 # mode. It turns out that the SunPro C++ compiler does not properly
5040 # handle `-M -o', and we need to detect this.
5041 if depmode
=$depmode \
5042 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5043 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5044 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5045 >/dev
/null
2>conftest.err
&&
5046 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5047 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5048 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5049 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5050 # icc doesn't choke on unknown options, it will just issue warnings
5051 # or remarks (even with -Werror). So we grep stderr for any message
5052 # that says an option was ignored or not supported.
5053 # When given -MP, icc 7.0 and 7.1 complain thusly:
5054 # icc: Command line warning: ignoring option '-M'; no argument required
5055 # The diagnosis changed in icc 8.0:
5056 # icc: Command line remark: option '-MP' not supported
5057 if (grep 'ignoring option' conftest.err ||
5058 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5059 am_cv_CC_dependencies_compiler_type
=$depmode
5068 am_cv_CC_dependencies_compiler_type
=none
5072 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5073 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5074 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5077 test "x$enable_dependency_tracking" != xno \
5078 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5080 am__fastdepCC_FALSE
='#'
5082 am__fastdepCC_TRUE
='#'
5083 am__fastdepCC_FALSE
=
5087 for ac_prog
in 'bison -y' byacc
5089 # Extract the first word of "$ac_prog", so it can be a program name with args.
5090 set dummy
$ac_prog; ac_word
=$2
5091 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_YACC+set}" = set; then
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$YACC"; then
5097 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_YACC
="$ac_prog"
5107 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 YACC
=$ac_cv_prog_YACC
5117 if test -n "$YACC"; then
5118 { $as_echo "$as_me:$LINENO: result: $YACC" >&5
5119 $as_echo "$YACC" >&6; }
5121 { $as_echo "$as_me:$LINENO: result: no" >&5
5122 $as_echo "no" >&6; }
5126 test -n "$YACC" && break
5128 test -n "$YACC" || YACC
="yacc"
5130 for ac_prog
in flex
lex
5132 # Extract the first word of "$ac_prog", so it can be a program name with args.
5133 set dummy
$ac_prog; ac_word
=$2
5134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_LEX+set}" = set; then
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$LEX"; then
5140 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_LEX
="$ac_prog"
5150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 if test -n "$LEX"; then
5161 { $as_echo "$as_me:$LINENO: result: $LEX" >&5
5162 $as_echo "$LEX" >&6; }
5164 { $as_echo "$as_me:$LINENO: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$LEX" && break
5171 test -n "$LEX" || LEX
=":"
5173 if test "x$LEX" != "x:"; then
5174 cat >conftest.l
<<_ACEOF
5180 e { yyless (input () != 0); }
5181 f { unput (yytext[0]); }
5182 . { BEGIN INITIAL; }
5184 #ifdef YYTEXT_POINTER
5185 extern char *yytext;
5190 return ! yylex () + ! yywrap ();
5193 { (ac_try
="$LEX conftest.l"
5195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5196 *) ac_try_echo=$ac_try;;
5198 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5199 $as_echo "$ac_try_echo") >&5
5200 (eval "$LEX conftest.l") 2>&5
5202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); }
5204 { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
5205 $as_echo_n "checking lex output file root... " >&6; }
5206 if test "${ac_cv_prog_lex_root+set}" = set; then
5207 $as_echo_n "(cached) " >&6
5210 if test -f lex.yy.c; then
5211 ac_cv_prog_lex_root=lex.yy
5212 elif test -f lexyy.c; then
5213 ac_cv_prog_lex_root=lexyy
5215 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5216 $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5217 { (exit 1); exit 1; }; }
5220 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5221 $as_echo "$ac_cv_prog_lex_root" >&6; }
5222 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5224 if test -z "${LEXLIB+set}"; then
5225 { $as_echo "$as_me:$LINENO: checking lex library" >&5
5226 $as_echo_n "checking lex library... " >&6; }
5227 if test "${ac_cv_lib_lex+set}" = set; then
5228 $as_echo_n "(cached) " >&6
5232 ac_cv_lib_lex='none needed'
5233 for ac_lib in '' -lfl -ll; do
5234 LIBS="$ac_lib $ac_save_LIBS"
5235 cat >conftest.$ac_ext <<_ACEOF
5236 `cat $LEX_OUTPUT_ROOT.c
`
5238 rm -f conftest.$ac_objext conftest$ac_exeext
5239 if { (ac_try="$ac_link"
5241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5242 *) ac_try_echo
=$ac_try;;
5244 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5245 $as_echo "$ac_try_echo") >&5
5246 (eval "$ac_link") 2>conftest.er1
5248 grep -v '^ *+' conftest.er1
>conftest.err
5250 cat conftest.err
>&5
5251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); } && {
5253 test -z "$ac_c_werror_flag" ||
5254 test ! -s conftest.err
5255 } && test -s conftest
$ac_exeext && {
5256 test "$cross_compiling" = yes ||
5257 $as_test_x conftest
$ac_exeext
5259 ac_cv_lib_lex
=$ac_lib
5261 $as_echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.
$ac_ext >&5
5267 rm -rf conftest.dSYM
5268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5269 conftest
$ac_exeext conftest.
$ac_ext
5270 test "$ac_cv_lib_lex" != 'none needed' && break
5275 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5276 $as_echo "$ac_cv_lib_lex" >&6; }
5277 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
5281 { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5282 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5283 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5284 $as_echo_n "(cached) " >&6
5286 # POSIX says lex can declare yytext either as a pointer or an array; the
5287 # default is implementation-dependent. Figure out which it is, since
5288 # not all implementations provide the %pointer and %array declarations.
5289 ac_cv_prog_lex_yytext_pointer
=no
5291 LIBS
="$LEXLIB $ac_save_LIBS"
5292 cat >conftest.
$ac_ext <<_ACEOF
5293 #define YYTEXT_POINTER 1
5294 `cat $LEX_OUTPUT_ROOT.c`
5296 rm -f conftest.
$ac_objext conftest
$ac_exeext
5297 if { (ac_try
="$ac_link"
5299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5303 $as_echo "$ac_try_echo") >&5
5304 (eval "$ac_link") 2>conftest.er1
5306 grep -v '^ *+' conftest.er1 >conftest.err
5308 cat conftest.err >&5
5309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } && {
5311 test -z "$ac_c_werror_flag" ||
5312 test ! -s conftest.err
5313 } && test -s conftest$ac_exeext && {
5314 test "$cross_compiling" = yes ||
5315 $as_test_x conftest$ac_exeext
5317 ac_cv_prog_lex_yytext_pointer=yes
5319 $as_echo "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5325 rm -rf conftest.dSYM
5326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5327 conftest$ac_exeext conftest.$ac_ext
5331 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5332 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5333 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5335 cat >>confdefs.h <<\_ACEOF
5336 #define YYTEXT_POINTER 1
5340 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5343 if test "$LEX" = :; then
5344 LEX=${am_missing_run}flex
5346 # Find a good install program. We prefer a C program (faster),
5347 # so one script is as good as another. But avoid the broken or
5348 # incompatible versions:
5349 # SysV /etc/install, /usr/sbin/install
5350 # SunOS /usr/etc/install
5351 # IRIX /sbin/install
5353 # AmigaOS /C/install, which installs bootblocks on floppy discs
5354 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5357 # OS/2's system install, which has a completely different semantic
5358 # ./install, which can be erroneously created by make from ./install.sh.
5359 # Reject install programs that cannot install multiple files.
5360 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5361 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5362 if test -z "$INSTALL"; then
5363 if test "${ac_cv_path_install+set}" = set; then
5364 $as_echo_n "(cached) " >&6
5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir=.
5371 # Account for people who put trailing slashes in PATH elements.
5373 ./ | .// | /cC/* | \
5374 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5375 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5378 # OSF1 and SCO ODT 3.0 have their own names for install.
5379 # Don't use installbsd from OSF since it installs stuff as root
5381 for ac_prog in ginstall scoinst install; do
5382 for ac_exec_ext in '' $ac_executable_extensions; do
5383 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5384 if test $ac_prog = install &&
5385 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5386 # AIX install. It has an incompatible calling convention.
5388 elif test $ac_prog = install &&
5389 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5390 # program-specific install script used by HP pwplus--don't use.
5393 rm -rf conftest.one conftest.two conftest.dir
5394 echo one > conftest.one
5395 echo two > conftest.two
5397 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5398 test -s conftest.one && test -s conftest.two &&
5399 test -s conftest.dir/conftest.one &&
5400 test -s conftest.dir/conftest.two
5402 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5415 rm -rf conftest.one conftest.two conftest.dir
5418 if test "${ac_cv_path_install+set}" = set; then
5419 INSTALL=$ac_cv_path_install
5421 # As a last resort, use the slow shell script. Don't cache a
5422 # value for INSTALL within a source directory, because that will
5423 # break other packages using the cache if that directory is
5424 # removed, or if the value is a relative name.
5425 INSTALL=$ac_install_sh
5428 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5429 $as_echo "$INSTALL" >&6; }
5431 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5432 # It thinks the first close brace ends the variable substitution.
5433 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5435 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5437 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5439 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5440 $as_echo_n "checking whether ln -s works... " >&6; }
5442 if test "$LN_S" = "ln -s"; then
5443 { $as_echo "$as_me:$LINENO: result: yes" >&5
5444 $as_echo "yes" >&6; }
5446 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5447 $as_echo "no, using $LN_S" >&6; }
5452 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5453 $as_echo_n "checking for ANSI C header files... " >&6; }
5454 if test "${ac_cv_header_stdc+set}" = set; then
5455 $as_echo_n "(cached) " >&6
5457 cat >conftest.$ac_ext <<_ACEOF
5460 cat confdefs.h >>conftest.$ac_ext
5461 cat >>conftest.$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5476 rm -f conftest.$ac_objext
5477 if { (ac_try="$ac_compile"
5479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5480 *) ac_try_echo
=$ac_try;;
5482 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5483 $as_echo "$ac_try_echo") >&5
5484 (eval "$ac_compile") 2>conftest.er1
5486 grep -v '^ *+' conftest.er1
>conftest.err
5488 cat conftest.err
>&5
5489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && {
5491 test -z "$ac_c_werror_flag" ||
5492 test ! -s conftest.err
5493 } && test -s conftest.
$ac_objext; then
5494 ac_cv_header_stdc
=yes
5496 $as_echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.
$ac_ext >&5
5499 ac_cv_header_stdc
=no
5502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 if test $ac_cv_header_stdc = yes; then
5505 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5506 cat >conftest.
$ac_ext <<_ACEOF
5509 cat confdefs.h
>>conftest.
$ac_ext
5510 cat >>conftest.
$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5516 $EGREP "memchr" >/dev
/null
2>&1; then
5519 ac_cv_header_stdc
=no
5525 if test $ac_cv_header_stdc = yes; then
5526 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5527 cat >conftest.
$ac_ext <<_ACEOF
5530 cat confdefs.h
>>conftest.
$ac_ext
5531 cat >>conftest.
$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5537 $EGREP "free" >/dev
/null
2>&1; then
5540 ac_cv_header_stdc
=no
5546 if test $ac_cv_header_stdc = yes; then
5547 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5548 if test "$cross_compiling" = yes; then
5551 cat >conftest.
$ac_ext <<_ACEOF
5554 cat confdefs.h
>>conftest.
$ac_ext
5555 cat >>conftest.
$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5559 #if ((' ' & 0x0FF) == 0x020)
5560 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5561 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5563 # define ISLOWER(c) \
5564 (('a' <= (c) && (c) <= 'i') \
5565 || ('j' <= (c) && (c) <= 'r') \
5566 || ('s' <= (c) && (c) <= 'z'))
5567 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5570 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5575 for (i = 0; i < 256; i++)
5576 if (XOR (islower (i), ISLOWER (i))
5577 || toupper (i) != TOUPPER (i))
5582 rm -f conftest
$ac_exeext
5583 if { (ac_try
="$ac_link"
5585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5586 *) ac_try_echo=$ac_try;;
5588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5589 $as_echo "$ac_try_echo") >&5
5590 (eval "$ac_link") 2>&5
5592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5594 { (case "(($ac_try" in
5595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5596 *) ac_try_echo
=$ac_try;;
5598 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5599 $as_echo "$ac_try_echo") >&5
5600 (eval "$ac_try") 2>&5
5602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5606 $as_echo "$as_me: program exited with status $ac_status" >&5
5607 $as_echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5611 ac_cv_header_stdc
=no
5613 rm -rf conftest.dSYM
5614 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5620 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5621 $as_echo "$ac_cv_header_stdc" >&6; }
5622 if test $ac_cv_header_stdc = yes; then
5624 cat >>confdefs.h
<<\_ACEOF
5625 #define STDC_HEADERS 1
5631 for ac_header
in stddef.h
5633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5634 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5635 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5636 $as_echo_n "checking for $ac_header... " >&6; }
5637 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5638 $as_echo_n "(cached) " >&6
5640 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5641 $as_echo "$as_val"'`
5642 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5643 $as_echo "$ac_res" >&6; }
5645 # Is the header compilable?
5646 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5647 $as_echo_n "checking $ac_header usability... " >&6; }
5648 cat >conftest.
$ac_ext <<_ACEOF
5651 cat confdefs.h
>>conftest.
$ac_ext
5652 cat >>conftest.
$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5654 $ac_includes_default
5655 #include <$ac_header>
5657 rm -f conftest.
$ac_objext
5658 if { (ac_try
="$ac_compile"
5660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5661 *) ac_try_echo=$ac_try;;
5663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5664 $as_echo "$ac_try_echo") >&5
5665 (eval "$ac_compile") 2>conftest.er1
5667 grep -v '^ *+' conftest.er1 >conftest.err
5669 cat conftest.err >&5
5670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); } && {
5672 test -z "$ac_c_werror_flag" ||
5673 test ! -s conftest.err
5674 } && test -s conftest.$ac_objext; then
5675 ac_header_compiler=yes
5677 $as_echo "$as_me: failed program was:" >&5
5678 sed 's/^/| /' conftest.$ac_ext >&5
5680 ac_header_compiler=no
5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5684 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5685 $as_echo "$ac_header_compiler" >&6; }
5687 # Is the header present?
5688 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5689 $as_echo_n "checking $ac_header presence... " >&6; }
5690 cat >conftest.$ac_ext <<_ACEOF
5693 cat confdefs.h >>conftest.$ac_ext
5694 cat >>conftest.$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5696 #include <$ac_header>
5698 if { (ac_try="$ac_cpp conftest.$ac_ext"
5700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5701 *) ac_try_echo
=$ac_try;;
5703 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5704 $as_echo "$ac_try_echo") >&5
5705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5707 grep -v '^ *+' conftest.er1
>conftest.err
5709 cat conftest.err
>&5
5710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); } >/dev
/null
&& {
5712 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5713 test ! -s conftest.err
5715 ac_header_preproc
=yes
5717 $as_echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.
$ac_ext >&5
5720 ac_header_preproc
=no
5723 rm -f conftest.err conftest.
$ac_ext
5724 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5725 $as_echo "$ac_header_preproc" >&6; }
5727 # So? What about this header?
5728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5730 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5731 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5732 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5733 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5734 ac_header_preproc
=yes
5737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5738 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5740 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5742 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5744 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5746 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5748 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5752 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5753 $as_echo_n "checking for $ac_header... " >&6; }
5754 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5755 $as_echo_n "(cached) " >&6
5757 eval "$as_ac_Header=\$ac_header_preproc"
5759 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5760 $as_echo "$as_val"'`
5761 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5762 $as_echo "$ac_res" >&6; }
5765 as_val
=`eval 'as_val=${'$as_ac_Header'}
5766 $as_echo "$as_val"'`
5767 if test "x$as_val" = x
""yes; then
5768 cat >>confdefs.h
<<_ACEOF
5769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5779 for ac_func
in vprintf
5781 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5782 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5783 $as_echo_n "checking for $ac_func... " >&6; }
5784 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5785 $as_echo_n "(cached) " >&6
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5795 #define $ac_func innocuous_$ac_func
5797 /* System header to define __stub macros and hopefully few prototypes,
5798 which can conflict with char $ac_func (); below.
5799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5800 <limits.h> exists even on freestanding compilers. */
5803 # include <limits.h>
5805 # include <assert.h>
5810 /* Override any GCC internal prototype to avoid an error.
5811 Use char because int might match the return type of a GCC
5812 builtin and then its argument prototype would still apply. */
5817 /* The GNU C library defines this for functions which it implements
5818 to always fail with ENOSYS. Some functions are actually named
5819 something starting with __ and the normal name is an alias. */
5820 #if defined __stub_$ac_func || defined __stub___$ac_func
5832 rm -f conftest.
$ac_objext conftest
$ac_exeext
5833 if { (ac_try
="$ac_link"
5835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5839 $as_echo "$ac_try_echo") >&5
5840 (eval "$ac_link") 2>conftest.er1
5842 grep -v '^ *+' conftest.er1 >conftest.err
5844 cat conftest.err >&5
5845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); } && {
5847 test -z "$ac_c_werror_flag" ||
5848 test ! -s conftest.err
5849 } && test -s conftest$ac_exeext && {
5850 test "$cross_compiling" = yes ||
5851 $as_test_x conftest$ac_exeext
5853 eval "$as_ac_var=yes"
5855 $as_echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 eval "$as_ac_var=no"
5861 rm -rf conftest.dSYM
5862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5863 conftest$ac_exeext conftest.$ac_ext
5865 ac_res=`eval 'as_val=${'$as_ac_var'}
5866 $as_echo "$as_val"'`
5867 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5868 $as_echo "$ac_res" >&6; }
5869 as_val=`eval 'as_val=${'$as_ac_var'}
5870 $as_echo "$as_val"'`
5871 if test "x$as_val" = x""yes; then
5872 cat >>confdefs.h <<_ACEOF
5873 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5876 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
5877 $as_echo_n "checking for _doprnt... " >&6; }
5878 if test "${ac_cv_func__doprnt+set}" = set; then
5879 $as_echo_n "(cached) " >&6
5881 cat >conftest.$ac_ext <<_ACEOF
5884 cat confdefs.h >>conftest.$ac_ext
5885 cat >>conftest.$ac_ext <<_ACEOF
5886 /* end confdefs.h. */
5887 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5889 #define _doprnt innocuous__doprnt
5891 /* System header to define __stub macros and hopefully few prototypes,
5892 which can conflict with char _doprnt (); below.
5893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5894 <limits.h> exists even on freestanding compilers. */
5897 # include <limits.h>
5899 # include <assert.h>
5904 /* Override any GCC internal prototype to avoid an error.
5905 Use char because int might match the return type of a GCC
5906 builtin and then its argument prototype would still apply. */
5911 /* The GNU C library defines this for functions which it implements
5912 to always fail with ENOSYS. Some functions are actually named
5913 something starting with __ and the normal name is an alias. */
5914 #if defined __stub__doprnt || defined __stub____doprnt
5926 rm -f conftest.$ac_objext conftest$ac_exeext
5927 if { (ac_try="$ac_link"
5929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5930 *) ac_try_echo
=$ac_try;;
5932 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5933 $as_echo "$ac_try_echo") >&5
5934 (eval "$ac_link") 2>conftest.er1
5936 grep -v '^ *+' conftest.er1
>conftest.err
5938 cat conftest.err
>&5
5939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); } && {
5941 test -z "$ac_c_werror_flag" ||
5942 test ! -s conftest.err
5943 } && test -s conftest
$ac_exeext && {
5944 test "$cross_compiling" = yes ||
5945 $as_test_x conftest
$ac_exeext
5947 ac_cv_func__doprnt
=yes
5949 $as_echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.
$ac_ext >&5
5952 ac_cv_func__doprnt
=no
5955 rm -rf conftest.dSYM
5956 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5957 conftest
$ac_exeext conftest.
$ac_ext
5959 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5960 $as_echo "$ac_cv_func__doprnt" >&6; }
5961 if test "x$ac_cv_func__doprnt" = x
""yes; then
5963 cat >>confdefs.h
<<\_ACEOF
5964 #define HAVE_DOPRNT 1
5974 for ac_header
in stdlib.h
5976 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5977 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5978 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5979 $as_echo_n "checking for $ac_header... " >&6; }
5980 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5981 $as_echo_n "(cached) " >&6
5983 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5984 $as_echo "$as_val"'`
5985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5986 $as_echo "$ac_res" >&6; }
5988 # Is the header compilable?
5989 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5990 $as_echo_n "checking $ac_header usability... " >&6; }
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 $ac_includes_default
5998 #include <$ac_header>
6000 rm -f conftest.
$ac_objext
6001 if { (ac_try
="$ac_compile"
6003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6004 *) ac_try_echo=$ac_try;;
6006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6007 $as_echo "$ac_try_echo") >&5
6008 (eval "$ac_compile") 2>conftest.er1
6010 grep -v '^ *+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } && {
6015 test -z "$ac_c_werror_flag" ||
6016 test ! -s conftest.err
6017 } && test -s conftest.$ac_objext; then
6018 ac_header_compiler=yes
6020 $as_echo "$as_me: failed program was:" >&5
6021 sed 's/^/| /' conftest.$ac_ext >&5
6023 ac_header_compiler=no
6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6027 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6028 $as_echo "$ac_header_compiler" >&6; }
6030 # Is the header present?
6031 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6032 $as_echo_n "checking $ac_header presence... " >&6; }
6033 cat >conftest.$ac_ext <<_ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 #include <$ac_header>
6041 if { (ac_try="$ac_cpp conftest.$ac_ext"
6043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6044 *) ac_try_echo
=$ac_try;;
6046 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6047 $as_echo "$ac_try_echo") >&5
6048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6050 grep -v '^ *+' conftest.er1
>conftest.err
6052 cat conftest.err
>&5
6053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); } >/dev
/null
&& {
6055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6056 test ! -s conftest.err
6058 ac_header_preproc
=yes
6060 $as_echo "$as_me: failed program was:" >&5
6061 sed 's/^/| /' conftest.
$ac_ext >&5
6063 ac_header_preproc
=no
6066 rm -f conftest.err conftest.
$ac_ext
6067 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6068 $as_echo "$ac_header_preproc" >&6; }
6070 # So? What about this header?
6071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6074 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6076 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6077 ac_header_preproc
=yes
6080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6081 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6083 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6084 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6085 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6087 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6091 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6095 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6096 $as_echo_n "checking for $ac_header... " >&6; }
6097 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6098 $as_echo_n "(cached) " >&6
6100 eval "$as_ac_Header=\$ac_header_preproc"
6102 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6103 $as_echo "$as_val"'`
6104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6105 $as_echo "$ac_res" >&6; }
6108 as_val
=`eval 'as_val=${'$as_ac_Header'}
6109 $as_echo "$as_val"'`
6110 if test "x$as_val" = x
""yes; then
6111 cat >>confdefs.h
<<_ACEOF
6112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6119 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6120 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
6121 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6122 $as_echo_n "(cached) " >&6
6124 if test "$cross_compiling" = yes; then
6125 ac_cv_func_malloc_0_nonnull
=no
6127 cat >conftest.
$ac_ext <<_ACEOF
6130 cat confdefs.h
>>conftest.
$ac_ext
6131 cat >>conftest.
$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6133 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6134 # include <stdlib.h>
6142 return ! malloc (0);
6147 rm -f conftest
$ac_exeext
6148 if { (ac_try
="$ac_link"
6150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6151 *) ac_try_echo=$ac_try;;
6153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6154 $as_echo "$ac_try_echo") >&5
6155 (eval "$ac_link") 2>&5
6157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6159 { (case "(($ac_try" in
6160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6161 *) ac_try_echo
=$ac_try;;
6163 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6164 $as_echo "$ac_try_echo") >&5
6165 (eval "$ac_try") 2>&5
6167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); }; }; then
6169 ac_cv_func_malloc_0_nonnull
=yes
6171 $as_echo "$as_me: program exited with status $ac_status" >&5
6172 $as_echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.
$ac_ext >&5
6176 ac_cv_func_malloc_0_nonnull
=no
6178 rm -rf conftest.dSYM
6179 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6184 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6185 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
6186 if test $ac_cv_func_malloc_0_nonnull = yes; then
6188 cat >>confdefs.h
<<\_ACEOF
6189 #define HAVE_MALLOC 1
6193 cat >>confdefs.h
<<\_ACEOF
6194 #define HAVE_MALLOC 0
6197 case " $LIBOBJS " in
6198 *" malloc.$ac_objext "* ) ;;
6199 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
6204 cat >>confdefs.h
<<\_ACEOF
6205 #define malloc rpl_malloc
6213 for ac_header
in stdlib.h
6215 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6216 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6217 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6218 $as_echo_n "checking for $ac_header... " >&6; }
6219 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6220 $as_echo_n "(cached) " >&6
6222 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6223 $as_echo "$as_val"'`
6224 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6225 $as_echo "$ac_res" >&6; }
6227 # Is the header compilable?
6228 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6229 $as_echo_n "checking $ac_header usability... " >&6; }
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 $ac_includes_default
6237 #include <$ac_header>
6239 rm -f conftest.
$ac_objext
6240 if { (ac_try
="$ac_compile"
6242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6243 *) ac_try_echo=$ac_try;;
6245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6246 $as_echo "$ac_try_echo") >&5
6247 (eval "$ac_compile") 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && {
6254 test -z "$ac_c_werror_flag" ||
6255 test ! -s conftest.err
6256 } && test -s conftest.$ac_objext; then
6257 ac_header_compiler=yes
6259 $as_echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 ac_header_compiler=no
6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6266 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6267 $as_echo "$ac_header_compiler" >&6; }
6269 # Is the header present?
6270 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6271 $as_echo_n "checking $ac_header presence... " >&6; }
6272 cat >conftest.$ac_ext <<_ACEOF
6275 cat confdefs.h >>conftest.$ac_ext
6276 cat >>conftest.$ac_ext <<_ACEOF
6277 /* end confdefs.h. */
6278 #include <$ac_header>
6280 if { (ac_try="$ac_cpp conftest.$ac_ext"
6282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6283 *) ac_try_echo
=$ac_try;;
6285 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6286 $as_echo "$ac_try_echo") >&5
6287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } >/dev
/null
&& {
6294 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6297 ac_header_preproc
=yes
6299 $as_echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_header_preproc
=no
6305 rm -f conftest.err conftest.
$ac_ext
6306 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6307 $as_echo "$ac_header_preproc" >&6; }
6309 # So? What about this header?
6310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6313 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6315 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6316 ac_header_preproc
=yes
6319 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6320 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6321 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6322 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6323 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6324 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6326 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6328 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6330 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6334 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6335 $as_echo_n "checking for $ac_header... " >&6; }
6336 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6337 $as_echo_n "(cached) " >&6
6339 eval "$as_ac_Header=\$ac_header_preproc"
6341 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6342 $as_echo "$as_val"'`
6343 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6344 $as_echo "$ac_res" >&6; }
6347 as_val
=`eval 'as_val=${'$as_ac_Header'}
6348 $as_echo "$as_val"'`
6349 if test "x$as_val" = x
""yes; then
6350 cat >>confdefs.h
<<_ACEOF
6351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6358 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6359 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
6360 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6361 $as_echo_n "(cached) " >&6
6363 if test "$cross_compiling" = yes; then
6364 ac_cv_func_realloc_0_nonnull
=no
6366 cat >conftest.
$ac_ext <<_ACEOF
6369 cat confdefs.h
>>conftest.
$ac_ext
6370 cat >>conftest.
$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6372 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6373 # include <stdlib.h>
6381 return ! realloc (0, 0);
6386 rm -f conftest
$ac_exeext
6387 if { (ac_try
="$ac_link"
6389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6390 *) ac_try_echo=$ac_try;;
6392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6393 $as_echo "$ac_try_echo") >&5
6394 (eval "$ac_link") 2>&5
6396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6398 { (case "(($ac_try" in
6399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6400 *) ac_try_echo
=$ac_try;;
6402 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6403 $as_echo "$ac_try_echo") >&5
6404 (eval "$ac_try") 2>&5
6406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_cv_func_realloc_0_nonnull
=yes
6410 $as_echo "$as_me: program exited with status $ac_status" >&5
6411 $as_echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.
$ac_ext >&5
6415 ac_cv_func_realloc_0_nonnull
=no
6417 rm -rf conftest.dSYM
6418 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6423 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6424 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
6425 if test $ac_cv_func_realloc_0_nonnull = yes; then
6427 cat >>confdefs.h
<<\_ACEOF
6428 #define HAVE_REALLOC 1
6432 cat >>confdefs.h
<<\_ACEOF
6433 #define HAVE_REALLOC 0
6436 case " $LIBOBJS " in
6437 *" realloc.$ac_objext "* ) ;;
6438 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
6443 cat >>confdefs.h
<<\_ACEOF
6444 #define realloc rpl_realloc
6452 for ac_func
in strtol
6454 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6455 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6456 $as_echo_n "checking for $ac_func... " >&6; }
6457 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6458 $as_echo_n "(cached) " >&6
6460 cat >conftest.
$ac_ext <<_ACEOF
6463 cat confdefs.h
>>conftest.
$ac_ext
6464 cat >>conftest.
$ac_ext <<_ACEOF
6465 /* end confdefs.h. */
6466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6468 #define $ac_func innocuous_$ac_func
6470 /* System header to define __stub macros and hopefully few prototypes,
6471 which can conflict with char $ac_func (); below.
6472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6473 <limits.h> exists even on freestanding compilers. */
6476 # include <limits.h>
6478 # include <assert.h>
6483 /* Override any GCC internal prototype to avoid an error.
6484 Use char because int might match the return type of a GCC
6485 builtin and then its argument prototype would still apply. */
6490 /* The GNU C library defines this for functions which it implements
6491 to always fail with ENOSYS. Some functions are actually named
6492 something starting with __ and the normal name is an alias. */
6493 #if defined __stub_$ac_func || defined __stub___$ac_func
6505 rm -f conftest.
$ac_objext conftest
$ac_exeext
6506 if { (ac_try
="$ac_link"
6508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6509 *) ac_try_echo=$ac_try;;
6511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6512 $as_echo "$ac_try_echo") >&5
6513 (eval "$ac_link") 2>conftest.er1
6515 grep -v '^ *+' conftest.er1 >conftest.err
6517 cat conftest.err >&5
6518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } && {
6520 test -z "$ac_c_werror_flag" ||
6521 test ! -s conftest.err
6522 } && test -s conftest$ac_exeext && {
6523 test "$cross_compiling" = yes ||
6524 $as_test_x conftest$ac_exeext
6526 eval "$as_ac_var=yes"
6528 $as_echo "$as_me: failed program was:" >&5
6529 sed 's/^/| /' conftest.$ac_ext >&5
6531 eval "$as_ac_var=no"
6534 rm -rf conftest.dSYM
6535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6536 conftest$ac_exeext conftest.$ac_ext
6538 ac_res=`eval 'as_val=${'$as_ac_var'}
6539 $as_echo "$as_val"'`
6540 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6541 $as_echo "$ac_res" >&6; }
6542 as_val=`eval 'as_val=${'$as_ac_var'}
6543 $as_echo "$as_val"'`
6544 if test "x$as_val" = x""yes; then
6545 cat >>confdefs.h <<_ACEOF
6546 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6553 for ac_func in strchr
6555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6556 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6557 $as_echo_n "checking for $ac_func... " >&6; }
6558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6559 $as_echo_n "(cached) " >&6
6561 cat >conftest.$ac_ext <<_ACEOF
6564 cat confdefs.h >>conftest.$ac_ext
6565 cat >>conftest.$ac_ext <<_ACEOF
6566 /* end confdefs.h. */
6567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6569 #define $ac_func innocuous_$ac_func
6571 /* System header to define __stub macros and hopefully few prototypes,
6572 which can conflict with char $ac_func (); below.
6573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6574 <limits.h> exists even on freestanding compilers. */
6577 # include <limits.h>
6579 # include <assert.h>
6584 /* Override any GCC internal prototype to avoid an error.
6585 Use char because int might match the return type of a GCC
6586 builtin and then its argument prototype would still apply. */
6591 /* The GNU C library defines this for functions which it implements
6592 to always fail with ENOSYS. Some functions are actually named
6593 something starting with __ and the normal name is an alias. */
6594 #if defined __stub_$ac_func || defined __stub___$ac_func
6606 rm -f conftest.$ac_objext conftest$ac_exeext
6607 if { (ac_try="$ac_link"
6609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6610 *) ac_try_echo
=$ac_try;;
6612 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6613 $as_echo "$ac_try_echo") >&5
6614 (eval "$ac_link") 2>conftest.er1
6616 grep -v '^ *+' conftest.er1
>conftest.err
6618 cat conftest.err
>&5
6619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } && {
6621 test -z "$ac_c_werror_flag" ||
6622 test ! -s conftest.err
6623 } && test -s conftest
$ac_exeext && {
6624 test "$cross_compiling" = yes ||
6625 $as_test_x conftest
$ac_exeext
6627 eval "$as_ac_var=yes"
6629 $as_echo "$as_me: failed program was:" >&5
6630 sed 's/^/| /' conftest.
$ac_ext >&5
6632 eval "$as_ac_var=no"
6635 rm -rf conftest.dSYM
6636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6637 conftest
$ac_exeext conftest.
$ac_ext
6639 ac_res
=`eval 'as_val=${'$as_ac_var'}
6640 $as_echo "$as_val"'`
6641 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6642 $as_echo "$ac_res" >&6; }
6643 as_val
=`eval 'as_val=${'$as_ac_var'}
6644 $as_echo "$as_val"'`
6645 if test "x$as_val" = x
""yes; then
6646 cat >>confdefs.h
<<_ACEOF
6647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6654 for ac_func
in strrchr
6656 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6657 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6658 $as_echo_n "checking for $ac_func... " >&6; }
6659 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6660 $as_echo_n "(cached) " >&6
6662 cat >conftest.
$ac_ext <<_ACEOF
6665 cat confdefs.h
>>conftest.
$ac_ext
6666 cat >>conftest.
$ac_ext <<_ACEOF
6667 /* end confdefs.h. */
6668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6670 #define $ac_func innocuous_$ac_func
6672 /* System header to define __stub macros and hopefully few prototypes,
6673 which can conflict with char $ac_func (); below.
6674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6675 <limits.h> exists even on freestanding compilers. */
6678 # include <limits.h>
6680 # include <assert.h>
6685 /* Override any GCC internal prototype to avoid an error.
6686 Use char because int might match the return type of a GCC
6687 builtin and then its argument prototype would still apply. */
6692 /* The GNU C library defines this for functions which it implements
6693 to always fail with ENOSYS. Some functions are actually named
6694 something starting with __ and the normal name is an alias. */
6695 #if defined __stub_$ac_func || defined __stub___$ac_func
6707 rm -f conftest.
$ac_objext conftest
$ac_exeext
6708 if { (ac_try
="$ac_link"
6710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6711 *) ac_try_echo=$ac_try;;
6713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6714 $as_echo "$ac_try_echo") >&5
6715 (eval "$ac_link") 2>conftest.er1
6717 grep -v '^ *+' conftest.er1 >conftest.err
6719 cat conftest.err >&5
6720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } && {
6722 test -z "$ac_c_werror_flag" ||
6723 test ! -s conftest.err
6724 } && test -s conftest$ac_exeext && {
6725 test "$cross_compiling" = yes ||
6726 $as_test_x conftest$ac_exeext
6728 eval "$as_ac_var=yes"
6730 $as_echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.$ac_ext >&5
6733 eval "$as_ac_var=no"
6736 rm -rf conftest.dSYM
6737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6738 conftest$ac_exeext conftest.$ac_ext
6740 ac_res=`eval 'as_val=${'$as_ac_var'}
6741 $as_echo "$as_val"'`
6742 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6743 $as_echo "$ac_res" >&6; }
6744 as_val=`eval 'as_val=${'$as_ac_var'}
6745 $as_echo "$as_val"'`
6746 if test "x$as_val" = x""yes; then
6747 cat >>confdefs.h <<_ACEOF
6748 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6755 ac_config_files="$ac_config_files Makefile"
6757 cat >confcache <<\_ACEOF
6758 # This file is a shell script that caches the results of configure
6759 # tests run on this system so they can be shared between configure
6760 # scripts and configure runs, see configure's option --config-cache.
6761 # It is not useful on other systems. If it contains results you don't
6762 # want to keep, you may remove or edit it.
6764 # config.status only pays attention to the cache file if you give it
6765 # the --recheck option to rerun configure.
6767 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
6768 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6773 # The following way of writing the cache mishandles newlines in values,
6774 # but we know of no workaround that is simple, portable, and efficient.
6775 # So, we kill variables containing newlines.
6776 # Ultrix sh set writes to stderr and can't be redirected directly,
6777 # and sets the high bit in the cache file unless we assign to the vars.
6779 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6780 eval ac_val
=\$
$ac_var
6784 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6785 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6788 _ | IFS | as_nl
) ;; #(
6789 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6790 *) $as_unset $ac_var ;;
6796 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6797 *${as_nl}ac_space
=\
*)
6798 # `set' does not quote correctly, so add quotes (double-quote
6799 # substitution turns \\\\ into \\, and sed turns \\ into \).
6802 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6805 # `set' quotes correctly as required by POSIX, so do not add quotes.
6806 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6815 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6817 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6819 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6820 if test -w "$cache_file"; then
6821 test "x$cache_file" != "x/dev/null" &&
6822 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6823 $as_echo "$as_me: updating cache $cache_file" >&6;}
6824 cat confcache
>$cache_file
6826 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6827 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6832 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6833 # Let make expand exec_prefix.
6834 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6836 DEFS
=-DHAVE_CONFIG_H
6840 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6841 # 1. Remove the extension, and $U if already installed.
6842 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6843 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6844 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6845 # will be set to the directory where LIBOBJS objects are built.
6846 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6847 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6851 LTLIBOBJS
=$ac_ltlibobjs
6854 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6855 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6856 Usually this means the macro was only invoked conditionally." >&5
6857 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6858 Usually this means the macro was only invoked conditionally." >&2;}
6859 { (exit 1); exit 1; }; }
6861 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6862 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6863 Usually this means the macro was only invoked conditionally." >&5
6864 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6865 Usually this means the macro was only invoked conditionally." >&2;}
6866 { (exit 1); exit 1; }; }
6868 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6869 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6870 Usually this means the macro was only invoked conditionally." >&5
6871 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6872 Usually this means the macro was only invoked conditionally." >&2;}
6873 { (exit 1); exit 1; }; }
6876 : ${CONFIG_STATUS=./config.status}
6878 ac_clean_files_save
=$ac_clean_files
6879 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6880 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6881 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6882 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6884 # Generated by $as_me.
6885 # Run this file to recreate the current configuration.
6886 # Compiler output produced by configure, useful for debugging
6887 # configure, is in config.log if it exists.
6892 SHELL=\${CONFIG_SHELL-$SHELL}
6895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6896 ## --------------------- ##
6897 ## M4sh Initialization. ##
6898 ## --------------------- ##
6900 # Be more Bourne compatible
6901 DUALCASE
=1; export DUALCASE
# for MKS sh
6902 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6905 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6906 # is contrary to our usage. Disable this feature.
6907 alias -g '${1+"$@"}'='"$@"'
6908 setopt NO_GLOB_SUBST
6910 case `(set -o) 2>/dev/null` in
6911 *posix
*) set -o posix
;;
6920 # Avoid depending upon Character Ranges.
6921 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6922 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6923 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6924 as_cr_digits
='0123456789'
6925 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6930 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6931 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6932 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6934 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6935 as_echo='printf %s
\n'
6936 as_echo_n='printf %s
'
6938 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6939 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6940 as_echo_n='/usr
/ucb
/echo -n'
6942 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6943 as_echo_n_body='eval
6947 expr "X$arg" : "X\\(.*\\)$as_nl";
6948 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6950 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6952 export as_echo_n_body
6953 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6956 as_echo='sh
-c $as_echo_body as_echo
'
6959 # The user is always right.
6960 if test "${PATH_SEPARATOR+set}" != set; then
6962 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6963 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6968 # Support unset when possible.
6969 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6977 # We need space, tab and new line, in precisely that order. Quoting is
6978 # there to prevent editors from complaining about space-tab.
6979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6980 # splitting by setting IFS to empty value.)
6983 # Find who we are. Look in the path if we contain no directory separator.
6985 *[\\/]* ) as_myself=$0 ;;
6986 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir=.
6991 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6997 # We did not find ourselves, most probably we were run as `sh COMMAND'
6998 # in which case we are not to be found in the path.
6999 if test "x$as_myself" = x
; then
7002 if test ! -f "$as_myself"; then
7003 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7004 { (exit 1); exit 1; }
7007 # Work around bugs in pre-3.0 UWIN ksh.
7008 for as_var
in ENV MAIL MAILPATH
7009 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
7021 # Required to use basename.
7022 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7023 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7029 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7030 as_basename
=basename
7036 # Name of the executable.
7037 as_me
=`$as_basename -- "$0" ||
7038 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7039 X"$0" : 'X\(//\)$' \| \
7040 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7042 sed '/^.*\/\([^/][^/]*\)\/*$/{
7063 test "x$as_lineno_1" != "x$as_lineno_2" &&
7064 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
7066 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7067 # uniformly replaced by the line number. The first 'sed' inserts a
7068 # line-number line after each line using $LINENO; the second 'sed'
7069 # does the real work. The second script uses 'N' to pair each
7070 # line-number line with the line containing $LINENO, and appends
7071 # trailing '-' during substitution so that $LINENO is not a special
7073 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7074 # scripts with optimization help from Paolo Bonzini. Blame Lee
7075 # E. McMahon (1931-1989) for sed's syntax. :-)
7087 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7091 chmod +x
"$as_me.lineno" ||
7092 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7093 { (exit 1); exit 1; }; }
7095 # Don't try to exec as it changes $[0], causing all sort of problems
7096 # (the dirname of $[0] is not the place where we might find the
7097 # original and so on. Autoconf is especially sensitive to this).
7099 # Exit status is that of the last command.
7104 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7110 ECHO_C
= ECHO_N
= ECHO_T
=
7113 case `echo 'x\c'` in
7114 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7120 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7121 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7127 rm -f conf$$ conf$$.exe conf$$.
file
7128 if test -d conf$$.dir
; then
7129 rm -f conf$$.dir
/conf$$.
file
7132 mkdir conf$$.dir
2>/dev
/null
7134 if (echo >conf$$.
file) 2>/dev
/null
; then
7135 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7137 # ... but there are two gotchas:
7138 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7139 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7140 # In both cases, we have to default to `cp -p'.
7141 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7143 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7151 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7152 rmdir conf$$.dir
2>/dev
/null
7154 if mkdir
-p .
2>/dev
/null
; then
7157 test -d .
/-p && rmdir .
/-p
7161 if test -x / >/dev
/null
2>&1; then
7164 if ls -dL / >/dev
/null
2>&1; then
7171 if test -d "$1"; then
7177 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7178 ???[sx]*):;;*)false;;esac;fi
7182 as_executable_p
=$as_test_x
7184 # Sed expression to map a string onto a valid CPP name.
7185 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7187 # Sed expression to map a string onto a valid variable name.
7188 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7193 # Save the log message, to keep $[0] and so on meaningful, and to
7194 # report actual input values of CONFIG_FILES etc. instead of their
7195 # values after options handling.
7197 This file was extended by $as_me, which was
7198 generated by GNU Autoconf 2.63. Invocation command line was
7200 CONFIG_FILES = $CONFIG_FILES
7201 CONFIG_HEADERS = $CONFIG_HEADERS
7202 CONFIG_LINKS = $CONFIG_LINKS
7203 CONFIG_COMMANDS = $CONFIG_COMMANDS
7206 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7211 case $ac_config_files in *"
7212 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7215 case $ac_config_headers in *"
7216 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7221 # Files that config.status was made for.
7222 config_files="$ac_config_files"
7223 config_headers="$ac_config_headers"
7224 config_commands="$ac_config_commands"
7228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7230 \`$as_me' instantiates files from templates according to the
7231 current configuration.
7233 Usage: $0 [OPTION]... [FILE]...
7235 -h, --help print this help, then exit
7236 -V, --version print version number and configuration settings, then exit
7237 -q, --quiet, --silent
7238 do not print progress messages
7239 -d, --debug don't remove temporary files
7240 --recheck update $as_me by reconfiguring in the same conditions
7241 --file=FILE[:TEMPLATE]
7242 instantiate the configuration file FILE
7243 --header=FILE[:TEMPLATE]
7244 instantiate the configuration header FILE
7246 Configuration files:
7249 Configuration headers:
7252 Configuration commands:
7255 Report bugs to <bug-autoconf@gnu.org>."
7258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7261 configured by $0, generated by GNU Autoconf 2.63,
7262 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7264 Copyright (C) 2008 Free Software Foundation, Inc.
7265 This config.status script is free software; the Free Software Foundation
7266 gives unlimited permission to copy, distribute and modify it."
7273 test -n "\$AWK" || AWK=awk
7276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7277 # The default lists apply if the user does not specify any file.
7283 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7284 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7295 # Handling of the options.
7296 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7298 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7299 $as_echo "$ac_cs_version"; exit ;;
7300 --debug |
--debu |
--deb |
--de |
--d |
-d )
7302 --file |
--fil |
--fi |
--f )
7305 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7307 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
7308 ac_need_defaults
=false
;;
7309 --header |
--heade |
--head |
--hea )
7312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7314 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
7315 ac_need_defaults
=false
;;
7317 # Conflict between --help and --header
7318 { $as_echo "$as_me: error: ambiguous option: $1
7319 Try \`$0 --help' for more information." >&2
7320 { (exit 1); exit 1; }; };;
7321 --help |
--hel |
-h )
7322 $as_echo "$ac_cs_usage"; exit ;;
7323 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7324 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7328 -*) { $as_echo "$as_me: error: unrecognized option: $1
7329 Try \`$0 --help' for more information." >&2
7330 { (exit 1); exit 1; }; } ;;
7332 *) ac_config_targets
="$ac_config_targets $1"
7333 ac_need_defaults
=false
;;
7339 ac_configure_extra_args
=
7341 if $ac_cs_silent; then
7343 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7348 if \$ac_cs_recheck; then
7349 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7352 CONFIG_SHELL='$SHELL'
7358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7363 ## Running $as_me. ##
7369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7373 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7379 # Handling of arguments.
7380 for ac_config_target
in $ac_config_targets
7382 case $ac_config_target in
7383 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7384 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7385 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7387 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7388 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7389 { (exit 1); exit 1; }; };;
7394 # If the user did not use the arguments to specify the items to instantiate,
7395 # then the envvar interface is used. Set only those that are not.
7396 # We use the long form for the default assignment because of an extremely
7397 # bizarre bug on SunOS 4.1.3.
7398 if $ac_need_defaults; then
7399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7401 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7404 # Have a temporary directory for convenience. Make it in the build tree
7405 # simply because there is no reason against having it here, and in addition,
7406 # creating and moving files from /tmp can sometimes cause problems.
7407 # Hook for its removal unless debugging.
7408 # Note that there is a small window in which the directory will not be cleaned:
7409 # after its creation but before its name has been assigned to `$tmp'.
7413 trap 'exit_status=$?
7414 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7416 trap '{ (exit 1); exit 1; }' 1 2 13 15
7418 # Create a (secure) tmp directory for tmp files.
7421 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7422 test -n "$tmp" && test -d "$tmp"
7425 tmp
=.
/conf$$
-$RANDOM
7426 (umask 077 && mkdir
"$tmp")
7429 $as_echo "$as_me: cannot create a temporary directory in ." >&2
7430 { (exit 1); exit 1; }
7433 # Set up the scripts for CONFIG_FILES section.
7434 # No need to generate them if there are no CONFIG_FILES.
7435 # This happens for instance with `./config.status config.h'.
7436 if test -n "$CONFIG_FILES"; then
7440 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7447 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7452 echo "cat >conf$$subs.awk <<_ACEOF" &&
7453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7456 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7457 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7458 { (exit 1); exit 1; }; }
7459 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7461 for ac_last_try in false false false false false :; do
7462 . ./conf$$subs.sh ||
7463 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7464 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7465 { (exit 1); exit 1; }; }
7467 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7468 if test $ac_delim_n = $ac_delim_num; then
7470 elif $ac_last_try; then
7471 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7472 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7473 { (exit 1); exit 1; }; }
7475 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7481 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7485 s/^/S["/; s
/!.
*/"]=/
7495 s/\(.\{148\}\).*/\1/
7497 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7502 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7509 s/\(.\{148\}\).*/\1/
7511 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7515 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7520 ' <conf$$subs.awk | sed '
7525 ' >>$CONFIG_STATUS || ac_write_fail=1
7526 rm -f conf$$subs.awk
7527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7529 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7530 for (key in S) S_is_set[key] = 1
7536 nfields = split(line, field, "@
")
7538 len = length(field[1])
7539 for (i = 2; i < nfields; i++) {
7541 keylen = length(key)
7542 if (S_is_set[key]) {
7544 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7545 len += length(value) + length(field[++i])
7556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7557 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7558 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7561 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7562 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
7563 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
7564 { (exit 1); exit 1; }; }
7567 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7568 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7569 # trailing colons and then remove the whole line if VPATH becomes empty
7570 # (actually we leave an empty line to preserve line numbers).
7571 if test "x
$srcdir" = x.; then
7572 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7576 s/^\([^=]*=[ ]*\):*/\1/
7582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7583 fi # test -n "$CONFIG_FILES"
7585 # Set up the scripts for CONFIG_HEADERS section.
7586 # No need to generate them if there are no CONFIG_HEADERS.
7587 # This happens for instance with `./config.status Makefile'.
7588 if test -n "$CONFIG_HEADERS"; then
7589 cat >"$tmp/defines.
awk" <<\_ACAWK ||
7593 # Transform confdefs.h into an awk script `defines.awk', embedded as
7594 # here-document in config.status, that substitutes the proper values into
7595 # config.h.in to produce config.h.
7597 # Create a delimiter string that does not exist in confdefs.h, to ease
7598 # handling of long lines.
7600 for ac_last_try in false false :; do
7601 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
7602 if test -z "$ac_t"; then
7604 elif $ac_last_try; then
7605 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
7606 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
7607 { (exit 1); exit 1; }; }
7609 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7613 # For the awk script, D is an array of macro values keyed by name,
7614 # likewise P contains macro parameters if any. Preserve backslash
7615 # newline sequences.
7617 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7619 s/.\{148\}/&'"$ac_delim"'/g
7622 s/^[ ]*#[ ]*define[ ][ ]*/ /
7629 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7631 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7635 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7636 D["\
1"]=" \
3\\\\\\n
"\\/p
7638 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7643 s/.\{148\}/&'"$ac_delim"'/g
7648 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7651 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7653 ' <confdefs.h | sed '
7654 s/'"$ac_delim"'/"\\\
7655 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7658 for (key in D) D_is_set[key] = 1
7661 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7663 split(line, arg, " ")
7664 if (arg[1] == "#") {
7668 defundef
= substr
(arg
[1], 2)
7671 split(mac1
, mac2
, "(") #)
7673 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7674 if (D_is_set
[macro
]) {
7675 # Preserve the white space surrounding the "#".
7676 print prefix
"define", macro P
[macro
] D
[macro
]
7679 # Replace #undef with comments. This is necessary, for example,
7680 # in the case of _POSIX_SOURCE, which is predefined and required
7681 # on some systems where configure will not decide to define it.
7682 if (defundef
== "undef") {
7683 print
"/*", prefix defundef
, macro
, "*/"
7691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7692 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7693 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7694 { (exit 1); exit 1; }; }
7695 fi # test -n "$CONFIG_HEADERS"
7698 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7703 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7705 case $ac_mode$ac_tag in
7707 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7708 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7709 { (exit 1); exit 1; }; };;
7710 :[FH
]-) ac_tag
=-:-;;
7711 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7728 -) ac_f
="$tmp/stdin";;
7729 *) # Look for the file first in the build tree, then in the source tree
7730 # (if the path is not absolute). The absolute path cannot be DOS-style,
7731 # because $ac_f cannot contain `:'.
7735 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7737 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7738 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7739 { (exit 1); exit 1; }; };;
7741 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7742 ac_file_inputs
="$ac_file_inputs '$ac_f'"
7745 # Let's still pretend it is `configure' which instantiates (i.e., don't
7746 # use $as_me), people would be surprised to read:
7747 # /* config.h. Generated by config.status. */
7748 configure_input
='Generated from '`
7749 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7751 if test x
"$ac_file" != x-
; then
7752 configure_input
="$ac_file. $configure_input"
7753 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7754 $as_echo "$as_me: creating $ac_file" >&6;}
7756 # Neutralize special characters interpreted by sed in replacement strings.
7757 case $configure_input in #(
7758 *\
&* |
*\|
* |
*\\* )
7759 ac_sed_conf_input
=`$as_echo "$configure_input" |
7760 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7761 *) ac_sed_conf_input
=$configure_input;;
7765 *:-:* |
*:-) cat >"$tmp/stdin" \
7766 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7767 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7768 { (exit 1); exit 1; }; } ;;
7773 ac_dir
=`$as_dirname -- "$ac_file" ||
7774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7775 X"$ac_file" : 'X\(//\)[^/]' \| \
7776 X"$ac_file" : 'X\(//\)$' \| \
7777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7778 $as_echo X"$ac_file" |
7779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7798 -*) as_dir
=.
/$as_dir;;
7800 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7804 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7805 *) as_qdir
=$as_dir;;
7807 as_dirs
="'$as_qdir' $as_dirs"
7808 as_dir
=`$as_dirname -- "$as_dir" ||
7809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7810 X"$as_dir" : 'X\(//\)[^/]' \| \
7811 X"$as_dir" : 'X\(//\)$' \| \
7812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7813 $as_echo X"$as_dir" |
7814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7831 test -d "$as_dir" && break
7833 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7834 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7835 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7836 { (exit 1); exit 1; }; }; }
7840 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7842 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7843 # A ".." for each directory in $ac_dir_suffix.
7844 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7845 case $ac_top_builddir_sub in
7846 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7847 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7850 ac_abs_top_builddir
=$ac_pwd
7851 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7852 # for backward compatibility:
7853 ac_top_builddir
=$ac_top_build_prefix
7856 .
) # We are building in place.
7858 ac_top_srcdir
=$ac_top_builddir_sub
7859 ac_abs_top_srcdir
=$ac_pwd ;;
7860 [\\/]* | ?
:[\\/]* ) # Absolute name.
7861 ac_srcdir
=$srcdir$ac_dir_suffix;
7862 ac_top_srcdir
=$srcdir
7863 ac_abs_top_srcdir
=$srcdir ;;
7865 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7866 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7867 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7869 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7879 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7880 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7884 [\\/$
]* | ?
:[\\/]* ) ;;
7885 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
7889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7890 # If the template does not know about datarootdir, expand it.
7891 # FIXME: This hack should be removed a few years after 2.60.
7892 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7905 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7906 *datarootdir
*) ac_datarootdir_seen
=yes;;
7907 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7908 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7909 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7912 ac_datarootdir_hack='
7913 s&@datadir@&$datadir&g
7914 s&@docdir@&$docdir&g
7915 s&@infodir@&$infodir&g
7916 s&@localedir@&$localedir&g
7917 s&@mandir@&$mandir&g
7918 s&\\\${datarootdir}&$datarootdir&g' ;;
7922 # Neutralize VPATH when `$srcdir' = `.'.
7923 # Shell code in configure.ac might set extrasub.
7924 # FIXME: do we really want to maintain this feature?
7925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7926 ac_sed_extra="$ac_vpsub
7929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7931 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7932 s|@configure_input@|
$ac_sed_conf_input|
;t t
7933 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7934 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7935 s
&@srcdir@
&$ac_srcdir&;t t
7936 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7937 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7938 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7939 s
&@builddir@
&$ac_builddir&;t t
7940 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7941 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7942 s
&@INSTALL@
&$ac_INSTALL&;t t
7943 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7944 $ac_datarootdir_hack
7946 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7947 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
7948 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
7949 { (exit 1); exit 1; }; }
7951 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7952 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7953 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7954 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7955 which seems to be undefined. Please make sure it is defined." >&5
7956 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7957 which seems to be undefined. Please make sure it is defined." >&2;}
7961 -) cat "$tmp/out" && rm -f "$tmp/out";;
7962 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7964 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7965 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7966 { (exit 1); exit 1; }; }
7972 if test x"$ac_file" != x-; then
7974 $as_echo "/* $configure_input */" \
7975 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7976 } >"$tmp/config.h" \
7977 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7978 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7979 { (exit 1); exit 1; }; }
7980 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7981 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7982 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7985 mv "$tmp/config.h" "$ac_file" \
7986 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7987 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7988 { (exit 1); exit 1; }; }
7991 $as_echo "/* $configure_input */" \
7992 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7993 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7994 $as_echo "$as_me: error: could not create -" >&2;}
7995 { (exit 1); exit 1; }; }
7997 # Compute "$ac_file"'s index
in $config_headers.
8000 for _am_header
in $config_headers :; do
8002 $_am_arg |
$_am_arg:* )
8005 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8008 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8009 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8010 X"$_am_arg" : 'X\(//\)[^/]' \| \
8011 X"$_am_arg" : 'X\(//\)$' \| \
8012 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8013 $as_echo X"$_am_arg" |
8014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8030 s/.*/./; q'`/stamp-h
$_am_stamp_count
8033 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
8034 $as_echo "$as_me: executing $ac_file commands" >&6;}
8039 case $ac_file$ac_mode in
8040 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8041 # Strip MF so we end up with the name of the file.
8042 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8043 # Check whether this is an Automake generated Makefile or not.
8044 # We used to match only the files named `Makefile.in', but
8045 # some people rename them; so instead we look at the file content.
8046 # Grep'ing the first line is not enough: some people post-process
8047 # each Makefile.in and add a new line on top of each file to say so.
8048 # Grep'ing the whole file is not good either: AIX grep has a line
8049 # limit of 2048, but all sed's we know have understand at least 4000.
8050 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8051 dirpart
=`$as_dirname -- "$mf" ||
8052 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8053 X"$mf" : 'X\(//\)[^/]' \| \
8054 X"$mf" : 'X\(//\)$' \| \
8055 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8077 # Extract the definition of DEPDIR, am__include, and am__quote
8078 # from the Makefile without running `make'.
8079 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8080 test -z "$DEPDIR" && continue
8081 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8082 test -z "am__include" && continue
8083 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8084 # When using ansi2knr, U may be empty or an underscore; expand it
8085 U
=`sed -n 's/^U = //p' < "$mf"`
8086 # Find all dependency output files, they are included files with
8087 # $(DEPDIR) in their names. We invoke sed twice because it is the
8088 # simplest approach to changing $(DEPDIR) to its actual value in the
8090 for file in `sed -n "
8091 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8092 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8093 # Make sure the directory exists.
8094 test -f "$dirpart/$file" && continue
8095 fdir
=`$as_dirname -- "$file" ||
8096 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8097 X"$file" : 'X\(//\)[^/]' \| \
8098 X"$file" : 'X\(//\)$' \| \
8099 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8118 { as_dir
=$dirpart/$fdir
8120 -*) as_dir
=.
/$as_dir;;
8122 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
8126 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8127 *) as_qdir
=$as_dir;;
8129 as_dirs
="'$as_qdir' $as_dirs"
8130 as_dir
=`$as_dirname -- "$as_dir" ||
8131 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8132 X"$as_dir" : 'X\(//\)[^/]' \| \
8133 X"$as_dir" : 'X\(//\)$' \| \
8134 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8135 $as_echo X"$as_dir" |
8136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8153 test -d "$as_dir" && break
8155 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8156 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8157 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8158 { (exit 1); exit 1; }; }; }
8159 # echo "creating $dirpart/$file"
8160 echo '# dummy' > "$dirpart/$file"
8169 { (exit 0); exit 0; }
8171 chmod +x
$CONFIG_STATUS
8172 ac_clean_files
=$ac_clean_files_save
8174 test $ac_write_fail = 0 ||
8175 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8176 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8177 { (exit 1); exit 1; }; }
8180 # configure is writing to config.log, and then calls config.status.
8181 # config.status does its own redirection, appending to config.log.
8182 # Unfortunately, on DOS this fails, as config.log is still kept open
8183 # by configure, so config.status won't be able to write to it; its
8184 # output is simply discarded. So we exec the FD to /dev/null,
8185 # effectively closing config.log, so it can be properly (re)opened and
8186 # appended to by config.status. When coming back to configure, we
8187 # need to make the FD available again.
8188 if test "$no_create" != yes; then
8190 ac_config_status_args
=
8191 test "$silent" = yes &&
8192 ac_config_status_args
="$ac_config_status_args --quiet"
8194 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8196 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8197 # would make configure fail if this is the last instruction.
8198 $ac_cs_success ||
{ (exit 1); exit 1; }
8200 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8201 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8202 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}