fix memleak for label directive
[xorcyst.git] / configure
blobb781adedbf12f44394febea7c69dcf51010522c1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24 BIN_SH=xpg4; export BIN_SH # for Tru64
25 DUALCASE=1; export DUALCASE # for MKS sh
28 # PATH needs CR
29 # Avoid depending upon Character Ranges.
30 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33 as_cr_digits='0123456789'
34 as_cr_alnum=$as_cr_Letters$as_cr_digits
36 # The user is always right.
37 if test "${PATH_SEPARATOR+set}" != set; then
38 echo "#! /bin/sh" >conf$$.sh
39 echo "exit 0" >>conf$$.sh
40 chmod +x conf$$.sh
41 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42 PATH_SEPARATOR=';'
43 else
44 PATH_SEPARATOR=:
46 rm -f conf$$.sh
49 # Support unset when possible.
50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51 as_unset=unset
52 else
53 as_unset=false
57 # IFS
58 # We need space, tab and new line, in precisely that order. Quoting is
59 # there to prevent editors from complaining about space-tab.
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
61 # splitting by setting IFS to empty value.)
62 as_nl='
64 IFS=" "" $as_nl"
66 # Find who we are. Look in the path if we contain no directory separator.
67 case $0 in
68 *[\\/]* ) as_myself=$0 ;;
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70 for as_dir in $PATH
72 IFS=$as_save_IFS
73 test -z "$as_dir" && as_dir=.
74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75 done
76 IFS=$as_save_IFS
79 esac
80 # We did not find ourselves, most probably we were run as `sh COMMAND'
81 # in which case we are not to be found in the path.
82 if test "x$as_myself" = x; then
83 as_myself=$0
85 if test ! -f "$as_myself"; then
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87 { (exit 1); exit 1; }
90 # Work around bugs in pre-3.0 UWIN ksh.
91 for as_var in ENV MAIL MAILPATH
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93 done
94 PS1='$ '
95 PS2='> '
96 PS4='+ '
98 # NLS nuisances.
99 for as_var in \
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102 LC_TELEPHONE LC_TIME
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105 eval $as_var=C; export $as_var
106 else
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109 done
111 # Required to use basename.
112 if expr a : '\(a\)' >/dev/null 2>&1 &&
113 test "X`expr 00001 : '.*\(...\)'`" = X001; then
114 as_expr=expr
115 else
116 as_expr=false
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120 as_basename=basename
121 else
122 as_basename=false
126 # Name of the executable.
127 as_me=`$as_basename -- "$0" ||
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129 X"$0" : 'X\(//\)$' \| \
130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131 echo X/"$0" |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{
133 s//\1/
136 /^X\/\(\/\/\)$/{
137 s//\1/
140 /^X\/\(\/\).*/{
141 s//\1/
144 s/.*/./; q'`
146 # CDPATH.
147 $as_unset CDPATH
150 if test "x$CONFIG_SHELL" = x; then
151 if (eval ":") 2>/dev/null; then
152 as_have_required=yes
153 else
154 as_have_required=no
157 if test $as_have_required = yes && (eval ":
158 (as_func_return () {
159 (exit \$1)
161 as_func_success () {
162 as_func_return 0
164 as_func_failure () {
165 as_func_return 1
167 as_func_ret_success () {
168 return 0
170 as_func_ret_failure () {
171 return 1
174 exitcode=0
175 if as_func_success; then
177 else
178 exitcode=1
179 echo as_func_success failed.
182 if as_func_failure; then
183 exitcode=1
184 echo as_func_failure succeeded.
187 if as_func_ret_success; then
189 else
190 exitcode=1
191 echo as_func_ret_success failed.
194 if as_func_ret_failure; then
195 exitcode=1
196 echo as_func_ret_failure succeeded.
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
201 else
202 exitcode=1
203 echo positional parameters were not saved.
206 test \$exitcode = 0) || { (exit 1); exit 1; }
209 as_lineno_1=\$LINENO
210 as_lineno_2=\$LINENO
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213 ") 2> /dev/null; then
215 else
216 as_candidate_shells=
217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 case $as_dir in
224 for as_base in sh bash ksh sh5; do
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226 done;;
227 esac
228 done
229 IFS=$as_save_IFS
232 for as_shell in $as_candidate_shells $SHELL; do
233 # Try only shells that exist, to save several forks.
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235 { ("$as_shell") 2> /dev/null <<\_ASEOF
236 # Be Bourne compatible
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238 emulate sh
239 NULLCMD=:
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241 # is contrary to our usage. Disable this feature.
242 alias -g '${1+"$@"}'='"$@"'
243 setopt NO_GLOB_SUBST
244 else
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 BIN_SH=xpg4; export BIN_SH # for Tru64
248 DUALCASE=1; export DUALCASE # for MKS sh
251 _ASEOF
252 }; then
253 CONFIG_SHELL=$as_shell
254 as_have_required=yes
255 if { "$as_shell" 2> /dev/null <<\_ASEOF
256 # Be Bourne compatible
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258 emulate sh
259 NULLCMD=:
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261 # is contrary to our usage. Disable this feature.
262 alias -g '${1+"$@"}'='"$@"'
263 setopt NO_GLOB_SUBST
264 else
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 BIN_SH=xpg4; export BIN_SH # for Tru64
268 DUALCASE=1; export DUALCASE # for MKS sh
271 (as_func_return () {
272 (exit $1)
274 as_func_success () {
275 as_func_return 0
277 as_func_failure () {
278 as_func_return 1
280 as_func_ret_success () {
281 return 0
283 as_func_ret_failure () {
284 return 1
287 exitcode=0
288 if as_func_success; then
290 else
291 exitcode=1
292 echo as_func_success failed.
295 if as_func_failure; then
296 exitcode=1
297 echo as_func_failure succeeded.
300 if as_func_ret_success; then
302 else
303 exitcode=1
304 echo as_func_ret_success failed.
307 if as_func_ret_failure; then
308 exitcode=1
309 echo as_func_ret_failure succeeded.
312 if ( set x; as_func_ret_success y && test x = "$1" ); then
314 else
315 exitcode=1
316 echo positional parameters were not saved.
319 test $exitcode = 0) || { (exit 1); exit 1; }
322 as_lineno_1=$LINENO
323 as_lineno_2=$LINENO
324 test "x$as_lineno_1" != "x$as_lineno_2" &&
325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
327 _ASEOF
328 }; then
329 break
334 done
336 if test "x$CONFIG_SHELL" != x; then
337 for as_var in BASH_ENV ENV
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339 done
340 export CONFIG_SHELL
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 if test $as_have_required = no; then
346 echo This script requires a shell more modern than all the
347 echo shells that I found on your system. Please install a
348 echo modern shell, or manually run the script under such a
349 echo shell if you do have one.
350 { (exit 1); exit 1; }
360 (eval "as_func_return () {
361 (exit \$1)
363 as_func_success () {
364 as_func_return 0
366 as_func_failure () {
367 as_func_return 1
369 as_func_ret_success () {
370 return 0
372 as_func_ret_failure () {
373 return 1
376 exitcode=0
377 if as_func_success; then
379 else
380 exitcode=1
381 echo as_func_success failed.
384 if as_func_failure; then
385 exitcode=1
386 echo as_func_failure succeeded.
389 if as_func_ret_success; then
391 else
392 exitcode=1
393 echo as_func_ret_success failed.
396 if as_func_ret_failure; then
397 exitcode=1
398 echo as_func_ret_failure succeeded.
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
403 else
404 exitcode=1
405 echo positional parameters were not saved.
408 test \$exitcode = 0") || {
409 echo No shell found that supports shell functions.
410 echo Please tell autoconf@gnu.org about your system,
411 echo including any error possibly output before this
412 echo message
417 as_lineno_1=$LINENO
418 as_lineno_2=$LINENO
419 test "x$as_lineno_1" != "x$as_lineno_2" &&
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423 # uniformly replaced by the line number. The first 'sed' inserts a
424 # line-number line after each line using $LINENO; the second 'sed'
425 # does the real work. The second script uses 'N' to pair each
426 # line-number line with the line containing $LINENO, and appends
427 # trailing '-' during substitution so that $LINENO is not a special
428 # case at line end.
429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
430 # scripts with optimization help from Paolo Bonzini. Blame Lee
431 # E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449 { (exit 1); exit 1; }; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462 else
463 as_dirname=false
466 ECHO_C= ECHO_N= ECHO_T=
467 case `echo -n x` in
468 -n*)
469 case `echo 'x\c'` in
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
471 *) ECHO_C='\c';;
472 esac;;
474 ECHO_N='-n';;
475 esac
477 if expr a : '\(a\)' >/dev/null 2>&1 &&
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
479 as_expr=expr
480 else
481 as_expr=false
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487 else
488 rm -f conf$$.dir
489 mkdir conf$$.dir
491 echo >conf$$.file
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p=:
510 else
511 test -d ./-p && rmdir ./-p
512 as_mkdir_p=false
515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
516 # systems may use methods other than mode bits to determine executability.
517 cat >conf$$.file <<_ASEOF
518 #! /bin/sh
519 exit 0
520 _ASEOF
521 chmod +x conf$$.file
522 if test -x conf$$.file >/dev/null 2>&1; then
523 as_executable_p="test -x"
524 else
525 as_executable_p=:
527 rm -f conf$$.file
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555 SHELL=${CONFIG_SHELL-/bin/sh}
557 # Identity of this package.
558 PACKAGE_NAME=
559 PACKAGE_TARNAME=
560 PACKAGE_VERSION=
561 PACKAGE_STRING=
562 PACKAGE_BUGREPORT=
564 ac_unique_file="parser.y"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #if HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #if HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #if STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # if HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #if HAVE_STRING_H
583 # if !STDC_HEADERS && HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #if HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #if HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #if HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #if HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='SHELL
602 PATH_SEPARATOR
603 PACKAGE_NAME
604 PACKAGE_TARNAME
605 PACKAGE_VERSION
606 PACKAGE_STRING
607 PACKAGE_BUGREPORT
608 exec_prefix
609 prefix
610 program_transform_name
611 bindir
612 sbindir
613 libexecdir
614 datarootdir
615 datadir
616 sysconfdir
617 sharedstatedir
618 localstatedir
619 includedir
620 oldincludedir
621 docdir
622 infodir
623 htmldir
624 dvidir
625 pdfdir
626 psdir
627 libdir
628 localedir
629 mandir
630 DEFS
631 ECHO_C
632 ECHO_N
633 ECHO_T
634 LIBS
635 build_alias
636 host_alias
637 target_alias
638 INSTALL_PROGRAM
639 INSTALL_SCRIPT
640 INSTALL_DATA
641 CYGPATH_W
642 PACKAGE
643 VERSION
644 ACLOCAL
645 AUTOCONF
646 AUTOMAKE
647 AUTOHEADER
648 MAKEINFO
649 AMTAR
650 install_sh
651 STRIP
652 INSTALL_STRIP_PROGRAM
653 mkdir_p
655 SET_MAKE
656 am__leading_dot
658 CFLAGS
659 LDFLAGS
660 CPPFLAGS
661 ac_ct_CC
662 EXEEXT
663 OBJEXT
664 DEPDIR
665 am__include
666 am__quote
667 AMDEP_TRUE
668 AMDEP_FALSE
669 AMDEPBACKSLASH
670 CCDEPMODE
671 am__fastdepCC_TRUE
672 am__fastdepCC_FALSE
674 GREP
675 EGREP
676 YACC
677 YFLAGS
679 LEXLIB
680 LEX_OUTPUT_ROOT
681 LN_S
682 LIBOBJS
683 LTLIBOBJS'
684 ac_subst_files=''
685 ac_precious_vars='build_alias
686 host_alias
687 target_alias
689 CFLAGS
690 LDFLAGS
691 CPPFLAGS
693 YACC
694 YFLAGS'
697 # Initialize some variables set by options.
698 ac_init_help=
699 ac_init_version=false
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
702 cache_file=/dev/null
703 exec_prefix=NONE
704 no_create=
705 no_recursion=
706 prefix=NONE
707 program_prefix=NONE
708 program_suffix=NONE
709 program_transform_name=s,x,x,
710 silent=
711 site=
712 srcdir=
713 verbose=
714 x_includes=NONE
715 x_libraries=NONE
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE}'
734 infodir='${datarootdir}/info'
735 htmldir='${docdir}'
736 dvidir='${docdir}'
737 pdfdir='${docdir}'
738 psdir='${docdir}'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
743 ac_prev=
744 ac_dashdash=
745 for ac_option
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
750 ac_prev=
751 continue
754 case $ac_option in
755 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 *) ac_optarg=yes ;;
757 esac
759 # Accept the important Cygnus configure options, so we can diagnose typos.
761 case $ac_dashdash$ac_option in
763 ac_dashdash=yes ;;
765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 ac_prev=bindir ;;
767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
768 bindir=$ac_optarg ;;
770 -build | --build | --buil | --bui | --bu)
771 ac_prev=build_alias ;;
772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
773 build_alias=$ac_optarg ;;
775 -cache-file | --cache-file | --cache-fil | --cache-fi \
776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777 ac_prev=cache_file ;;
778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780 cache_file=$ac_optarg ;;
782 --config-cache | -C)
783 cache_file=config.cache ;;
785 -datadir | --datadir | --datadi | --datad)
786 ac_prev=datadir ;;
787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
788 datadir=$ac_optarg ;;
790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791 | --dataroo | --dataro | --datar)
792 ac_prev=datarootdir ;;
793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795 datarootdir=$ac_optarg ;;
797 -disable-* | --disable-*)
798 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
802 { (exit 1); exit 1; }; }
803 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
804 eval enable_$ac_feature=no ;;
806 -docdir | --docdir | --docdi | --doc | --do)
807 ac_prev=docdir ;;
808 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
809 docdir=$ac_optarg ;;
811 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
812 ac_prev=dvidir ;;
813 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
814 dvidir=$ac_optarg ;;
816 -enable-* | --enable-*)
817 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
818 # Reject names that are not valid shell variable names.
819 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
820 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
821 { (exit 1); exit 1; }; }
822 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
823 eval enable_$ac_feature=\$ac_optarg ;;
825 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
826 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
827 | --exec | --exe | --ex)
828 ac_prev=exec_prefix ;;
829 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
830 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
831 | --exec=* | --exe=* | --ex=*)
832 exec_prefix=$ac_optarg ;;
834 -gas | --gas | --ga | --g)
835 # Obsolete; use --with-gas.
836 with_gas=yes ;;
838 -help | --help | --hel | --he | -h)
839 ac_init_help=long ;;
840 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
841 ac_init_help=recursive ;;
842 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
843 ac_init_help=short ;;
845 -host | --host | --hos | --ho)
846 ac_prev=host_alias ;;
847 -host=* | --host=* | --hos=* | --ho=*)
848 host_alias=$ac_optarg ;;
850 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
851 ac_prev=htmldir ;;
852 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
853 | --ht=*)
854 htmldir=$ac_optarg ;;
856 -includedir | --includedir | --includedi | --included | --include \
857 | --includ | --inclu | --incl | --inc)
858 ac_prev=includedir ;;
859 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
860 | --includ=* | --inclu=* | --incl=* | --inc=*)
861 includedir=$ac_optarg ;;
863 -infodir | --infodir | --infodi | --infod | --info | --inf)
864 ac_prev=infodir ;;
865 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
866 infodir=$ac_optarg ;;
868 -libdir | --libdir | --libdi | --libd)
869 ac_prev=libdir ;;
870 -libdir=* | --libdir=* | --libdi=* | --libd=*)
871 libdir=$ac_optarg ;;
873 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
874 | --libexe | --libex | --libe)
875 ac_prev=libexecdir ;;
876 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
877 | --libexe=* | --libex=* | --libe=*)
878 libexecdir=$ac_optarg ;;
880 -localedir | --localedir | --localedi | --localed | --locale)
881 ac_prev=localedir ;;
882 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
883 localedir=$ac_optarg ;;
885 -localstatedir | --localstatedir | --localstatedi | --localstated \
886 | --localstate | --localstat | --localsta | --localst | --locals)
887 ac_prev=localstatedir ;;
888 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
889 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
890 localstatedir=$ac_optarg ;;
892 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
893 ac_prev=mandir ;;
894 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
895 mandir=$ac_optarg ;;
897 -nfp | --nfp | --nf)
898 # Obsolete; use --without-fp.
899 with_fp=no ;;
901 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
902 | --no-cr | --no-c | -n)
903 no_create=yes ;;
905 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
906 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
907 no_recursion=yes ;;
909 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
910 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
911 | --oldin | --oldi | --old | --ol | --o)
912 ac_prev=oldincludedir ;;
913 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
914 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
915 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
916 oldincludedir=$ac_optarg ;;
918 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
919 ac_prev=prefix ;;
920 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
921 prefix=$ac_optarg ;;
923 -program-prefix | --program-prefix | --program-prefi | --program-pref \
924 | --program-pre | --program-pr | --program-p)
925 ac_prev=program_prefix ;;
926 -program-prefix=* | --program-prefix=* | --program-prefi=* \
927 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
928 program_prefix=$ac_optarg ;;
930 -program-suffix | --program-suffix | --program-suffi | --program-suff \
931 | --program-suf | --program-su | --program-s)
932 ac_prev=program_suffix ;;
933 -program-suffix=* | --program-suffix=* | --program-suffi=* \
934 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
935 program_suffix=$ac_optarg ;;
937 -program-transform-name | --program-transform-name \
938 | --program-transform-nam | --program-transform-na \
939 | --program-transform-n | --program-transform- \
940 | --program-transform | --program-transfor \
941 | --program-transfo | --program-transf \
942 | --program-trans | --program-tran \
943 | --progr-tra | --program-tr | --program-t)
944 ac_prev=program_transform_name ;;
945 -program-transform-name=* | --program-transform-name=* \
946 | --program-transform-nam=* | --program-transform-na=* \
947 | --program-transform-n=* | --program-transform-=* \
948 | --program-transform=* | --program-transfor=* \
949 | --program-transfo=* | --program-transf=* \
950 | --program-trans=* | --program-tran=* \
951 | --progr-tra=* | --program-tr=* | --program-t=*)
952 program_transform_name=$ac_optarg ;;
954 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
955 ac_prev=pdfdir ;;
956 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
957 pdfdir=$ac_optarg ;;
959 -psdir | --psdir | --psdi | --psd | --ps)
960 ac_prev=psdir ;;
961 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
962 psdir=$ac_optarg ;;
964 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
965 | -silent | --silent | --silen | --sile | --sil)
966 silent=yes ;;
968 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
969 ac_prev=sbindir ;;
970 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
971 | --sbi=* | --sb=*)
972 sbindir=$ac_optarg ;;
974 -sharedstatedir | --sharedstatedir | --sharedstatedi \
975 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
976 | --sharedst | --shareds | --shared | --share | --shar \
977 | --sha | --sh)
978 ac_prev=sharedstatedir ;;
979 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
980 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
981 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
982 | --sha=* | --sh=*)
983 sharedstatedir=$ac_optarg ;;
985 -site | --site | --sit)
986 ac_prev=site ;;
987 -site=* | --site=* | --sit=*)
988 site=$ac_optarg ;;
990 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
991 ac_prev=srcdir ;;
992 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
993 srcdir=$ac_optarg ;;
995 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
996 | --syscon | --sysco | --sysc | --sys | --sy)
997 ac_prev=sysconfdir ;;
998 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
999 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1000 sysconfdir=$ac_optarg ;;
1002 -target | --target | --targe | --targ | --tar | --ta | --t)
1003 ac_prev=target_alias ;;
1004 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1005 target_alias=$ac_optarg ;;
1007 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1008 verbose=yes ;;
1010 -version | --version | --versio | --versi | --vers | -V)
1011 ac_init_version=: ;;
1013 -with-* | --with-*)
1014 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_package=`echo $ac_package| sed 's/-/_/g'`
1020 eval with_$ac_package=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1026 { echo "$as_me: error: invalid package name: $ac_package" >&2
1027 { (exit 1); exit 1; }; }
1028 ac_package=`echo $ac_package | sed 's/-/_/g'`
1029 eval with_$ac_package=no ;;
1031 --x)
1032 # Obsolete; use --with-x.
1033 with_x=yes ;;
1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1036 | --x-incl | --x-inc | --x-in | --x-i)
1037 ac_prev=x_includes ;;
1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1040 x_includes=$ac_optarg ;;
1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1044 ac_prev=x_libraries ;;
1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1047 x_libraries=$ac_optarg ;;
1049 -*) { echo "$as_me: error: unrecognized option: $ac_option
1050 Try \`$0 --help' for more information." >&2
1051 { (exit 1); exit 1; }; }
1054 *=*)
1055 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1058 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1059 { (exit 1); exit 1; }; }
1060 eval $ac_envvar=\$ac_optarg
1061 export $ac_envvar ;;
1064 # FIXME: should be removed in autoconf 3.0.
1065 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1067 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1068 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1071 esac
1072 done
1074 if test -n "$ac_prev"; then
1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1076 { echo "$as_me: error: missing argument to $ac_option" >&2
1077 { (exit 1); exit 1; }; }
1080 # Be sure to have absolute directory names.
1081 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val=\$$ac_var
1087 case $ac_val in
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1090 esac
1091 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1092 { (exit 1); exit 1; }; }
1093 done
1095 # There might be people who depend on the old broken behavior: `$host'
1096 # used to hold the argument of --host etc.
1097 # FIXME: To remove some day.
1098 build=$build_alias
1099 host=$host_alias
1100 target=$target_alias
1102 # FIXME: To remove some day.
1103 if test "x$host_alias" != x; then
1104 if test "x$build_alias" = x; then
1105 cross_compiling=maybe
1106 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1107 If a cross compiler is detected then cross compile mode will be used." >&2
1108 elif test "x$build_alias" != "x$host_alias"; then
1109 cross_compiling=yes
1113 ac_tool_prefix=
1114 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116 test "$silent" = yes && exec 6>/dev/null
1119 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120 ac_ls_di=`ls -di .` &&
1121 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122 { echo "$as_me: error: Working directory cannot be determined" >&2
1123 { (exit 1); exit 1; }; }
1124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1125 { echo "$as_me: error: pwd does not report name of working directory" >&2
1126 { (exit 1); exit 1; }; }
1129 # Find the source files, if location was not specified.
1130 if test -z "$srcdir"; then
1131 ac_srcdir_defaulted=yes
1132 # Try the directory containing this script, then the parent directory.
1133 ac_confdir=`$as_dirname -- "$0" ||
1134 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1135 X"$0" : 'X\(//\)[^/]' \| \
1136 X"$0" : 'X\(//\)$' \| \
1137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1138 echo X"$0" |
1139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140 s//\1/
1143 /^X\(\/\/\)[^/].*/{
1144 s//\1/
1147 /^X\(\/\/\)$/{
1148 s//\1/
1151 /^X\(\/\).*/{
1152 s//\1/
1155 s/.*/./; q'`
1156 srcdir=$ac_confdir
1157 if test ! -r "$srcdir/$ac_unique_file"; then
1158 srcdir=..
1160 else
1161 ac_srcdir_defaulted=no
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1165 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1166 { (exit 1); exit 1; }; }
1168 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1169 ac_abs_confdir=`(
1170 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1171 { (exit 1); exit 1; }; }
1172 pwd)`
1173 # When building in place, set srcdir=.
1174 if test "$ac_abs_confdir" = "$ac_pwd"; then
1175 srcdir=.
1177 # Remove unnecessary trailing slashes from srcdir.
1178 # Double slashes in file names in object file debugging info
1179 # mess up M-x gdb in Emacs.
1180 case $srcdir in
1181 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182 esac
1183 for ac_var in $ac_precious_vars; do
1184 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_${ac_var}_value=\$${ac_var}
1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188 done
1191 # Report the --help message.
1193 if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1196 cat <<_ACEOF
1197 \`configure' configures this package to adapt to many kinds of systems.
1199 Usage: $0 [OPTION]... [VAR=VALUE]...
1201 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202 VAR=VALUE. See below for descriptions of some of the useful variables.
1204 Defaults for the options are specified in brackets.
1206 Configuration:
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1217 Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
1219 [$ac_default_prefix]
1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1221 [PREFIX]
1223 By default, \`make install' will install all the files in
1224 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226 for instance \`--prefix=\$HOME'.
1228 For better control, use the options below.
1230 Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
1250 _ACEOF
1252 cat <<\_ACEOF
1254 Program names:
1255 --program-prefix=PREFIX prepend PREFIX to installed program names
1256 --program-suffix=SUFFIX append SUFFIX to installed program names
1257 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1258 _ACEOF
1261 if test -n "$ac_init_help"; then
1263 cat <<\_ACEOF
1265 Optional Features:
1266 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1267 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1268 --disable-dependency-tracking speeds up one-time build
1269 --enable-dependency-tracking do not reject slow dependency extractors
1271 Some influential environment variables:
1272 CC C compiler command
1273 CFLAGS C compiler flags
1274 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1275 nonstandard directory <lib dir>
1276 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1277 you have headers in a nonstandard directory <include dir>
1278 CPP C preprocessor
1279 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1280 the first program found out of: `bison -y', `byacc', `yacc'.
1281 YFLAGS The list of arguments that will be passed by default to $YACC.
1282 This script will default YFLAGS to the empty string to avoid a
1283 default value of `-d' given by some make applications.
1285 Use these variables to override the choices made by `configure' or to help
1286 it to find libraries and programs with nonstandard names/locations.
1288 _ACEOF
1289 ac_status=$?
1292 if test "$ac_init_help" = "recursive"; then
1293 # If there are subdirs, report their specific --help.
1294 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1295 test -d "$ac_dir" || continue
1296 ac_builddir=.
1298 case "$ac_dir" in
1299 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1301 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1302 # A ".." for each directory in $ac_dir_suffix.
1303 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1304 case $ac_top_builddir_sub in
1305 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1306 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1307 esac ;;
1308 esac
1309 ac_abs_top_builddir=$ac_pwd
1310 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1311 # for backward compatibility:
1312 ac_top_builddir=$ac_top_build_prefix
1314 case $srcdir in
1315 .) # We are building in place.
1316 ac_srcdir=.
1317 ac_top_srcdir=$ac_top_builddir_sub
1318 ac_abs_top_srcdir=$ac_pwd ;;
1319 [\\/]* | ?:[\\/]* ) # Absolute name.
1320 ac_srcdir=$srcdir$ac_dir_suffix;
1321 ac_top_srcdir=$srcdir
1322 ac_abs_top_srcdir=$srcdir ;;
1323 *) # Relative name.
1324 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1325 ac_top_srcdir=$ac_top_build_prefix$srcdir
1326 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1327 esac
1328 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1330 cd "$ac_dir" || { ac_status=$?; continue; }
1331 # Check for guested configure.
1332 if test -f "$ac_srcdir/configure.gnu"; then
1333 echo &&
1334 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1335 elif test -f "$ac_srcdir/configure"; then
1336 echo &&
1337 $SHELL "$ac_srcdir/configure" --help=recursive
1338 else
1339 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1340 fi || ac_status=$?
1341 cd "$ac_pwd" || { ac_status=$?; break; }
1342 done
1345 test -n "$ac_init_help" && exit $ac_status
1346 if $ac_init_version; then
1347 cat <<\_ACEOF
1348 configure
1349 generated by GNU Autoconf 2.60
1351 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1352 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1353 This configure script is free software; the Free Software Foundation
1354 gives unlimited permission to copy, distribute and modify it.
1355 _ACEOF
1356 exit
1358 cat >config.log <<_ACEOF
1359 This file contains any messages produced by compilers while
1360 running configure, to aid debugging if configure makes a mistake.
1362 It was created by $as_me, which was
1363 generated by GNU Autoconf 2.60. Invocation command line was
1365 $ $0 $@
1367 _ACEOF
1368 exec 5>>config.log
1370 cat <<_ASUNAME
1371 ## --------- ##
1372 ## Platform. ##
1373 ## --------- ##
1375 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1376 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1377 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1378 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1379 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1381 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1382 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1384 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1385 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1386 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1387 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1388 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1389 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1390 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1392 _ASUNAME
1394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 for as_dir in $PATH
1397 IFS=$as_save_IFS
1398 test -z "$as_dir" && as_dir=.
1399 echo "PATH: $as_dir"
1400 done
1401 IFS=$as_save_IFS
1403 } >&5
1405 cat >&5 <<_ACEOF
1408 ## ----------- ##
1409 ## Core tests. ##
1410 ## ----------- ##
1412 _ACEOF
1415 # Keep a trace of the command line.
1416 # Strip out --no-create and --no-recursion so they do not pile up.
1417 # Strip out --silent because we don't want to record it for future runs.
1418 # Also quote any args containing shell meta-characters.
1419 # Make two passes to allow for proper duplicate-argument suppression.
1420 ac_configure_args=
1421 ac_configure_args0=
1422 ac_configure_args1=
1423 ac_must_keep_next=false
1424 for ac_pass in 1 2
1426 for ac_arg
1428 case $ac_arg in
1429 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1431 | -silent | --silent | --silen | --sile | --sil)
1432 continue ;;
1433 *\'*)
1434 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1435 esac
1436 case $ac_pass in
1437 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1439 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1440 if test $ac_must_keep_next = true; then
1441 ac_must_keep_next=false # Got value, back to normal.
1442 else
1443 case $ac_arg in
1444 *=* | --config-cache | -C | -disable-* | --disable-* \
1445 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1446 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1447 | -with-* | --with-* | -without-* | --without-* | --x)
1448 case "$ac_configure_args0 " in
1449 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1450 esac
1452 -* ) ac_must_keep_next=true ;;
1453 esac
1455 ac_configure_args="$ac_configure_args '$ac_arg'"
1457 esac
1458 done
1459 done
1460 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1461 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1463 # When interrupted or exit'd, cleanup temporary files, and complete
1464 # config.log. We remove comments because anyway the quotes in there
1465 # would cause problems or look ugly.
1466 # WARNING: Use '\'' to represent an apostrophe within the trap.
1467 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1468 trap 'exit_status=$?
1469 # Save into config.log some information that might help in debugging.
1471 echo
1473 cat <<\_ASBOX
1474 ## ---------------- ##
1475 ## Cache variables. ##
1476 ## ---------------- ##
1477 _ASBOX
1478 echo
1479 # The following way of writing the cache mishandles newlines in values,
1481 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in #(
1484 *${as_nl}*)
1485 case $ac_var in #(
1486 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1487 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1488 esac
1489 case $ac_var in #(
1490 _ | IFS | as_nl) ;; #(
1491 *) $as_unset $ac_var ;;
1492 esac ;;
1493 esac
1494 done
1495 (set) 2>&1 |
1496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1497 *${as_nl}ac_space=\ *)
1498 sed -n \
1499 "s/'\''/'\''\\\\'\'''\''/g;
1500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1501 ;; #(
1503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1505 esac |
1506 sort
1508 echo
1510 cat <<\_ASBOX
1511 ## ----------------- ##
1512 ## Output variables. ##
1513 ## ----------------- ##
1514 _ASBOX
1515 echo
1516 for ac_var in $ac_subst_vars
1518 eval ac_val=\$$ac_var
1519 case $ac_val in
1520 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1521 esac
1522 echo "$ac_var='\''$ac_val'\''"
1523 done | sort
1524 echo
1526 if test -n "$ac_subst_files"; then
1527 cat <<\_ASBOX
1528 ## ------------------- ##
1529 ## File substitutions. ##
1530 ## ------------------- ##
1531 _ASBOX
1532 echo
1533 for ac_var in $ac_subst_files
1535 eval ac_val=\$$ac_var
1536 case $ac_val in
1537 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1538 esac
1539 echo "$ac_var='\''$ac_val'\''"
1540 done | sort
1541 echo
1544 if test -s confdefs.h; then
1545 cat <<\_ASBOX
1546 ## ----------- ##
1547 ## confdefs.h. ##
1548 ## ----------- ##
1549 _ASBOX
1550 echo
1551 cat confdefs.h
1552 echo
1554 test "$ac_signal" != 0 &&
1555 echo "$as_me: caught signal $ac_signal"
1556 echo "$as_me: exit $exit_status"
1557 } >&5
1558 rm -f core *.core core.conftest.* &&
1559 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1560 exit $exit_status
1562 for ac_signal in 1 2 13 15; do
1563 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1564 done
1565 ac_signal=0
1567 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1568 rm -f -r conftest* confdefs.h
1570 # Predefined preprocessor variables.
1572 cat >>confdefs.h <<_ACEOF
1573 #define PACKAGE_NAME "$PACKAGE_NAME"
1574 _ACEOF
1577 cat >>confdefs.h <<_ACEOF
1578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1579 _ACEOF
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1584 _ACEOF
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_STRING "$PACKAGE_STRING"
1589 _ACEOF
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1594 _ACEOF
1597 # Let the site file select an alternate cache file if it wants to.
1598 # Prefer explicitly selected file to automatically selected ones.
1599 if test -n "$CONFIG_SITE"; then
1600 set x "$CONFIG_SITE"
1601 elif test "x$prefix" != xNONE; then
1602 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1603 else
1604 set x "$ac_default_prefix/share/config.site" \
1605 "$ac_default_prefix/etc/config.site"
1607 shift
1608 for ac_site_file
1610 if test -r "$ac_site_file"; then
1611 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1612 echo "$as_me: loading site script $ac_site_file" >&6;}
1613 sed 's/^/| /' "$ac_site_file" >&5
1614 . "$ac_site_file"
1616 done
1618 if test -r "$cache_file"; then
1619 # Some versions of bash will fail to source /dev/null (special
1620 # files actually), so we avoid doing that.
1621 if test -f "$cache_file"; then
1622 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1623 echo "$as_me: loading cache $cache_file" >&6;}
1624 case $cache_file in
1625 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1626 *) . "./$cache_file";;
1627 esac
1629 else
1630 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1631 echo "$as_me: creating cache $cache_file" >&6;}
1632 >$cache_file
1635 # Check that the precious variables saved in the cache have kept the same
1636 # value.
1637 ac_cache_corrupted=false
1638 for ac_var in $ac_precious_vars; do
1639 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1640 eval ac_new_set=\$ac_env_${ac_var}_set
1641 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1642 eval ac_new_val=\$ac_env_${ac_var}_value
1643 case $ac_old_set,$ac_new_set in
1644 set,)
1645 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1646 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1647 ac_cache_corrupted=: ;;
1648 ,set)
1649 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1650 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1651 ac_cache_corrupted=: ;;
1652 ,);;
1654 if test "x$ac_old_val" != "x$ac_new_val"; then
1655 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1656 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1657 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1658 echo "$as_me: former value: $ac_old_val" >&2;}
1659 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1660 echo "$as_me: current value: $ac_new_val" >&2;}
1661 ac_cache_corrupted=:
1662 fi;;
1663 esac
1664 # Pass precious variables to config.status.
1665 if test "$ac_new_set" = set; then
1666 case $ac_new_val in
1667 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1668 *) ac_arg=$ac_var=$ac_new_val ;;
1669 esac
1670 case " $ac_configure_args " in
1671 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1672 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1673 esac
1675 done
1676 if $ac_cache_corrupted; then
1677 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1678 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1679 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1680 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1681 { (exit 1); exit 1; }; }
1700 ac_ext=c
1701 ac_cpp='$CPP $CPPFLAGS'
1702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1708 ac_config_headers="$ac_config_headers config.h"
1710 am__api_version="1.8"
1711 ac_aux_dir=
1712 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1713 if test -f "$ac_dir/install-sh"; then
1714 ac_aux_dir=$ac_dir
1715 ac_install_sh="$ac_aux_dir/install-sh -c"
1716 break
1717 elif test -f "$ac_dir/install.sh"; then
1718 ac_aux_dir=$ac_dir
1719 ac_install_sh="$ac_aux_dir/install.sh -c"
1720 break
1721 elif test -f "$ac_dir/shtool"; then
1722 ac_aux_dir=$ac_dir
1723 ac_install_sh="$ac_aux_dir/shtool install -c"
1724 break
1726 done
1727 if test -z "$ac_aux_dir"; then
1728 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1729 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1730 { (exit 1); exit 1; }; }
1733 # These three variables are undocumented and unsupported,
1734 # and are intended to be withdrawn in a future Autoconf release.
1735 # They can cause serious problems if a builder's source tree is in a directory
1736 # whose full name contains unusual characters.
1737 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1738 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1739 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1742 # Find a good install program. We prefer a C program (faster),
1743 # so one script is as good as another. But avoid the broken or
1744 # incompatible versions:
1745 # SysV /etc/install, /usr/sbin/install
1746 # SunOS /usr/etc/install
1747 # IRIX /sbin/install
1748 # AIX /bin/install
1749 # AmigaOS /C/install, which installs bootblocks on floppy discs
1750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1753 # OS/2's system install, which has a completely different semantic
1754 # ./install, which can be erroneously created by make from ./install.sh.
1755 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1756 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1757 if test -z "$INSTALL"; then
1758 if test "${ac_cv_path_install+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 for as_dir in $PATH
1764 IFS=$as_save_IFS
1765 test -z "$as_dir" && as_dir=.
1766 # Account for people who put trailing slashes in PATH elements.
1767 case $as_dir/ in
1768 ./ | .// | /cC/* | \
1769 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1770 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1771 /usr/ucb/* ) ;;
1773 # OSF1 and SCO ODT 3.0 have their own names for install.
1774 # Don't use installbsd from OSF since it installs stuff as root
1775 # by default.
1776 for ac_prog in ginstall scoinst install; do
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1779 if test $ac_prog = install &&
1780 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1781 # AIX install. It has an incompatible calling convention.
1783 elif test $ac_prog = install &&
1784 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1785 # program-specific install script used by HP pwplus--don't use.
1787 else
1788 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1789 break 3
1792 done
1793 done
1795 esac
1796 done
1797 IFS=$as_save_IFS
1801 if test "${ac_cv_path_install+set}" = set; then
1802 INSTALL=$ac_cv_path_install
1803 else
1804 # As a last resort, use the slow shell script. Don't cache a
1805 # value for INSTALL within a source directory, because that will
1806 # break other packages using the cache if that directory is
1807 # removed, or if the value is a relative name.
1808 INSTALL=$ac_install_sh
1811 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1812 echo "${ECHO_T}$INSTALL" >&6; }
1814 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1815 # It thinks the first close brace ends the variable substitution.
1816 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1818 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1820 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1822 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1823 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1824 # Just in case
1825 sleep 1
1826 echo timestamp > conftest.file
1827 # Do `set' in a subshell so we don't clobber the current shell's
1828 # arguments. Must try -L first in case configure is actually a
1829 # symlink; some systems play weird games with the mod time of symlinks
1830 # (eg FreeBSD returns the mod time of the symlink's containing
1831 # directory).
1832 if (
1833 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1834 if test "$*" = "X"; then
1835 # -L didn't work.
1836 set X `ls -t $srcdir/configure conftest.file`
1838 rm -f conftest.file
1839 if test "$*" != "X $srcdir/configure conftest.file" \
1840 && test "$*" != "X conftest.file $srcdir/configure"; then
1842 # If neither matched, then we have a broken ls. This can happen
1843 # if, for instance, CONFIG_SHELL is bash and it inherits a
1844 # broken ls alias from the environment. This has actually
1845 # happened. Such a system could not be considered "sane".
1846 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1847 alias in your environment" >&5
1848 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1849 alias in your environment" >&2;}
1850 { (exit 1); exit 1; }; }
1853 test "$2" = conftest.file
1855 then
1856 # Ok.
1858 else
1859 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1860 Check your system clock" >&5
1861 echo "$as_me: error: newly created file is older than distributed files!
1862 Check your system clock" >&2;}
1863 { (exit 1); exit 1; }; }
1865 { echo "$as_me:$LINENO: result: yes" >&5
1866 echo "${ECHO_T}yes" >&6; }
1867 test "$program_prefix" != NONE &&
1868 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1869 # Use a double $ so make ignores it.
1870 test "$program_suffix" != NONE &&
1871 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1872 # Double any \ or $. echo might interpret backslashes.
1873 # By default was `s,x,x', remove it if useless.
1874 cat <<\_ACEOF >conftest.sed
1875 s/[\\$]/&&/g;s/;s,x,x,$//
1876 _ACEOF
1877 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1878 rm -f conftest.sed
1880 # expand $ac_aux_dir to an absolute path
1881 am_aux_dir=`cd $ac_aux_dir && pwd`
1883 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1884 # Use eval to expand $SHELL
1885 if eval "$MISSING --run true"; then
1886 am_missing_run="$MISSING --run "
1887 else
1888 am_missing_run=
1889 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1890 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1893 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1894 # Keeping the `.' argument allows $(mkdir_p) to be used without
1895 # argument. Indeed, we sometimes output rules like
1896 # $(mkdir_p) $(somedir)
1897 # where $(somedir) is conditionally defined.
1898 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1899 # expensive solution, as it forces Make to start a sub-shell.)
1900 mkdir_p='mkdir -p -- .'
1901 else
1902 # On NextStep and OpenStep, the `mkdir' command does not
1903 # recognize any option. It will interpret all options as
1904 # directories to create, and then abort because `.' already
1905 # exists.
1906 for d in ./-p ./--version;
1908 test -d $d && rmdir $d
1909 done
1910 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1911 if test -f "$ac_aux_dir/mkinstalldirs"; then
1912 mkdir_p='$(mkinstalldirs)'
1913 else
1914 mkdir_p='$(install_sh) -d'
1918 for ac_prog in gawk mawk nawk awk
1920 # Extract the first word of "$ac_prog", so it can be a program name with args.
1921 set dummy $ac_prog; ac_word=$2
1922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1924 if test "${ac_cv_prog_AWK+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 else
1927 if test -n "$AWK"; then
1928 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1929 else
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 for as_dir in $PATH
1933 IFS=$as_save_IFS
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1937 ac_cv_prog_AWK="$ac_prog"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 break 2
1941 done
1942 done
1943 IFS=$as_save_IFS
1947 AWK=$ac_cv_prog_AWK
1948 if test -n "$AWK"; then
1949 { echo "$as_me:$LINENO: result: $AWK" >&5
1950 echo "${ECHO_T}$AWK" >&6; }
1951 else
1952 { echo "$as_me:$LINENO: result: no" >&5
1953 echo "${ECHO_T}no" >&6; }
1957 test -n "$AWK" && break
1958 done
1960 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1961 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1962 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1963 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 else
1966 cat >conftest.make <<\_ACEOF
1967 SHELL = /bin/sh
1968 all:
1969 @echo '@@@%%%=$(MAKE)=@@@%%%'
1970 _ACEOF
1971 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1972 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1973 *@@@%%%=?*=@@@%%%*)
1974 eval ac_cv_prog_make_${ac_make}_set=yes;;
1976 eval ac_cv_prog_make_${ac_make}_set=no;;
1977 esac
1978 rm -f conftest.make
1980 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1981 { echo "$as_me:$LINENO: result: yes" >&5
1982 echo "${ECHO_T}yes" >&6; }
1983 SET_MAKE=
1984 else
1985 { echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6; }
1987 SET_MAKE="MAKE=${MAKE-make}"
1990 rm -rf .tst 2>/dev/null
1991 mkdir .tst 2>/dev/null
1992 if test -d .tst; then
1993 am__leading_dot=.
1994 else
1995 am__leading_dot=_
1997 rmdir .tst 2>/dev/null
1999 # test to see if srcdir already configured
2000 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2001 test -f $srcdir/config.status; then
2002 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2003 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2004 { (exit 1); exit 1; }; }
2007 # test whether we have cygpath
2008 if test -z "$CYGPATH_W"; then
2009 if (cygpath --version) >/dev/null 2>/dev/null; then
2010 CYGPATH_W='cygpath -w'
2011 else
2012 CYGPATH_W=echo
2017 # Define the identity of the package.
2018 PACKAGE=xorcyst
2019 VERSION=1.5.1
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE "$PACKAGE"
2024 _ACEOF
2027 cat >>confdefs.h <<_ACEOF
2028 #define VERSION "$VERSION"
2029 _ACEOF
2031 # Some tools Automake needs.
2033 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2036 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2039 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2042 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2045 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2048 AMTAR=${AMTAR-"${am_missing_run}tar"}
2050 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2052 # Installed binaries are usually stripped using `strip' when the user
2053 # run `make install-strip'. However `strip' might not be the right
2054 # tool to use in cross-compilation environments, therefore Automake
2055 # will honor the `STRIP' environment variable to overrule this program.
2056 if test "$cross_compiling" != no; then
2057 if test -n "$ac_tool_prefix"; then
2058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2059 set dummy ${ac_tool_prefix}strip; ac_word=$2
2060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2062 if test "${ac_cv_prog_STRIP+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 else
2065 if test -n "$STRIP"; then
2066 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2067 else
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 for as_dir in $PATH
2071 IFS=$as_save_IFS
2072 test -z "$as_dir" && as_dir=.
2073 for ac_exec_ext in '' $ac_executable_extensions; do
2074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2075 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2077 break 2
2079 done
2080 done
2081 IFS=$as_save_IFS
2085 STRIP=$ac_cv_prog_STRIP
2086 if test -n "$STRIP"; then
2087 { echo "$as_me:$LINENO: result: $STRIP" >&5
2088 echo "${ECHO_T}$STRIP" >&6; }
2089 else
2090 { echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6; }
2096 if test -z "$ac_cv_prog_STRIP"; then
2097 ac_ct_STRIP=$STRIP
2098 # Extract the first word of "strip", so it can be a program name with args.
2099 set dummy strip; ac_word=$2
2100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 else
2105 if test -n "$ac_ct_STRIP"; then
2106 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2107 else
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 for as_dir in $PATH
2111 IFS=$as_save_IFS
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2115 ac_cv_prog_ac_ct_STRIP="strip"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 break 2
2119 done
2120 done
2121 IFS=$as_save_IFS
2125 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2126 if test -n "$ac_ct_STRIP"; then
2127 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2128 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2129 else
2130 { echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6; }
2134 if test "x$ac_ct_STRIP" = x; then
2135 STRIP=":"
2136 else
2137 case $cross_compiling:$ac_tool_warned in
2138 yes:)
2139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2140 whose name does not start with the host triplet. If you think this
2141 configuration is useful to you, please write to autoconf@gnu.org." >&5
2142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2143 whose name does not start with the host triplet. If you think this
2144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2145 ac_tool_warned=yes ;;
2146 esac
2147 STRIP=$ac_ct_STRIP
2149 else
2150 STRIP="$ac_cv_prog_STRIP"
2154 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2156 # We need awk for the "check" target. The system "awk" is bad on
2157 # some platforms.
2162 DEPDIR="${am__leading_dot}deps"
2164 ac_config_commands="$ac_config_commands depfiles"
2167 am_make=${MAKE-make}
2168 cat > confinc << 'END'
2169 am__doit:
2170 @echo done
2171 .PHONY: am__doit
2173 # If we don't find an include directive, just comment out the code.
2174 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2175 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2176 am__include="#"
2177 am__quote=
2178 _am_result=none
2179 # First try GNU make style include.
2180 echo "include confinc" > confmf
2181 # We grep out `Entering directory' and `Leaving directory'
2182 # messages which can occur if `w' ends up in MAKEFLAGS.
2183 # In particular we don't look at `^make:' because GNU make might
2184 # be invoked under some other name (usually "gmake"), in which
2185 # case it prints its new name instead of `make'.
2186 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2187 am__include=include
2188 am__quote=
2189 _am_result=GNU
2191 # Now try BSD make style include.
2192 if test "$am__include" = "#"; then
2193 echo '.include "confinc"' > confmf
2194 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2195 am__include=.include
2196 am__quote="\""
2197 _am_result=BSD
2202 { echo "$as_me:$LINENO: result: $_am_result" >&5
2203 echo "${ECHO_T}$_am_result" >&6; }
2204 rm -f confinc confmf
2206 # Check whether --enable-dependency-tracking was given.
2207 if test "${enable_dependency_tracking+set}" = set; then
2208 enableval=$enable_dependency_tracking;
2211 if test "x$enable_dependency_tracking" != xno; then
2212 am_depcomp="$ac_aux_dir/depcomp"
2213 AMDEPBACKSLASH='\'
2217 if test "x$enable_dependency_tracking" != xno; then
2218 AMDEP_TRUE=
2219 AMDEP_FALSE='#'
2220 else
2221 AMDEP_TRUE='#'
2222 AMDEP_FALSE=
2227 ac_ext=c
2228 ac_cpp='$CPP $CPPFLAGS'
2229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2232 if test -n "$ac_tool_prefix"; then
2233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2234 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2237 if test "${ac_cv_prog_CC+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 else
2240 if test -n "$CC"; then
2241 ac_cv_prog_CC="$CC" # Let the user override the test.
2242 else
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 for as_dir in $PATH
2246 IFS=$as_save_IFS
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2254 done
2255 done
2256 IFS=$as_save_IFS
2260 CC=$ac_cv_prog_CC
2261 if test -n "$CC"; then
2262 { echo "$as_me:$LINENO: result: $CC" >&5
2263 echo "${ECHO_T}$CC" >&6; }
2264 else
2265 { echo "$as_me:$LINENO: result: no" >&5
2266 echo "${ECHO_T}no" >&6; }
2271 if test -z "$ac_cv_prog_CC"; then
2272 ac_ct_CC=$CC
2273 # Extract the first word of "gcc", so it can be a program name with args.
2274 set dummy gcc; ac_word=$2
2275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2277 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2278 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 else
2280 if test -n "$ac_ct_CC"; then
2281 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2282 else
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 for as_dir in $PATH
2286 IFS=$as_save_IFS
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_ac_ct_CC="gcc"
2291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 break 2
2294 done
2295 done
2296 IFS=$as_save_IFS
2300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2301 if test -n "$ac_ct_CC"; then
2302 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2303 echo "${ECHO_T}$ac_ct_CC" >&6; }
2304 else
2305 { echo "$as_me:$LINENO: result: no" >&5
2306 echo "${ECHO_T}no" >&6; }
2309 if test "x$ac_ct_CC" = x; then
2310 CC=""
2311 else
2312 case $cross_compiling:$ac_tool_warned in
2313 yes:)
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned=yes ;;
2321 esac
2322 CC=$ac_ct_CC
2324 else
2325 CC="$ac_cv_prog_CC"
2328 if test -z "$CC"; then
2329 if test -n "$ac_tool_prefix"; then
2330 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2331 set dummy ${ac_tool_prefix}cc; ac_word=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 else
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC="$CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_CC="${ac_tool_prefix}cc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 break 2
2351 done
2352 done
2353 IFS=$as_save_IFS
2357 CC=$ac_cv_prog_CC
2358 if test -n "$CC"; then
2359 { echo "$as_me:$LINENO: result: $CC" >&5
2360 echo "${ECHO_T}$CC" >&6; }
2361 else
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2369 if test -z "$CC"; then
2370 # Extract the first word of "cc", so it can be a program name with args.
2371 set dummy cc; ac_word=$2
2372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2374 if test "${ac_cv_prog_CC+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 else
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2379 else
2380 ac_prog_rejected=no
2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382 for as_dir in $PATH
2384 IFS=$as_save_IFS
2385 test -z "$as_dir" && as_dir=.
2386 for ac_exec_ext in '' $ac_executable_extensions; do
2387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2388 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2389 ac_prog_rejected=yes
2390 continue
2392 ac_cv_prog_CC="cc"
2393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2394 break 2
2396 done
2397 done
2398 IFS=$as_save_IFS
2400 if test $ac_prog_rejected = yes; then
2401 # We found a bogon in the path, so make sure we never use it.
2402 set dummy $ac_cv_prog_CC
2403 shift
2404 if test $# != 0; then
2405 # We chose a different compiler from the bogus one.
2406 # However, it has the same basename, so the bogon will be chosen
2407 # first if we set CC to just the basename; use the full file name.
2408 shift
2409 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2414 CC=$ac_cv_prog_CC
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2418 else
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2425 if test -z "$CC"; then
2426 if test -n "$ac_tool_prefix"; then
2427 for ac_prog in cl.exe
2429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 for as_dir in $PATH
2442 IFS=$as_save_IFS
2443 test -z "$as_dir" && as_dir=.
2444 for ac_exec_ext in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 break 2
2450 done
2451 done
2452 IFS=$as_save_IFS
2456 CC=$ac_cv_prog_CC
2457 if test -n "$CC"; then
2458 { echo "$as_me:$LINENO: result: $CC" >&5
2459 echo "${ECHO_T}$CC" >&6; }
2460 else
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2466 test -n "$CC" && break
2467 done
2469 if test -z "$CC"; then
2470 ac_ct_CC=$CC
2471 for ac_prog in cl.exe
2473 # Extract the first word of "$ac_prog", so it can be a program name with args.
2474 set dummy $ac_prog; ac_word=$2
2475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test -n "$ac_ct_CC"; then
2481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2482 else
2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 for as_dir in $PATH
2486 IFS=$as_save_IFS
2487 test -z "$as_dir" && as_dir=.
2488 for ac_exec_ext in '' $ac_executable_extensions; do
2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2490 ac_cv_prog_ac_ct_CC="$ac_prog"
2491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 break 2
2494 done
2495 done
2496 IFS=$as_save_IFS
2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6; }
2504 else
2505 { echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6; }
2510 test -n "$ac_ct_CC" && break
2511 done
2513 if test "x$ac_ct_CC" = x; then
2514 CC=""
2515 else
2516 case $cross_compiling:$ac_tool_warned in
2517 yes:)
2518 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&5
2521 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2522 whose name does not start with the host triplet. If you think this
2523 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2524 ac_tool_warned=yes ;;
2525 esac
2526 CC=$ac_ct_CC
2533 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: no acceptable C compiler found in \$PATH
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2539 # Provide some information about the compiler.
2540 echo "$as_me:$LINENO: checking for C compiler version" >&5
2541 ac_compiler=`set X $ac_compile; echo $2`
2542 { (ac_try="$ac_compiler --version >&5"
2543 case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548 (eval "$ac_compiler --version >&5") 2>&5
2549 ac_status=$?
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }
2552 { (ac_try="$ac_compiler -v >&5"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2558 (eval "$ac_compiler -v >&5") 2>&5
2559 ac_status=$?
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }
2562 { (ac_try="$ac_compiler -V >&5"
2563 case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2568 (eval "$ac_compiler -V >&5") 2>&5
2569 ac_status=$?
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }
2573 cat >conftest.$ac_ext <<_ACEOF
2574 /* confdefs.h. */
2575 _ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2581 main ()
2585 return 0;
2587 _ACEOF
2588 ac_clean_files_save=$ac_clean_files
2589 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2590 # Try to create an executable without -o first, disregard a.out.
2591 # It will help us diagnose broken compilers, and finding out an intuition
2592 # of exeext.
2593 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2594 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2595 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2597 # List of possible output files, starting from the most likely.
2598 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2599 # only as a last resort. b.out is created by i960 compilers.
2600 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2602 # The IRIX 6 linker writes into existing files which may not be
2603 # executable, retaining their permissions. Remove them first so a
2604 # subsequent execution test works.
2605 ac_rmfiles=
2606 for ac_file in $ac_files
2608 case $ac_file in
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2610 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2611 esac
2612 done
2613 rm -f $ac_rmfiles
2615 if { (ac_try="$ac_link_default"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_link_default") 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2627 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2628 # so that the user can short-circuit this test for compilers unknown to
2629 # Autoconf.
2630 for ac_file in $ac_files
2632 test -f "$ac_file" || continue
2633 case $ac_file in
2634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2636 [ab].out )
2637 # We found the default executable, but exeext='' is most
2638 # certainly right.
2639 break;;
2640 *.* )
2641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2642 then :; else
2643 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2645 # We set ac_cv_exeext here because the later test for it is not
2646 # safe: cross compilers may not add the suffix if given an `-o'
2647 # argument, so we may need to know it at that point already.
2648 # Even if this section looks crufty: it has the advantage of
2649 # actually working.
2650 break;;
2652 break;;
2653 esac
2654 done
2655 test "$ac_cv_exeext" = no && ac_cv_exeext=
2657 else
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2661 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2662 See \`config.log' for more details." >&5
2663 echo "$as_me: error: C compiler cannot create executables
2664 See \`config.log' for more details." >&2;}
2665 { (exit 77); exit 77; }; }
2668 ac_exeext=$ac_cv_exeext
2669 { echo "$as_me:$LINENO: result: $ac_file" >&5
2670 echo "${ECHO_T}$ac_file" >&6; }
2672 # Check that the compiler produces executables we can run. If not, either
2673 # the compiler is broken, or we cross compile.
2674 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2675 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2676 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2677 # If not cross compiling, check that we can run a simple program.
2678 if test "$cross_compiling" != yes; then
2679 if { ac_try='./$ac_file'
2680 { (case "(($ac_try" in
2681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2683 esac
2684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2685 (eval "$ac_try") 2>&5
2686 ac_status=$?
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }; }; then
2689 cross_compiling=no
2690 else
2691 if test "$cross_compiling" = maybe; then
2692 cross_compiling=yes
2693 else
2694 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2695 If you meant to cross compile, use \`--host'.
2696 See \`config.log' for more details." >&5
2697 echo "$as_me: error: cannot run C compiled programs.
2698 If you meant to cross compile, use \`--host'.
2699 See \`config.log' for more details." >&2;}
2700 { (exit 1); exit 1; }; }
2704 { echo "$as_me:$LINENO: result: yes" >&5
2705 echo "${ECHO_T}yes" >&6; }
2707 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2708 ac_clean_files=$ac_clean_files_save
2709 # Check that the compiler produces executables we can run. If not, either
2710 # the compiler is broken, or we cross compile.
2711 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2712 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2713 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2714 echo "${ECHO_T}$cross_compiling" >&6; }
2716 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2717 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2718 if { (ac_try="$ac_link"
2719 case "(($ac_try" in
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2722 esac
2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_link") 2>&5
2725 ac_status=$?
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; then
2728 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2729 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2730 # work properly (i.e., refer to `conftest.exe'), while it won't with
2731 # `rm'.
2732 for ac_file in conftest.exe conftest conftest.*; do
2733 test -f "$ac_file" || continue
2734 case $ac_file in
2735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2736 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2737 break;;
2738 * ) break;;
2739 esac
2740 done
2741 else
2742 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2743 See \`config.log' for more details." >&5
2744 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2745 See \`config.log' for more details." >&2;}
2746 { (exit 1); exit 1; }; }
2749 rm -f conftest$ac_cv_exeext
2750 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2751 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2753 rm -f conftest.$ac_ext
2754 EXEEXT=$ac_cv_exeext
2755 ac_exeext=$EXEEXT
2756 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2757 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2758 if test "${ac_cv_objext+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 else
2761 cat >conftest.$ac_ext <<_ACEOF
2762 /* confdefs.h. */
2763 _ACEOF
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2769 main ()
2773 return 0;
2775 _ACEOF
2776 rm -f conftest.o conftest.obj
2777 if { (ac_try="$ac_compile"
2778 case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compile") 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; then
2787 for ac_file in conftest.o conftest.obj conftest.*; do
2788 test -f "$ac_file" || continue;
2789 case $ac_file in
2790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2791 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2792 break;;
2793 esac
2794 done
2795 else
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2800 See \`config.log' for more details." >&5
2801 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2802 See \`config.log' for more details." >&2;}
2803 { (exit 1); exit 1; }; }
2806 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2808 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2809 echo "${ECHO_T}$ac_cv_objext" >&6; }
2810 OBJEXT=$ac_cv_objext
2811 ac_objext=$OBJEXT
2812 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2813 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2814 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 else
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2827 #ifndef __GNUC__
2828 choke me
2829 #endif
2832 return 0;
2834 _ACEOF
2835 rm -f conftest.$ac_objext
2836 if { (ac_try="$ac_compile"
2837 case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2840 esac
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_compile") 2>conftest.er1
2843 ac_status=$?
2844 grep -v '^ *+' conftest.er1 >conftest.err
2845 rm -f conftest.er1
2846 cat conftest.err >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } &&
2849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2850 { (case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2855 (eval "$ac_try") 2>&5
2856 ac_status=$?
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; } &&
2859 { ac_try='test -s conftest.$ac_objext'
2860 { (case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_try") 2>&5
2866 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then
2869 ac_compiler_gnu=yes
2870 else
2871 echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.$ac_ext >&5
2874 ac_compiler_gnu=no
2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2878 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2881 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2882 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2883 GCC=`test $ac_compiler_gnu = yes && echo yes`
2884 ac_test_CFLAGS=${CFLAGS+set}
2885 ac_save_CFLAGS=$CFLAGS
2886 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2887 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2888 if test "${ac_cv_prog_cc_g+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891 ac_save_c_werror_flag=$ac_c_werror_flag
2892 ac_c_werror_flag=yes
2893 ac_cv_prog_cc_g=no
2894 CFLAGS="-g"
2895 cat >conftest.$ac_ext <<_ACEOF
2896 /* confdefs.h. */
2897 _ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2903 main ()
2907 return 0;
2909 _ACEOF
2910 rm -f conftest.$ac_objext
2911 if { (ac_try="$ac_compile"
2912 case "(($ac_try" in
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2915 esac
2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_compile") 2>conftest.er1
2918 ac_status=$?
2919 grep -v '^ *+' conftest.er1 >conftest.err
2920 rm -f conftest.er1
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } &&
2924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2925 { (case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_try") 2>&5
2931 ac_status=$?
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2940 (eval "$ac_try") 2>&5
2941 ac_status=$?
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2944 ac_cv_prog_cc_g=yes
2945 else
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2949 CFLAGS=""
2950 cat >conftest.$ac_ext <<_ACEOF
2951 /* confdefs.h. */
2952 _ACEOF
2953 cat confdefs.h >>conftest.$ac_ext
2954 cat >>conftest.$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2958 main ()
2962 return 0;
2964 _ACEOF
2965 rm -f conftest.$ac_objext
2966 if { (ac_try="$ac_compile"
2967 case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2970 esac
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_compile") 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2980 { (case "(($ac_try" in
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2983 esac
2984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2985 (eval "$ac_try") 2>&5
2986 ac_status=$?
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); }; } &&
2989 { ac_try='test -s conftest.$ac_objext'
2990 { (case "(($ac_try" in
2991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992 *) ac_try_echo=$ac_try;;
2993 esac
2994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995 (eval "$ac_try") 2>&5
2996 ac_status=$?
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; }; then
3000 else
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_c_werror_flag=$ac_save_c_werror_flag
3005 CFLAGS="-g"
3006 cat >conftest.$ac_ext <<_ACEOF
3007 /* confdefs.h. */
3008 _ACEOF
3009 cat confdefs.h >>conftest.$ac_ext
3010 cat >>conftest.$ac_ext <<_ACEOF
3011 /* end confdefs.h. */
3014 main ()
3018 return 0;
3020 _ACEOF
3021 rm -f conftest.$ac_objext
3022 if { (ac_try="$ac_compile"
3023 case "(($ac_try" in
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3026 esac
3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3028 (eval "$ac_compile") 2>conftest.er1
3029 ac_status=$?
3030 grep -v '^ *+' conftest.er1 >conftest.err
3031 rm -f conftest.er1
3032 cat conftest.err >&5
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); } &&
3035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3036 { (case "(($ac_try" in
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3039 esac
3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3041 (eval "$ac_try") 2>&5
3042 ac_status=$?
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051 (eval "$ac_try") 2>&5
3052 ac_status=$?
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 ac_cv_prog_cc_g=yes
3056 else
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 ac_c_werror_flag=$ac_save_c_werror_flag
3072 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3073 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3074 if test "$ac_test_CFLAGS" = set; then
3075 CFLAGS=$ac_save_CFLAGS
3076 elif test $ac_cv_prog_cc_g = yes; then
3077 if test "$GCC" = yes; then
3078 CFLAGS="-g -O2"
3079 else
3080 CFLAGS="-g"
3082 else
3083 if test "$GCC" = yes; then
3084 CFLAGS="-O2"
3085 else
3086 CFLAGS=
3089 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3090 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3091 if test "${ac_cv_prog_cc_c89+set}" = set; then
3092 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094 ac_cv_prog_cc_c89=no
3095 ac_save_CC=$CC
3096 cat >conftest.$ac_ext <<_ACEOF
3097 /* confdefs.h. */
3098 _ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <stdarg.h>
3103 #include <stdio.h>
3104 #include <sys/types.h>
3105 #include <sys/stat.h>
3106 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3107 struct buf { int x; };
3108 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3109 static char *e (p, i)
3110 char **p;
3111 int i;
3113 return p[i];
3115 static char *f (char * (*g) (char **, int), char **p, ...)
3117 char *s;
3118 va_list v;
3119 va_start (v,p);
3120 s = g (p, va_arg (v,int));
3121 va_end (v);
3122 return s;
3125 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3126 function prototypes and stuff, but not '\xHH' hex character constants.
3127 These don't provoke an error unfortunately, instead are silently treated
3128 as 'x'. The following induces an error, until -std is added to get
3129 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3130 array size at least. It's necessary to write '\x00'==0 to get something
3131 that's true only with -std. */
3132 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3134 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3135 inside strings and character constants. */
3136 #define FOO(x) 'x'
3137 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3139 int test (int i, double x);
3140 struct s1 {int (*f) (int a);};
3141 struct s2 {int (*f) (double a);};
3142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3143 int argc;
3144 char **argv;
3146 main ()
3148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3150 return 0;
3152 _ACEOF
3153 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3154 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3156 CC="$ac_save_CC $ac_arg"
3157 rm -f conftest.$ac_objext
3158 if { (ac_try="$ac_compile"
3159 case "(($ac_try" in
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3162 esac
3163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164 (eval "$ac_compile") 2>conftest.er1
3165 ac_status=$?
3166 grep -v '^ *+' conftest.er1 >conftest.err
3167 rm -f conftest.er1
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3172 { (case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3174 *) ac_try_echo=$ac_try;;
3175 esac
3176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3177 (eval "$ac_try") 2>&5
3178 ac_status=$?
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; } &&
3181 { ac_try='test -s conftest.$ac_objext'
3182 { (case "(($ac_try" in
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3185 esac
3186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3187 (eval "$ac_try") 2>&5
3188 ac_status=$?
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_cv_prog_cc_c89=$ac_arg
3192 else
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3199 rm -f core conftest.err conftest.$ac_objext
3200 test "x$ac_cv_prog_cc_c89" != "xno" && break
3201 done
3202 rm -f conftest.$ac_ext
3203 CC=$ac_save_CC
3206 # AC_CACHE_VAL
3207 case "x$ac_cv_prog_cc_c89" in
3209 { echo "$as_me:$LINENO: result: none needed" >&5
3210 echo "${ECHO_T}none needed" >&6; } ;;
3211 xno)
3212 { echo "$as_me:$LINENO: result: unsupported" >&5
3213 echo "${ECHO_T}unsupported" >&6; } ;;
3215 CC="$CC $ac_cv_prog_cc_c89"
3216 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3217 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3218 esac
3221 ac_ext=c
3222 ac_cpp='$CPP $CPPFLAGS'
3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3227 depcc="$CC" am_compiler_list=
3229 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3230 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3231 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3232 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 else
3234 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3235 # We make a subdir and do the tests there. Otherwise we can end up
3236 # making bogus files that we don't know about and never remove. For
3237 # instance it was reported that on HP-UX the gcc test will end up
3238 # making a dummy file named `D' -- because `-MD' means `put the output
3239 # in D'.
3240 mkdir conftest.dir
3241 # Copy depcomp to subdir because otherwise we won't find it if we're
3242 # using a relative directory.
3243 cp "$am_depcomp" conftest.dir
3244 cd conftest.dir
3245 # We will build objects and dependencies in a subdirectory because
3246 # it helps to detect inapplicable dependency modes. For instance
3247 # both Tru64's cc and ICC support -MD to output dependencies as a
3248 # side effect of compilation, but ICC will put the dependencies in
3249 # the current directory while Tru64 will put them in the object
3250 # directory.
3251 mkdir sub
3253 am_cv_CC_dependencies_compiler_type=none
3254 if test "$am_compiler_list" = ""; then
3255 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3257 for depmode in $am_compiler_list; do
3258 # Setup a source with many dependencies, because some compilers
3259 # like to wrap large dependency lists on column 80 (with \), and
3260 # we should not choose a depcomp mode which is confused by this.
3262 # We need to recreate these files for each test, as the compiler may
3263 # overwrite some of them when testing with obscure command lines.
3264 # This happens at least with the AIX C compiler.
3265 : > sub/conftest.c
3266 for i in 1 2 3 4 5 6; do
3267 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3268 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3269 # Solaris 8's {/usr,}/bin/sh.
3270 touch sub/conftst$i.h
3271 done
3272 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3274 case $depmode in
3275 nosideeffect)
3276 # after this tag, mechanisms are not by side-effect, so they'll
3277 # only be used when explicitly requested
3278 if test "x$enable_dependency_tracking" = xyes; then
3279 continue
3280 else
3281 break
3284 none) break ;;
3285 esac
3286 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3287 # mode. It turns out that the SunPro C++ compiler does not properly
3288 # handle `-M -o', and we need to detect this.
3289 if depmode=$depmode \
3290 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3291 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3292 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3293 >/dev/null 2>conftest.err &&
3294 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3295 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3296 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3297 # icc doesn't choke on unknown options, it will just issue warnings
3298 # or remarks (even with -Werror). So we grep stderr for any message
3299 # that says an option was ignored or not supported.
3300 # When given -MP, icc 7.0 and 7.1 complain thusly:
3301 # icc: Command line warning: ignoring option '-M'; no argument required
3302 # The diagnosis changed in icc 8.0:
3303 # icc: Command line remark: option '-MP' not supported
3304 if (grep 'ignoring option' conftest.err ||
3305 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3306 am_cv_CC_dependencies_compiler_type=$depmode
3307 break
3310 done
3312 cd ..
3313 rm -rf conftest.dir
3314 else
3315 am_cv_CC_dependencies_compiler_type=none
3319 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3320 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3321 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3326 test "x$enable_dependency_tracking" != xno \
3327 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3328 am__fastdepCC_TRUE=
3329 am__fastdepCC_FALSE='#'
3330 else
3331 am__fastdepCC_TRUE='#'
3332 am__fastdepCC_FALSE=
3337 ac_ext=c
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3343 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3344 # On Suns, sometimes $CPP names a directory.
3345 if test -n "$CPP" && test -d "$CPP"; then
3346 CPP=
3348 if test -z "$CPP"; then
3349 if test "${ac_cv_prog_CPP+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 # Double quotes because CPP needs to be expanded
3353 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3355 ac_preproc_ok=false
3356 for ac_c_preproc_warn_flag in '' yes
3358 # Use a header file that comes with gcc, so configuring glibc
3359 # with a fresh cross-compiler works.
3360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3361 # <limits.h> exists even on freestanding compilers.
3362 # On the NeXT, cc -E runs the code through the compiler's parser,
3363 # not just through cpp. "Syntax error" is here to catch this case.
3364 cat >conftest.$ac_ext <<_ACEOF
3365 /* confdefs.h. */
3366 _ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3370 #ifdef __STDC__
3371 # include <limits.h>
3372 #else
3373 # include <assert.h>
3374 #endif
3375 Syntax error
3376 _ACEOF
3377 if { (ac_try="$ac_cpp conftest.$ac_ext"
3378 case "(($ac_try" in
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3381 esac
3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 ac_status=$?
3385 grep -v '^ *+' conftest.er1 >conftest.err
3386 rm -f conftest.er1
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null; then
3390 if test -s conftest.err; then
3391 ac_cpp_err=$ac_c_preproc_warn_flag
3392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3393 else
3394 ac_cpp_err=
3396 else
3397 ac_cpp_err=yes
3399 if test -z "$ac_cpp_err"; then
3401 else
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3405 # Broken: fails on valid input.
3406 continue
3409 rm -f conftest.err conftest.$ac_ext
3411 # OK, works on sane cases. Now check whether nonexistent headers
3412 # can be detected and how.
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3419 #include <ac_nonexistent.h>
3420 _ACEOF
3421 if { (ac_try="$ac_cpp conftest.$ac_ext"
3422 case "(($ac_try" in
3423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3425 esac
3426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3428 ac_status=$?
3429 grep -v '^ *+' conftest.er1 >conftest.err
3430 rm -f conftest.er1
3431 cat conftest.err >&5
3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 (exit $ac_status); } >/dev/null; then
3434 if test -s conftest.err; then
3435 ac_cpp_err=$ac_c_preproc_warn_flag
3436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3437 else
3438 ac_cpp_err=
3440 else
3441 ac_cpp_err=yes
3443 if test -z "$ac_cpp_err"; then
3444 # Broken: success on invalid input.
3445 continue
3446 else
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 # Passes both tests.
3451 ac_preproc_ok=:
3452 break
3455 rm -f conftest.err conftest.$ac_ext
3457 done
3458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3459 rm -f conftest.err conftest.$ac_ext
3460 if $ac_preproc_ok; then
3461 break
3464 done
3465 ac_cv_prog_CPP=$CPP
3468 CPP=$ac_cv_prog_CPP
3469 else
3470 ac_cv_prog_CPP=$CPP
3472 { echo "$as_me:$LINENO: result: $CPP" >&5
3473 echo "${ECHO_T}$CPP" >&6; }
3474 ac_preproc_ok=false
3475 for ac_c_preproc_warn_flag in '' yes
3477 # Use a header file that comes with gcc, so configuring glibc
3478 # with a fresh cross-compiler works.
3479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3480 # <limits.h> exists even on freestanding compilers.
3481 # On the NeXT, cc -E runs the code through the compiler's parser,
3482 # not just through cpp. "Syntax error" is here to catch this case.
3483 cat >conftest.$ac_ext <<_ACEOF
3484 /* confdefs.h. */
3485 _ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3489 #ifdef __STDC__
3490 # include <limits.h>
3491 #else
3492 # include <assert.h>
3493 #endif
3494 Syntax error
3495 _ACEOF
3496 if { (ac_try="$ac_cpp conftest.$ac_ext"
3497 case "(($ac_try" in
3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3500 esac
3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3503 ac_status=$?
3504 grep -v '^ *+' conftest.er1 >conftest.err
3505 rm -f conftest.er1
3506 cat conftest.err >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } >/dev/null; then
3509 if test -s conftest.err; then
3510 ac_cpp_err=$ac_c_preproc_warn_flag
3511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3512 else
3513 ac_cpp_err=
3515 else
3516 ac_cpp_err=yes
3518 if test -z "$ac_cpp_err"; then
3520 else
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3524 # Broken: fails on valid input.
3525 continue
3528 rm -f conftest.err conftest.$ac_ext
3530 # OK, works on sane cases. Now check whether nonexistent headers
3531 # can be detected and how.
3532 cat >conftest.$ac_ext <<_ACEOF
3533 /* confdefs.h. */
3534 _ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 #include <ac_nonexistent.h>
3539 _ACEOF
3540 if { (ac_try="$ac_cpp conftest.$ac_ext"
3541 case "(($ac_try" in
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3544 esac
3545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3547 ac_status=$?
3548 grep -v '^ *+' conftest.er1 >conftest.err
3549 rm -f conftest.er1
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } >/dev/null; then
3553 if test -s conftest.err; then
3554 ac_cpp_err=$ac_c_preproc_warn_flag
3555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3556 else
3557 ac_cpp_err=
3559 else
3560 ac_cpp_err=yes
3562 if test -z "$ac_cpp_err"; then
3563 # Broken: success on invalid input.
3564 continue
3565 else
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3570 ac_preproc_ok=:
3571 break
3574 rm -f conftest.err conftest.$ac_ext
3576 done
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3581 else
3582 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3583 See \`config.log' for more details." >&5
3584 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3585 See \`config.log' for more details." >&2;}
3586 { (exit 1); exit 1; }; }
3589 ac_ext=c
3590 ac_cpp='$CPP $CPPFLAGS'
3591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3597 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3598 if test "${ac_cv_path_GREP+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 else
3601 # Extract the first word of "grep ggrep" to use in msg output
3602 if test -z "$GREP"; then
3603 set dummy grep ggrep; ac_prog_name=$2
3604 if test "${ac_cv_path_GREP+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 else
3607 ac_path_GREP_found=false
3608 # Loop through the user's path and test for each of PROGNAME-LIST
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3612 IFS=$as_save_IFS
3613 test -z "$as_dir" && as_dir=.
3614 for ac_prog in grep ggrep; do
3615 for ac_exec_ext in '' $ac_executable_extensions; do
3616 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3617 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3618 # Check for GNU ac_path_GREP and select it if it is found.
3619 # Check for GNU $ac_path_GREP
3620 case `"$ac_path_GREP" --version 2>&1` in
3621 *GNU*)
3622 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3624 ac_count=0
3625 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3626 while :
3628 cat "conftest.in" "conftest.in" >"conftest.tmp"
3629 mv "conftest.tmp" "conftest.in"
3630 cp "conftest.in" "conftest.nl"
3631 echo 'GREP' >> "conftest.nl"
3632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3634 ac_count=`expr $ac_count + 1`
3635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3636 # Best one so far, save it but keep looking for a better one
3637 ac_cv_path_GREP="$ac_path_GREP"
3638 ac_path_GREP_max=$ac_count
3640 # 10*(2^10) chars as input seems more than enough
3641 test $ac_count -gt 10 && break
3642 done
3643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3644 esac
3647 $ac_path_GREP_found && break 3
3648 done
3649 done
3651 done
3652 IFS=$as_save_IFS
3657 GREP="$ac_cv_path_GREP"
3658 if test -z "$GREP"; then
3659 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3660 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3661 { (exit 1); exit 1; }; }
3664 else
3665 ac_cv_path_GREP=$GREP
3670 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3671 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3672 GREP="$ac_cv_path_GREP"
3675 { echo "$as_me:$LINENO: checking for egrep" >&5
3676 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3677 if test "${ac_cv_path_EGREP+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 else
3680 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3681 then ac_cv_path_EGREP="$GREP -E"
3682 else
3683 # Extract the first word of "egrep" to use in msg output
3684 if test -z "$EGREP"; then
3685 set dummy egrep; ac_prog_name=$2
3686 if test "${ac_cv_path_EGREP+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 else
3689 ac_path_EGREP_found=false
3690 # Loop through the user's path and test for each of PROGNAME-LIST
3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3694 IFS=$as_save_IFS
3695 test -z "$as_dir" && as_dir=.
3696 for ac_prog in egrep; do
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3699 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3700 # Check for GNU ac_path_EGREP and select it if it is found.
3701 # Check for GNU $ac_path_EGREP
3702 case `"$ac_path_EGREP" --version 2>&1` in
3703 *GNU*)
3704 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3706 ac_count=0
3707 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3708 while :
3710 cat "conftest.in" "conftest.in" >"conftest.tmp"
3711 mv "conftest.tmp" "conftest.in"
3712 cp "conftest.in" "conftest.nl"
3713 echo 'EGREP' >> "conftest.nl"
3714 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3715 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3716 ac_count=`expr $ac_count + 1`
3717 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3718 # Best one so far, save it but keep looking for a better one
3719 ac_cv_path_EGREP="$ac_path_EGREP"
3720 ac_path_EGREP_max=$ac_count
3722 # 10*(2^10) chars as input seems more than enough
3723 test $ac_count -gt 10 && break
3724 done
3725 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3726 esac
3729 $ac_path_EGREP_found && break 3
3730 done
3731 done
3733 done
3734 IFS=$as_save_IFS
3739 EGREP="$ac_cv_path_EGREP"
3740 if test -z "$EGREP"; then
3741 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3742 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3743 { (exit 1); exit 1; }; }
3746 else
3747 ac_cv_path_EGREP=$EGREP
3753 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3754 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3755 EGREP="$ac_cv_path_EGREP"
3758 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3759 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3760 if test "${ac_cv_header_stdc+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 else
3763 cat >conftest.$ac_ext <<_ACEOF
3764 /* confdefs.h. */
3765 _ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <stdlib.h>
3770 #include <stdarg.h>
3771 #include <string.h>
3772 #include <float.h>
3775 main ()
3779 return 0;
3781 _ACEOF
3782 rm -f conftest.$ac_objext
3783 if { (ac_try="$ac_compile"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_compile") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3797 { (case "(($ac_try" in
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3800 esac
3801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3802 (eval "$ac_try") 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try='test -s conftest.$ac_objext'
3807 { (case "(($ac_try" in
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3810 esac
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_try") 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_header_stdc=yes
3817 else
3818 echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.$ac_ext >&5
3821 ac_cv_header_stdc=no
3824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3826 if test $ac_cv_header_stdc = yes; then
3827 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <string.h>
3836 _ACEOF
3837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3838 $EGREP "memchr" >/dev/null 2>&1; then
3840 else
3841 ac_cv_header_stdc=no
3843 rm -f conftest*
3847 if test $ac_cv_header_stdc = yes; then
3848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <stdlib.h>
3857 _ACEOF
3858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3859 $EGREP "free" >/dev/null 2>&1; then
3861 else
3862 ac_cv_header_stdc=no
3864 rm -f conftest*
3868 if test $ac_cv_header_stdc = yes; then
3869 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3870 if test "$cross_compiling" = yes; then
3872 else
3873 cat >conftest.$ac_ext <<_ACEOF
3874 /* confdefs.h. */
3875 _ACEOF
3876 cat confdefs.h >>conftest.$ac_ext
3877 cat >>conftest.$ac_ext <<_ACEOF
3878 /* end confdefs.h. */
3879 #include <ctype.h>
3880 #include <stdlib.h>
3881 #if ((' ' & 0x0FF) == 0x020)
3882 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3883 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3884 #else
3885 # define ISLOWER(c) \
3886 (('a' <= (c) && (c) <= 'i') \
3887 || ('j' <= (c) && (c) <= 'r') \
3888 || ('s' <= (c) && (c) <= 'z'))
3889 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3890 #endif
3892 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3894 main ()
3896 int i;
3897 for (i = 0; i < 256; i++)
3898 if (XOR (islower (i), ISLOWER (i))
3899 || toupper (i) != TOUPPER (i))
3900 return 2;
3901 return 0;
3903 _ACEOF
3904 rm -f conftest$ac_exeext
3905 if { (ac_try="$ac_link"
3906 case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3909 esac
3910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3911 (eval "$ac_link") 2>&5
3912 ac_status=$?
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3915 { (case "(($ac_try" in
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3918 esac
3919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3920 (eval "$ac_try") 2>&5
3921 ac_status=$?
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3925 else
3926 echo "$as_me: program exited with status $ac_status" >&5
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.$ac_ext >&5
3930 ( exit $ac_status )
3931 ac_cv_header_stdc=no
3933 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3939 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3940 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3941 if test $ac_cv_header_stdc = yes; then
3943 cat >>confdefs.h <<\_ACEOF
3944 #define STDC_HEADERS 1
3945 _ACEOF
3949 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3960 inttypes.h stdint.h unistd.h
3962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 else
3968 cat >conftest.$ac_ext <<_ACEOF
3969 /* confdefs.h. */
3970 _ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3974 $ac_includes_default
3976 #include <$ac_header>
3977 _ACEOF
3978 rm -f conftest.$ac_objext
3979 if { (ac_try="$ac_compile"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_compile") 2>conftest.er1
3986 ac_status=$?
3987 grep -v '^ *+' conftest.er1 >conftest.err
3988 rm -f conftest.er1
3989 cat conftest.err >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } &&
3992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3993 { (case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_try") 2>&5
3999 ac_status=$?
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; } &&
4002 { ac_try='test -s conftest.$ac_objext'
4003 { (case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_try") 2>&5
4009 ac_status=$?
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4012 eval "$as_ac_Header=yes"
4013 else
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4017 eval "$as_ac_Header=no"
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_res=`eval echo '${'$as_ac_Header'}'`
4023 { echo "$as_me:$LINENO: result: $ac_res" >&5
4024 echo "${ECHO_T}$ac_res" >&6; }
4025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4026 cat >>confdefs.h <<_ACEOF
4027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4028 _ACEOF
4032 done
4035 { echo "$as_me:$LINENO: checking for size_t" >&5
4036 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4037 if test "${ac_cv_type_size_t+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 else
4040 cat >conftest.$ac_ext <<_ACEOF
4041 /* confdefs.h. */
4042 _ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 $ac_includes_default
4047 typedef size_t ac__type_new_;
4049 main ()
4051 if ((ac__type_new_ *) 0)
4052 return 0;
4053 if (sizeof (ac__type_new_))
4054 return 0;
4056 return 0;
4058 _ACEOF
4059 rm -f conftest.$ac_objext
4060 if { (ac_try="$ac_compile"
4061 case "(($ac_try" in
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4064 esac
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compile") 2>conftest.er1
4067 ac_status=$?
4068 grep -v '^ *+' conftest.er1 >conftest.err
4069 rm -f conftest.er1
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4074 { (case "(($ac_try" in
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4077 esac
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_try") 2>&5
4080 ac_status=$?
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try='test -s conftest.$ac_objext'
4084 { (case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089 (eval "$ac_try") 2>&5
4090 ac_status=$?
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_cv_type_size_t=yes
4094 else
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 ac_cv_type_size_t=no
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4104 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4105 if test $ac_cv_type_size_t = yes; then
4107 else
4109 cat >>confdefs.h <<_ACEOF
4110 #define size_t unsigned int
4111 _ACEOF
4115 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4116 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4117 if test "${ac_cv_c_const+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 else
4120 cat >conftest.$ac_ext <<_ACEOF
4121 /* confdefs.h. */
4122 _ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4128 main ()
4130 /* FIXME: Include the comments suggested by Paul. */
4131 #ifndef __cplusplus
4132 /* Ultrix mips cc rejects this. */
4133 typedef int charset[2];
4134 const charset x;
4135 /* SunOS 4.1.1 cc rejects this. */
4136 char const *const *ccp;
4137 char **p;
4138 /* NEC SVR4.0.2 mips cc rejects this. */
4139 struct point {int x, y;};
4140 static struct point const zero = {0,0};
4141 /* AIX XL C 1.02.0.0 rejects this.
4142 It does not let you subtract one const X* pointer from another in
4143 an arm of an if-expression whose if-part is not a constant
4144 expression */
4145 const char *g = "string";
4146 ccp = &g + (g ? g-g : 0);
4147 /* HPUX 7.0 cc rejects these. */
4148 ++ccp;
4149 p = (char**) ccp;
4150 ccp = (char const *const *) p;
4151 { /* SCO 3.2v4 cc rejects this. */
4152 char *t;
4153 char const *s = 0 ? (char *) 0 : (char const *) 0;
4155 *t++ = 0;
4156 if (s) return 0;
4158 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4159 int x[] = {25, 17};
4160 const int *foo = &x[0];
4161 ++foo;
4163 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4164 typedef const int *iptr;
4165 iptr p = 0;
4166 ++p;
4168 { /* AIX XL C 1.02.0.0 rejects this saying
4169 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4170 struct s { int j; const int *ap[3]; };
4171 struct s *b; b->j = 5;
4173 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4174 const int foo = 10;
4175 if (!foo) return 0;
4177 return !x[0] && !zero.x;
4178 #endif
4181 return 0;
4183 _ACEOF
4184 rm -f conftest.$ac_objext
4185 if { (ac_try="$ac_compile"
4186 case "(($ac_try" in
4187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4189 esac
4190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191 (eval "$ac_compile") 2>conftest.er1
4192 ac_status=$?
4193 grep -v '^ *+' conftest.er1 >conftest.err
4194 rm -f conftest.er1
4195 cat conftest.err >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } &&
4198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4199 { (case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_try") 2>&5
4205 ac_status=$?
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; } &&
4208 { ac_try='test -s conftest.$ac_objext'
4209 { (case "(($ac_try" in
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4212 esac
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_try") 2>&5
4215 ac_status=$?
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }; }; then
4218 ac_cv_c_const=yes
4219 else
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.$ac_ext >&5
4223 ac_cv_c_const=no
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4229 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4230 if test $ac_cv_c_const = no; then
4232 cat >>confdefs.h <<\_ACEOF
4233 #define const
4234 _ACEOF
4239 for ac_prog in gawk mawk nawk awk
4241 # Extract the first word of "$ac_prog", so it can be a program name with args.
4242 set dummy $ac_prog; ac_word=$2
4243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4245 if test "${ac_cv_prog_AWK+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 else
4248 if test -n "$AWK"; then
4249 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4250 else
4251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252 for as_dir in $PATH
4254 IFS=$as_save_IFS
4255 test -z "$as_dir" && as_dir=.
4256 for ac_exec_ext in '' $ac_executable_extensions; do
4257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4258 ac_cv_prog_AWK="$ac_prog"
4259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 break 2
4262 done
4263 done
4264 IFS=$as_save_IFS
4268 AWK=$ac_cv_prog_AWK
4269 if test -n "$AWK"; then
4270 { echo "$as_me:$LINENO: result: $AWK" >&5
4271 echo "${ECHO_T}$AWK" >&6; }
4272 else
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4278 test -n "$AWK" && break
4279 done
4281 ac_ext=c
4282 ac_cpp='$CPP $CPPFLAGS'
4283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4291 if test "${ac_cv_prog_CC+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$CC"; then
4295 ac_cv_prog_CC="$CC" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4304 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4310 IFS=$as_save_IFS
4314 CC=$ac_cv_prog_CC
4315 if test -n "$CC"; then
4316 { echo "$as_me:$LINENO: result: $CC" >&5
4317 echo "${ECHO_T}$CC" >&6; }
4318 else
4319 { echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6; }
4325 if test -z "$ac_cv_prog_CC"; then
4326 ac_ct_CC=$CC
4327 # Extract the first word of "gcc", so it can be a program name with args.
4328 set dummy gcc; ac_word=$2
4329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4331 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 else
4334 if test -n "$ac_ct_CC"; then
4335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4336 else
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH
4340 IFS=$as_save_IFS
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ac_ct_CC="gcc"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 break 2
4348 done
4349 done
4350 IFS=$as_save_IFS
4354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4355 if test -n "$ac_ct_CC"; then
4356 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4357 echo "${ECHO_T}$ac_ct_CC" >&6; }
4358 else
4359 { echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6; }
4363 if test "x$ac_ct_CC" = x; then
4364 CC=""
4365 else
4366 case $cross_compiling:$ac_tool_warned in
4367 yes:)
4368 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4369 whose name does not start with the host triplet. If you think this
4370 configuration is useful to you, please write to autoconf@gnu.org." >&5
4371 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4372 whose name does not start with the host triplet. If you think this
4373 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4374 ac_tool_warned=yes ;;
4375 esac
4376 CC=$ac_ct_CC
4378 else
4379 CC="$ac_cv_prog_CC"
4382 if test -z "$CC"; then
4383 if test -n "$ac_tool_prefix"; then
4384 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4385 set dummy ${ac_tool_prefix}cc; ac_word=$2
4386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388 if test "${ac_cv_prog_CC+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 else
4391 if test -n "$CC"; then
4392 ac_cv_prog_CC="$CC" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_CC="${ac_tool_prefix}cc"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4405 done
4406 done
4407 IFS=$as_save_IFS
4411 CC=$ac_cv_prog_CC
4412 if test -n "$CC"; then
4413 { echo "$as_me:$LINENO: result: $CC" >&5
4414 echo "${ECHO_T}$CC" >&6; }
4415 else
4416 { echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6; }
4423 if test -z "$CC"; then
4424 # Extract the first word of "cc", so it can be a program name with args.
4425 set dummy cc; ac_word=$2
4426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4428 if test "${ac_cv_prog_CC+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4430 else
4431 if test -n "$CC"; then
4432 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 else
4434 ac_prog_rejected=no
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4442 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4443 ac_prog_rejected=yes
4444 continue
4446 ac_cv_prog_CC="cc"
4447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 break 2
4450 done
4451 done
4452 IFS=$as_save_IFS
4454 if test $ac_prog_rejected = yes; then
4455 # We found a bogon in the path, so make sure we never use it.
4456 set dummy $ac_cv_prog_CC
4457 shift
4458 if test $# != 0; then
4459 # We chose a different compiler from the bogus one.
4460 # However, it has the same basename, so the bogon will be chosen
4461 # first if we set CC to just the basename; use the full file name.
4462 shift
4463 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4468 CC=$ac_cv_prog_CC
4469 if test -n "$CC"; then
4470 { echo "$as_me:$LINENO: result: $CC" >&5
4471 echo "${ECHO_T}$CC" >&6; }
4472 else
4473 { echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6; }
4479 if test -z "$CC"; then
4480 if test -n "$ac_tool_prefix"; then
4481 for ac_prog in cl.exe
4483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4487 if test "${ac_cv_prog_CC+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$CC"; then
4491 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 else
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4496 IFS=$as_save_IFS
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4510 CC=$ac_cv_prog_CC
4511 if test -n "$CC"; then
4512 { echo "$as_me:$LINENO: result: $CC" >&5
4513 echo "${ECHO_T}$CC" >&6; }
4514 else
4515 { echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6; }
4520 test -n "$CC" && break
4521 done
4523 if test -z "$CC"; then
4524 ac_ct_CC=$CC
4525 for ac_prog in cl.exe
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy $ac_prog; ac_word=$2
4529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4531 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4532 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 else
4534 if test -n "$ac_ct_CC"; then
4535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4536 else
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH
4540 IFS=$as_save_IFS
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 ac_cv_prog_ac_ct_CC="$ac_prog"
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 break 2
4548 done
4549 done
4550 IFS=$as_save_IFS
4554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4555 if test -n "$ac_ct_CC"; then
4556 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4557 echo "${ECHO_T}$ac_ct_CC" >&6; }
4558 else
4559 { echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6; }
4564 test -n "$ac_ct_CC" && break
4565 done
4567 if test "x$ac_ct_CC" = x; then
4568 CC=""
4569 else
4570 case $cross_compiling:$ac_tool_warned in
4571 yes:)
4572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4573 whose name does not start with the host triplet. If you think this
4574 configuration is useful to you, please write to autoconf@gnu.org." >&5
4575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4576 whose name does not start with the host triplet. If you think this
4577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4578 ac_tool_warned=yes ;;
4579 esac
4580 CC=$ac_ct_CC
4587 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4588 See \`config.log' for more details." >&5
4589 echo "$as_me: error: no acceptable C compiler found in \$PATH
4590 See \`config.log' for more details." >&2;}
4591 { (exit 1); exit 1; }; }
4593 # Provide some information about the compiler.
4594 echo "$as_me:$LINENO: checking for C compiler version" >&5
4595 ac_compiler=`set X $ac_compile; echo $2`
4596 { (ac_try="$ac_compiler --version >&5"
4597 case "(($ac_try" in
4598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 *) ac_try_echo=$ac_try;;
4600 esac
4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4602 (eval "$ac_compiler --version >&5") 2>&5
4603 ac_status=$?
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }
4606 { (ac_try="$ac_compiler -v >&5"
4607 case "(($ac_try" in
4608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609 *) ac_try_echo=$ac_try;;
4610 esac
4611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4612 (eval "$ac_compiler -v >&5") 2>&5
4613 ac_status=$?
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }
4616 { (ac_try="$ac_compiler -V >&5"
4617 case "(($ac_try" in
4618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4619 *) ac_try_echo=$ac_try;;
4620 esac
4621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4622 (eval "$ac_compiler -V >&5") 2>&5
4623 ac_status=$?
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); }
4627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4631 else
4632 cat >conftest.$ac_ext <<_ACEOF
4633 /* confdefs.h. */
4634 _ACEOF
4635 cat confdefs.h >>conftest.$ac_ext
4636 cat >>conftest.$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4640 main ()
4642 #ifndef __GNUC__
4643 choke me
4644 #endif
4647 return 0;
4649 _ACEOF
4650 rm -f conftest.$ac_objext
4651 if { (ac_try="$ac_compile"
4652 case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4655 esac
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_compile") 2>conftest.er1
4658 ac_status=$?
4659 grep -v '^ *+' conftest.er1 >conftest.err
4660 rm -f conftest.er1
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4665 { (case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_try") 2>&5
4671 ac_status=$?
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try='test -s conftest.$ac_objext'
4675 { (case "(($ac_try" in
4676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4677 *) ac_try_echo=$ac_try;;
4678 esac
4679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4680 (eval "$ac_try") 2>&5
4681 ac_status=$?
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4684 ac_compiler_gnu=yes
4685 else
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_compiler_gnu=no
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4693 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4696 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4697 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4698 GCC=`test $ac_compiler_gnu = yes && echo yes`
4699 ac_test_CFLAGS=${CFLAGS+set}
4700 ac_save_CFLAGS=$CFLAGS
4701 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4702 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4703 if test "${ac_cv_prog_cc_g+set}" = set; then
4704 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 else
4706 ac_save_c_werror_flag=$ac_c_werror_flag
4707 ac_c_werror_flag=yes
4708 ac_cv_prog_cc_g=no
4709 CFLAGS="-g"
4710 cat >conftest.$ac_ext <<_ACEOF
4711 /* confdefs.h. */
4712 _ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4718 main ()
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext
4726 if { (ac_try="$ac_compile"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_compile") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740 { (case "(($ac_try" in
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4743 esac
4744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4745 (eval "$ac_try") 2>&5
4746 ac_status=$?
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; } &&
4749 { ac_try='test -s conftest.$ac_objext'
4750 { (case "(($ac_try" in
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4753 esac
4754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4755 (eval "$ac_try") 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_cc_g=yes
4760 else
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4764 CFLAGS=""
4765 cat >conftest.$ac_ext <<_ACEOF
4766 /* confdefs.h. */
4767 _ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4782 case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785 esac
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4788 ac_status=$?
4789 grep -v '^ *+' conftest.er1 >conftest.err
4790 rm -f conftest.er1
4791 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (case "(($ac_try" in
4796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797 *) ac_try_echo=$ac_try;;
4798 esac
4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4800 (eval "$ac_try") 2>&5
4801 ac_status=$?
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (case "(($ac_try" in
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4808 esac
4809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4810 (eval "$ac_try") 2>&5
4811 ac_status=$?
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4815 else
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.$ac_ext >&5
4819 ac_c_werror_flag=$ac_save_c_werror_flag
4820 CFLAGS="-g"
4821 cat >conftest.$ac_ext <<_ACEOF
4822 /* confdefs.h. */
4823 _ACEOF
4824 cat confdefs.h >>conftest.$ac_ext
4825 cat >>conftest.$ac_ext <<_ACEOF
4826 /* end confdefs.h. */
4829 main ()
4833 return 0;
4835 _ACEOF
4836 rm -f conftest.$ac_objext
4837 if { (ac_try="$ac_compile"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_compile") 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4851 { (case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854 esac
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_try") 2>&5
4857 ac_status=$?
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try='test -s conftest.$ac_objext'
4861 { (case "(($ac_try" in
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4864 esac
4865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4866 (eval "$ac_try") 2>&5
4867 ac_status=$?
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); }; }; then
4870 ac_cv_prog_cc_g=yes
4871 else
4872 echo "$as_me: failed program was:" >&5
4873 sed 's/^/| /' conftest.$ac_ext >&5
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 ac_c_werror_flag=$ac_save_c_werror_flag
4887 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4888 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4889 if test "$ac_test_CFLAGS" = set; then
4890 CFLAGS=$ac_save_CFLAGS
4891 elif test $ac_cv_prog_cc_g = yes; then
4892 if test "$GCC" = yes; then
4893 CFLAGS="-g -O2"
4894 else
4895 CFLAGS="-g"
4897 else
4898 if test "$GCC" = yes; then
4899 CFLAGS="-O2"
4900 else
4901 CFLAGS=
4904 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4905 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4906 if test "${ac_cv_prog_cc_c89+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 else
4909 ac_cv_prog_cc_c89=no
4910 ac_save_CC=$CC
4911 cat >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h. */
4913 _ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917 #include <stdarg.h>
4918 #include <stdio.h>
4919 #include <sys/types.h>
4920 #include <sys/stat.h>
4921 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4922 struct buf { int x; };
4923 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4924 static char *e (p, i)
4925 char **p;
4926 int i;
4928 return p[i];
4930 static char *f (char * (*g) (char **, int), char **p, ...)
4932 char *s;
4933 va_list v;
4934 va_start (v,p);
4935 s = g (p, va_arg (v,int));
4936 va_end (v);
4937 return s;
4940 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4941 function prototypes and stuff, but not '\xHH' hex character constants.
4942 These don't provoke an error unfortunately, instead are silently treated
4943 as 'x'. The following induces an error, until -std is added to get
4944 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4945 array size at least. It's necessary to write '\x00'==0 to get something
4946 that's true only with -std. */
4947 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4949 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4950 inside strings and character constants. */
4951 #define FOO(x) 'x'
4952 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4954 int test (int i, double x);
4955 struct s1 {int (*f) (int a);};
4956 struct s2 {int (*f) (double a);};
4957 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4958 int argc;
4959 char **argv;
4961 main ()
4963 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4965 return 0;
4967 _ACEOF
4968 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4969 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4971 CC="$ac_save_CC $ac_arg"
4972 rm -f conftest.$ac_objext
4973 if { (ac_try="$ac_compile"
4974 case "(($ac_try" in
4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4976 *) ac_try_echo=$ac_try;;
4977 esac
4978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4979 (eval "$ac_compile") 2>conftest.er1
4980 ac_status=$?
4981 grep -v '^ *+' conftest.er1 >conftest.err
4982 rm -f conftest.er1
4983 cat conftest.err >&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4987 { (case "(($ac_try" in
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4990 esac
4991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4992 (eval "$ac_try") 2>&5
4993 ac_status=$?
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; } &&
4996 { ac_try='test -s conftest.$ac_objext'
4997 { (case "(($ac_try" in
4998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4999 *) ac_try_echo=$ac_try;;
5000 esac
5001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5002 (eval "$ac_try") 2>&5
5003 ac_status=$?
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; }; then
5006 ac_cv_prog_cc_c89=$ac_arg
5007 else
5008 echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5014 rm -f core conftest.err conftest.$ac_objext
5015 test "x$ac_cv_prog_cc_c89" != "xno" && break
5016 done
5017 rm -f conftest.$ac_ext
5018 CC=$ac_save_CC
5021 # AC_CACHE_VAL
5022 case "x$ac_cv_prog_cc_c89" in
5024 { echo "$as_me:$LINENO: result: none needed" >&5
5025 echo "${ECHO_T}none needed" >&6; } ;;
5026 xno)
5027 { echo "$as_me:$LINENO: result: unsupported" >&5
5028 echo "${ECHO_T}unsupported" >&6; } ;;
5030 CC="$CC $ac_cv_prog_cc_c89"
5031 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5032 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5033 esac
5036 ac_ext=c
5037 ac_cpp='$CPP $CPPFLAGS'
5038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5042 depcc="$CC" am_compiler_list=
5044 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5045 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5046 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 else
5049 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5050 # We make a subdir and do the tests there. Otherwise we can end up
5051 # making bogus files that we don't know about and never remove. For
5052 # instance it was reported that on HP-UX the gcc test will end up
5053 # making a dummy file named `D' -- because `-MD' means `put the output
5054 # in D'.
5055 mkdir conftest.dir
5056 # Copy depcomp to subdir because otherwise we won't find it if we're
5057 # using a relative directory.
5058 cp "$am_depcomp" conftest.dir
5059 cd conftest.dir
5060 # We will build objects and dependencies in a subdirectory because
5061 # it helps to detect inapplicable dependency modes. For instance
5062 # both Tru64's cc and ICC support -MD to output dependencies as a
5063 # side effect of compilation, but ICC will put the dependencies in
5064 # the current directory while Tru64 will put them in the object
5065 # directory.
5066 mkdir sub
5068 am_cv_CC_dependencies_compiler_type=none
5069 if test "$am_compiler_list" = ""; then
5070 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5072 for depmode in $am_compiler_list; do
5073 # Setup a source with many dependencies, because some compilers
5074 # like to wrap large dependency lists on column 80 (with \), and
5075 # we should not choose a depcomp mode which is confused by this.
5077 # We need to recreate these files for each test, as the compiler may
5078 # overwrite some of them when testing with obscure command lines.
5079 # This happens at least with the AIX C compiler.
5080 : > sub/conftest.c
5081 for i in 1 2 3 4 5 6; do
5082 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5083 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5084 # Solaris 8's {/usr,}/bin/sh.
5085 touch sub/conftst$i.h
5086 done
5087 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5089 case $depmode in
5090 nosideeffect)
5091 # after this tag, mechanisms are not by side-effect, so they'll
5092 # only be used when explicitly requested
5093 if test "x$enable_dependency_tracking" = xyes; then
5094 continue
5095 else
5096 break
5099 none) break ;;
5100 esac
5101 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5102 # mode. It turns out that the SunPro C++ compiler does not properly
5103 # handle `-M -o', and we need to detect this.
5104 if depmode=$depmode \
5105 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5106 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5107 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5108 >/dev/null 2>conftest.err &&
5109 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5110 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5111 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5112 # icc doesn't choke on unknown options, it will just issue warnings
5113 # or remarks (even with -Werror). So we grep stderr for any message
5114 # that says an option was ignored or not supported.
5115 # When given -MP, icc 7.0 and 7.1 complain thusly:
5116 # icc: Command line warning: ignoring option '-M'; no argument required
5117 # The diagnosis changed in icc 8.0:
5118 # icc: Command line remark: option '-MP' not supported
5119 if (grep 'ignoring option' conftest.err ||
5120 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5121 am_cv_CC_dependencies_compiler_type=$depmode
5122 break
5125 done
5127 cd ..
5128 rm -rf conftest.dir
5129 else
5130 am_cv_CC_dependencies_compiler_type=none
5134 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5135 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5136 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5141 test "x$enable_dependency_tracking" != xno \
5142 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5143 am__fastdepCC_TRUE=
5144 am__fastdepCC_FALSE='#'
5145 else
5146 am__fastdepCC_TRUE='#'
5147 am__fastdepCC_FALSE=
5151 for ac_prog in 'bison -y' byacc
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy $ac_prog; ac_word=$2
5155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5157 if test "${ac_cv_prog_YACC+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160 if test -n "$YACC"; then
5161 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_YACC="$ac_prog"
5171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 YACC=$ac_cv_prog_YACC
5181 if test -n "$YACC"; then
5182 { echo "$as_me:$LINENO: result: $YACC" >&5
5183 echo "${ECHO_T}$YACC" >&6; }
5184 else
5185 { echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6; }
5190 test -n "$YACC" && break
5191 done
5192 test -n "$YACC" || YACC="yacc"
5194 for ac_prog in flex lex
5196 # Extract the first word of "$ac_prog", so it can be a program name with args.
5197 set dummy $ac_prog; ac_word=$2
5198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5200 if test "${ac_cv_prog_LEX+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 else
5203 if test -n "$LEX"; then
5204 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5205 else
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH
5209 IFS=$as_save_IFS
5210 test -z "$as_dir" && as_dir=.
5211 for ac_exec_ext in '' $ac_executable_extensions; do
5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5213 ac_cv_prog_LEX="$ac_prog"
5214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5215 break 2
5217 done
5218 done
5219 IFS=$as_save_IFS
5223 LEX=$ac_cv_prog_LEX
5224 if test -n "$LEX"; then
5225 { echo "$as_me:$LINENO: result: $LEX" >&5
5226 echo "${ECHO_T}$LEX" >&6; }
5227 else
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5233 test -n "$LEX" && break
5234 done
5235 test -n "$LEX" || LEX=":"
5237 if test -z "$LEXLIB"
5238 then
5239 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5240 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 ac_check_lib_save_LIBS=$LIBS
5245 LIBS="-lfl $LIBS"
5246 cat >conftest.$ac_ext <<_ACEOF
5247 /* confdefs.h. */
5248 _ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5256 #ifdef __cplusplus
5257 extern "C"
5258 #endif
5259 char yywrap ();
5261 main ()
5263 return yywrap ();
5265 return 0;
5267 _ACEOF
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (ac_try="$ac_link"
5270 case "(($ac_try" in
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5273 esac
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5276 ac_status=$?
5277 grep -v '^ *+' conftest.er1 >conftest.err
5278 rm -f conftest.er1
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5289 ac_status=$?
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296 esac
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5299 ac_status=$?
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_fl_yywrap=yes
5303 else
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_fl_yywrap=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5315 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5316 if test $ac_cv_lib_fl_yywrap = yes; then
5317 LEXLIB="-lfl"
5318 else
5319 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5320 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5321 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
5324 ac_check_lib_save_LIBS=$LIBS
5325 LIBS="-ll $LIBS"
5326 cat >conftest.$ac_ext <<_ACEOF
5327 /* confdefs.h. */
5328 _ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5333 /* Override any GCC internal prototype to avoid an error.
5334 Use char because int might match the return type of a GCC
5335 builtin and then its argument prototype would still apply. */
5336 #ifdef __cplusplus
5337 extern "C"
5338 #endif
5339 char yywrap ();
5341 main ()
5343 return yywrap ();
5345 return 0;
5347 _ACEOF
5348 rm -f conftest.$ac_objext conftest$ac_exeext
5349 if { (ac_try="$ac_link"
5350 case "(($ac_try" in
5351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352 *) ac_try_echo=$ac_try;;
5353 esac
5354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5355 (eval "$ac_link") 2>conftest.er1
5356 ac_status=$?
5357 grep -v '^ *+' conftest.er1 >conftest.err
5358 rm -f conftest.er1
5359 cat conftest.err >&5
5360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } &&
5362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5363 { (case "(($ac_try" in
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5366 esac
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_try") 2>&5
5369 ac_status=$?
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; } &&
5372 { ac_try='test -s conftest$ac_exeext'
5373 { (case "(($ac_try" in
5374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5376 esac
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_try") 2>&5
5379 ac_status=$?
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then
5382 ac_cv_lib_l_yywrap=yes
5383 else
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.$ac_ext >&5
5387 ac_cv_lib_l_yywrap=no
5390 rm -f core conftest.err conftest.$ac_objext \
5391 conftest$ac_exeext conftest.$ac_ext
5392 LIBS=$ac_check_lib_save_LIBS
5394 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5395 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5396 if test $ac_cv_lib_l_yywrap = yes; then
5397 LEXLIB="-ll"
5404 if test "x$LEX" != "x:"; then
5405 { echo "$as_me:$LINENO: checking lex output file root" >&5
5406 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5407 if test "${ac_cv_prog_lex_root+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 else
5410 # The minimal lex program is just a single line: %%. But some broken lexes
5411 # (Solaris, I think it was) want two %% lines, so accommodate them.
5412 cat >conftest.l <<_ACEOF
5415 _ACEOF
5416 { (ac_try="$LEX conftest.l"
5417 case "(($ac_try" in
5418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5419 *) ac_try_echo=$ac_try;;
5420 esac
5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$LEX conftest.l") 2>&5
5423 ac_status=$?
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }
5426 if test -f lex.yy.c; then
5427 ac_cv_prog_lex_root=lex.yy
5428 elif test -f lexyy.c; then
5429 ac_cv_prog_lex_root=lexyy
5430 else
5431 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5432 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5433 { (exit 1); exit 1; }; }
5436 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5437 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5438 rm -f conftest.l
5439 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5441 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5442 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5443 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 else
5446 # POSIX says lex can declare yytext either as a pointer or an array; the
5447 # default is implementation-dependent. Figure out which it is, since
5448 # not all implementations provide the %pointer and %array declarations.
5449 ac_cv_prog_lex_yytext_pointer=no
5450 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5451 ac_save_LIBS=$LIBS
5452 LIBS="$LIBS $LEXLIB"
5453 cat >conftest.$ac_ext <<_ACEOF
5454 `cat $LEX_OUTPUT_ROOT.c`
5455 _ACEOF
5456 rm -f conftest.$ac_objext conftest$ac_exeext
5457 if { (ac_try="$ac_link"
5458 case "(($ac_try" in
5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460 *) ac_try_echo=$ac_try;;
5461 esac
5462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5463 (eval "$ac_link") 2>conftest.er1
5464 ac_status=$?
5465 grep -v '^ *+' conftest.er1 >conftest.err
5466 rm -f conftest.er1
5467 cat conftest.err >&5
5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 (exit $ac_status); } &&
5470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5471 { (case "(($ac_try" in
5472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5473 *) ac_try_echo=$ac_try;;
5474 esac
5475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 (eval "$ac_try") 2>&5
5477 ac_status=$?
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; } &&
5480 { ac_try='test -s conftest$ac_exeext'
5481 { (case "(($ac_try" in
5482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5484 esac
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_try") 2>&5
5487 ac_status=$?
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; }; then
5490 ac_cv_prog_lex_yytext_pointer=yes
5491 else
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5498 rm -f core conftest.err conftest.$ac_objext \
5499 conftest$ac_exeext conftest.$ac_ext
5500 LIBS=$ac_save_LIBS
5501 rm -f "${LEX_OUTPUT_ROOT}.c"
5504 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5505 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5506 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5508 cat >>confdefs.h <<\_ACEOF
5509 #define YYTEXT_POINTER 1
5510 _ACEOF
5515 if test "$LEX" = :; then
5516 LEX=${am_missing_run}flex
5518 # Find a good install program. We prefer a C program (faster),
5519 # so one script is as good as another. But avoid the broken or
5520 # incompatible versions:
5521 # SysV /etc/install, /usr/sbin/install
5522 # SunOS /usr/etc/install
5523 # IRIX /sbin/install
5524 # AIX /bin/install
5525 # AmigaOS /C/install, which installs bootblocks on floppy discs
5526 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5527 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5528 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5529 # OS/2's system install, which has a completely different semantic
5530 # ./install, which can be erroneously created by make from ./install.sh.
5531 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5532 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5533 if test -z "$INSTALL"; then
5534 if test "${ac_cv_path_install+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 # Account for people who put trailing slashes in PATH elements.
5543 case $as_dir/ in
5544 ./ | .// | /cC/* | \
5545 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5546 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5547 /usr/ucb/* ) ;;
5549 # OSF1 and SCO ODT 3.0 have their own names for install.
5550 # Don't use installbsd from OSF since it installs stuff as root
5551 # by default.
5552 for ac_prog in ginstall scoinst install; do
5553 for ac_exec_ext in '' $ac_executable_extensions; do
5554 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5555 if test $ac_prog = install &&
5556 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5557 # AIX install. It has an incompatible calling convention.
5559 elif test $ac_prog = install &&
5560 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5561 # program-specific install script used by HP pwplus--don't use.
5563 else
5564 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5565 break 3
5568 done
5569 done
5571 esac
5572 done
5573 IFS=$as_save_IFS
5577 if test "${ac_cv_path_install+set}" = set; then
5578 INSTALL=$ac_cv_path_install
5579 else
5580 # As a last resort, use the slow shell script. Don't cache a
5581 # value for INSTALL within a source directory, because that will
5582 # break other packages using the cache if that directory is
5583 # removed, or if the value is a relative name.
5584 INSTALL=$ac_install_sh
5587 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5588 echo "${ECHO_T}$INSTALL" >&6; }
5590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5591 # It thinks the first close brace ends the variable substitution.
5592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5596 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5598 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5599 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5600 LN_S=$as_ln_s
5601 if test "$LN_S" = "ln -s"; then
5602 { echo "$as_me:$LINENO: result: yes" >&5
5603 echo "${ECHO_T}yes" >&6; }
5604 else
5605 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5606 echo "${ECHO_T}no, using $LN_S" >&6; }
5611 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5612 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5613 if test "${ac_cv_header_stdc+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 else
5616 cat >conftest.$ac_ext <<_ACEOF
5617 /* confdefs.h. */
5618 _ACEOF
5619 cat confdefs.h >>conftest.$ac_ext
5620 cat >>conftest.$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5622 #include <stdlib.h>
5623 #include <stdarg.h>
5624 #include <string.h>
5625 #include <float.h>
5628 main ()
5632 return 0;
5634 _ACEOF
5635 rm -f conftest.$ac_objext
5636 if { (ac_try="$ac_compile"
5637 case "(($ac_try" in
5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5640 esac
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5643 ac_status=$?
5644 grep -v '^ *+' conftest.er1 >conftest.err
5645 rm -f conftest.er1
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5650 { (case "(($ac_try" in
5651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5652 *) ac_try_echo=$ac_try;;
5653 esac
5654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5655 (eval "$ac_try") 2>&5
5656 ac_status=$?
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try='test -s conftest.$ac_objext'
5660 { (case "(($ac_try" in
5661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5663 esac
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_try") 2>&5
5666 ac_status=$?
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); }; }; then
5669 ac_cv_header_stdc=yes
5670 else
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5674 ac_cv_header_stdc=no
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 if test $ac_cv_header_stdc = yes; then
5680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5681 cat >conftest.$ac_ext <<_ACEOF
5682 /* confdefs.h. */
5683 _ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 #include <string.h>
5689 _ACEOF
5690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5691 $EGREP "memchr" >/dev/null 2>&1; then
5693 else
5694 ac_cv_header_stdc=no
5696 rm -f conftest*
5700 if test $ac_cv_header_stdc = yes; then
5701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5702 cat >conftest.$ac_ext <<_ACEOF
5703 /* confdefs.h. */
5704 _ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5708 #include <stdlib.h>
5710 _ACEOF
5711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5712 $EGREP "free" >/dev/null 2>&1; then
5714 else
5715 ac_cv_header_stdc=no
5717 rm -f conftest*
5721 if test $ac_cv_header_stdc = yes; then
5722 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5723 if test "$cross_compiling" = yes; then
5725 else
5726 cat >conftest.$ac_ext <<_ACEOF
5727 /* confdefs.h. */
5728 _ACEOF
5729 cat confdefs.h >>conftest.$ac_ext
5730 cat >>conftest.$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5732 #include <ctype.h>
5733 #include <stdlib.h>
5734 #if ((' ' & 0x0FF) == 0x020)
5735 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5736 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5737 #else
5738 # define ISLOWER(c) \
5739 (('a' <= (c) && (c) <= 'i') \
5740 || ('j' <= (c) && (c) <= 'r') \
5741 || ('s' <= (c) && (c) <= 'z'))
5742 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5743 #endif
5745 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5747 main ()
5749 int i;
5750 for (i = 0; i < 256; i++)
5751 if (XOR (islower (i), ISLOWER (i))
5752 || toupper (i) != TOUPPER (i))
5753 return 2;
5754 return 0;
5756 _ACEOF
5757 rm -f conftest$ac_exeext
5758 if { (ac_try="$ac_link"
5759 case "(($ac_try" in
5760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5761 *) ac_try_echo=$ac_try;;
5762 esac
5763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5764 (eval "$ac_link") 2>&5
5765 ac_status=$?
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5768 { (case "(($ac_try" in
5769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5770 *) ac_try_echo=$ac_try;;
5771 esac
5772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5773 (eval "$ac_try") 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5778 else
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ( exit $ac_status )
5784 ac_cv_header_stdc=no
5786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5792 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5793 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5794 if test $ac_cv_header_stdc = yes; then
5796 cat >>confdefs.h <<\_ACEOF
5797 #define STDC_HEADERS 1
5798 _ACEOF
5803 for ac_header in stddef.h
5805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 ac_res=`eval echo '${'$as_ac_Header'}'`
5813 { echo "$as_me:$LINENO: result: $ac_res" >&5
5814 echo "${ECHO_T}$ac_res" >&6; }
5815 else
5816 # Is the header compilable?
5817 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5819 cat >conftest.$ac_ext <<_ACEOF
5820 /* confdefs.h. */
5821 _ACEOF
5822 cat confdefs.h >>conftest.$ac_ext
5823 cat >>conftest.$ac_ext <<_ACEOF
5824 /* end confdefs.h. */
5825 $ac_includes_default
5826 #include <$ac_header>
5827 _ACEOF
5828 rm -f conftest.$ac_objext
5829 if { (ac_try="$ac_compile"
5830 case "(($ac_try" in
5831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5832 *) ac_try_echo=$ac_try;;
5833 esac
5834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5835 (eval "$ac_compile") 2>conftest.er1
5836 ac_status=$?
5837 grep -v '^ *+' conftest.er1 >conftest.err
5838 rm -f conftest.er1
5839 cat conftest.err >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5843 { (case "(($ac_try" in
5844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5845 *) ac_try_echo=$ac_try;;
5846 esac
5847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5848 (eval "$ac_try") 2>&5
5849 ac_status=$?
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); }; } &&
5852 { ac_try='test -s conftest.$ac_objext'
5853 { (case "(($ac_try" in
5854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5855 *) ac_try_echo=$ac_try;;
5856 esac
5857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5858 (eval "$ac_try") 2>&5
5859 ac_status=$?
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; }; then
5862 ac_header_compiler=yes
5863 else
5864 echo "$as_me: failed program was:" >&5
5865 sed 's/^/| /' conftest.$ac_ext >&5
5867 ac_header_compiler=no
5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5872 echo "${ECHO_T}$ac_header_compiler" >&6; }
5874 # Is the header present?
5875 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5877 cat >conftest.$ac_ext <<_ACEOF
5878 /* confdefs.h. */
5879 _ACEOF
5880 cat confdefs.h >>conftest.$ac_ext
5881 cat >>conftest.$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 #include <$ac_header>
5884 _ACEOF
5885 if { (ac_try="$ac_cpp conftest.$ac_ext"
5886 case "(($ac_try" in
5887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5888 *) ac_try_echo=$ac_try;;
5889 esac
5890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5892 ac_status=$?
5893 grep -v '^ *+' conftest.er1 >conftest.err
5894 rm -f conftest.er1
5895 cat conftest.err >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } >/dev/null; then
5898 if test -s conftest.err; then
5899 ac_cpp_err=$ac_c_preproc_warn_flag
5900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5901 else
5902 ac_cpp_err=
5904 else
5905 ac_cpp_err=yes
5907 if test -z "$ac_cpp_err"; then
5908 ac_header_preproc=yes
5909 else
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5913 ac_header_preproc=no
5916 rm -f conftest.err conftest.$ac_ext
5917 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5918 echo "${ECHO_T}$ac_header_preproc" >&6; }
5920 # So? What about this header?
5921 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5922 yes:no: )
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5924 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5927 ac_header_preproc=yes
5929 no:yes:* )
5930 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5931 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5932 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5933 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5934 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5935 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5936 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5937 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5940 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5941 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5944 esac
5945 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 else
5950 eval "$as_ac_Header=\$ac_header_preproc"
5952 ac_res=`eval echo '${'$as_ac_Header'}'`
5953 { echo "$as_me:$LINENO: result: $ac_res" >&5
5954 echo "${ECHO_T}$ac_res" >&6; }
5957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5958 cat >>confdefs.h <<_ACEOF
5959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5960 _ACEOF
5964 done
5969 for ac_func in vprintf
5971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5972 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5974 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 else
5977 cat >conftest.$ac_ext <<_ACEOF
5978 /* confdefs.h. */
5979 _ACEOF
5980 cat confdefs.h >>conftest.$ac_ext
5981 cat >>conftest.$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5985 #define $ac_func innocuous_$ac_func
5987 /* System header to define __stub macros and hopefully few prototypes,
5988 which can conflict with char $ac_func (); below.
5989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5990 <limits.h> exists even on freestanding compilers. */
5992 #ifdef __STDC__
5993 # include <limits.h>
5994 #else
5995 # include <assert.h>
5996 #endif
5998 #undef $ac_func
6000 /* Override any GCC internal prototype to avoid an error.
6001 Use char because int might match the return type of a GCC
6002 builtin and then its argument prototype would still apply. */
6003 #ifdef __cplusplus
6004 extern "C"
6005 #endif
6006 char $ac_func ();
6007 /* The GNU C library defines this for functions which it implements
6008 to always fail with ENOSYS. Some functions are actually named
6009 something starting with __ and the normal name is an alias. */
6010 #if defined __stub_$ac_func || defined __stub___$ac_func
6011 choke me
6012 #endif
6015 main ()
6017 return $ac_func ();
6019 return 0;
6021 _ACEOF
6022 rm -f conftest.$ac_objext conftest$ac_exeext
6023 if { (ac_try="$ac_link"
6024 case "(($ac_try" in
6025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6026 *) ac_try_echo=$ac_try;;
6027 esac
6028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 (eval "$ac_link") 2>conftest.er1
6030 ac_status=$?
6031 grep -v '^ *+' conftest.er1 >conftest.err
6032 rm -f conftest.er1
6033 cat conftest.err >&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); } &&
6036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6037 { (case "(($ac_try" in
6038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6039 *) ac_try_echo=$ac_try;;
6040 esac
6041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6042 (eval "$ac_try") 2>&5
6043 ac_status=$?
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try='test -s conftest$ac_exeext'
6047 { (case "(($ac_try" in
6048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6049 *) ac_try_echo=$ac_try;;
6050 esac
6051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6052 (eval "$ac_try") 2>&5
6053 ac_status=$?
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; }; then
6056 eval "$as_ac_var=yes"
6057 else
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6061 eval "$as_ac_var=no"
6064 rm -f core conftest.err conftest.$ac_objext \
6065 conftest$ac_exeext conftest.$ac_ext
6067 ac_res=`eval echo '${'$as_ac_var'}'`
6068 { echo "$as_me:$LINENO: result: $ac_res" >&5
6069 echo "${ECHO_T}$ac_res" >&6; }
6070 if test `eval echo '${'$as_ac_var'}'` = yes; then
6071 cat >>confdefs.h <<_ACEOF
6072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6073 _ACEOF
6075 { echo "$as_me:$LINENO: checking for _doprnt" >&5
6076 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6077 if test "${ac_cv_func__doprnt+set}" = set; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 else
6080 cat >conftest.$ac_ext <<_ACEOF
6081 /* confdefs.h. */
6082 _ACEOF
6083 cat confdefs.h >>conftest.$ac_ext
6084 cat >>conftest.$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6088 #define _doprnt innocuous__doprnt
6090 /* System header to define __stub macros and hopefully few prototypes,
6091 which can conflict with char _doprnt (); below.
6092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6093 <limits.h> exists even on freestanding compilers. */
6095 #ifdef __STDC__
6096 # include <limits.h>
6097 #else
6098 # include <assert.h>
6099 #endif
6101 #undef _doprnt
6103 /* Override any GCC internal prototype to avoid an error.
6104 Use char because int might match the return type of a GCC
6105 builtin and then its argument prototype would still apply. */
6106 #ifdef __cplusplus
6107 extern "C"
6108 #endif
6109 char _doprnt ();
6110 /* The GNU C library defines this for functions which it implements
6111 to always fail with ENOSYS. Some functions are actually named
6112 something starting with __ and the normal name is an alias. */
6113 #if defined __stub__doprnt || defined __stub____doprnt
6114 choke me
6115 #endif
6118 main ()
6120 return _doprnt ();
6122 return 0;
6124 _ACEOF
6125 rm -f conftest.$ac_objext conftest$ac_exeext
6126 if { (ac_try="$ac_link"
6127 case "(($ac_try" in
6128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6129 *) ac_try_echo=$ac_try;;
6130 esac
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_link") 2>conftest.er1
6133 ac_status=$?
6134 grep -v '^ *+' conftest.er1 >conftest.err
6135 rm -f conftest.er1
6136 cat conftest.err >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6140 { (case "(($ac_try" in
6141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142 *) ac_try_echo=$ac_try;;
6143 esac
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_try") 2>&5
6146 ac_status=$?
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); }; } &&
6149 { ac_try='test -s conftest$ac_exeext'
6150 { (case "(($ac_try" in
6151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6152 *) ac_try_echo=$ac_try;;
6153 esac
6154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6155 (eval "$ac_try") 2>&5
6156 ac_status=$?
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 ac_cv_func__doprnt=yes
6160 else
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6164 ac_cv_func__doprnt=no
6167 rm -f core conftest.err conftest.$ac_objext \
6168 conftest$ac_exeext conftest.$ac_ext
6170 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6171 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6172 if test $ac_cv_func__doprnt = yes; then
6174 cat >>confdefs.h <<\_ACEOF
6175 #define HAVE_DOPRNT 1
6176 _ACEOF
6181 done
6185 for ac_header in stdlib.h
6187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6189 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 ac_res=`eval echo '${'$as_ac_Header'}'`
6195 { echo "$as_me:$LINENO: result: $ac_res" >&5
6196 echo "${ECHO_T}$ac_res" >&6; }
6197 else
6198 # Is the header compilable?
6199 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6201 cat >conftest.$ac_ext <<_ACEOF
6202 /* confdefs.h. */
6203 _ACEOF
6204 cat confdefs.h >>conftest.$ac_ext
6205 cat >>conftest.$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6207 $ac_includes_default
6208 #include <$ac_header>
6209 _ACEOF
6210 rm -f conftest.$ac_objext
6211 if { (ac_try="$ac_compile"
6212 case "(($ac_try" in
6213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6215 esac
6216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6217 (eval "$ac_compile") 2>conftest.er1
6218 ac_status=$?
6219 grep -v '^ *+' conftest.er1 >conftest.err
6220 rm -f conftest.er1
6221 cat conftest.err >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } &&
6224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6225 { (case "(($ac_try" in
6226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;;
6228 esac
6229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 (eval "$ac_try") 2>&5
6231 ac_status=$?
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; } &&
6234 { ac_try='test -s conftest.$ac_objext'
6235 { (case "(($ac_try" in
6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6238 esac
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_try") 2>&5
6241 ac_status=$?
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; }; then
6244 ac_header_compiler=yes
6245 else
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.$ac_ext >&5
6249 ac_header_compiler=no
6252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6254 echo "${ECHO_T}$ac_header_compiler" >&6; }
6256 # Is the header present?
6257 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6259 cat >conftest.$ac_ext <<_ACEOF
6260 /* confdefs.h. */
6261 _ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6265 #include <$ac_header>
6266 _ACEOF
6267 if { (ac_try="$ac_cpp conftest.$ac_ext"
6268 case "(($ac_try" in
6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6271 esac
6272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6274 ac_status=$?
6275 grep -v '^ *+' conftest.er1 >conftest.err
6276 rm -f conftest.er1
6277 cat conftest.err >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } >/dev/null; then
6280 if test -s conftest.err; then
6281 ac_cpp_err=$ac_c_preproc_warn_flag
6282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6283 else
6284 ac_cpp_err=
6286 else
6287 ac_cpp_err=yes
6289 if test -z "$ac_cpp_err"; then
6290 ac_header_preproc=yes
6291 else
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_header_preproc=no
6298 rm -f conftest.err conftest.$ac_ext
6299 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6300 echo "${ECHO_T}$ac_header_preproc" >&6; }
6302 # So? What about this header?
6303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6304 yes:no: )
6305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6309 ac_header_preproc=yes
6311 no:yes:* )
6312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6326 esac
6327 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 else
6332 eval "$as_ac_Header=\$ac_header_preproc"
6334 ac_res=`eval echo '${'$as_ac_Header'}'`
6335 { echo "$as_me:$LINENO: result: $ac_res" >&5
6336 echo "${ECHO_T}$ac_res" >&6; }
6339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6340 cat >>confdefs.h <<_ACEOF
6341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6342 _ACEOF
6346 done
6348 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
6349 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
6350 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6352 else
6353 if test "$cross_compiling" = yes; then
6354 ac_cv_func_malloc_0_nonnull=no
6355 else
6356 cat >conftest.$ac_ext <<_ACEOF
6357 /* confdefs.h. */
6358 _ACEOF
6359 cat confdefs.h >>conftest.$ac_ext
6360 cat >>conftest.$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 #if STDC_HEADERS || HAVE_STDLIB_H
6363 # include <stdlib.h>
6364 #else
6365 char *malloc ();
6366 #endif
6369 main ()
6371 return ! malloc (0);
6373 return 0;
6375 _ACEOF
6376 rm -f conftest$ac_exeext
6377 if { (ac_try="$ac_link"
6378 case "(($ac_try" in
6379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6380 *) ac_try_echo=$ac_try;;
6381 esac
6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 (eval "$ac_link") 2>&5
6384 ac_status=$?
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6387 { (case "(($ac_try" in
6388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6389 *) ac_try_echo=$ac_try;;
6390 esac
6391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392 (eval "$ac_try") 2>&5
6393 ac_status=$?
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; }; then
6396 ac_cv_func_malloc_0_nonnull=yes
6397 else
6398 echo "$as_me: program exited with status $ac_status" >&5
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.$ac_ext >&5
6402 ( exit $ac_status )
6403 ac_cv_func_malloc_0_nonnull=no
6405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6410 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
6411 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
6412 if test $ac_cv_func_malloc_0_nonnull = yes; then
6414 cat >>confdefs.h <<\_ACEOF
6415 #define HAVE_MALLOC 1
6416 _ACEOF
6418 else
6419 cat >>confdefs.h <<\_ACEOF
6420 #define HAVE_MALLOC 0
6421 _ACEOF
6423 case " $LIBOBJS " in
6424 *" malloc.$ac_objext "* ) ;;
6425 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6427 esac
6430 cat >>confdefs.h <<\_ACEOF
6431 #define malloc rpl_malloc
6432 _ACEOF
6439 for ac_header in stdlib.h
6441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 ac_res=`eval echo '${'$as_ac_Header'}'`
6449 { echo "$as_me:$LINENO: result: $ac_res" >&5
6450 echo "${ECHO_T}$ac_res" >&6; }
6451 else
6452 # Is the header compilable?
6453 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6455 cat >conftest.$ac_ext <<_ACEOF
6456 /* confdefs.h. */
6457 _ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6462 #include <$ac_header>
6463 _ACEOF
6464 rm -f conftest.$ac_objext
6465 if { (ac_try="$ac_compile"
6466 case "(($ac_try" in
6467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6468 *) ac_try_echo=$ac_try;;
6469 esac
6470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6471 (eval "$ac_compile") 2>conftest.er1
6472 ac_status=$?
6473 grep -v '^ *+' conftest.er1 >conftest.err
6474 rm -f conftest.er1
6475 cat conftest.err >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6479 { (case "(($ac_try" in
6480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6481 *) ac_try_echo=$ac_try;;
6482 esac
6483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6484 (eval "$ac_try") 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; } &&
6488 { ac_try='test -s conftest.$ac_objext'
6489 { (case "(($ac_try" in
6490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6491 *) ac_try_echo=$ac_try;;
6492 esac
6493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6494 (eval "$ac_try") 2>&5
6495 ac_status=$?
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; }; then
6498 ac_header_compiler=yes
6499 else
6500 echo "$as_me: failed program was:" >&5
6501 sed 's/^/| /' conftest.$ac_ext >&5
6503 ac_header_compiler=no
6506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6507 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6508 echo "${ECHO_T}$ac_header_compiler" >&6; }
6510 # Is the header present?
6511 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6513 cat >conftest.$ac_ext <<_ACEOF
6514 /* confdefs.h. */
6515 _ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6519 #include <$ac_header>
6520 _ACEOF
6521 if { (ac_try="$ac_cpp conftest.$ac_ext"
6522 case "(($ac_try" in
6523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6524 *) ac_try_echo=$ac_try;;
6525 esac
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6528 ac_status=$?
6529 grep -v '^ *+' conftest.er1 >conftest.err
6530 rm -f conftest.er1
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } >/dev/null; then
6534 if test -s conftest.err; then
6535 ac_cpp_err=$ac_c_preproc_warn_flag
6536 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6537 else
6538 ac_cpp_err=
6540 else
6541 ac_cpp_err=yes
6543 if test -z "$ac_cpp_err"; then
6544 ac_header_preproc=yes
6545 else
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6549 ac_header_preproc=no
6552 rm -f conftest.err conftest.$ac_ext
6553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6554 echo "${ECHO_T}$ac_header_preproc" >&6; }
6556 # So? What about this header?
6557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6558 yes:no: )
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6563 ac_header_preproc=yes
6565 no:yes:* )
6566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6580 esac
6581 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6584 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 else
6586 eval "$as_ac_Header=\$ac_header_preproc"
6588 ac_res=`eval echo '${'$as_ac_Header'}'`
6589 { echo "$as_me:$LINENO: result: $ac_res" >&5
6590 echo "${ECHO_T}$ac_res" >&6; }
6593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6594 cat >>confdefs.h <<_ACEOF
6595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6596 _ACEOF
6600 done
6602 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6603 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
6604 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6606 else
6607 if test "$cross_compiling" = yes; then
6608 ac_cv_func_realloc_0_nonnull=no
6609 else
6610 cat >conftest.$ac_ext <<_ACEOF
6611 /* confdefs.h. */
6612 _ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6616 #if STDC_HEADERS || HAVE_STDLIB_H
6617 # include <stdlib.h>
6618 #else
6619 char *realloc ();
6620 #endif
6623 main ()
6625 return ! realloc (0, 0);
6627 return 0;
6629 _ACEOF
6630 rm -f conftest$ac_exeext
6631 if { (ac_try="$ac_link"
6632 case "(($ac_try" in
6633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6635 esac
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_link") 2>&5
6638 ac_status=$?
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6641 { (case "(($ac_try" in
6642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643 *) ac_try_echo=$ac_try;;
6644 esac
6645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 (eval "$ac_try") 2>&5
6647 ac_status=$?
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; }; then
6650 ac_cv_func_realloc_0_nonnull=yes
6651 else
6652 echo "$as_me: program exited with status $ac_status" >&5
6653 echo "$as_me: failed program was:" >&5
6654 sed 's/^/| /' conftest.$ac_ext >&5
6656 ( exit $ac_status )
6657 ac_cv_func_realloc_0_nonnull=no
6659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6664 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6665 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
6666 if test $ac_cv_func_realloc_0_nonnull = yes; then
6668 cat >>confdefs.h <<\_ACEOF
6669 #define HAVE_REALLOC 1
6670 _ACEOF
6672 else
6673 cat >>confdefs.h <<\_ACEOF
6674 #define HAVE_REALLOC 0
6675 _ACEOF
6677 case " $LIBOBJS " in
6678 *" realloc.$ac_objext "* ) ;;
6679 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6681 esac
6684 cat >>confdefs.h <<\_ACEOF
6685 #define realloc rpl_realloc
6686 _ACEOF
6693 for ac_func in strtol
6695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 else
6701 cat >conftest.$ac_ext <<_ACEOF
6702 /* confdefs.h. */
6703 _ACEOF
6704 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6709 #define $ac_func innocuous_$ac_func
6711 /* System header to define __stub macros and hopefully few prototypes,
6712 which can conflict with char $ac_func (); below.
6713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6714 <limits.h> exists even on freestanding compilers. */
6716 #ifdef __STDC__
6717 # include <limits.h>
6718 #else
6719 # include <assert.h>
6720 #endif
6722 #undef $ac_func
6724 /* Override any GCC internal prototype to avoid an error.
6725 Use char because int might match the return type of a GCC
6726 builtin and then its argument prototype would still apply. */
6727 #ifdef __cplusplus
6728 extern "C"
6729 #endif
6730 char $ac_func ();
6731 /* The GNU C library defines this for functions which it implements
6732 to always fail with ENOSYS. Some functions are actually named
6733 something starting with __ and the normal name is an alias. */
6734 #if defined __stub_$ac_func || defined __stub___$ac_func
6735 choke me
6736 #endif
6739 main ()
6741 return $ac_func ();
6743 return 0;
6745 _ACEOF
6746 rm -f conftest.$ac_objext conftest$ac_exeext
6747 if { (ac_try="$ac_link"
6748 case "(($ac_try" in
6749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6750 *) ac_try_echo=$ac_try;;
6751 esac
6752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6753 (eval "$ac_link") 2>conftest.er1
6754 ac_status=$?
6755 grep -v '^ *+' conftest.er1 >conftest.err
6756 rm -f conftest.er1
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } &&
6760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6761 { (case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_try") 2>&5
6767 ac_status=$?
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 (exit $ac_status); }; } &&
6770 { ac_try='test -s conftest$ac_exeext'
6771 { (case "(($ac_try" in
6772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6774 esac
6775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6776 (eval "$ac_try") 2>&5
6777 ac_status=$?
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 eval "$as_ac_var=yes"
6781 else
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 eval "$as_ac_var=no"
6788 rm -f core conftest.err conftest.$ac_objext \
6789 conftest$ac_exeext conftest.$ac_ext
6791 ac_res=`eval echo '${'$as_ac_var'}'`
6792 { echo "$as_me:$LINENO: result: $ac_res" >&5
6793 echo "${ECHO_T}$ac_res" >&6; }
6794 if test `eval echo '${'$as_ac_var'}'` = yes; then
6795 cat >>confdefs.h <<_ACEOF
6796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6797 _ACEOF
6800 done
6803 for ac_func in strchr
6805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 else
6811 cat >conftest.$ac_ext <<_ACEOF
6812 /* confdefs.h. */
6813 _ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6819 #define $ac_func innocuous_$ac_func
6821 /* System header to define __stub macros and hopefully few prototypes,
6822 which can conflict with char $ac_func (); below.
6823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6824 <limits.h> exists even on freestanding compilers. */
6826 #ifdef __STDC__
6827 # include <limits.h>
6828 #else
6829 # include <assert.h>
6830 #endif
6832 #undef $ac_func
6834 /* Override any GCC internal prototype to avoid an error.
6835 Use char because int might match the return type of a GCC
6836 builtin and then its argument prototype would still apply. */
6837 #ifdef __cplusplus
6838 extern "C"
6839 #endif
6840 char $ac_func ();
6841 /* The GNU C library defines this for functions which it implements
6842 to always fail with ENOSYS. Some functions are actually named
6843 something starting with __ and the normal name is an alias. */
6844 #if defined __stub_$ac_func || defined __stub___$ac_func
6845 choke me
6846 #endif
6849 main ()
6851 return $ac_func ();
6853 return 0;
6855 _ACEOF
6856 rm -f conftest.$ac_objext conftest$ac_exeext
6857 if { (ac_try="$ac_link"
6858 case "(($ac_try" in
6859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860 *) ac_try_echo=$ac_try;;
6861 esac
6862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6863 (eval "$ac_link") 2>conftest.er1
6864 ac_status=$?
6865 grep -v '^ *+' conftest.er1 >conftest.err
6866 rm -f conftest.er1
6867 cat conftest.err >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } &&
6870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6871 { (case "(($ac_try" in
6872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6873 *) ac_try_echo=$ac_try;;
6874 esac
6875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6876 (eval "$ac_try") 2>&5
6877 ac_status=$?
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; } &&
6880 { ac_try='test -s conftest$ac_exeext'
6881 { (case "(($ac_try" in
6882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6883 *) ac_try_echo=$ac_try;;
6884 esac
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_try") 2>&5
6887 ac_status=$?
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 eval "$as_ac_var=yes"
6891 else
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6895 eval "$as_ac_var=no"
6898 rm -f core conftest.err conftest.$ac_objext \
6899 conftest$ac_exeext conftest.$ac_ext
6901 ac_res=`eval echo '${'$as_ac_var'}'`
6902 { echo "$as_me:$LINENO: result: $ac_res" >&5
6903 echo "${ECHO_T}$ac_res" >&6; }
6904 if test `eval echo '${'$as_ac_var'}'` = yes; then
6905 cat >>confdefs.h <<_ACEOF
6906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6907 _ACEOF
6910 done
6913 for ac_func in strrchr
6915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 else
6921 cat >conftest.$ac_ext <<_ACEOF
6922 /* confdefs.h. */
6923 _ACEOF
6924 cat confdefs.h >>conftest.$ac_ext
6925 cat >>conftest.$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6929 #define $ac_func innocuous_$ac_func
6931 /* System header to define __stub macros and hopefully few prototypes,
6932 which can conflict with char $ac_func (); below.
6933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6934 <limits.h> exists even on freestanding compilers. */
6936 #ifdef __STDC__
6937 # include <limits.h>
6938 #else
6939 # include <assert.h>
6940 #endif
6942 #undef $ac_func
6944 /* Override any GCC internal prototype to avoid an error.
6945 Use char because int might match the return type of a GCC
6946 builtin and then its argument prototype would still apply. */
6947 #ifdef __cplusplus
6948 extern "C"
6949 #endif
6950 char $ac_func ();
6951 /* The GNU C library defines this for functions which it implements
6952 to always fail with ENOSYS. Some functions are actually named
6953 something starting with __ and the normal name is an alias. */
6954 #if defined __stub_$ac_func || defined __stub___$ac_func
6955 choke me
6956 #endif
6959 main ()
6961 return $ac_func ();
6963 return 0;
6965 _ACEOF
6966 rm -f conftest.$ac_objext conftest$ac_exeext
6967 if { (ac_try="$ac_link"
6968 case "(($ac_try" in
6969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6970 *) ac_try_echo=$ac_try;;
6971 esac
6972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6973 (eval "$ac_link") 2>conftest.er1
6974 ac_status=$?
6975 grep -v '^ *+' conftest.er1 >conftest.err
6976 rm -f conftest.er1
6977 cat conftest.err >&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); } &&
6980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6981 { (case "(($ac_try" in
6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6984 esac
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_try") 2>&5
6987 ac_status=$?
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try='test -s conftest$ac_exeext'
6991 { (case "(($ac_try" in
6992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6993 *) ac_try_echo=$ac_try;;
6994 esac
6995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996 (eval "$ac_try") 2>&5
6997 ac_status=$?
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 eval "$as_ac_var=yes"
7001 else
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 eval "$as_ac_var=no"
7008 rm -f core conftest.err conftest.$ac_objext \
7009 conftest$ac_exeext conftest.$ac_ext
7011 ac_res=`eval echo '${'$as_ac_var'}'`
7012 { echo "$as_me:$LINENO: result: $ac_res" >&5
7013 echo "${ECHO_T}$ac_res" >&6; }
7014 if test `eval echo '${'$as_ac_var'}'` = yes; then
7015 cat >>confdefs.h <<_ACEOF
7016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7017 _ACEOF
7020 done
7023 ac_config_files="$ac_config_files Makefile"
7025 cat >confcache <<\_ACEOF
7026 # This file is a shell script that caches the results of configure
7027 # tests run on this system so they can be shared between configure
7028 # scripts and configure runs, see configure's option --config-cache.
7029 # It is not useful on other systems. If it contains results you don't
7030 # want to keep, you may remove or edit it.
7032 # config.status only pays attention to the cache file if you give it
7033 # the --recheck option to rerun configure.
7035 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7037 # following values.
7039 _ACEOF
7041 # The following way of writing the cache mishandles newlines in values,
7042 # but we know of no workaround that is simple, portable, and efficient.
7043 # So, we kill variables containing newlines.
7044 # Ultrix sh set writes to stderr and can't be redirected directly,
7045 # and sets the high bit in the cache file unless we assign to the vars.
7047 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7048 eval ac_val=\$$ac_var
7049 case $ac_val in #(
7050 *${as_nl}*)
7051 case $ac_var in #(
7052 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
7053 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
7054 esac
7055 case $ac_var in #(
7056 _ | IFS | as_nl) ;; #(
7057 *) $as_unset $ac_var ;;
7058 esac ;;
7059 esac
7060 done
7062 (set) 2>&1 |
7063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7064 *${as_nl}ac_space=\ *)
7065 # `set' does not quote correctly, so add quotes (double-quote
7066 # substitution turns \\\\ into \\, and sed turns \\ into \).
7067 sed -n \
7068 "s/'/'\\\\''/g;
7069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7070 ;; #(
7072 # `set' quotes correctly as required by POSIX, so do not add quotes.
7073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7075 esac |
7076 sort
7078 sed '
7079 /^ac_cv_env_/b end
7080 t clear
7081 :clear
7082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7083 t end
7084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7085 :end' >>confcache
7086 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7087 if test -w "$cache_file"; then
7088 test "x$cache_file" != "x/dev/null" &&
7089 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
7090 echo "$as_me: updating cache $cache_file" >&6;}
7091 cat confcache >$cache_file
7092 else
7093 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7094 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7097 rm -f confcache
7099 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7100 # Let make expand exec_prefix.
7101 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7103 DEFS=-DHAVE_CONFIG_H
7105 ac_libobjs=
7106 ac_ltlibobjs=
7107 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7108 # 1. Remove the extension, and $U if already installed.
7109 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7110 ac_i=`echo "$ac_i" | sed "$ac_script"`
7111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7112 # will be set to the directory where LIBOBJS objects are built.
7113 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7114 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7115 done
7116 LIBOBJS=$ac_libobjs
7118 LTLIBOBJS=$ac_ltlibobjs
7121 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7122 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7123 Usually this means the macro was only invoked conditionally." >&5
7124 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7125 Usually this means the macro was only invoked conditionally." >&2;}
7126 { (exit 1); exit 1; }; }
7128 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7129 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7130 Usually this means the macro was only invoked conditionally." >&5
7131 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7132 Usually this means the macro was only invoked conditionally." >&2;}
7133 { (exit 1); exit 1; }; }
7135 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7136 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7137 Usually this means the macro was only invoked conditionally." >&5
7138 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7139 Usually this means the macro was only invoked conditionally." >&2;}
7140 { (exit 1); exit 1; }; }
7143 : ${CONFIG_STATUS=./config.status}
7144 ac_clean_files_save=$ac_clean_files
7145 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7146 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7147 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7148 cat >$CONFIG_STATUS <<_ACEOF
7149 #! $SHELL
7150 # Generated by $as_me.
7151 # Run this file to recreate the current configuration.
7152 # Compiler output produced by configure, useful for debugging
7153 # configure, is in config.log if it exists.
7155 debug=false
7156 ac_cs_recheck=false
7157 ac_cs_silent=false
7158 SHELL=\${CONFIG_SHELL-$SHELL}
7159 _ACEOF
7161 cat >>$CONFIG_STATUS <<\_ACEOF
7162 ## --------------------- ##
7163 ## M4sh Initialization. ##
7164 ## --------------------- ##
7166 # Be Bourne compatible
7167 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7168 emulate sh
7169 NULLCMD=:
7170 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7171 # is contrary to our usage. Disable this feature.
7172 alias -g '${1+"$@"}'='"$@"'
7173 setopt NO_GLOB_SUBST
7174 else
7175 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
7177 BIN_SH=xpg4; export BIN_SH # for Tru64
7178 DUALCASE=1; export DUALCASE # for MKS sh
7181 # PATH needs CR
7182 # Avoid depending upon Character Ranges.
7183 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7184 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7185 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7186 as_cr_digits='0123456789'
7187 as_cr_alnum=$as_cr_Letters$as_cr_digits
7189 # The user is always right.
7190 if test "${PATH_SEPARATOR+set}" != set; then
7191 echo "#! /bin/sh" >conf$$.sh
7192 echo "exit 0" >>conf$$.sh
7193 chmod +x conf$$.sh
7194 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7195 PATH_SEPARATOR=';'
7196 else
7197 PATH_SEPARATOR=:
7199 rm -f conf$$.sh
7202 # Support unset when possible.
7203 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7204 as_unset=unset
7205 else
7206 as_unset=false
7210 # IFS
7211 # We need space, tab and new line, in precisely that order. Quoting is
7212 # there to prevent editors from complaining about space-tab.
7213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7214 # splitting by setting IFS to empty value.)
7215 as_nl='
7217 IFS=" "" $as_nl"
7219 # Find who we are. Look in the path if we contain no directory separator.
7220 case $0 in
7221 *[\\/]* ) as_myself=$0 ;;
7222 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7225 IFS=$as_save_IFS
7226 test -z "$as_dir" && as_dir=.
7227 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7228 done
7229 IFS=$as_save_IFS
7232 esac
7233 # We did not find ourselves, most probably we were run as `sh COMMAND'
7234 # in which case we are not to be found in the path.
7235 if test "x$as_myself" = x; then
7236 as_myself=$0
7238 if test ! -f "$as_myself"; then
7239 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7240 { (exit 1); exit 1; }
7243 # Work around bugs in pre-3.0 UWIN ksh.
7244 for as_var in ENV MAIL MAILPATH
7245 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7246 done
7247 PS1='$ '
7248 PS2='> '
7249 PS4='+ '
7251 # NLS nuisances.
7252 for as_var in \
7253 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7254 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7255 LC_TELEPHONE LC_TIME
7257 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7258 eval $as_var=C; export $as_var
7259 else
7260 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7262 done
7264 # Required to use basename.
7265 if expr a : '\(a\)' >/dev/null 2>&1 &&
7266 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7267 as_expr=expr
7268 else
7269 as_expr=false
7272 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7273 as_basename=basename
7274 else
7275 as_basename=false
7279 # Name of the executable.
7280 as_me=`$as_basename -- "$0" ||
7281 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7282 X"$0" : 'X\(//\)$' \| \
7283 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7284 echo X/"$0" |
7285 sed '/^.*\/\([^/][^/]*\)\/*$/{
7286 s//\1/
7289 /^X\/\(\/\/\)$/{
7290 s//\1/
7293 /^X\/\(\/\).*/{
7294 s//\1/
7297 s/.*/./; q'`
7299 # CDPATH.
7300 $as_unset CDPATH
7304 as_lineno_1=$LINENO
7305 as_lineno_2=$LINENO
7306 test "x$as_lineno_1" != "x$as_lineno_2" &&
7307 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7309 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7310 # uniformly replaced by the line number. The first 'sed' inserts a
7311 # line-number line after each line using $LINENO; the second 'sed'
7312 # does the real work. The second script uses 'N' to pair each
7313 # line-number line with the line containing $LINENO, and appends
7314 # trailing '-' during substitution so that $LINENO is not a special
7315 # case at line end.
7316 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7317 # scripts with optimization help from Paolo Bonzini. Blame Lee
7318 # E. McMahon (1931-1989) for sed's syntax. :-)
7319 sed -n '
7321 /[$]LINENO/=
7322 ' <$as_myself |
7323 sed '
7324 s/[$]LINENO.*/&-/
7325 t lineno
7327 :lineno
7329 :loop
7330 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7331 t loop
7332 s/-\n.*//
7333 ' >$as_me.lineno &&
7334 chmod +x "$as_me.lineno" ||
7335 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7336 { (exit 1); exit 1; }; }
7338 # Don't try to exec as it changes $[0], causing all sort of problems
7339 # (the dirname of $[0] is not the place where we might find the
7340 # original and so on. Autoconf is especially sensitive to this).
7341 . "./$as_me.lineno"
7342 # Exit status is that of the last command.
7343 exit
7347 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7348 as_dirname=dirname
7349 else
7350 as_dirname=false
7353 ECHO_C= ECHO_N= ECHO_T=
7354 case `echo -n x` in
7355 -n*)
7356 case `echo 'x\c'` in
7357 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7358 *) ECHO_C='\c';;
7359 esac;;
7361 ECHO_N='-n';;
7362 esac
7364 if expr a : '\(a\)' >/dev/null 2>&1 &&
7365 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7366 as_expr=expr
7367 else
7368 as_expr=false
7371 rm -f conf$$ conf$$.exe conf$$.file
7372 if test -d conf$$.dir; then
7373 rm -f conf$$.dir/conf$$.file
7374 else
7375 rm -f conf$$.dir
7376 mkdir conf$$.dir
7378 echo >conf$$.file
7379 if ln -s conf$$.file conf$$ 2>/dev/null; then
7380 as_ln_s='ln -s'
7381 # ... but there are two gotchas:
7382 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7383 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7384 # In both cases, we have to default to `cp -p'.
7385 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7386 as_ln_s='cp -p'
7387 elif ln conf$$.file conf$$ 2>/dev/null; then
7388 as_ln_s=ln
7389 else
7390 as_ln_s='cp -p'
7392 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7393 rmdir conf$$.dir 2>/dev/null
7395 if mkdir -p . 2>/dev/null; then
7396 as_mkdir_p=:
7397 else
7398 test -d ./-p && rmdir ./-p
7399 as_mkdir_p=false
7402 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
7403 # systems may use methods other than mode bits to determine executability.
7404 cat >conf$$.file <<_ASEOF
7405 #! /bin/sh
7406 exit 0
7407 _ASEOF
7408 chmod +x conf$$.file
7409 if test -x conf$$.file >/dev/null 2>&1; then
7410 as_executable_p="test -x"
7411 else
7412 as_executable_p=:
7414 rm -f conf$$.file
7416 # Sed expression to map a string onto a valid CPP name.
7417 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7419 # Sed expression to map a string onto a valid variable name.
7420 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7423 exec 6>&1
7425 # Save the log message, to keep $[0] and so on meaningful, and to
7426 # report actual input values of CONFIG_FILES etc. instead of their
7427 # values after options handling.
7428 ac_log="
7429 This file was extended by $as_me, which was
7430 generated by GNU Autoconf 2.60. Invocation command line was
7432 CONFIG_FILES = $CONFIG_FILES
7433 CONFIG_HEADERS = $CONFIG_HEADERS
7434 CONFIG_LINKS = $CONFIG_LINKS
7435 CONFIG_COMMANDS = $CONFIG_COMMANDS
7436 $ $0 $@
7438 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7441 _ACEOF
7443 cat >>$CONFIG_STATUS <<_ACEOF
7444 # Files that config.status was made for.
7445 config_files="$ac_config_files"
7446 config_headers="$ac_config_headers"
7447 config_commands="$ac_config_commands"
7449 _ACEOF
7451 cat >>$CONFIG_STATUS <<\_ACEOF
7452 ac_cs_usage="\
7453 \`$as_me' instantiates files from templates according to the
7454 current configuration.
7456 Usage: $0 [OPTIONS] [FILE]...
7458 -h, --help print this help, then exit
7459 -V, --version print version number, then exit
7460 -q, --quiet do not print progress messages
7461 -d, --debug don't remove temporary files
7462 --recheck update $as_me by reconfiguring in the same conditions
7463 --file=FILE[:TEMPLATE]
7464 instantiate the configuration file FILE
7465 --header=FILE[:TEMPLATE]
7466 instantiate the configuration header FILE
7468 Configuration files:
7469 $config_files
7471 Configuration headers:
7472 $config_headers
7474 Configuration commands:
7475 $config_commands
7477 Report bugs to <bug-autoconf@gnu.org>."
7479 _ACEOF
7480 cat >>$CONFIG_STATUS <<_ACEOF
7481 ac_cs_version="\\
7482 config.status
7483 configured by $0, generated by GNU Autoconf 2.60,
7484 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7486 Copyright (C) 2006 Free Software Foundation, Inc.
7487 This config.status script is free software; the Free Software Foundation
7488 gives unlimited permission to copy, distribute and modify it."
7490 ac_pwd='$ac_pwd'
7491 srcdir='$srcdir'
7492 INSTALL='$INSTALL'
7493 _ACEOF
7495 cat >>$CONFIG_STATUS <<\_ACEOF
7496 # If no file are specified by the user, then we need to provide default
7497 # value. By we need to know if files were specified by the user.
7498 ac_need_defaults=:
7499 while test $# != 0
7501 case $1 in
7502 --*=*)
7503 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7504 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7505 ac_shift=:
7508 ac_option=$1
7509 ac_optarg=$2
7510 ac_shift=shift
7512 esac
7514 case $ac_option in
7515 # Handling of the options.
7516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7517 ac_cs_recheck=: ;;
7518 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7519 echo "$ac_cs_version"; exit ;;
7520 --debug | --debu | --deb | --de | --d | -d )
7521 debug=: ;;
7522 --file | --fil | --fi | --f )
7523 $ac_shift
7524 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7525 ac_need_defaults=false;;
7526 --header | --heade | --head | --hea )
7527 $ac_shift
7528 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7529 ac_need_defaults=false;;
7530 --he | --h)
7531 # Conflict between --help and --header
7532 { echo "$as_me: error: ambiguous option: $1
7533 Try \`$0 --help' for more information." >&2
7534 { (exit 1); exit 1; }; };;
7535 --help | --hel | -h )
7536 echo "$ac_cs_usage"; exit ;;
7537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7538 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7539 ac_cs_silent=: ;;
7541 # This is an error.
7542 -*) { echo "$as_me: error: unrecognized option: $1
7543 Try \`$0 --help' for more information." >&2
7544 { (exit 1); exit 1; }; } ;;
7546 *) ac_config_targets="$ac_config_targets $1"
7547 ac_need_defaults=false ;;
7549 esac
7550 shift
7551 done
7553 ac_configure_extra_args=
7555 if $ac_cs_silent; then
7556 exec 6>/dev/null
7557 ac_configure_extra_args="$ac_configure_extra_args --silent"
7560 _ACEOF
7561 cat >>$CONFIG_STATUS <<_ACEOF
7562 if \$ac_cs_recheck; then
7563 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7564 CONFIG_SHELL=$SHELL
7565 export CONFIG_SHELL
7566 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7569 _ACEOF
7570 cat >>$CONFIG_STATUS <<\_ACEOF
7571 exec 5>>config.log
7573 echo
7574 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7575 ## Running $as_me. ##
7576 _ASBOX
7577 echo "$ac_log"
7578 } >&5
7580 _ACEOF
7581 cat >>$CONFIG_STATUS <<_ACEOF
7583 # INIT-COMMANDS
7585 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7587 _ACEOF
7589 cat >>$CONFIG_STATUS <<\_ACEOF
7591 # Handling of arguments.
7592 for ac_config_target in $ac_config_targets
7594 case $ac_config_target in
7595 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7596 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7597 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7601 { (exit 1); exit 1; }; };;
7602 esac
7603 done
7606 # If the user did not use the arguments to specify the items to instantiate,
7607 # then the envvar interface is used. Set only those that are not.
7608 # We use the long form for the default assignment because of an extremely
7609 # bizarre bug on SunOS 4.1.3.
7610 if $ac_need_defaults; then
7611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7616 # Have a temporary directory for convenience. Make it in the build tree
7617 # simply because there is no reason against having it here, and in addition,
7618 # creating and moving files from /tmp can sometimes cause problems.
7619 # Hook for its removal unless debugging.
7620 # Note that there is a small window in which the directory will not be cleaned:
7621 # after its creation but before its name has been assigned to `$tmp'.
7622 $debug ||
7624 tmp=
7625 trap 'exit_status=$?
7626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7628 trap '{ (exit 1); exit 1; }' 1 2 13 15
7630 # Create a (secure) tmp directory for tmp files.
7633 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7634 test -n "$tmp" && test -d "$tmp"
7635 } ||
7637 tmp=./conf$$-$RANDOM
7638 (umask 077 && mkdir "$tmp")
7639 } ||
7641 echo "$me: cannot create a temporary directory in ." >&2
7642 { (exit 1); exit 1; }
7646 # Set up the sed scripts for CONFIG_FILES section.
7649 # No need to generate the scripts if there are no CONFIG_FILES.
7650 # This happens for instance when ./config.status config.h
7651 if test -n "$CONFIG_FILES"; then
7653 _ACEOF
7657 ac_delim='%!_!# '
7658 for ac_last_try in false false false false false :; do
7659 cat >conf$$subs.sed <<_ACEOF
7660 SHELL!$SHELL$ac_delim
7661 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7662 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7663 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7664 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7665 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7666 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7667 exec_prefix!$exec_prefix$ac_delim
7668 prefix!$prefix$ac_delim
7669 program_transform_name!$program_transform_name$ac_delim
7670 bindir!$bindir$ac_delim
7671 sbindir!$sbindir$ac_delim
7672 libexecdir!$libexecdir$ac_delim
7673 datarootdir!$datarootdir$ac_delim
7674 datadir!$datadir$ac_delim
7675 sysconfdir!$sysconfdir$ac_delim
7676 sharedstatedir!$sharedstatedir$ac_delim
7677 localstatedir!$localstatedir$ac_delim
7678 includedir!$includedir$ac_delim
7679 oldincludedir!$oldincludedir$ac_delim
7680 docdir!$docdir$ac_delim
7681 infodir!$infodir$ac_delim
7682 htmldir!$htmldir$ac_delim
7683 dvidir!$dvidir$ac_delim
7684 pdfdir!$pdfdir$ac_delim
7685 psdir!$psdir$ac_delim
7686 libdir!$libdir$ac_delim
7687 localedir!$localedir$ac_delim
7688 mandir!$mandir$ac_delim
7689 DEFS!$DEFS$ac_delim
7690 ECHO_C!$ECHO_C$ac_delim
7691 ECHO_N!$ECHO_N$ac_delim
7692 ECHO_T!$ECHO_T$ac_delim
7693 LIBS!$LIBS$ac_delim
7694 build_alias!$build_alias$ac_delim
7695 host_alias!$host_alias$ac_delim
7696 target_alias!$target_alias$ac_delim
7697 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7698 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7699 INSTALL_DATA!$INSTALL_DATA$ac_delim
7700 CYGPATH_W!$CYGPATH_W$ac_delim
7701 PACKAGE!$PACKAGE$ac_delim
7702 VERSION!$VERSION$ac_delim
7703 ACLOCAL!$ACLOCAL$ac_delim
7704 AUTOCONF!$AUTOCONF$ac_delim
7705 AUTOMAKE!$AUTOMAKE$ac_delim
7706 AUTOHEADER!$AUTOHEADER$ac_delim
7707 MAKEINFO!$MAKEINFO$ac_delim
7708 AMTAR!$AMTAR$ac_delim
7709 install_sh!$install_sh$ac_delim
7710 STRIP!$STRIP$ac_delim
7711 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7712 mkdir_p!$mkdir_p$ac_delim
7713 AWK!$AWK$ac_delim
7714 SET_MAKE!$SET_MAKE$ac_delim
7715 am__leading_dot!$am__leading_dot$ac_delim
7716 CC!$CC$ac_delim
7717 CFLAGS!$CFLAGS$ac_delim
7718 LDFLAGS!$LDFLAGS$ac_delim
7719 CPPFLAGS!$CPPFLAGS$ac_delim
7720 ac_ct_CC!$ac_ct_CC$ac_delim
7721 EXEEXT!$EXEEXT$ac_delim
7722 OBJEXT!$OBJEXT$ac_delim
7723 DEPDIR!$DEPDIR$ac_delim
7724 am__include!$am__include$ac_delim
7725 am__quote!$am__quote$ac_delim
7726 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7727 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7728 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7729 CCDEPMODE!$CCDEPMODE$ac_delim
7730 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7731 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7732 CPP!$CPP$ac_delim
7733 GREP!$GREP$ac_delim
7734 EGREP!$EGREP$ac_delim
7735 YACC!$YACC$ac_delim
7736 YFLAGS!$YFLAGS$ac_delim
7737 LEX!$LEX$ac_delim
7738 LEXLIB!$LEXLIB$ac_delim
7739 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
7740 LN_S!$LN_S$ac_delim
7741 LIBOBJS!$LIBOBJS$ac_delim
7742 LTLIBOBJS!$LTLIBOBJS$ac_delim
7743 _ACEOF
7745 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
7746 break
7747 elif $ac_last_try; then
7748 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7749 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7750 { (exit 1); exit 1; }; }
7751 else
7752 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7754 done
7756 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7757 if test -n "$ac_eof"; then
7758 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7759 ac_eof=`expr $ac_eof + 1`
7762 cat >>$CONFIG_STATUS <<_ACEOF
7763 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7765 _ACEOF
7766 sed '
7767 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7768 s/^/s,@/; s/!/@,|#_!!_#|/
7771 s/'"$ac_delim"'$/,g/; t
7772 s/$/\\/; p
7773 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7774 ' >>$CONFIG_STATUS <conf$$subs.sed
7775 rm -f conf$$subs.sed
7776 cat >>$CONFIG_STATUS <<_ACEOF
7777 :end
7778 s/|#_!!_#|//g
7779 CEOF$ac_eof
7780 _ACEOF
7783 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7784 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7785 # trailing colons and then remove the whole line if VPATH becomes empty
7786 # (actually we leave an empty line to preserve line numbers).
7787 if test "x$srcdir" = x.; then
7788 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7789 s/:*\$(srcdir):*/:/
7790 s/:*\${srcdir}:*/:/
7791 s/:*@srcdir@:*/:/
7792 s/^\([^=]*=[ ]*\):*/\1/
7793 s/:*$//
7794 s/^[^=]*=[ ]*$//
7798 cat >>$CONFIG_STATUS <<\_ACEOF
7799 fi # test -n "$CONFIG_FILES"
7802 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7804 case $ac_tag in
7805 :[FHLC]) ac_mode=$ac_tag; continue;;
7806 esac
7807 case $ac_mode$ac_tag in
7808 :[FHL]*:*);;
7809 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7810 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7811 { (exit 1); exit 1; }; };;
7812 :[FH]-) ac_tag=-:-;;
7813 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7814 esac
7815 ac_save_IFS=$IFS
7816 IFS=:
7817 set x $ac_tag
7818 IFS=$ac_save_IFS
7819 shift
7820 ac_file=$1
7821 shift
7823 case $ac_mode in
7824 :L) ac_source=$1;;
7825 :[FH])
7826 ac_file_inputs=
7827 for ac_f
7829 case $ac_f in
7830 -) ac_f="$tmp/stdin";;
7831 *) # Look for the file first in the build tree, then in the source tree
7832 # (if the path is not absolute). The absolute path cannot be DOS-style,
7833 # because $ac_f cannot contain `:'.
7834 test -f "$ac_f" ||
7835 case $ac_f in
7836 [\\/$]*) false;;
7837 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7838 esac ||
7839 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7840 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7841 { (exit 1); exit 1; }; };;
7842 esac
7843 ac_file_inputs="$ac_file_inputs $ac_f"
7844 done
7846 # Let's still pretend it is `configure' which instantiates (i.e., don't
7847 # use $as_me), people would be surprised to read:
7848 # /* config.h. Generated by config.status. */
7849 configure_input="Generated from "`IFS=:
7850 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7851 if test x"$ac_file" != x-; then
7852 configure_input="$ac_file. $configure_input"
7853 { echo "$as_me:$LINENO: creating $ac_file" >&5
7854 echo "$as_me: creating $ac_file" >&6;}
7857 case $ac_tag in
7858 *:-:* | *:-) cat >"$tmp/stdin";;
7859 esac
7861 esac
7863 ac_dir=`$as_dirname -- "$ac_file" ||
7864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7865 X"$ac_file" : 'X\(//\)[^/]' \| \
7866 X"$ac_file" : 'X\(//\)$' \| \
7867 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7868 echo X"$ac_file" |
7869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7870 s//\1/
7873 /^X\(\/\/\)[^/].*/{
7874 s//\1/
7877 /^X\(\/\/\)$/{
7878 s//\1/
7881 /^X\(\/\).*/{
7882 s//\1/
7885 s/.*/./; q'`
7886 { as_dir="$ac_dir"
7887 case $as_dir in #(
7888 -*) as_dir=./$as_dir;;
7889 esac
7890 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7891 as_dirs=
7892 while :; do
7893 case $as_dir in #(
7894 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7895 *) as_qdir=$as_dir;;
7896 esac
7897 as_dirs="'$as_qdir' $as_dirs"
7898 as_dir=`$as_dirname -- "$as_dir" ||
7899 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7900 X"$as_dir" : 'X\(//\)[^/]' \| \
7901 X"$as_dir" : 'X\(//\)$' \| \
7902 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7903 echo X"$as_dir" |
7904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7905 s//\1/
7908 /^X\(\/\/\)[^/].*/{
7909 s//\1/
7912 /^X\(\/\/\)$/{
7913 s//\1/
7916 /^X\(\/\).*/{
7917 s//\1/
7920 s/.*/./; q'`
7921 test -d "$as_dir" && break
7922 done
7923 test -z "$as_dirs" || eval "mkdir $as_dirs"
7924 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7925 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7926 { (exit 1); exit 1; }; }; }
7927 ac_builddir=.
7929 case "$ac_dir" in
7930 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7932 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7933 # A ".." for each directory in $ac_dir_suffix.
7934 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7935 case $ac_top_builddir_sub in
7936 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7937 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7938 esac ;;
7939 esac
7940 ac_abs_top_builddir=$ac_pwd
7941 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7942 # for backward compatibility:
7943 ac_top_builddir=$ac_top_build_prefix
7945 case $srcdir in
7946 .) # We are building in place.
7947 ac_srcdir=.
7948 ac_top_srcdir=$ac_top_builddir_sub
7949 ac_abs_top_srcdir=$ac_pwd ;;
7950 [\\/]* | ?:[\\/]* ) # Absolute name.
7951 ac_srcdir=$srcdir$ac_dir_suffix;
7952 ac_top_srcdir=$srcdir
7953 ac_abs_top_srcdir=$srcdir ;;
7954 *) # Relative name.
7955 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7956 ac_top_srcdir=$ac_top_build_prefix$srcdir
7957 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7958 esac
7959 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7962 case $ac_mode in
7965 # CONFIG_FILE
7968 case $INSTALL in
7969 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7970 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7971 esac
7972 _ACEOF
7974 cat >>$CONFIG_STATUS <<\_ACEOF
7975 # If the template does not know about datarootdir, expand it.
7976 # FIXME: This hack should be removed a few years after 2.60.
7977 ac_datarootdir_hack=; ac_datarootdir_seen=
7979 case `sed -n '/datarootdir/ {
7983 /@datadir@/p
7984 /@docdir@/p
7985 /@infodir@/p
7986 /@localedir@/p
7987 /@mandir@/p
7988 ' $ac_file_inputs` in
7989 *datarootdir*) ac_datarootdir_seen=yes;;
7990 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7991 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7992 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7993 _ACEOF
7994 cat >>$CONFIG_STATUS <<_ACEOF
7995 ac_datarootdir_hack='
7996 s&@datadir@&$datadir&g
7997 s&@docdir@&$docdir&g
7998 s&@infodir@&$infodir&g
7999 s&@localedir@&$localedir&g
8000 s&@mandir@&$mandir&g
8001 s&\\\${datarootdir}&$datarootdir&g' ;;
8002 esac
8003 _ACEOF
8005 # Neutralize VPATH when `$srcdir' = `.'.
8006 # Shell code in configure.ac might set extrasub.
8007 # FIXME: do we really want to maintain this feature?
8008 cat >>$CONFIG_STATUS <<_ACEOF
8009 sed "$ac_vpsub
8010 $extrasub
8011 _ACEOF
8012 cat >>$CONFIG_STATUS <<\_ACEOF
8014 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8015 s&@configure_input@&$configure_input&;t t
8016 s&@top_builddir@&$ac_top_builddir_sub&;t t
8017 s&@srcdir@&$ac_srcdir&;t t
8018 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8019 s&@top_srcdir@&$ac_top_srcdir&;t t
8020 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8021 s&@builddir@&$ac_builddir&;t t
8022 s&@abs_builddir@&$ac_abs_builddir&;t t
8023 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8024 s&@INSTALL@&$ac_INSTALL&;t t
8025 $ac_datarootdir_hack
8026 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
8028 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8029 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8030 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8031 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8032 which seems to be undefined. Please make sure it is defined." >&5
8033 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8034 which seems to be undefined. Please make sure it is defined." >&2;}
8036 rm -f "$tmp/stdin"
8037 case $ac_file in
8038 -) cat "$tmp/out"; rm -f "$tmp/out";;
8039 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8040 esac
8044 # CONFIG_HEADER
8046 _ACEOF
8048 # Transform confdefs.h into a sed script `conftest.defines', that
8049 # substitutes the proper values into config.h.in to produce config.h.
8050 rm -f conftest.defines conftest.tail
8051 # First, append a space to every undef/define line, to ease matching.
8052 echo 's/$/ /' >conftest.defines
8053 # Then, protect against being on the right side of a sed subst, or in
8054 # an unquoted here document, in config.status. If some macros were
8055 # called several times there might be several #defines for the same
8056 # symbol, which is useless. But do not sort them, since the last
8057 # AC_DEFINE must be honored.
8058 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8059 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8060 # NAME is the cpp macro being defined, VALUE is the value it is being given.
8061 # PARAMS is the parameter list in the macro definition--in most cases, it's
8062 # just an empty string.
8063 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8064 ac_dB='\\)[ (].*,\\1define\\2'
8065 ac_dC=' '
8066 ac_dD=' ,'
8068 uniq confdefs.h |
8069 sed -n '
8070 t rset
8071 :rset
8072 s/^[ ]*#[ ]*define[ ][ ]*//
8073 t ok
8076 s/[\\&,]/\\&/g
8077 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8078 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8079 ' >>conftest.defines
8081 # Remove the space that was appended to ease matching.
8082 # Then replace #undef with comments. This is necessary, for
8083 # example, in the case of _POSIX_SOURCE, which is predefined and required
8084 # on some systems where configure will not decide to define it.
8085 # (The regexp can be short, since the line contains either #define or #undef.)
8086 echo 's/ $//
8087 s,^[ #]*u.*,/* & */,' >>conftest.defines
8089 # Break up conftest.defines:
8090 ac_max_sed_lines=50
8092 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8093 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8094 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8095 # et cetera.
8096 ac_in='$ac_file_inputs'
8097 ac_out='"$tmp/out1"'
8098 ac_nxt='"$tmp/out2"'
8100 while :
8102 # Write a here document:
8103 cat >>$CONFIG_STATUS <<_ACEOF
8104 # First, check the format of the line:
8105 cat >"\$tmp/defines.sed" <<\\CEOF
8106 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8107 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8109 :def
8110 _ACEOF
8111 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8112 echo 'CEOF
8113 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8114 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8115 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8116 grep . conftest.tail >/dev/null || break
8117 rm -f conftest.defines
8118 mv conftest.tail conftest.defines
8119 done
8120 rm -f conftest.defines conftest.tail
8122 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8123 cat >>$CONFIG_STATUS <<\_ACEOF
8124 if test x"$ac_file" != x-; then
8125 echo "/* $configure_input */" >"$tmp/config.h"
8126 cat "$ac_result" >>"$tmp/config.h"
8127 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8128 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8129 echo "$as_me: $ac_file is unchanged" >&6;}
8130 else
8131 rm -f $ac_file
8132 mv "$tmp/config.h" $ac_file
8134 else
8135 echo "/* $configure_input */"
8136 cat "$ac_result"
8138 rm -f "$tmp/out12"
8139 # Compute $ac_file's index in $config_headers.
8140 _am_stamp_count=1
8141 for _am_header in $config_headers :; do
8142 case $_am_header in
8143 $ac_file | $ac_file:* )
8144 break ;;
8146 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8147 esac
8148 done
8149 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8150 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8151 X$ac_file : 'X\(//\)[^/]' \| \
8152 X$ac_file : 'X\(//\)$' \| \
8153 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8154 echo X$ac_file |
8155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8156 s//\1/
8159 /^X\(\/\/\)[^/].*/{
8160 s//\1/
8163 /^X\(\/\/\)$/{
8164 s//\1/
8167 /^X\(\/\).*/{
8168 s//\1/
8171 s/.*/./; q'`/stamp-h$_am_stamp_count
8174 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8175 echo "$as_me: executing $ac_file commands" >&6;}
8177 esac
8180 case $ac_file$ac_mode in
8181 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8182 # Strip MF so we end up with the name of the file.
8183 mf=`echo "$mf" | sed -e 's/:.*$//'`
8184 # Check whether this is an Automake generated Makefile or not.
8185 # We used to match only the files named `Makefile.in', but
8186 # some people rename them; so instead we look at the file content.
8187 # Grep'ing the first line is not enough: some people post-process
8188 # each Makefile.in and add a new line on top of each file to say so.
8189 # So let's grep whole file.
8190 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8191 dirpart=`$as_dirname -- "$mf" ||
8192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8193 X"$mf" : 'X\(//\)[^/]' \| \
8194 X"$mf" : 'X\(//\)$' \| \
8195 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8196 echo X"$mf" |
8197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8198 s//\1/
8201 /^X\(\/\/\)[^/].*/{
8202 s//\1/
8205 /^X\(\/\/\)$/{
8206 s//\1/
8209 /^X\(\/\).*/{
8210 s//\1/
8213 s/.*/./; q'`
8214 else
8215 continue
8217 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
8218 # Extract the definition of DEP_FILES from the Makefile without
8219 # running `make'.
8220 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8221 test -z "$DEPDIR" && continue
8222 # When using ansi2knr, U may be empty or an underscore; expand it
8223 U=`sed -n 's/^U = //p' < "$mf"`
8224 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
8225 # We invoke sed twice because it is the simplest approach to
8226 # changing $(DEPDIR) to its actual value in the expansion.
8227 for file in `sed -n '
8228 /^DEP_FILES = .*\\\\$/ {
8229 s/^DEP_FILES = //
8230 :loop
8231 s/\\\\$//
8234 /\\\\$/ b loop
8237 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8238 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8239 # Make sure the directory exists.
8240 test -f "$dirpart/$file" && continue
8241 fdir=`$as_dirname -- "$file" ||
8242 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8243 X"$file" : 'X\(//\)[^/]' \| \
8244 X"$file" : 'X\(//\)$' \| \
8245 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8246 echo X"$file" |
8247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8248 s//\1/
8251 /^X\(\/\/\)[^/].*/{
8252 s//\1/
8255 /^X\(\/\/\)$/{
8256 s//\1/
8259 /^X\(\/\).*/{
8260 s//\1/
8263 s/.*/./; q'`
8264 { as_dir=$dirpart/$fdir
8265 case $as_dir in #(
8266 -*) as_dir=./$as_dir;;
8267 esac
8268 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8269 as_dirs=
8270 while :; do
8271 case $as_dir in #(
8272 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8273 *) as_qdir=$as_dir;;
8274 esac
8275 as_dirs="'$as_qdir' $as_dirs"
8276 as_dir=`$as_dirname -- "$as_dir" ||
8277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8278 X"$as_dir" : 'X\(//\)[^/]' \| \
8279 X"$as_dir" : 'X\(//\)$' \| \
8280 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8281 echo X"$as_dir" |
8282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8283 s//\1/
8286 /^X\(\/\/\)[^/].*/{
8287 s//\1/
8290 /^X\(\/\/\)$/{
8291 s//\1/
8294 /^X\(\/\).*/{
8295 s//\1/
8298 s/.*/./; q'`
8299 test -d "$as_dir" && break
8300 done
8301 test -z "$as_dirs" || eval "mkdir $as_dirs"
8302 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8303 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8304 { (exit 1); exit 1; }; }; }
8305 # echo "creating $dirpart/$file"
8306 echo '# dummy' > "$dirpart/$file"
8307 done
8308 done
8311 esac
8312 done # for ac_tag
8315 { (exit 0); exit 0; }
8316 _ACEOF
8317 chmod +x $CONFIG_STATUS
8318 ac_clean_files=$ac_clean_files_save
8321 # configure is writing to config.log, and then calls config.status.
8322 # config.status does its own redirection, appending to config.log.
8323 # Unfortunately, on DOS this fails, as config.log is still kept open
8324 # by configure, so config.status won't be able to write to it; its
8325 # output is simply discarded. So we exec the FD to /dev/null,
8326 # effectively closing config.log, so it can be properly (re)opened and
8327 # appended to by config.status. When coming back to configure, we
8328 # need to make the FD available again.
8329 if test "$no_create" != yes; then
8330 ac_cs_success=:
8331 ac_config_status_args=
8332 test "$silent" = yes &&
8333 ac_config_status_args="$ac_config_status_args --quiet"
8334 exec 5>/dev/null
8335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8336 exec 5>>config.log
8337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8338 # would make configure fail if this is the last instruction.
8339 $ac_cs_success || { (exit 1); exit 1; }