2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for C99-snprintf 1.1.
5 # Report bugs to <holger@jhweiss.de>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='C99-snprintf'
576 PACKAGE_TARNAME='c99-snprintf'
577 PACKAGE_VERSION='1.1'
578 PACKAGE_STRING='C99-snprintf 1.1'
579 PACKAGE_BUGREPORT='holger@jhweiss.de'
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 INSTALL_STRIP_PROGRAM
699 ac_precious_vars='build_alias
710 # Initialize some variables set by options.
712 ac_init_version=false
713 # The variables have the same names as the options, with
714 # dashes changed to underlines.
722 program_transform_name=s,x,x,
730 # Installation directory options.
731 # These are left unexpanded so users can "make install exec_prefix=/foo"
732 # and all the variables that are supposed to be based on exec_prefix
733 # by default will actually change.
734 # Use braces instead of parens because sh, perl, etc. also accept them.
735 # (The list follows the same order as the GNU Coding Standards.)
736 bindir='${exec_prefix}/bin'
737 sbindir='${exec_prefix}/sbin'
738 libexecdir='${exec_prefix}/libexec'
739 datarootdir='${prefix}/share'
740 datadir='${datarootdir}'
741 sysconfdir='${prefix}/etc'
742 sharedstatedir='${prefix}/com'
743 localstatedir='${prefix}/var'
744 includedir='${prefix}/include'
745 oldincludedir='/usr/include'
746 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
747 infodir='${datarootdir}/info'
752 libdir='${exec_prefix}/lib'
753 localedir='${datarootdir}/locale'
754 mandir='${datarootdir}/man'
760 # If the previous option needs an argument, assign it.
761 if test -n "$ac_prev"; then
762 eval $ac_prev=\$ac_option
768 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
772 # Accept the important Cygnus configure options, so we can diagnose typos.
774 case $ac_dashdash$ac_option in
778 -bindir | --bindir | --bindi | --bind | --bin | --bi)
780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 -build | --build | --buil | --bui | --bu)
784 ac_prev=build_alias ;;
785 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786 build_alias=$ac_optarg ;;
788 -cache-file | --cache-file | --cache-fil | --cache-fi \
789 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790 ac_prev=cache_file ;;
791 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793 cache_file=$ac_optarg ;;
796 cache_file=config.cache ;;
798 -datadir | --datadir | --datadi | --datad)
800 -datadir=* | --datadir=* | --datadi=* | --datad=*)
801 datadir=$ac_optarg ;;
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804 | --dataroo | --dataro | --datar)
805 ac_prev=datarootdir ;;
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808 datarootdir=$ac_optarg ;;
810 -disable-* | --disable-*)
811 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
814 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
815 { (exit 1); exit 1; }; }
816 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
817 eval enable_$ac_feature=no ;;
819 -docdir | --docdir | --docdi | --doc | --do)
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 -enable-* | --enable-*)
830 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831 # Reject names that are not valid shell variable names.
832 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
834 { (exit 1); exit 1; }; }
835 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
836 eval enable_$ac_feature=\$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev=exec_prefix ;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
851 -help | --help | --hel | --he | -h)
853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854 ac_init_help=recursive ;;
855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856 ac_init_help=short ;;
858 -host | --host | --hos | --ho)
859 ac_prev=host_alias ;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 htmldir=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev=includedir ;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev=libexecdir ;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev=localstatedir ;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 # Obsolete; use --without-fp.
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev=oldincludedir ;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev=program_prefix ;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev=program_suffix ;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev=program_transform_name ;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 -psdir | --psdir | --psdi | --psd | --ps)
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 sbindir=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 sharedstatedir=$ac_optarg ;;
998 -site | --site | --sit)
1000 -site=* | --site=* | --sit=*)
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1027 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030 { echo "$as_me: error: invalid package name: $ac_package" >&2
1031 { (exit 1); exit 1; }; }
1032 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1033 eval with_$ac_package=\$ac_optarg ;;
1035 -without-* | --without-*)
1036 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1042 eval with_$ac_package=no ;;
1045 # Obsolete; use --with-x.
1048 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1049 | --x-incl | --x-inc | --x-in | --x-i)
1050 ac_prev=x_includes ;;
1051 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1052 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1053 x_includes=$ac_optarg ;;
1055 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1056 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1057 ac_prev=x_libraries ;;
1058 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1059 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1060 x_libraries=$ac_optarg ;;
1062 -*) { echo "$as_me: error: unrecognized option: $ac_option
1063 Try \`$0 --help' for more information." >&2
1064 { (exit 1); exit 1; }; }
1068 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1071 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1072 { (exit 1); exit 1; }; }
1073 eval $ac_envvar=\$ac_optarg
1074 export $ac_envvar ;;
1077 # FIXME: should be removed in autoconf 3.0.
1078 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1079 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1080 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1087 if test -n "$ac_prev"; then
1088 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1089 { echo "$as_me: error: missing argument to $ac_option" >&2
1090 { (exit 1); exit 1; }; }
1093 # Be sure to have absolute directory names.
1094 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095 datadir sysconfdir sharedstatedir localstatedir includedir \
1096 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097 libdir localedir mandir
1099 eval ac_val=\$$ac_var
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1105 { (exit 1); exit 1; }; }
1108 # There might be people who depend on the old broken behavior: `$host'
1109 # used to hold the argument of --host etc.
1110 # FIXME: To remove some day.
1113 target=$target_alias
1115 # FIXME: To remove some day.
1116 if test "x$host_alias" != x; then
1117 if test "x$build_alias" = x; then
1118 cross_compiling=maybe
1119 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1120 If a cross compiler is detected then cross compile mode will be used." >&2
1121 elif test "x$build_alias" != "x$host_alias"; then
1127 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1129 test "$silent" = yes && exec 6>/dev/null
1132 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1133 ac_ls_di=`ls -di .` &&
1134 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1135 { echo "$as_me: error: Working directory cannot be determined" >&2
1136 { (exit 1); exit 1; }; }
1137 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1138 { echo "$as_me: error: pwd does not report name of working directory" >&2
1139 { (exit 1); exit 1; }; }
1142 # Find the source files, if location was not specified.
1143 if test -z "$srcdir"; then
1144 ac_srcdir_defaulted=yes
1145 # Try the directory containing this script, then the parent directory.
1146 ac_confdir=`$as_dirname -- "$0" ||
1147 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148 X"$0" : 'X\(//\)[^/]' \| \
1149 X"$0" : 'X\(//\)$' \| \
1150 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1170 if test ! -r "$srcdir/$ac_unique_file"; then
1174 ac_srcdir_defaulted=no
1176 if test ! -r "$srcdir/$ac_unique_file"; then
1177 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1179 { (exit 1); exit 1; }; }
1181 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1183 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1184 { (exit 1); exit 1; }; }
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 for ac_var in $ac_precious_vars; do
1197 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_env_${ac_var}_value=\$${ac_var}
1199 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1204 # Report the --help message.
1206 if test "$ac_init_help" = "long"; then
1207 # Omit some internal or obsolete options to make the list less imposing.
1208 # This message is too long to be a string in the A/UX 3.1 sh.
1210 \`configure' configures C99-snprintf 1.1 to adapt to many kinds of systems.
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE. See below for descriptions of some of the useful variables.
1217 Defaults for the options are specified in brackets.
1220 -h, --help display this help and exit
1221 --help=short display options specific to this package
1222 --help=recursive display the short help of all the included packages
1223 -V, --version display version information and exit
1224 -q, --quiet, --silent do not print \`checking...' messages
1225 --cache-file=FILE cache test results in FILE [disabled]
1226 -C, --config-cache alias for \`--cache-file=config.cache'
1227 -n, --no-create do not create output files
1228 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230 Installation directories:
1231 --prefix=PREFIX install architecture-independent files in PREFIX
1232 [$ac_default_prefix]
1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1241 For better control, use the options below.
1243 Fine tuning of the installation directories:
1244 --bindir=DIR user executables [EPREFIX/bin]
1245 --sbindir=DIR system admin executables [EPREFIX/sbin]
1246 --libexecdir=DIR program executables [EPREFIX/libexec]
1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/c99-snprintf]
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1268 --program-prefix=PREFIX prepend PREFIX to installed program names
1269 --program-suffix=SUFFIX append SUFFIX to installed program names
1270 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive ) echo "Configuration of C99-snprintf 1.1:";;
1281 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1282 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1283 --disable-dependency-tracking speeds up one-time build
1284 --enable-dependency-tracking do not reject slow dependency extractors
1286 Some influential environment variables:
1287 CC C compiler command
1288 CFLAGS C compiler flags
1289 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1290 nonstandard directory <lib dir>
1291 LIBS libraries to pass to the linker, e.g. -l<library>
1292 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1293 you have headers in a nonstandard directory <include dir>
1296 Use these variables to override the choices made by `configure' or to help
1297 it to find libraries and programs with nonstandard names/locations.
1299 Report bugs to <holger@jhweiss.de>.
1304 if test "$ac_init_help" = "recursive"; then
1305 # If there are subdirs, report their specific --help.
1306 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307 test -d "$ac_dir" || continue
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1327 .) # We are building in place.
1329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
1332 ac_srcdir=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1351 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1353 cd "$ac_pwd" || { ac_status=$?; break; }
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1360 C99-snprintf configure 1.1
1361 generated by GNU Autoconf 2.61
1363 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1364 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1365 This configure script is free software; the Free Software Foundation
1366 gives unlimited permission to copy, distribute and modify it.
1370 cat >config.log <<_ACEOF
1371 This file contains any messages produced by compilers while
1372 running configure, to aid debugging if configure makes a mistake.
1374 It was created by C99-snprintf $as_me 1.1, which was
1375 generated by GNU Autoconf 2.61. Invocation command line was
1387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1394 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1396 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1397 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1399 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1400 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1401 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1402 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir=.
1411 echo "PATH: $as_dir"
1427 # Keep a trace of the command line.
1428 # Strip out --no-create and --no-recursion so they do not pile up.
1429 # Strip out --silent because we don't want to record it for future runs.
1430 # Also quote any args containing shell meta-characters.
1431 # Make two passes to allow for proper duplicate-argument suppression.
1435 ac_must_keep_next=false
1441 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443 | -silent | --silent | --silen | --sile | --sil)
1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1449 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1451 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1452 if test $ac_must_keep_next = true; then
1453 ac_must_keep_next=false # Got value, back to normal.
1456 *=* | --config-cache | -C | -disable-* | --disable-* \
1457 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459 | -with-* | --with-* | -without-* | --without-* | --x)
1460 case "$ac_configure_args0 " in
1461 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1464 -* ) ac_must_keep_next=true ;;
1467 ac_configure_args="$ac_configure_args '$ac_arg'"
1472 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1473 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1475 # When interrupted or exit'd, cleanup temporary files, and complete
1476 # config.log. We remove comments because anyway the quotes in there
1477 # would cause problems or look ugly.
1478 # WARNING: Use '\'' to represent an apostrophe within the trap.
1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1480 trap 'exit_status=$?
1481 # Save into config.log some information that might help in debugging.
1486 ## ---------------- ##
1487 ## Cache variables. ##
1488 ## ---------------- ##
1491 # The following way of writing the cache mishandles newlines in values,
1493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494 eval ac_val=\$$ac_var
1498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1502 _ | IFS | as_nl) ;; #(
1503 *) $as_unset $ac_var ;;
1508 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1509 *${as_nl}ac_space=\ *)
1511 "s/'\''/'\''\\\\'\'''\''/g;
1512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1515 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1523 ## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##
1528 for ac_var in $ac_subst_vars
1530 eval ac_val=\$$ac_var
1532 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1534 echo "$ac_var='\''$ac_val'\''"
1538 if test -n "$ac_subst_files"; then
1540 ## ------------------- ##
1541 ## File substitutions. ##
1542 ## ------------------- ##
1545 for ac_var in $ac_subst_files
1547 eval ac_val=\$$ac_var
1549 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551 echo "$ac_var='\''$ac_val'\''"
1556 if test -s confdefs.h; then
1566 test "$ac_signal" != 0 &&
1567 echo "$as_me: caught signal $ac_signal"
1568 echo "$as_me: exit $exit_status"
1570 rm -f core *.core core.conftest.* &&
1571 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1574 for ac_signal in 1 2 13 15; do
1575 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1580 rm -f -r conftest* confdefs.h
1582 # Predefined preprocessor variables.
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_NAME "$PACKAGE_NAME"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_STRING "$PACKAGE_STRING"
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1609 # Let the site file select an alternate cache file if it wants to.
1610 # Prefer explicitly selected file to automatically selected ones.
1611 if test -n "$CONFIG_SITE"; then
1612 set x "$CONFIG_SITE"
1613 elif test "x$prefix" != xNONE; then
1614 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1616 set x "$ac_default_prefix/share/config.site" \
1617 "$ac_default_prefix/etc/config.site"
1622 if test -r "$ac_site_file"; then
1623 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624 echo "$as_me: loading site script $ac_site_file" >&6;}
1625 sed 's/^/| /' "$ac_site_file" >&5
1630 if test -r "$cache_file"; then
1631 # Some versions of bash will fail to source /dev/null (special
1632 # files actually), so we avoid doing that.
1633 if test -f "$cache_file"; then
1634 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635 echo "$as_me: loading cache $cache_file" >&6;}
1637 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638 *) . "./$cache_file";;
1642 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643 echo "$as_me: creating cache $cache_file" >&6;}
1647 ac_header_list="$ac_header_list stdarg.h"
1648 ac_header_list="$ac_header_list varargs.h"
1649 # Check that the precious variables saved in the cache have kept the same
1651 ac_cache_corrupted=false
1652 for ac_var in $ac_precious_vars; do
1653 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1654 eval ac_new_set=\$ac_env_${ac_var}_set
1655 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1656 eval ac_new_val=\$ac_env_${ac_var}_value
1657 case $ac_old_set,$ac_new_set in
1659 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1660 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1661 ac_cache_corrupted=: ;;
1663 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1664 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1665 ac_cache_corrupted=: ;;
1668 if test "x$ac_old_val" != "x$ac_new_val"; then
1669 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1670 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1671 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1672 echo "$as_me: former value: $ac_old_val" >&2;}
1673 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1674 echo "$as_me: current value: $ac_new_val" >&2;}
1675 ac_cache_corrupted=:
1678 # Pass precious variables to config.status.
1679 if test "$ac_new_set" = set; then
1681 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1682 *) ac_arg=$ac_var=$ac_new_val ;;
1684 case " $ac_configure_args " in
1685 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1686 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1690 if $ac_cache_corrupted; then
1691 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1692 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1693 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1694 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1695 { (exit 1); exit 1; }; }
1723 ac_cpp='$CPP $CPPFLAGS'
1724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1730 ac_config_headers="$ac_config_headers config.h"
1732 am__api_version='1.10'
1735 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1736 if test -f "$ac_dir/install-sh"; then
1738 ac_install_sh="$ac_aux_dir/install-sh -c"
1740 elif test -f "$ac_dir/install.sh"; then
1742 ac_install_sh="$ac_aux_dir/install.sh -c"
1744 elif test -f "$ac_dir/shtool"; then
1746 ac_install_sh="$ac_aux_dir/shtool install -c"
1750 if test -z "$ac_aux_dir"; then
1751 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1752 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1753 { (exit 1); exit 1; }; }
1756 # These three variables are undocumented and unsupported,
1757 # and are intended to be withdrawn in a future Autoconf release.
1758 # They can cause serious problems if a builder's source tree is in a directory
1759 # whose full name contains unusual characters.
1760 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1761 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1762 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1765 # Find a good install program. We prefer a C program (faster),
1766 # so one script is as good as another. But avoid the broken or
1767 # incompatible versions:
1768 # SysV /etc/install, /usr/sbin/install
1769 # SunOS /usr/etc/install
1770 # IRIX /sbin/install
1772 # AmigaOS /C/install, which installs bootblocks on floppy discs
1773 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1774 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1775 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1776 # OS/2's system install, which has a completely different semantic
1777 # ./install, which can be erroneously created by make from ./install.sh.
1778 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1779 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1780 if test -z "$INSTALL"; then
1781 if test "${ac_cv_path_install+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1788 test -z "$as_dir" && as_dir=.
1789 # Account for people who put trailing slashes in PATH elements.
1791 ./ | .// | /cC/* | \
1792 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1793 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1796 # OSF1 and SCO ODT 3.0 have their own names for install.
1797 # Don't use installbsd from OSF since it installs stuff as root
1799 for ac_prog in ginstall scoinst install; do
1800 for ac_exec_ext in '' $ac_executable_extensions; do
1801 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1802 if test $ac_prog = install &&
1803 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1804 # AIX install. It has an incompatible calling convention.
1806 elif test $ac_prog = install &&
1807 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1808 # program-specific install script used by HP pwplus--don't use.
1811 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1824 if test "${ac_cv_path_install+set}" = set; then
1825 INSTALL=$ac_cv_path_install
1827 # As a last resort, use the slow shell script. Don't cache a
1828 # value for INSTALL within a source directory, because that will
1829 # break other packages using the cache if that directory is
1830 # removed, or if the value is a relative name.
1831 INSTALL=$ac_install_sh
1834 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1835 echo "${ECHO_T}$INSTALL" >&6; }
1837 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1838 # It thinks the first close brace ends the variable substitution.
1839 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1841 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1843 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1845 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1846 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1849 echo timestamp > conftest.file
1850 # Do `set' in a subshell so we don't clobber the current shell's
1851 # arguments. Must try -L first in case configure is actually a
1852 # symlink; some systems play weird games with the mod time of symlinks
1853 # (eg FreeBSD returns the mod time of the symlink's containing
1856 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1857 if test "$*" = "X"; then
1859 set X `ls -t $srcdir/configure conftest.file`
1862 if test "$*" != "X $srcdir/configure conftest.file" \
1863 && test "$*" != "X conftest.file $srcdir/configure"; then
1865 # If neither matched, then we have a broken ls. This can happen
1866 # if, for instance, CONFIG_SHELL is bash and it inherits a
1867 # broken ls alias from the environment. This has actually
1868 # happened. Such a system could not be considered "sane".
1869 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1870 alias in your environment" >&5
1871 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1872 alias in your environment" >&2;}
1873 { (exit 1); exit 1; }; }
1876 test "$2" = conftest.file
1882 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1883 Check your system clock" >&5
1884 echo "$as_me: error: newly created file is older than distributed files!
1885 Check your system clock" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: result: yes" >&5
1889 echo "${ECHO_T}yes" >&6; }
1890 test "$program_prefix" != NONE &&
1891 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1892 # Use a double $ so make ignores it.
1893 test "$program_suffix" != NONE &&
1894 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1895 # Double any \ or $. echo might interpret backslashes.
1896 # By default was `s,x,x', remove it if useless.
1897 cat <<\_ACEOF >conftest.sed
1898 s/[\\$]/&&/g;s/;s,x,x,$//
1900 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1903 # expand $ac_aux_dir to an absolute path
1904 am_aux_dir=`cd $ac_aux_dir && pwd`
1906 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1907 # Use eval to expand $SHELL
1908 if eval "$MISSING --run true"; then
1909 am_missing_run="$MISSING --run "
1912 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1913 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1916 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1917 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1918 if test -z "$MKDIR_P"; then
1919 if test "${ac_cv_path_mkdir+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1926 test -z "$as_dir" && as_dir=.
1927 for ac_prog in mkdir gmkdir; do
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1930 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1931 'mkdir (GNU coreutils) '* | \
1932 'mkdir (coreutils) '* | \
1933 'mkdir (fileutils) '4.1*)
1934 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1944 if test "${ac_cv_path_mkdir+set}" = set; then
1945 MKDIR_P="$ac_cv_path_mkdir -p"
1947 # As a last resort, use the slow shell script. Don't cache a
1948 # value for MKDIR_P within a source directory, because that will
1949 # break other packages using the cache if that directory is
1950 # removed, or if the value is a relative name.
1951 test -d ./--version && rmdir ./--version
1952 MKDIR_P="$ac_install_sh -d"
1955 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1956 echo "${ECHO_T}$MKDIR_P" >&6; }
1960 [\\/$]* | ?:[\\/]*) ;;
1961 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1964 for ac_prog in gawk mawk nawk awk
1966 # Extract the first word of "$ac_prog", so it can be a program name with args.
1967 set dummy $ac_prog; ac_word=$2
1968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1970 if test "${ac_cv_prog_AWK+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 if test -n "$AWK"; then
1974 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_AWK="$ac_prog"
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 if test -n "$AWK"; then
1995 { echo "$as_me:$LINENO: result: $AWK" >&5
1996 echo "${ECHO_T}$AWK" >&6; }
1998 { echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6; }
2003 test -n "$AWK" && break
2006 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2007 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2008 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2009 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2010 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 cat >conftest.make <<\_ACEOF
2015 @echo '@@@%%%=$(MAKE)=@@@%%%'
2017 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2018 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2020 eval ac_cv_prog_make_${ac_make}_set=yes;;
2022 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2027 { echo "$as_me:$LINENO: result: yes" >&5
2028 echo "${ECHO_T}yes" >&6; }
2031 { echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6; }
2033 SET_MAKE="MAKE=${MAKE-make}"
2036 rm -rf .tst 2>/dev/null
2037 mkdir .tst 2>/dev/null
2038 if test -d .tst; then
2043 rmdir .tst 2>/dev/null
2045 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2046 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2047 # is not polluted with repeated "-I."
2048 am__isrc=' -I$(srcdir)'
2049 # test to see if srcdir already configured
2050 if test -f $srcdir/config.status; then
2051 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2052 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2053 { (exit 1); exit 1; }; }
2057 # test whether we have cygpath
2058 if test -z "$CYGPATH_W"; then
2059 if (cygpath --version) >/dev/null 2>/dev/null; then
2060 CYGPATH_W='cygpath -w'
2067 # Define the identity of the package.
2068 PACKAGE='c99-snprintf'
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE "$PACKAGE"
2077 cat >>confdefs.h <<_ACEOF
2078 #define VERSION "$VERSION"
2081 # Some tools Automake needs.
2083 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2086 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2089 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2092 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2095 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2097 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2099 # Installed binaries are usually stripped using `strip' when the user
2100 # run `make install-strip'. However `strip' might not be the right
2101 # tool to use in cross-compilation environments, therefore Automake
2102 # will honor the `STRIP' environment variable to overrule this program.
2103 if test "$cross_compiling" != no; then
2104 if test -n "$ac_tool_prefix"; then
2105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2106 set dummy ${ac_tool_prefix}strip; ac_word=$2
2107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2109 if test "${ac_cv_prog_STRIP+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 if test -n "$STRIP"; then
2113 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 STRIP=$ac_cv_prog_STRIP
2133 if test -n "$STRIP"; then
2134 { echo "$as_me:$LINENO: result: $STRIP" >&5
2135 echo "${ECHO_T}$STRIP" >&6; }
2137 { echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6; }
2143 if test -z "$ac_cv_prog_STRIP"; then
2145 # Extract the first word of "strip", so it can be a program name with args.
2146 set dummy strip; ac_word=$2
2147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 if test -n "$ac_ct_STRIP"; then
2153 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir=.
2160 for ac_exec_ext in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_ac_ct_STRIP="strip"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2173 if test -n "$ac_ct_STRIP"; then
2174 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2175 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2177 { echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6; }
2181 if test "x$ac_ct_STRIP" = x; then
2184 case $cross_compiling:$ac_tool_warned in
2186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2187 whose name does not start with the host triplet. If you think this
2188 configuration is useful to you, please write to autoconf@gnu.org." >&5
2189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2190 whose name does not start with the host triplet. If you think this
2191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2192 ac_tool_warned=yes ;;
2197 STRIP="$ac_cv_prog_STRIP"
2201 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2203 # We need awk for the "check" target. The system "awk" is bad on
2205 # Always define AMTAR for backward compatibility.
2207 AMTAR=${AMTAR-"${am_missing_run}tar"}
2209 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2215 DEPDIR="${am__leading_dot}deps"
2217 ac_config_commands="$ac_config_commands depfiles"
2220 am_make=${MAKE-make}
2221 cat > confinc << 'END'
2226 # If we don't find an include directive, just comment out the code.
2227 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2228 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2232 # First try GNU make style include.
2233 echo "include confinc" > confmf
2234 # We grep out `Entering directory' and `Leaving directory'
2235 # messages which can occur if `w' ends up in MAKEFLAGS.
2236 # In particular we don't look at `^make:' because GNU make might
2237 # be invoked under some other name (usually "gmake"), in which
2238 # case it prints its new name instead of `make'.
2239 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2244 # Now try BSD make style include.
2245 if test "$am__include" = "#"; then
2246 echo '.include "confinc"' > confmf
2247 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2248 am__include=.include
2255 { echo "$as_me:$LINENO: result: $_am_result" >&5
2256 echo "${ECHO_T}$_am_result" >&6; }
2257 rm -f confinc confmf
2259 # Check whether --enable-dependency-tracking was given.
2260 if test "${enable_dependency_tracking+set}" = set; then
2261 enableval=$enable_dependency_tracking;
2264 if test "x$enable_dependency_tracking" != xno; then
2265 am_depcomp="$ac_aux_dir/depcomp"
2268 if test "x$enable_dependency_tracking" != xno; then
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282 if test -n "$ac_tool_prefix"; then
2283 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2284 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2287 if test "${ac_cv_prog_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 if test -n "$CC"; then
2312 { echo "$as_me:$LINENO: result: $CC" >&5
2313 echo "${ECHO_T}$CC" >&6; }
2315 { echo "$as_me:$LINENO: result: no" >&5
2316 echo "${ECHO_T}no" >&6; }
2321 if test -z "$ac_cv_prog_CC"; then
2323 # Extract the first word of "gcc", so it can be a program name with args.
2324 set dummy gcc; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$ac_ct_CC"; then
2331 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_ac_ct_CC="gcc"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2351 if test -n "$ac_ct_CC"; then
2352 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2353 echo "${ECHO_T}$ac_ct_CC" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2359 if test "x$ac_ct_CC" = x; then
2362 case $cross_compiling:$ac_tool_warned in
2364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2365 whose name does not start with the host triplet. If you think this
2366 configuration is useful to you, please write to autoconf@gnu.org." >&5
2367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2368 whose name does not start with the host triplet. If you think this
2369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2370 ac_tool_warned=yes ;;
2378 if test -z "$CC"; then
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2381 set dummy ${ac_tool_prefix}cc; ac_word=$2
2382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2384 if test "${ac_cv_prog_CC+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397 ac_cv_prog_CC="${ac_tool_prefix}cc"
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test -n "$CC"; then
2409 { echo "$as_me:$LINENO: result: $CC" >&5
2410 echo "${ECHO_T}$CC" >&6; }
2412 { echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6; }
2419 if test -z "$CC"; then
2420 # Extract the first word of "cc", so it can be a program name with args.
2421 set dummy cc; ac_word=$2
2422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_CC+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2439 ac_prog_rejected=yes
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test $ac_prog_rejected = yes; then
2451 # We found a bogon in the path, so make sure we never use it.
2452 set dummy $ac_cv_prog_CC
2454 if test $# != 0; then
2455 # We chose a different compiler from the bogus one.
2456 # However, it has the same basename, so the bogon will be chosen
2457 # first if we set CC to just the basename; use the full file name.
2459 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2465 if test -n "$CC"; then
2466 { echo "$as_me:$LINENO: result: $CC" >&5
2467 echo "${ECHO_T}$CC" >&6; }
2469 { echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6; }
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 for ac_prog in cl.exe
2479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2483 if test "${ac_cv_prog_CC+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2486 if test -n "$CC"; then
2487 ac_cv_prog_CC="$CC" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2496 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 if test -n "$CC"; then
2508 { echo "$as_me:$LINENO: result: $CC" >&5
2509 echo "${ECHO_T}$CC" >&6; }
2511 { echo "$as_me:$LINENO: result: no" >&5
2512 echo "${ECHO_T}no" >&6; }
2516 test -n "$CC" && break
2519 if test -z "$CC"; then
2521 for ac_prog in cl.exe
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy $ac_prog; ac_word=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$ac_ct_CC"; then
2531 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_ac_ct_CC="$ac_prog"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2553 echo "${ECHO_T}$ac_ct_CC" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2560 test -n "$ac_ct_CC" && break
2563 if test "x$ac_ct_CC" = x; then
2566 case $cross_compiling:$ac_tool_warned in
2568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2569 whose name does not start with the host triplet. If you think this
2570 configuration is useful to you, please write to autoconf@gnu.org." >&5
2571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2572 whose name does not start with the host triplet. If you think this
2573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2574 ac_tool_warned=yes ;;
2583 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2584 See \`config.log' for more details." >&5
2585 echo "$as_me: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&2;}
2587 { (exit 1); exit 1; }; }
2589 # Provide some information about the compiler.
2590 echo "$as_me:$LINENO: checking for C compiler version" >&5
2591 ac_compiler=`set X $ac_compile; echo $2`
2592 { (ac_try="$ac_compiler --version >&5"
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compiler --version >&5") 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }
2602 { (ac_try="$ac_compiler -v >&5"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2608 (eval "$ac_compiler -v >&5") 2>&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }
2612 { (ac_try="$ac_compiler -V >&5"
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2618 (eval "$ac_compiler -V >&5") 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2638 ac_clean_files_save=$ac_clean_files
2639 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2640 # Try to create an executable without -o first, disregard a.out.
2641 # It will help us diagnose broken compilers, and finding out an intuition
2643 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2644 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2645 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2647 # List of possible output files, starting from the most likely.
2648 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2649 # only as a last resort. b.out is created by i960 compilers.
2650 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2652 # The IRIX 6 linker writes into existing files which may not be
2653 # executable, retaining their permissions. Remove them first so a
2654 # subsequent execution test works.
2656 for ac_file in $ac_files
2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2660 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2665 if { (ac_try="$ac_link_default"
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2671 (eval "$ac_link_default") 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; then
2675 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2676 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2677 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2678 # so that the user can short-circuit this test for compilers unknown to
2680 for ac_file in $ac_files ''
2682 test -f "$ac_file" || continue
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2687 # We found the default executable, but exeext='' is most
2691 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2693 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2695 # We set ac_cv_exeext here because the later test for it is not
2696 # safe: cross compilers may not add the suffix if given an `-o'
2697 # argument, so we may need to know it at that point already.
2698 # Even if this section looks crufty: it has the advantage of
2705 test "$ac_cv_exeext" = no && ac_cv_exeext=
2711 { echo "$as_me:$LINENO: result: $ac_file" >&5
2712 echo "${ECHO_T}$ac_file" >&6; }
2713 if test -z "$ac_file"; then
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.$ac_ext >&5
2717 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2718 See \`config.log' for more details." >&5
2719 echo "$as_me: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&2;}
2721 { (exit 77); exit 77; }; }
2724 ac_exeext=$ac_cv_exeext
2726 # Check that the compiler produces executables we can run. If not, either
2727 # the compiler is broken, or we cross compile.
2728 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2729 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2730 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2731 # If not cross compiling, check that we can run a simple program.
2732 if test "$cross_compiling" != yes; then
2733 if { ac_try='./$ac_file'
2734 { (case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_try") 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 if test "$cross_compiling" = maybe; then
2748 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2749 If you meant to cross compile, use \`--host'.
2750 See \`config.log' for more details." >&5
2751 echo "$as_me: error: cannot run C compiled programs.
2752 If you meant to cross compile, use \`--host'.
2753 See \`config.log' for more details." >&2;}
2754 { (exit 1); exit 1; }; }
2758 { echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6; }
2761 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2762 ac_clean_files=$ac_clean_files_save
2763 # Check that the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2766 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2767 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2768 echo "${ECHO_T}$cross_compiling" >&6; }
2770 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2771 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2772 if { (ac_try="$ac_link"
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2778 (eval "$ac_link") 2>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; then
2782 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2783 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2784 # work properly (i.e., refer to `conftest.exe'), while it won't with
2786 for ac_file in conftest.exe conftest conftest.*; do
2787 test -f "$ac_file" || continue
2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2790 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2796 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2797 See \`config.log' for more details." >&5
2798 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&2;}
2800 { (exit 1); exit 1; }; }
2803 rm -f conftest$ac_cv_exeext
2804 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2805 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2807 rm -f conftest.$ac_ext
2808 EXEEXT=$ac_cv_exeext
2810 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2811 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2812 if test "${ac_cv_objext+set}" = set; then
2813 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 cat >conftest.$ac_ext <<_ACEOF
2818 cat confdefs.h >>conftest.$ac_ext
2819 cat >>conftest.$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2830 rm -f conftest.o conftest.obj
2831 if { (ac_try="$ac_compile"
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_compile") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; then
2841 for ac_file in conftest.o conftest.obj conftest.*; do
2842 test -f "$ac_file" || continue;
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2845 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2854 See \`config.log' for more details." >&5
2855 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&2;}
2857 { (exit 1); exit 1; }; }
2860 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2862 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2863 echo "${ECHO_T}$ac_cv_objext" >&6; }
2864 OBJEXT=$ac_cv_objext
2866 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2867 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2868 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 cat >conftest.$ac_ext <<_ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2889 rm -f conftest.$ac_objext
2890 if { (ac_try="$ac_compile"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2896 (eval "$ac_compile") 2>conftest.er1
2898 grep -v '^ *+' conftest.er1 >conftest.err
2900 cat conftest.err >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); } && {
2903 test -z "$ac_c_werror_flag" ||
2904 test ! -s conftest.err
2905 } && test -s conftest.$ac_objext; then
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2918 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2919 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2920 GCC=`test $ac_compiler_gnu = yes && echo yes`
2921 ac_test_CFLAGS=${CFLAGS+set}
2922 ac_save_CFLAGS=$CFLAGS
2923 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2924 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2925 if test "${ac_cv_prog_cc_g+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 ac_save_c_werror_flag=$ac_c_werror_flag
2929 ac_c_werror_flag=yes
2932 cat >conftest.$ac_ext <<_ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2947 rm -f conftest.$ac_objext
2948 if { (ac_try="$ac_compile"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2954 (eval "$ac_compile") 2>conftest.er1
2956 grep -v '^ *+' conftest.er1 >conftest.err
2958 cat conftest.err >&5
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } && {
2961 test -z "$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2963 } && test -s conftest.$ac_objext; then
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 rm -f conftest.$ac_objext
2986 if { (ac_try="$ac_compile"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_compile") 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } && {
2999 test -z "$ac_c_werror_flag" ||
3000 test ! -s conftest.err
3001 } && test -s conftest.$ac_objext; then
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 ac_c_werror_flag=$ac_save_c_werror_flag
3009 cat >conftest.$ac_ext <<_ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.$ac_objext
3025 if { (ac_try="$ac_compile"
3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031 (eval "$ac_compile") 2>conftest.er1
3033 grep -v '^ *+' conftest.er1 >conftest.err
3035 cat conftest.err >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); } && {
3038 test -z "$ac_c_werror_flag" ||
3039 test ! -s conftest.err
3040 } && test -s conftest.$ac_objext; then
3043 echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 ac_c_werror_flag=$ac_save_c_werror_flag
3058 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3059 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3060 if test "$ac_test_CFLAGS" = set; then
3061 CFLAGS=$ac_save_CFLAGS
3062 elif test $ac_cv_prog_cc_g = yes; then
3063 if test "$GCC" = yes; then
3069 if test "$GCC" = yes; then
3075 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3076 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3077 if test "${ac_cv_prog_cc_c89+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 ac_cv_prog_cc_c89=no
3082 cat >conftest.$ac_ext <<_ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3090 #include <sys/types.h>
3091 #include <sys/stat.h>
3092 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3093 struct buf { int x; };
3094 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3095 static char *e (p, i)
3101 static char *f (char * (*g) (char **, int), char **p, ...)
3106 s = g (p, va_arg (v,int));
3111 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3112 function prototypes and stuff, but not '\xHH' hex character constants.
3113 These don't provoke an error unfortunately, instead are silently treated
3114 as 'x'. The following induces an error, until -std is added to get
3115 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3116 array size at least. It's necessary to write '\x00'==0 to get something
3117 that's true only with -std. */
3118 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3120 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3121 inside strings and character constants. */
3123 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3125 int test (int i, double x);
3126 struct s1 {int (*f) (int a);};
3127 struct s2 {int (*f) (double a);};
3128 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3134 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3139 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3140 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3142 CC="$ac_save_CC $ac_arg"
3143 rm -f conftest.$ac_objext
3144 if { (ac_try="$ac_compile"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compile") 2>conftest.er1
3152 grep -v '^ *+' conftest.er1 >conftest.err
3154 cat conftest.err >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } && {
3157 test -z "$ac_c_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest.$ac_objext; then
3160 ac_cv_prog_cc_c89=$ac_arg
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3168 rm -f core conftest.err conftest.$ac_objext
3169 test "x$ac_cv_prog_cc_c89" != "xno" && break
3171 rm -f conftest.$ac_ext
3176 case "x$ac_cv_prog_cc_c89" in
3178 { echo "$as_me:$LINENO: result: none needed" >&5
3179 echo "${ECHO_T}none needed" >&6; } ;;
3181 { echo "$as_me:$LINENO: result: unsupported" >&5
3182 echo "${ECHO_T}unsupported" >&6; } ;;
3184 CC="$CC $ac_cv_prog_cc_c89"
3185 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3186 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3191 ac_cpp='$CPP $CPPFLAGS'
3192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196 depcc="$CC" am_compiler_list=
3198 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3199 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3200 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3204 # We make a subdir and do the tests there. Otherwise we can end up
3205 # making bogus files that we don't know about and never remove. For
3206 # instance it was reported that on HP-UX the gcc test will end up
3207 # making a dummy file named `D' -- because `-MD' means `put the output
3210 # Copy depcomp to subdir because otherwise we won't find it if we're
3211 # using a relative directory.
3212 cp "$am_depcomp" conftest.dir
3214 # We will build objects and dependencies in a subdirectory because
3215 # it helps to detect inapplicable dependency modes. For instance
3216 # both Tru64's cc and ICC support -MD to output dependencies as a
3217 # side effect of compilation, but ICC will put the dependencies in
3218 # the current directory while Tru64 will put them in the object
3222 am_cv_CC_dependencies_compiler_type=none
3223 if test "$am_compiler_list" = ""; then
3224 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3226 for depmode in $am_compiler_list; do
3227 # Setup a source with many dependencies, because some compilers
3228 # like to wrap large dependency lists on column 80 (with \), and
3229 # we should not choose a depcomp mode which is confused by this.
3231 # We need to recreate these files for each test, as the compiler may
3232 # overwrite some of them when testing with obscure command lines.
3233 # This happens at least with the AIX C compiler.
3235 for i in 1 2 3 4 5 6; do
3236 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3237 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3238 # Solaris 8's {/usr,}/bin/sh.
3239 touch sub/conftst$i.h
3241 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3245 # after this tag, mechanisms are not by side-effect, so they'll
3246 # only be used when explicitly requested
3247 if test "x$enable_dependency_tracking" = xyes; then
3255 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3256 # mode. It turns out that the SunPro C++ compiler does not properly
3257 # handle `-M -o', and we need to detect this.
3258 if depmode=$depmode \
3259 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3260 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3261 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3262 >/dev/null 2>conftest.err &&
3263 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3264 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3265 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3266 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3267 # icc doesn't choke on unknown options, it will just issue warnings
3268 # or remarks (even with -Werror). So we grep stderr for any message
3269 # that says an option was ignored or not supported.
3270 # When given -MP, icc 7.0 and 7.1 complain thusly:
3271 # icc: Command line warning: ignoring option '-M'; no argument required
3272 # The diagnosis changed in icc 8.0:
3273 # icc: Command line remark: option '-MP' not supported
3274 if (grep 'ignoring option' conftest.err ||
3275 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3276 am_cv_CC_dependencies_compiler_type=$depmode
3285 am_cv_CC_dependencies_compiler_type=none
3289 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3290 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3291 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3294 test "x$enable_dependency_tracking" != xno \
3295 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3297 am__fastdepCC_FALSE='#'
3299 am__fastdepCC_TRUE='#'
3300 am__fastdepCC_FALSE=
3304 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3305 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3306 if test "${ac_cv_prog_cc_c99+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 ac_cv_prog_cc_c99=no
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3318 #include <stdbool.h>
3323 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3324 #define debug(...) fprintf (stderr, __VA_ARGS__)
3325 #define showlist(...) puts (#__VA_ARGS__)
3326 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3328 test_varargs_macros (void)
3333 debug ("X = %d\n", x);
3334 showlist (The first, second, and third items.);
3335 report (x>y, "x is %d but y is %d", x, y);
3338 // Check long long types.
3339 #define BIG64 18446744073709551615ull
3340 #define BIG32 4294967295ul
3341 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3343 your preprocessor is broken;
3347 your preprocessor is broken;
3349 static long long int bignum = -9223372036854775807LL;
3350 static unsigned long long int ubignum = BIG64;
3352 struct incomplete_array
3360 const wchar_t *name;
3364 typedef const char *ccp;
3367 test_restrict (ccp restrict text)
3369 // See if C++-style comments work.
3370 // Iterate through items via the restricted pointer.
3371 // Also check for declarations in for loops.
3372 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3377 // Check varargs and va_copy.
3379 test_varargs (const char *format, ...)
3382 va_start (args, format);
3384 va_copy (args_copy, args);
3395 str = va_arg (args_copy, const char *);
3398 number = va_arg (args_copy, int);
3401 fnumber = va_arg (args_copy, double);
3416 _Bool success = false;
3419 if (test_restrict ("String literal") == 0)
3421 char *restrict newvar = "Another string";
3424 test_varargs ("s, d' f .", "string", 65, 34.234);
3425 test_varargs_macros ();
3427 // Check flexible array members.
3428 struct incomplete_array *ia =
3429 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3431 for (int i = 0; i < ia->datasize; ++i)
3432 ia->data[i] = i * 1.234;
3434 // Check named initializers.
3435 struct named_init ni = {
3437 .name = L"Test wide string",
3438 .average = 543.34343,
3443 int dynamic_array[ni.number];
3444 dynamic_array[ni.number - 1] = 543;
3446 // work around unused variable warnings
3447 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3448 || dynamic_array[ni.number - 1] != 543);
3454 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
3456 CC="$ac_save_CC $ac_arg"
3457 rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3464 (eval "$ac_compile") 2>conftest.er1
3466 grep -v '^ *+' conftest.er1 >conftest.err
3468 cat conftest.err >&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } && {
3471 test -z "$ac_c_werror_flag" ||
3472 test ! -s conftest.err
3473 } && test -s conftest.$ac_objext; then
3474 ac_cv_prog_cc_c99=$ac_arg
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3482 rm -f core conftest.err conftest.$ac_objext
3483 test "x$ac_cv_prog_cc_c99" != "xno" && break
3485 rm -f conftest.$ac_ext
3490 case "x$ac_cv_prog_cc_c99" in
3492 { echo "$as_me:$LINENO: result: none needed" >&5
3493 echo "${ECHO_T}none needed" >&6; } ;;
3495 { echo "$as_me:$LINENO: result: unsupported" >&5
3496 echo "${ECHO_T}unsupported" >&6; } ;;
3498 CC="$CC $ac_cv_prog_cc_c99"
3499 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3500 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3512 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3514 # On Suns, sometimes $CPP names a directory.
3515 if test -n "$CPP" && test -d "$CPP"; then
3518 if test -z "$CPP"; then
3519 if test "${ac_cv_prog_CPP+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 # Double quotes because CPP needs to be expanded
3523 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3526 for ac_c_preproc_warn_flag in '' yes
3528 # Use a header file that comes with gcc, so configuring glibc
3529 # with a fresh cross-compiler works.
3530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3531 # <limits.h> exists even on freestanding compilers.
3532 # On the NeXT, cc -E runs the code through the compiler's parser,
3533 # not just through cpp. "Syntax error" is here to catch this case.
3534 cat >conftest.$ac_ext <<_ACEOF
3537 cat confdefs.h >>conftest.$ac_ext
3538 cat >>conftest.$ac_ext <<_ACEOF
3539 /* end confdefs.h. */
3541 # include <limits.h>
3543 # include <assert.h>
3547 if { (ac_try="$ac_cpp conftest.$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Broken: fails on valid input.
3572 rm -f conftest.err conftest.$ac_ext
3574 # OK, works on sane cases. Now check whether nonexistent headers
3575 # can be detected and how.
3576 cat >conftest.$ac_ext <<_ACEOF
3579 cat confdefs.h >>conftest.$ac_ext
3580 cat >>conftest.$ac_ext <<_ACEOF
3581 /* end confdefs.h. */
3582 #include <ac_nonexistent.h>
3584 if { (ac_try="$ac_cpp conftest.$ac_ext"
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1 >conftest.err
3594 cat conftest.err >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev/null && {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3600 # Broken: success on invalid input.
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3606 # Passes both tests.
3611 rm -f conftest.err conftest.$ac_ext
3614 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3615 rm -f conftest.err conftest.$ac_ext
3616 if $ac_preproc_ok; then
3628 { echo "$as_me:$LINENO: result: $CPP" >&5
3629 echo "${ECHO_T}$CPP" >&6; }
3631 for ac_c_preproc_warn_flag in '' yes
3633 # Use a header file that comes with gcc, so configuring glibc
3634 # with a fresh cross-compiler works.
3635 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3636 # <limits.h> exists even on freestanding compilers.
3637 # On the NeXT, cc -E runs the code through the compiler's parser,
3638 # not just through cpp. "Syntax error" is here to catch this case.
3639 cat >conftest.$ac_ext <<_ACEOF
3642 cat confdefs.h >>conftest.$ac_ext
3643 cat >>conftest.$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3646 # include <limits.h>
3648 # include <assert.h>
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 # Broken: fails on valid input.
3677 rm -f conftest.err conftest.$ac_ext
3679 # OK, works on sane cases. Now check whether nonexistent headers
3680 # can be detected and how.
3681 cat >conftest.$ac_ext <<_ACEOF
3684 cat confdefs.h >>conftest.$ac_ext
3685 cat >>conftest.$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 #include <ac_nonexistent.h>
3689 if { (ac_try="$ac_cpp conftest.$ac_ext"
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 grep -v '^ *+' conftest.er1 >conftest.err
3699 cat conftest.err >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev/null && {
3702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703 test ! -s conftest.err
3705 # Broken: success on invalid input.
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3711 # Passes both tests.
3716 rm -f conftest.err conftest.$ac_ext
3719 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3720 rm -f conftest.err conftest.$ac_ext
3721 if $ac_preproc_ok; then
3724 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3725 See \`config.log' for more details." >&5
3726 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3727 See \`config.log' for more details." >&2;}
3728 { (exit 1); exit 1; }; }
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3738 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3739 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 # Extract the first word of "grep ggrep" to use in msg output
3744 if test -z "$GREP"; then
3745 set dummy grep ggrep; ac_prog_name=$2
3746 if test "${ac_cv_path_GREP+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 ac_path_GREP_found=false
3750 # Loop through the user's path and test for each of PROGNAME-LIST
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3755 test -z "$as_dir" && as_dir=.
3756 for ac_prog in grep ggrep; do
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3759 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3760 # Check for GNU ac_path_GREP and select it if it is found.
3761 # Check for GNU $ac_path_GREP
3762 case `"$ac_path_GREP" --version 2>&1` in
3764 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3767 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3770 cat "conftest.in" "conftest.in" >"conftest.tmp"
3771 mv "conftest.tmp" "conftest.in"
3772 cp "conftest.in" "conftest.nl"
3773 echo 'GREP' >> "conftest.nl"
3774 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3775 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3776 ac_count=`expr $ac_count + 1`
3777 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3778 # Best one so far, save it but keep looking for a better one
3779 ac_cv_path_GREP="$ac_path_GREP"
3780 ac_path_GREP_max=$ac_count
3782 # 10*(2^10) chars as input seems more than enough
3783 test $ac_count -gt 10 && break
3785 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3789 $ac_path_GREP_found && break 3
3799 GREP="$ac_cv_path_GREP"
3800 if test -z "$GREP"; then
3801 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3802 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3803 { (exit 1); exit 1; }; }
3807 ac_cv_path_GREP=$GREP
3812 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3813 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3814 GREP="$ac_cv_path_GREP"
3817 { echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3819 if test "${ac_cv_path_EGREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3823 then ac_cv_path_EGREP="$GREP -E"
3825 # Extract the first word of "egrep" to use in msg output
3826 if test -z "$EGREP"; then
3827 set dummy egrep; ac_prog_name=$2
3828 if test "${ac_cv_path_EGREP+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_path_EGREP_found=false
3832 # Loop through the user's path and test for each of PROGNAME-LIST
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3837 test -z "$as_dir" && as_dir=.
3838 for ac_prog in egrep; do
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3841 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3842 # Check for GNU ac_path_EGREP and select it if it is found.
3843 # Check for GNU $ac_path_EGREP
3844 case `"$ac_path_EGREP" --version 2>&1` in
3846 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3849 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3852 cat "conftest.in" "conftest.in" >"conftest.tmp"
3853 mv "conftest.tmp" "conftest.in"
3854 cp "conftest.in" "conftest.nl"
3855 echo 'EGREP' >> "conftest.nl"
3856 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3857 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3858 ac_count=`expr $ac_count + 1`
3859 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3860 # Best one so far, save it but keep looking for a better one
3861 ac_cv_path_EGREP="$ac_path_EGREP"
3862 ac_path_EGREP_max=$ac_count
3864 # 10*(2^10) chars as input seems more than enough
3865 test $ac_count -gt 10 && break
3867 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3871 $ac_path_EGREP_found && break 3
3881 EGREP="$ac_cv_path_EGREP"
3882 if test -z "$EGREP"; then
3883 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3884 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3885 { (exit 1); exit 1; }; }
3889 ac_cv_path_EGREP=$EGREP
3895 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3896 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3897 EGREP="$ac_cv_path_EGREP"
3900 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3901 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3902 if test "${ac_cv_header_stdc+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3905 cat >conftest.$ac_ext <<_ACEOF
3908 cat confdefs.h >>conftest.$ac_ext
3909 cat >>conftest.$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3924 rm -f conftest.$ac_objext
3925 if { (ac_try="$ac_compile"
3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3931 (eval "$ac_compile") 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } && {
3938 test -z "$ac_c_werror_flag" ||
3939 test ! -s conftest.err
3940 } && test -s conftest.$ac_objext; then
3941 ac_cv_header_stdc=yes
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 ac_cv_header_stdc=no
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 if test $ac_cv_header_stdc = yes; then
3952 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3953 cat >conftest.$ac_ext <<_ACEOF
3956 cat confdefs.h >>conftest.$ac_ext
3957 cat >>conftest.$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3963 $EGREP "memchr" >/dev/null 2>&1; then
3966 ac_cv_header_stdc=no
3972 if test $ac_cv_header_stdc = yes; then
3973 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3974 cat >conftest.$ac_ext <<_ACEOF
3977 cat confdefs.h >>conftest.$ac_ext
3978 cat >>conftest.$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3984 $EGREP "free" >/dev/null 2>&1; then
3987 ac_cv_header_stdc=no
3993 if test $ac_cv_header_stdc = yes; then
3994 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3995 if test "$cross_compiling" = yes; then
3998 cat >conftest.$ac_ext <<_ACEOF
4001 cat confdefs.h >>conftest.$ac_ext
4002 cat >>conftest.$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4006 #if ((' ' & 0x0FF) == 0x020)
4007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4010 # define ISLOWER(c) \
4011 (('a' <= (c) && (c) <= 'i') \
4012 || ('j' <= (c) && (c) <= 'r') \
4013 || ('s' <= (c) && (c) <= 'z'))
4014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4022 for (i = 0; i < 256; i++)
4023 if (XOR (islower (i), ISLOWER (i))
4024 || toupper (i) != TOUPPER (i))
4029 rm -f conftest$ac_exeext
4030 if { (ac_try="$ac_link"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_link") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4040 { (case "(($ac_try" in
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4045 (eval "$ac_try") 2>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4051 echo "$as_me: program exited with status $ac_status" >&5
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.$ac_ext >&5
4056 ac_cv_header_stdc=no
4058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4064 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4065 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4066 if test $ac_cv_header_stdc = yes; then
4068 cat >>confdefs.h <<\_ACEOF
4069 #define STDC_HEADERS 1
4074 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4084 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4085 inttypes.h stdint.h unistd.h
4087 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4088 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 cat >conftest.$ac_ext <<_ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099 $ac_includes_default
4101 #include <$ac_header>
4103 rm -f conftest.$ac_objext
4104 if { (ac_try="$ac_compile"
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110 (eval "$ac_compile") 2>conftest.er1
4112 grep -v '^ *+' conftest.er1 >conftest.err
4114 cat conftest.err >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest.$ac_objext; then
4120 eval "$as_ac_Header=yes"
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 eval "$as_ac_Header=no"
4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_res=`eval echo '${'$as_ac_Header'}'`
4131 { echo "$as_me:$LINENO: result: $ac_res" >&5
4132 echo "${ECHO_T}$ac_res" >&6; }
4133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4134 cat >>confdefs.h <<_ACEOF
4135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4147 for ac_header in $ac_header_list
4149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4150 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 ac_res=`eval echo '${'$as_ac_Header'}'`
4157 { echo "$as_me:$LINENO: result: $ac_res" >&5
4158 echo "${ECHO_T}$ac_res" >&6; }
4160 # Is the header compilable?
4161 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4169 $ac_includes_default
4170 #include <$ac_header>
4172 rm -f conftest.$ac_objext
4173 if { (ac_try="$ac_compile"
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179 (eval "$ac_compile") 2>conftest.er1
4181 grep -v '^ *+' conftest.er1 >conftest.err
4183 cat conftest.err >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } && {
4186 test -z "$ac_c_werror_flag" ||
4187 test ! -s conftest.err
4188 } && test -s conftest.$ac_objext; then
4189 ac_header_compiler=yes
4191 echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.$ac_ext >&5
4194 ac_header_compiler=no
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4199 echo "${ECHO_T}$ac_header_compiler" >&6; }
4201 # Is the header present?
4202 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 #include <$ac_header>
4212 if { (ac_try="$ac_cpp conftest.$ac_ext"
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } >/dev/null && {
4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4226 test ! -s conftest.err
4228 ac_header_preproc=yes
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4233 ac_header_preproc=no
4236 rm -f conftest.err conftest.$ac_ext
4237 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4238 echo "${ECHO_T}$ac_header_preproc" >&6; }
4240 # So? What about this header?
4241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4247 ac_header_preproc=yes
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4263 ## -------------------------------- ##
4264 ## Report this to holger@jhweiss.de ##
4265 ## -------------------------------- ##
4267 ) | sed "s/^/$as_me: WARNING: /" >&2
4270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 eval "$as_ac_Header=\$ac_header_preproc"
4277 ac_res=`eval echo '${'$as_ac_Header'}'`
4278 { echo "$as_me:$LINENO: result: $ac_res" >&5
4279 echo "${ECHO_T}$ac_res" >&6; }
4282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4283 cat >>confdefs.h <<_ACEOF
4284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4302 { echo "$as_me:$LINENO: checking for vsnprintf" >&5
4303 echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
4304 if test "${ac_cv_func_vsnprintf+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 cat >conftest.$ac_ext <<_ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4313 /* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
4314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4315 #define vsnprintf innocuous_vsnprintf
4317 /* System header to define __stub macros and hopefully few prototypes,
4318 which can conflict with char vsnprintf (); below.
4319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4320 <limits.h> exists even on freestanding compilers. */
4323 # include <limits.h>
4325 # include <assert.h>
4330 /* Override any GCC internal prototype to avoid an error.
4331 Use char because int might match the return type of a GCC
4332 builtin and then its argument prototype would still apply. */
4337 /* The GNU C library defines this for functions which it implements
4338 to always fail with ENOSYS. Some functions are actually named
4339 something starting with __ and the normal name is an alias. */
4340 #if defined __stub_vsnprintf || defined __stub___vsnprintf
4347 return vsnprintf ();
4352 rm -f conftest.$ac_objext conftest$ac_exeext
4353 if { (ac_try="$ac_link"
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4359 (eval "$ac_link") 2>conftest.er1
4361 grep -v '^ *+' conftest.er1 >conftest.err
4363 cat conftest.err >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); } && {
4366 test -z "$ac_c_werror_flag" ||
4367 test ! -s conftest.err
4368 } && test -s conftest$ac_exeext &&
4369 $as_test_x conftest$ac_exeext; then
4370 ac_cv_func_vsnprintf=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_cv_func_vsnprintf=no
4378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4379 conftest$ac_exeext conftest.$ac_ext
4381 { echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
4382 echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
4383 if test $ac_cv_func_vsnprintf = yes; then
4384 hw_cv_func_vsnprintf=yes
4386 hw_cv_func_vsnprintf=no
4389 if test "$hw_cv_func_vsnprintf" = yes; then
4390 { echo "$as_me:$LINENO: checking whether vsnprintf is C99 compliant" >&5
4391 echo $ECHO_N "checking whether vsnprintf is C99 compliant... $ECHO_C" >&6; }
4392 if test "${hw_cv_func_vsnprintf_c99+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 if test "$cross_compiling" = yes; then
4396 hw_cv_func_vsnprintf_c99=no
4398 cat >conftest.$ac_ext <<_ACEOF
4401 cat confdefs.h >>conftest.$ac_ext
4402 cat >>conftest.$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4408 static int testprintf(char *buf, size_t size, const char *format, ...)
4412 va_start(ap, format);
4413 result = vsnprintf(buf, size, format, ap);
4421 if (testprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
4422 testprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
4423 buf[0] != 'T' || buf[3] != '\0')
4429 rm -f conftest$ac_exeext
4430 if { (ac_try="$ac_link"
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4436 (eval "$ac_link") 2>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4440 { (case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_try") 2>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); }; }; then
4449 hw_cv_func_vsnprintf_c99=yes
4451 echo "$as_me: program exited with status $ac_status" >&5
4452 echo "$as_me: failed program was:" >&5
4453 sed 's/^/| /' conftest.$ac_ext >&5
4456 hw_cv_func_vsnprintf_c99=no
4458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4463 { echo "$as_me:$LINENO: result: $hw_cv_func_vsnprintf_c99" >&5
4464 echo "${ECHO_T}$hw_cv_func_vsnprintf_c99" >&6; }
4466 hw_cv_func_snprintf_c99=no
4469 if test "$hw_cv_func_vsnprintf_c99" = yes; then
4471 cat >>confdefs.h <<\_ACEOF
4472 #define HAVE_VSNPRINTF 1
4477 cat >>confdefs.h <<\_ACEOF
4478 #define vsnprintf rpl_vsnprintf
4485 for ac_header in inttypes.h locale.h stddef.h stdint.h
4487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4492 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 ac_res=`eval echo '${'$as_ac_Header'}'`
4495 { echo "$as_me:$LINENO: result: $ac_res" >&5
4496 echo "${ECHO_T}$ac_res" >&6; }
4498 # Is the header compilable?
4499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4501 cat >conftest.$ac_ext <<_ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4507 $ac_includes_default
4508 #include <$ac_header>
4510 rm -f conftest.$ac_objext
4511 if { (ac_try="$ac_compile"
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4517 (eval "$ac_compile") 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } && {
4524 test -z "$ac_c_werror_flag" ||
4525 test ! -s conftest.err
4526 } && test -s conftest.$ac_objext; then
4527 ac_header_compiler=yes
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.$ac_ext >&5
4532 ac_header_compiler=no
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4537 echo "${ECHO_T}$ac_header_compiler" >&6; }
4539 # Is the header present?
4540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4542 cat >conftest.$ac_ext <<_ACEOF
4545 cat confdefs.h >>conftest.$ac_ext
4546 cat >>conftest.$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4548 #include <$ac_header>
4550 if { (ac_try="$ac_cpp conftest.$ac_ext"
4552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } >/dev/null && {
4563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4564 test ! -s conftest.err
4566 ac_header_preproc=yes
4568 echo "$as_me: failed program was:" >&5
4569 sed 's/^/| /' conftest.$ac_ext >&5
4571 ac_header_preproc=no
4574 rm -f conftest.err conftest.$ac_ext
4575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4576 echo "${ECHO_T}$ac_header_preproc" >&6; }
4578 # So? What about this header?
4579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4585 ac_header_preproc=yes
4588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4601 ## -------------------------------- ##
4602 ## Report this to holger@jhweiss.de ##
4603 ## -------------------------------- ##
4605 ) | sed "s/^/$as_me: WARNING: /" >&2
4608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 eval "$as_ac_Header=\$ac_header_preproc"
4615 ac_res=`eval echo '${'$as_ac_Header'}'`
4616 { echo "$as_me:$LINENO: result: $ac_res" >&5
4617 echo "${ECHO_T}$ac_res" >&6; }
4620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4621 cat >>confdefs.h <<_ACEOF
4622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4629 { echo "$as_me:$LINENO: checking for struct lconv.decimal_point" >&5
4630 echo $ECHO_N "checking for struct lconv.decimal_point... $ECHO_C" >&6; }
4631 if test "${ac_cv_member_struct_lconv_decimal_point+set}" = set; then
4632 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 cat >conftest.$ac_ext <<_ACEOF
4637 cat confdefs.h >>conftest.$ac_ext
4638 cat >>conftest.$ac_ext <<_ACEOF
4639 /* end confdefs.h. */
4645 static struct lconv ac_aggr;
4646 if (ac_aggr.decimal_point)
4652 rm -f conftest.$ac_objext
4653 if { (ac_try="$ac_compile"
4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4656 *) ac_try_echo=$ac_try;;
4658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4659 (eval "$ac_compile") 2>conftest.er1
4661 grep -v '^ *+' conftest.er1 >conftest.err
4663 cat conftest.err >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); } && {
4666 test -z "$ac_c_werror_flag" ||
4667 test ! -s conftest.err
4668 } && test -s conftest.$ac_objext; then
4669 ac_cv_member_struct_lconv_decimal_point=yes
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 cat >conftest.$ac_ext <<_ACEOF
4677 cat confdefs.h >>conftest.$ac_ext
4678 cat >>conftest.$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4685 static struct lconv ac_aggr;
4686 if (sizeof ac_aggr.decimal_point)
4692 rm -f conftest.$ac_objext
4693 if { (ac_try="$ac_compile"
4695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4696 *) ac_try_echo=$ac_try;;
4698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4699 (eval "$ac_compile") 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } && {
4706 test -z "$ac_c_werror_flag" ||
4707 test ! -s conftest.err
4708 } && test -s conftest.$ac_objext; then
4709 ac_cv_member_struct_lconv_decimal_point=yes
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4714 ac_cv_member_struct_lconv_decimal_point=no
4717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_lconv_decimal_point" >&5
4723 echo "${ECHO_T}$ac_cv_member_struct_lconv_decimal_point" >&6; }
4724 if test $ac_cv_member_struct_lconv_decimal_point = yes; then
4726 cat >>confdefs.h <<_ACEOF
4727 #define HAVE_STRUCT_LCONV_DECIMAL_POINT 1
4732 { echo "$as_me:$LINENO: checking for struct lconv.thousands_sep" >&5
4733 echo $ECHO_N "checking for struct lconv.thousands_sep... $ECHO_C" >&6; }
4734 if test "${ac_cv_member_struct_lconv_thousands_sep+set}" = set; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 cat >conftest.$ac_ext <<_ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4748 static struct lconv ac_aggr;
4749 if (ac_aggr.thousands_sep)
4755 rm -f conftest.$ac_objext
4756 if { (ac_try="$ac_compile"
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_c_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4772 ac_cv_member_struct_lconv_thousands_sep=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 cat >conftest.$ac_ext <<_ACEOF
4780 cat confdefs.h >>conftest.$ac_ext
4781 cat >>conftest.$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4788 static struct lconv ac_aggr;
4789 if (sizeof ac_aggr.thousands_sep)
4795 rm -f conftest.$ac_objext
4796 if { (ac_try="$ac_compile"
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_compile") 2>conftest.er1
4804 grep -v '^ *+' conftest.er1 >conftest.err
4806 cat conftest.err >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && {
4809 test -z "$ac_c_werror_flag" ||
4810 test ! -s conftest.err
4811 } && test -s conftest.$ac_objext; then
4812 ac_cv_member_struct_lconv_thousands_sep=yes
4814 echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4817 ac_cv_member_struct_lconv_thousands_sep=no
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_lconv_thousands_sep" >&5
4826 echo "${ECHO_T}$ac_cv_member_struct_lconv_thousands_sep" >&6; }
4827 if test $ac_cv_member_struct_lconv_thousands_sep = yes; then
4829 cat >>confdefs.h <<_ACEOF
4830 #define HAVE_STRUCT_LCONV_THOUSANDS_SEP 1
4837 { echo "$as_me:$LINENO: checking for long double" >&5
4838 echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
4839 if test "${ac_cv_type_long_double+set}" = set; then
4840 echo $ECHO_N "(cached) $ECHO_C" >&6
4842 if test "$GCC" = yes; then
4843 ac_cv_type_long_double=yes
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 /* The Stardent Vistra knows sizeof (long double), but does
4853 long double foo = 0.0L;
4857 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
4858 sizeof (double) <= sizeof (long double))];
4865 rm -f conftest.$ac_objext
4866 if { (ac_try="$ac_compile"
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4872 (eval "$ac_compile") 2>conftest.er1
4874 grep -v '^ *+' conftest.er1 >conftest.err
4876 cat conftest.err >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); } && {
4879 test -z "$ac_c_werror_flag" ||
4880 test ! -s conftest.err
4881 } && test -s conftest.$ac_objext; then
4882 ac_cv_type_long_double=yes
4884 echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4887 ac_cv_type_long_double=no
4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
4894 echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
4895 if test $ac_cv_type_long_double = yes; then
4897 cat >>confdefs.h <<\_ACEOF
4898 #define HAVE_LONG_DOUBLE 1
4904 { echo "$as_me:$LINENO: checking for long long int" >&5
4905 echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
4906 if test "${ac_cv_type_long_long_int+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 cat >conftest.$ac_ext <<_ACEOF
4912 cat confdefs.h >>conftest.$ac_ext
4913 cat >>conftest.$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4915 long long int ll = 9223372036854775807ll;
4916 long long int nll = -9223372036854775807LL;
4917 typedef int a[((-9223372036854775807LL < 0
4918 && 0 < 9223372036854775807ll)
4924 long long int llmax = 9223372036854775807ll;
4925 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4926 | (llmax / ll) | (llmax % ll));
4931 rm -f conftest.$ac_objext conftest$ac_exeext
4932 if { (ac_try="$ac_link"
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_link") 2>conftest.er1
4940 grep -v '^ *+' conftest.er1 >conftest.err
4942 cat conftest.err >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } && {
4945 test -z "$ac_c_werror_flag" ||
4946 test ! -s conftest.err
4947 } && test -s conftest$ac_exeext &&
4948 $as_test_x conftest$ac_exeext; then
4949 if test "$cross_compiling" = yes; then
4950 ac_cv_type_long_long_int=yes
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4961 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4962 # define LLONG_MAX (HALF - 1 + HALF)
4967 long long int n = 1;
4971 long long int m = n << i;
4974 if (LLONG_MAX / 2 < m)
4982 rm -f conftest$ac_exeext
4983 if { (ac_try="$ac_link"
4985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4986 *) ac_try_echo=$ac_try;;
4988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4989 (eval "$ac_link") 2>&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4993 { (case "(($ac_try" in
4994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_try") 2>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); }; }; then
5002 ac_cv_type_long_long_int=yes
5004 echo "$as_me: program exited with status $ac_status" >&5
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.$ac_ext >&5
5009 ac_cv_type_long_long_int=no
5011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.$ac_ext >&5
5019 ac_cv_type_long_long_int=no
5022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5023 conftest$ac_exeext conftest.$ac_ext
5025 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
5026 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
5027 if test $ac_cv_type_long_long_int = yes; then
5029 cat >>confdefs.h <<\_ACEOF
5030 #define HAVE_LONG_LONG_INT 1
5036 { echo "$as_me:$LINENO: checking for unsigned long long int" >&5
5037 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
5038 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 cat >conftest.$ac_ext <<_ACEOF
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h. */
5047 unsigned long long int ull = 18446744073709551615ULL;
5048 typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
5054 unsigned long long int ullmax = 18446744073709551615ull;
5055 return (ull << 63 | ull >> 63 | ull << i | ull >> i
5056 | ullmax / ull | ullmax % ull);
5061 rm -f conftest.$ac_objext conftest$ac_exeext
5062 if { (ac_try="$ac_link"
5064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065 *) ac_try_echo=$ac_try;;
5067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5068 (eval "$ac_link") 2>conftest.er1
5070 grep -v '^ *+' conftest.er1 >conftest.err
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } && {
5075 test -z "$ac_c_werror_flag" ||
5076 test ! -s conftest.err
5077 } && test -s conftest$ac_exeext &&
5078 $as_test_x conftest$ac_exeext; then
5079 ac_cv_type_unsigned_long_long_int=yes
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.$ac_ext >&5
5084 ac_cv_type_unsigned_long_long_int=no
5087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5088 conftest$ac_exeext conftest.$ac_ext
5090 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
5091 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
5092 if test $ac_cv_type_unsigned_long_long_int = yes; then
5094 cat >>confdefs.h <<\_ACEOF
5095 #define HAVE_UNSIGNED_LONG_LONG_INT 1
5100 { echo "$as_me:$LINENO: checking for size_t" >&5
5101 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5102 if test "${ac_cv_type_size_t+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 cat >conftest.$ac_ext <<_ACEOF
5108 cat confdefs.h >>conftest.$ac_ext
5109 cat >>conftest.$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5111 $ac_includes_default
5112 typedef size_t ac__type_new_;
5116 if ((ac__type_new_ *) 0)
5118 if (sizeof (ac__type_new_))
5124 rm -f conftest.$ac_objext
5125 if { (ac_try="$ac_compile"
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_compile") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest.$ac_objext; then
5141 ac_cv_type_size_t=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5146 ac_cv_type_size_t=no
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5152 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5153 if test $ac_cv_type_size_t = yes; then
5157 cat >>confdefs.h <<_ACEOF
5158 #define size_t unsigned int
5165 { echo "$as_me:$LINENO: checking for intmax_t" >&5
5166 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
5167 if test "${ac_cv_type_intmax_t+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 cat >conftest.$ac_ext <<_ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 $ac_includes_default
5177 typedef intmax_t ac__type_new_;
5181 if ((ac__type_new_ *) 0)
5183 if (sizeof (ac__type_new_))
5189 rm -f conftest.$ac_objext
5190 if { (ac_try="$ac_compile"
5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5196 (eval "$ac_compile") 2>conftest.er1
5198 grep -v '^ *+' conftest.er1 >conftest.err
5200 cat conftest.err >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } && {
5203 test -z "$ac_c_werror_flag" ||
5204 test ! -s conftest.err
5205 } && test -s conftest.$ac_objext; then
5206 ac_cv_type_intmax_t=yes
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 ac_cv_type_intmax_t=no
5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5216 { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5
5217 echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; }
5218 if test $ac_cv_type_intmax_t = yes; then
5220 cat >>confdefs.h <<\_ACEOF
5221 #define HAVE_INTMAX_T 1
5225 test $ac_cv_type_long_long_int = yes \
5226 && ac_type='long long int' \
5227 || ac_type='long int'
5229 cat >>confdefs.h <<_ACEOF
5230 #define intmax_t $ac_type
5238 { echo "$as_me:$LINENO: checking for uintmax_t" >&5
5239 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; }
5240 if test "${ac_cv_type_uintmax_t+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 cat >conftest.$ac_ext <<_ACEOF
5246 cat confdefs.h >>conftest.$ac_ext
5247 cat >>conftest.$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5249 $ac_includes_default
5250 typedef uintmax_t ac__type_new_;
5254 if ((ac__type_new_ *) 0)
5256 if (sizeof (ac__type_new_))
5262 rm -f conftest.$ac_objext
5263 if { (ac_try="$ac_compile"
5265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5266 *) ac_try_echo=$ac_try;;
5268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5269 (eval "$ac_compile") 2>conftest.er1
5271 grep -v '^ *+' conftest.er1 >conftest.err
5273 cat conftest.err >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } && {
5276 test -z "$ac_c_werror_flag" ||
5277 test ! -s conftest.err
5278 } && test -s conftest.$ac_objext; then
5279 ac_cv_type_uintmax_t=yes
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5284 ac_cv_type_uintmax_t=no
5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
5290 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; }
5291 if test $ac_cv_type_uintmax_t = yes; then
5293 cat >>confdefs.h <<\_ACEOF
5294 #define HAVE_UINTMAX_T 1
5298 test $ac_cv_type_unsigned_long_long_int = yes \
5299 && ac_type='unsigned long long int' \
5300 || ac_type='unsigned long int'
5302 cat >>confdefs.h <<_ACEOF
5303 #define uintmax_t $ac_type
5310 { echo "$as_me:$LINENO: checking for uintptr_t" >&5
5311 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
5312 if test "${ac_cv_type_uintptr_t+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 cat >conftest.$ac_ext <<_ACEOF
5318 cat confdefs.h >>conftest.$ac_ext
5319 cat >>conftest.$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 $ac_includes_default
5322 typedef uintptr_t ac__type_new_;
5326 if ((ac__type_new_ *) 0)
5328 if (sizeof (ac__type_new_))
5334 rm -f conftest.$ac_objext
5335 if { (ac_try="$ac_compile"
5337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5338 *) ac_try_echo=$ac_try;;
5340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5341 (eval "$ac_compile") 2>conftest.er1
5343 grep -v '^ *+' conftest.er1 >conftest.err
5345 cat conftest.err >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } && {
5348 test -z "$ac_c_werror_flag" ||
5349 test ! -s conftest.err
5350 } && test -s conftest.$ac_objext; then
5351 ac_cv_type_uintptr_t=yes
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 ac_cv_type_uintptr_t=no
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
5362 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
5363 if test $ac_cv_type_uintptr_t = yes; then
5365 cat >>confdefs.h <<\_ACEOF
5366 #define HAVE_UINTPTR_T 1
5370 for ac_type in 'unsigned int' 'unsigned long int' \
5371 'unsigned long long int'; do
5372 cat >conftest.$ac_ext <<_ACEOF
5375 cat confdefs.h >>conftest.$ac_ext
5376 cat >>conftest.$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5378 $ac_includes_default
5382 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
5389 rm -f conftest.$ac_objext
5390 if { (ac_try="$ac_compile"
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_compile") 2>conftest.er1
5398 grep -v '^ *+' conftest.er1 >conftest.err
5400 cat conftest.err >&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); } && {
5403 test -z "$ac_c_werror_flag" ||
5404 test ! -s conftest.err
5405 } && test -s conftest.$ac_objext; then
5407 cat >>confdefs.h <<_ACEOF
5408 #define uintptr_t $ac_type
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.$ac_ext >&5
5419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5420 test -z "$ac_type" && break
5425 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
5426 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
5427 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 cat >conftest.$ac_ext <<_ACEOF
5433 cat confdefs.h >>conftest.$ac_ext
5434 cat >>conftest.$ac_ext <<_ACEOF
5435 /* end confdefs.h. */
5436 $ac_includes_default
5437 typedef ptrdiff_t ac__type_new_;
5441 if ((ac__type_new_ *) 0)
5443 if (sizeof (ac__type_new_))
5449 rm -f conftest.$ac_objext
5450 if { (ac_try="$ac_compile"
5452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5453 *) ac_try_echo=$ac_try;;
5455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5456 (eval "$ac_compile") 2>conftest.er1
5458 grep -v '^ *+' conftest.er1 >conftest.err
5460 cat conftest.err >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } && {
5463 test -z "$ac_c_werror_flag" ||
5464 test ! -s conftest.err
5465 } && test -s conftest.$ac_objext; then
5466 ac_cv_type_ptrdiff_t=yes
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5471 ac_cv_type_ptrdiff_t=no
5474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5476 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
5477 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
5478 if test $ac_cv_type_ptrdiff_t = yes; then
5480 cat >>confdefs.h <<_ACEOF
5481 #define HAVE_PTRDIFF_T 1
5488 for ac_func in localeconv
5490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5491 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5493 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 cat >conftest.$ac_ext <<_ACEOF
5499 cat confdefs.h >>conftest.$ac_ext
5500 cat >>conftest.$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5504 #define $ac_func innocuous_$ac_func
5506 /* System header to define __stub macros and hopefully few prototypes,
5507 which can conflict with char $ac_func (); below.
5508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5509 <limits.h> exists even on freestanding compilers. */
5512 # include <limits.h>
5514 # include <assert.h>
5519 /* Override any GCC internal prototype to avoid an error.
5520 Use char because int might match the return type of a GCC
5521 builtin and then its argument prototype would still apply. */
5526 /* The GNU C library defines this for functions which it implements
5527 to always fail with ENOSYS. Some functions are actually named
5528 something starting with __ and the normal name is an alias. */
5529 #if defined __stub_$ac_func || defined __stub___$ac_func
5541 rm -f conftest.$ac_objext conftest$ac_exeext
5542 if { (ac_try="$ac_link"
5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545 *) ac_try_echo=$ac_try;;
5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548 (eval "$ac_link") 2>conftest.er1
5550 grep -v '^ *+' conftest.er1 >conftest.err
5552 cat conftest.err >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } && {
5555 test -z "$ac_c_werror_flag" ||
5556 test ! -s conftest.err
5557 } && test -s conftest$ac_exeext &&
5558 $as_test_x conftest$ac_exeext; then
5559 eval "$as_ac_var=yes"
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 eval "$as_ac_var=no"
5567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5568 conftest$ac_exeext conftest.$ac_ext
5570 ac_res=`eval echo '${'$as_ac_var'}'`
5571 { echo "$as_me:$LINENO: result: $ac_res" >&5
5572 echo "${ECHO_T}$ac_res" >&6; }
5573 if test `eval echo '${'$as_ac_var'}'` = yes; then
5574 cat >>confdefs.h <<_ACEOF
5575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5582 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then
5583 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5584 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5585 if test "${ac_cv_c_const+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 cat >conftest.$ac_ext <<_ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5598 /* FIXME: Include the comments suggested by Paul. */
5600 /* Ultrix mips cc rejects this. */
5601 typedef int charset[2];
5603 /* SunOS 4.1.1 cc rejects this. */
5604 char const *const *pcpcc;
5606 /* NEC SVR4.0.2 mips cc rejects this. */
5607 struct point {int x, y;};
5608 static struct point const zero = {0,0};
5609 /* AIX XL C 1.02.0.0 rejects this.
5610 It does not let you subtract one const X* pointer from another in
5611 an arm of an if-expression whose if-part is not a constant
5613 const char *g = "string";
5614 pcpcc = &g + (g ? g-g : 0);
5615 /* HPUX 7.0 cc rejects these. */
5617 ppc = (char**) pcpcc;
5618 pcpcc = (char const *const *) ppc;
5619 { /* SCO 3.2v4 cc rejects this. */
5621 char const *s = 0 ? (char *) 0 : (char const *) 0;
5626 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5628 const int *foo = &x[0];
5631 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5632 typedef const int *iptr;
5636 { /* AIX XL C 1.02.0.0 rejects this saying
5637 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5638 struct s { int j; const int *ap[3]; };
5639 struct s *b; b->j = 5;
5641 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5645 return !cs[0] && !zero.x;
5652 rm -f conftest.$ac_objext
5653 if { (ac_try="$ac_compile"
5655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5656 *) ac_try_echo=$ac_try;;
5658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5659 (eval "$ac_compile") 2>conftest.er1
5661 grep -v '^ *+' conftest.er1 >conftest.err
5663 cat conftest.err >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); } && {
5666 test -z "$ac_c_werror_flag" ||
5667 test ! -s conftest.err
5668 } && test -s conftest.$ac_objext; then
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5679 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5680 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5681 if test $ac_cv_c_const = no; then
5683 cat >>confdefs.h <<\_ACEOF
5697 case " $LIBOBJS " in
5698 *" snprintf.$ac_objext "* ) ;;
5699 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5703 _hw_cv_func_xprintf_replace_done=yes
5711 { echo "$as_me:$LINENO: checking for snprintf" >&5
5712 echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
5713 if test "${ac_cv_func_snprintf+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 cat >conftest.$ac_ext <<_ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 /* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
5723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5724 #define snprintf innocuous_snprintf
5726 /* System header to define __stub macros and hopefully few prototypes,
5727 which can conflict with char snprintf (); below.
5728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5729 <limits.h> exists even on freestanding compilers. */
5732 # include <limits.h>
5734 # include <assert.h>
5739 /* Override any GCC internal prototype to avoid an error.
5740 Use char because int might match the return type of a GCC
5741 builtin and then its argument prototype would still apply. */
5746 /* The GNU C library defines this for functions which it implements
5747 to always fail with ENOSYS. Some functions are actually named
5748 something starting with __ and the normal name is an alias. */
5749 #if defined __stub_snprintf || defined __stub___snprintf
5761 rm -f conftest.$ac_objext conftest$ac_exeext
5762 if { (ac_try="$ac_link"
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5768 (eval "$ac_link") 2>conftest.er1
5770 grep -v '^ *+' conftest.er1 >conftest.err
5772 cat conftest.err >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } && {
5775 test -z "$ac_c_werror_flag" ||
5776 test ! -s conftest.err
5777 } && test -s conftest$ac_exeext &&
5778 $as_test_x conftest$ac_exeext; then
5779 ac_cv_func_snprintf=yes
5781 echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.$ac_ext >&5
5784 ac_cv_func_snprintf=no
5787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5788 conftest$ac_exeext conftest.$ac_ext
5790 { echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
5791 echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
5792 if test $ac_cv_func_snprintf = yes; then
5793 hw_cv_func_snprintf=yes
5795 hw_cv_func_snprintf=no
5798 if test "$hw_cv_func_snprintf" = yes; then
5799 { echo "$as_me:$LINENO: checking whether snprintf is C99 compliant" >&5
5800 echo $ECHO_N "checking whether snprintf is C99 compliant... $ECHO_C" >&6; }
5801 if test "${hw_cv_func_snprintf_c99+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test "$cross_compiling" = yes; then
5805 hw_cv_func_snprintf_c99=no
5807 cat >conftest.$ac_ext <<_ACEOF
5810 cat confdefs.h >>conftest.$ac_ext
5811 cat >>conftest.$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5818 if (snprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
5819 snprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
5820 buf[0] != 'T' || buf[3] != '\0')
5826 rm -f conftest$ac_exeext
5827 if { (ac_try="$ac_link"
5829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5830 *) ac_try_echo=$ac_try;;
5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5833 (eval "$ac_link") 2>&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5837 { (case "(($ac_try" in
5838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5839 *) ac_try_echo=$ac_try;;
5841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5842 (eval "$ac_try") 2>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5846 hw_cv_func_snprintf_c99=yes
5848 echo "$as_me: program exited with status $ac_status" >&5
5849 echo "$as_me: failed program was:" >&5
5850 sed 's/^/| /' conftest.$ac_ext >&5
5853 hw_cv_func_snprintf_c99=no
5855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5860 { echo "$as_me:$LINENO: result: $hw_cv_func_snprintf_c99" >&5
5861 echo "${ECHO_T}$hw_cv_func_snprintf_c99" >&6; }
5863 hw_cv_func_snprintf_c99=no
5866 if test "$hw_cv_func_snprintf_c99" = yes; then
5868 cat >>confdefs.h <<\_ACEOF
5869 #define HAVE_SNPRINTF 1
5874 cat >>confdefs.h <<\_ACEOF
5875 #define snprintf rpl_snprintf
5879 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then
5880 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5881 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5882 if test "${ac_cv_c_const+set}" = set; then
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
5885 cat >conftest.$ac_ext <<_ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5895 /* FIXME: Include the comments suggested by Paul. */
5897 /* Ultrix mips cc rejects this. */
5898 typedef int charset[2];
5900 /* SunOS 4.1.1 cc rejects this. */
5901 char const *const *pcpcc;
5903 /* NEC SVR4.0.2 mips cc rejects this. */
5904 struct point {int x, y;};
5905 static struct point const zero = {0,0};
5906 /* AIX XL C 1.02.0.0 rejects this.
5907 It does not let you subtract one const X* pointer from another in
5908 an arm of an if-expression whose if-part is not a constant
5910 const char *g = "string";
5911 pcpcc = &g + (g ? g-g : 0);
5912 /* HPUX 7.0 cc rejects these. */
5914 ppc = (char**) pcpcc;
5915 pcpcc = (char const *const *) ppc;
5916 { /* SCO 3.2v4 cc rejects this. */
5918 char const *s = 0 ? (char *) 0 : (char const *) 0;
5923 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5925 const int *foo = &x[0];
5928 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5929 typedef const int *iptr;
5933 { /* AIX XL C 1.02.0.0 rejects this saying
5934 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5935 struct s { int j; const int *ap[3]; };
5936 struct s *b; b->j = 5;
5938 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5942 return !cs[0] && !zero.x;
5949 rm -f conftest.$ac_objext
5950 if { (ac_try="$ac_compile"
5952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5953 *) ac_try_echo=$ac_try;;
5955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5956 (eval "$ac_compile") 2>conftest.er1
5958 grep -v '^ *+' conftest.er1 >conftest.err
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } && {
5963 test -z "$ac_c_werror_flag" ||
5964 test ! -s conftest.err
5965 } && test -s conftest.$ac_objext; then
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.$ac_ext >&5
5974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5976 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5977 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5978 if test $ac_cv_c_const = no; then
5980 cat >>confdefs.h <<\_ACEOF
5994 case " $LIBOBJS " in
5995 *" snprintf.$ac_objext "* ) ;;
5996 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
6000 _hw_cv_func_xprintf_replace_done=yes
6019 for ac_func in vasprintf
6021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 cat >conftest.$ac_ext <<_ACEOF
6030 cat confdefs.h >>conftest.$ac_ext
6031 cat >>conftest.$ac_ext <<_ACEOF
6032 /* end confdefs.h. */
6033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6035 #define $ac_func innocuous_$ac_func
6037 /* System header to define __stub macros and hopefully few prototypes,
6038 which can conflict with char $ac_func (); below.
6039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6040 <limits.h> exists even on freestanding compilers. */
6043 # include <limits.h>
6045 # include <assert.h>
6050 /* Override any GCC internal prototype to avoid an error.
6051 Use char because int might match the return type of a GCC
6052 builtin and then its argument prototype would still apply. */
6057 /* The GNU C library defines this for functions which it implements
6058 to always fail with ENOSYS. Some functions are actually named
6059 something starting with __ and the normal name is an alias. */
6060 #if defined __stub_$ac_func || defined __stub___$ac_func
6072 rm -f conftest.$ac_objext conftest$ac_exeext
6073 if { (ac_try="$ac_link"
6075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6076 *) ac_try_echo=$ac_try;;
6078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079 (eval "$ac_link") 2>conftest.er1
6081 grep -v '^ *+' conftest.er1 >conftest.err
6083 cat conftest.err >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); } && {
6086 test -z "$ac_c_werror_flag" ||
6087 test ! -s conftest.err
6088 } && test -s conftest$ac_exeext &&
6089 $as_test_x conftest$ac_exeext; then
6090 eval "$as_ac_var=yes"
6092 echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.$ac_ext >&5
6095 eval "$as_ac_var=no"
6098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6099 conftest$ac_exeext conftest.$ac_ext
6101 ac_res=`eval echo '${'$as_ac_var'}'`
6102 { echo "$as_me:$LINENO: result: $ac_res" >&5
6103 echo "${ECHO_T}$ac_res" >&6; }
6104 if test `eval echo '${'$as_ac_var'}'` = yes; then
6105 cat >>confdefs.h <<_ACEOF
6106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6108 hw_cv_func_vasprintf=yes
6110 hw_cv_func_vasprintf=no
6114 if test "$hw_cv_func_vasprintf" = no; then
6116 cat >>confdefs.h <<\_ACEOF
6117 #define vasprintf rpl_vasprintf
6121 for ac_header in stdlib.h
6123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 ac_res=`eval echo '${'$as_ac_Header'}'`
6131 { echo "$as_me:$LINENO: result: $ac_res" >&5
6132 echo "${ECHO_T}$ac_res" >&6; }
6134 # Is the header compilable?
6135 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6137 cat >conftest.$ac_ext <<_ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 $ac_includes_default
6144 #include <$ac_header>
6146 rm -f conftest.$ac_objext
6147 if { (ac_try="$ac_compile"
6149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6150 *) ac_try_echo=$ac_try;;
6152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6153 (eval "$ac_compile") 2>conftest.er1
6155 grep -v '^ *+' conftest.er1 >conftest.err
6157 cat conftest.err >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } && {
6160 test -z "$ac_c_werror_flag" ||
6161 test ! -s conftest.err
6162 } && test -s conftest.$ac_objext; then
6163 ac_header_compiler=yes
6165 echo "$as_me: failed program was:" >&5
6166 sed 's/^/| /' conftest.$ac_ext >&5
6168 ac_header_compiler=no
6171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6172 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6173 echo "${ECHO_T}$ac_header_compiler" >&6; }
6175 # Is the header present?
6176 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6178 cat >conftest.$ac_ext <<_ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <$ac_header>
6186 if { (ac_try="$ac_cpp conftest.$ac_ext"
6188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6194 grep -v '^ *+' conftest.er1 >conftest.err
6196 cat conftest.err >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } >/dev/null && {
6199 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6200 test ! -s conftest.err
6202 ac_header_preproc=yes
6204 echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6207 ac_header_preproc=no
6210 rm -f conftest.err conftest.$ac_ext
6211 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6212 echo "${ECHO_T}$ac_header_preproc" >&6; }
6214 # So? What about this header?
6215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6221 ac_header_preproc=yes
6224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6237 ## -------------------------------- ##
6238 ## Report this to holger@jhweiss.de ##
6239 ## -------------------------------- ##
6241 ) | sed "s/^/$as_me: WARNING: /" >&2
6244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 eval "$as_ac_Header=\$ac_header_preproc"
6251 ac_res=`eval echo '${'$as_ac_Header'}'`
6252 { echo "$as_me:$LINENO: result: $ac_res" >&5
6253 echo "${ECHO_T}$ac_res" >&6; }
6256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6257 cat >>confdefs.h <<_ACEOF
6258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6266 { echo "$as_me:$LINENO: checking for va_copy" >&5
6267 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
6268 if test "${hw_cv_func_va_copy+set}" = set; then
6269 echo $ECHO_N "(cached) $ECHO_C" >&6
6271 if test "$cross_compiling" = yes; then
6272 hw_cv_func_va_copy=no
6274 cat >conftest.$ac_ext <<_ACEOF
6277 cat confdefs.h >>conftest.$ac_ext
6278 cat >>conftest.$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6282 #elif HAVE_VARARGS_H
6283 #include <varargs.h>
6288 va_list ap, aq; va_copy(aq, ap);
6293 rm -f conftest$ac_exeext
6294 if { (ac_try="$ac_link"
6296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6297 *) ac_try_echo=$ac_try;;
6299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6300 (eval "$ac_link") 2>&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6304 { (case "(($ac_try" in
6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6306 *) ac_try_echo=$ac_try;;
6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6309 (eval "$ac_try") 2>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; }; then
6313 hw_cv_func_va_copy=yes
6315 echo "$as_me: program exited with status $ac_status" >&5
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.$ac_ext >&5
6320 hw_cv_func_va_copy=no
6322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6327 { echo "$as_me:$LINENO: result: $hw_cv_func_va_copy" >&5
6328 echo "${ECHO_T}$hw_cv_func_va_copy" >&6; }
6329 if test "$hw_cv_func_va_copy" = yes; then
6331 cat >>confdefs.h <<\_ACEOF
6332 #define HAVE_VA_COPY 1
6338 if test "$hw_cv_func_va_copy" = no; then
6340 { echo "$as_me:$LINENO: checking for __va_copy" >&5
6341 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
6342 if test "${hw_cv_func___va_copy+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 if test "$cross_compiling" = yes; then
6346 hw_cv_func___va_copy=no
6348 cat >conftest.$ac_ext <<_ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6356 #elif HAVE_VARARGS_H
6357 #include <varargs.h>
6362 va_list ap, aq; __va_copy(aq, ap);
6367 rm -f conftest$ac_exeext
6368 if { (ac_try="$ac_link"
6370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6371 *) ac_try_echo=$ac_try;;
6373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6374 (eval "$ac_link") 2>&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6378 { (case "(($ac_try" in
6379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6380 *) ac_try_echo=$ac_try;;
6382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383 (eval "$ac_try") 2>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; }; then
6387 hw_cv_func___va_copy=yes
6389 echo "$as_me: program exited with status $ac_status" >&5
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6394 hw_cv_func___va_copy=no
6396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6401 { echo "$as_me:$LINENO: result: $hw_cv_func___va_copy" >&5
6402 echo "${ECHO_T}$hw_cv_func___va_copy" >&6; }
6403 if test "$hw_cv_func___va_copy" = yes; then
6405 cat >>confdefs.h <<\_ACEOF
6406 #define HAVE___VA_COPY 1
6415 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then
6416 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6417 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6418 if test "${ac_cv_c_const+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 cat >conftest.$ac_ext <<_ACEOF
6424 cat confdefs.h >>conftest.$ac_ext
6425 cat >>conftest.$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6431 /* FIXME: Include the comments suggested by Paul. */
6433 /* Ultrix mips cc rejects this. */
6434 typedef int charset[2];
6436 /* SunOS 4.1.1 cc rejects this. */
6437 char const *const *pcpcc;
6439 /* NEC SVR4.0.2 mips cc rejects this. */
6440 struct point {int x, y;};
6441 static struct point const zero = {0,0};
6442 /* AIX XL C 1.02.0.0 rejects this.
6443 It does not let you subtract one const X* pointer from another in
6444 an arm of an if-expression whose if-part is not a constant
6446 const char *g = "string";
6447 pcpcc = &g + (g ? g-g : 0);
6448 /* HPUX 7.0 cc rejects these. */
6450 ppc = (char**) pcpcc;
6451 pcpcc = (char const *const *) ppc;
6452 { /* SCO 3.2v4 cc rejects this. */
6454 char const *s = 0 ? (char *) 0 : (char const *) 0;
6459 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6461 const int *foo = &x[0];
6464 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6465 typedef const int *iptr;
6469 { /* AIX XL C 1.02.0.0 rejects this saying
6470 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6471 struct s { int j; const int *ap[3]; };
6472 struct s *b; b->j = 5;
6474 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6478 return !cs[0] && !zero.x;
6485 rm -f conftest.$ac_objext
6486 if { (ac_try="$ac_compile"
6488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6489 *) ac_try_echo=$ac_try;;
6491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6492 (eval "$ac_compile") 2>conftest.er1
6494 grep -v '^ *+' conftest.er1 >conftest.err
6496 cat conftest.err >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } && {
6499 test -z "$ac_c_werror_flag" ||
6500 test ! -s conftest.err
6501 } && test -s conftest.$ac_objext; then
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6512 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6513 echo "${ECHO_T}$ac_cv_c_const" >&6; }
6514 if test $ac_cv_c_const = no; then
6516 cat >>confdefs.h <<\_ACEOF
6530 case " $LIBOBJS " in
6531 *" snprintf.$ac_objext "* ) ;;
6532 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
6536 _hw_cv_func_xprintf_replace_done=yes
6545 for ac_func in asprintf
6547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6548 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6551 echo $ECHO_N "(cached) $ECHO_C" >&6
6553 cat >conftest.$ac_ext <<_ACEOF
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h. */
6559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6561 #define $ac_func innocuous_$ac_func
6563 /* System header to define __stub macros and hopefully few prototypes,
6564 which can conflict with char $ac_func (); below.
6565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 <limits.h> exists even on freestanding compilers. */
6569 # include <limits.h>
6571 # include <assert.h>
6576 /* Override any GCC internal prototype to avoid an error.
6577 Use char because int might match the return type of a GCC
6578 builtin and then its argument prototype would still apply. */
6583 /* The GNU C library defines this for functions which it implements
6584 to always fail with ENOSYS. Some functions are actually named
6585 something starting with __ and the normal name is an alias. */
6586 #if defined __stub_$ac_func || defined __stub___$ac_func
6598 rm -f conftest.$ac_objext conftest$ac_exeext
6599 if { (ac_try="$ac_link"
6601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602 *) ac_try_echo=$ac_try;;
6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605 (eval "$ac_link") 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } && {
6612 test -z "$ac_c_werror_flag" ||
6613 test ! -s conftest.err
6614 } && test -s conftest$ac_exeext &&
6615 $as_test_x conftest$ac_exeext; then
6616 eval "$as_ac_var=yes"
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6621 eval "$as_ac_var=no"
6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625 conftest$ac_exeext conftest.$ac_ext
6627 ac_res=`eval echo '${'$as_ac_var'}'`
6628 { echo "$as_me:$LINENO: result: $ac_res" >&5
6629 echo "${ECHO_T}$ac_res" >&6; }
6630 if test `eval echo '${'$as_ac_var'}'` = yes; then
6631 cat >>confdefs.h <<_ACEOF
6632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6634 hw_cv_func_asprintf=yes
6636 hw_cv_func_asprintf=no
6640 if test "$hw_cv_func_asprintf" = no; then
6642 cat >>confdefs.h <<\_ACEOF
6643 #define asprintf rpl_asprintf
6647 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then
6648 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6649 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6650 if test "${ac_cv_c_const+set}" = set; then
6651 echo $ECHO_N "(cached) $ECHO_C" >&6
6653 cat >conftest.$ac_ext <<_ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6663 /* FIXME: Include the comments suggested by Paul. */
6665 /* Ultrix mips cc rejects this. */
6666 typedef int charset[2];
6668 /* SunOS 4.1.1 cc rejects this. */
6669 char const *const *pcpcc;
6671 /* NEC SVR4.0.2 mips cc rejects this. */
6672 struct point {int x, y;};
6673 static struct point const zero = {0,0};
6674 /* AIX XL C 1.02.0.0 rejects this.
6675 It does not let you subtract one const X* pointer from another in
6676 an arm of an if-expression whose if-part is not a constant
6678 const char *g = "string";
6679 pcpcc = &g + (g ? g-g : 0);
6680 /* HPUX 7.0 cc rejects these. */
6682 ppc = (char**) pcpcc;
6683 pcpcc = (char const *const *) ppc;
6684 { /* SCO 3.2v4 cc rejects this. */
6686 char const *s = 0 ? (char *) 0 : (char const *) 0;
6691 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6693 const int *foo = &x[0];
6696 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6697 typedef const int *iptr;
6701 { /* AIX XL C 1.02.0.0 rejects this saying
6702 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6703 struct s { int j; const int *ap[3]; };
6704 struct s *b; b->j = 5;
6706 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6710 return !cs[0] && !zero.x;
6717 rm -f conftest.$ac_objext
6718 if { (ac_try="$ac_compile"
6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_compile") 2>conftest.er1
6726 grep -v '^ *+' conftest.er1 >conftest.err
6728 cat conftest.err >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); } && {
6731 test -z "$ac_c_werror_flag" ||
6732 test ! -s conftest.err
6733 } && test -s conftest.$ac_objext; then
6736 echo "$as_me: failed program was:" >&5
6737 sed 's/^/| /' conftest.$ac_ext >&5
6742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6745 echo "${ECHO_T}$ac_cv_c_const" >&6; }
6746 if test $ac_cv_c_const = no; then
6748 cat >>confdefs.h <<\_ACEOF
6762 case " $LIBOBJS " in
6763 *" snprintf.$ac_objext "* ) ;;
6764 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
6768 _hw_cv_func_xprintf_replace_done=yes
6776 ac_config_files="$ac_config_files Makefile"
6778 cat >confcache <<\_ACEOF
6779 # This file is a shell script that caches the results of configure
6780 # tests run on this system so they can be shared between configure
6781 # scripts and configure runs, see configure's option --config-cache.
6782 # It is not useful on other systems. If it contains results you don't
6783 # want to keep, you may remove or edit it.
6785 # config.status only pays attention to the cache file if you give it
6786 # the --recheck option to rerun configure.
6788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6794 # The following way of writing the cache mishandles newlines in values,
6795 # but we know of no workaround that is simple, portable, and efficient.
6796 # So, we kill variables containing newlines.
6797 # Ultrix sh set writes to stderr and can't be redirected directly,
6798 # and sets the high bit in the cache file unless we assign to the vars.
6800 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6801 eval ac_val=\$$ac_var
6805 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6809 _ | IFS | as_nl) ;; #(
6810 *) $as_unset $ac_var ;;
6816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6817 *${as_nl}ac_space=\ *)
6818 # `set' does not quote correctly, so add quotes (double-quote
6819 # substitution turns \\\\ into \\, and sed turns \\ into \).
6822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6825 # `set' quotes correctly as required by POSIX, so do not add quotes.
6826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6840 if test -w "$cache_file"; then
6841 test "x$cache_file" != "x/dev/null" &&
6842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6843 echo "$as_me: updating cache $cache_file" >&6;}
6844 cat confcache >$cache_file
6846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6852 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6853 # Let make expand exec_prefix.
6854 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6856 DEFS=-DHAVE_CONFIG_H
6860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6861 # 1. Remove the extension, and $U if already installed.
6862 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6863 ac_i=`echo "$ac_i" | sed "$ac_script"`
6864 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6865 # will be set to the directory where LIBOBJS objects are built.
6866 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6867 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6871 LTLIBOBJS=$ac_ltlibobjs
6874 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6875 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6876 Usually this means the macro was only invoked conditionally." >&5
6877 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6878 Usually this means the macro was only invoked conditionally." >&2;}
6879 { (exit 1); exit 1; }; }
6881 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6882 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6883 Usually this means the macro was only invoked conditionally." >&5
6884 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6885 Usually this means the macro was only invoked conditionally." >&2;}
6886 { (exit 1); exit 1; }; }
6889 : ${CONFIG_STATUS=./config.status}
6890 ac_clean_files_save=$ac_clean_files
6891 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6892 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6893 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6894 cat >$CONFIG_STATUS <<_ACEOF
6896 # Generated by $as_me.
6897 # Run this file to recreate the current configuration.
6898 # Compiler output produced by configure, useful for debugging
6899 # configure, is in config.log if it exists.
6904 SHELL=\${CONFIG_SHELL-$SHELL}
6907 cat >>$CONFIG_STATUS <<\_ACEOF
6908 ## --------------------- ##
6909 ## M4sh Initialization. ##
6910 ## --------------------- ##
6912 # Be more Bourne compatible
6913 DUALCASE=1; export DUALCASE # for MKS sh
6914 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6917 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6918 # is contrary to our usage. Disable this feature.
6919 alias -g '${1+"$@"}'='"$@"'
6920 setopt NO_GLOB_SUBST
6922 case `(set -o) 2>/dev/null` in
6923 *posix*) set -o posix ;;
6932 # Avoid depending upon Character Ranges.
6933 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6934 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6935 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6936 as_cr_digits='0123456789'
6937 as_cr_alnum=$as_cr_Letters$as_cr_digits
6939 # The user is always right.
6940 if test "${PATH_SEPARATOR+set}" != set; then
6941 echo "#! /bin/sh" >conf$$.sh
6942 echo "exit 0" >>conf$$.sh
6944 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6952 # Support unset when possible.
6953 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6961 # We need space, tab and new line, in precisely that order. Quoting is
6962 # there to prevent editors from complaining about space-tab.
6963 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6964 # splitting by setting IFS to empty value.)
6969 # Find who we are. Look in the path if we contain no directory separator.
6971 *[\\/]* ) as_myself=$0 ;;
6972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir=.
6977 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6983 # We did not find ourselves, most probably we were run as `sh COMMAND'
6984 # in which case we are not to be found in the path.
6985 if test "x$as_myself" = x; then
6988 if test ! -f "$as_myself"; then
6989 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6990 { (exit 1); exit 1; }
6993 # Work around bugs in pre-3.0 UWIN ksh.
6994 for as_var in ENV MAIL MAILPATH
6995 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7003 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7004 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7005 LC_TELEPHONE LC_TIME
7007 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7008 eval $as_var=C; export $as_var
7010 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7014 # Required to use basename.
7015 if expr a : '\(a\)' >/dev/null 2>&1 &&
7016 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7022 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7023 as_basename=basename
7029 # Name of the executable.
7030 as_me=`$as_basename -- "$0" ||
7031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7032 X"$0" : 'X\(//\)$' \| \
7033 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7035 sed '/^.*\/\([^/][^/]*\)\/*$/{
7056 test "x$as_lineno_1" != "x$as_lineno_2" &&
7057 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7059 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7060 # uniformly replaced by the line number. The first 'sed' inserts a
7061 # line-number line after each line using $LINENO; the second 'sed'
7062 # does the real work. The second script uses 'N' to pair each
7063 # line-number line with the line containing $LINENO, and appends
7064 # trailing '-' during substitution so that $LINENO is not a special
7066 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7067 # scripts with optimization help from Paolo Bonzini. Blame Lee
7068 # E. McMahon (1931-1989) for sed's syntax. :-)
7080 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7084 chmod +x "$as_me.lineno" ||
7085 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7086 { (exit 1); exit 1; }; }
7088 # Don't try to exec as it changes $[0], causing all sort of problems
7089 # (the dirname of $[0] is not the place where we might find the
7090 # original and so on. Autoconf is especially sensitive to this).
7092 # Exit status is that of the last command.
7097 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7103 ECHO_C= ECHO_N= ECHO_T=
7106 case `echo 'x\c'` in
7107 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7114 if expr a : '\(a\)' >/dev/null 2>&1 &&
7115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7121 rm -f conf$$ conf$$.exe conf$$.file
7122 if test -d conf$$.dir; then
7123 rm -f conf$$.dir/conf$$.file
7129 if ln -s conf$$.file conf$$ 2>/dev/null; then
7131 # ... but there are two gotchas:
7132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7134 # In both cases, we have to default to `cp -p'.
7135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7137 elif ln conf$$.file conf$$ 2>/dev/null; then
7142 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7143 rmdir conf$$.dir 2>/dev/null
7145 if mkdir -p . 2>/dev/null; then
7148 test -d ./-p && rmdir ./-p
7152 if test -x / >/dev/null 2>&1; then
7155 if ls -dL / >/dev/null 2>&1; then
7162 if test -d "$1"; then
7168 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7169 ???[sx]*):;;*)false;;esac;fi
7173 as_executable_p=$as_test_x
7175 # Sed expression to map a string onto a valid CPP name.
7176 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7178 # Sed expression to map a string onto a valid variable name.
7179 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7184 # Save the log message, to keep $[0] and so on meaningful, and to
7185 # report actual input values of CONFIG_FILES etc. instead of their
7186 # values after options handling.
7188 This file was extended by C99-snprintf $as_me 1.1, which was
7189 generated by GNU Autoconf 2.61. Invocation command line was
7191 CONFIG_FILES = $CONFIG_FILES
7192 CONFIG_HEADERS = $CONFIG_HEADERS
7193 CONFIG_LINKS = $CONFIG_LINKS
7194 CONFIG_COMMANDS = $CONFIG_COMMANDS
7197 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7202 cat >>$CONFIG_STATUS <<_ACEOF
7203 # Files that config.status was made for.
7204 config_files="$ac_config_files"
7205 config_headers="$ac_config_headers"
7206 config_commands="$ac_config_commands"
7210 cat >>$CONFIG_STATUS <<\_ACEOF
7212 \`$as_me' instantiates files from templates according to the
7213 current configuration.
7215 Usage: $0 [OPTIONS] [FILE]...
7217 -h, --help print this help, then exit
7218 -V, --version print version number and configuration settings, then exit
7219 -q, --quiet do not print progress messages
7220 -d, --debug don't remove temporary files
7221 --recheck update $as_me by reconfiguring in the same conditions
7222 --file=FILE[:TEMPLATE]
7223 instantiate the configuration file FILE
7224 --header=FILE[:TEMPLATE]
7225 instantiate the configuration header FILE
7227 Configuration files:
7230 Configuration headers:
7233 Configuration commands:
7236 Report bugs to <bug-autoconf@gnu.org>."
7239 cat >>$CONFIG_STATUS <<_ACEOF
7241 C99-snprintf config.status 1.1
7242 configured by $0, generated by GNU Autoconf 2.61,
7243 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7245 Copyright (C) 2006 Free Software Foundation, Inc.
7246 This config.status script is free software; the Free Software Foundation
7247 gives unlimited permission to copy, distribute and modify it."
7255 cat >>$CONFIG_STATUS <<\_ACEOF
7256 # If no file are specified by the user, then we need to provide default
7257 # value. By we need to know if files were specified by the user.
7263 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7264 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7275 # Handling of the options.
7276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7278 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7279 echo "$ac_cs_version"; exit ;;
7280 --debug | --debu | --deb | --de | --d | -d )
7282 --file | --fil | --fi | --f )
7284 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7285 ac_need_defaults=false;;
7286 --header | --heade | --head | --hea )
7288 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7289 ac_need_defaults=false;;
7291 # Conflict between --help and --header
7292 { echo "$as_me: error: ambiguous option: $1
7293 Try \`$0 --help' for more information." >&2
7294 { (exit 1); exit 1; }; };;
7295 --help | --hel | -h )
7296 echo "$ac_cs_usage"; exit ;;
7297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7298 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7302 -*) { echo "$as_me: error: unrecognized option: $1
7303 Try \`$0 --help' for more information." >&2
7304 { (exit 1); exit 1; }; } ;;
7306 *) ac_config_targets="$ac_config_targets $1"
7307 ac_need_defaults=false ;;
7313 ac_configure_extra_args=
7315 if $ac_cs_silent; then
7317 ac_configure_extra_args="$ac_configure_extra_args --silent"
7321 cat >>$CONFIG_STATUS <<_ACEOF
7322 if \$ac_cs_recheck; then
7323 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7326 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7330 cat >>$CONFIG_STATUS <<\_ACEOF
7334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7335 ## Running $as_me. ##
7341 cat >>$CONFIG_STATUS <<_ACEOF
7345 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7349 cat >>$CONFIG_STATUS <<\_ACEOF
7351 # Handling of arguments.
7352 for ac_config_target in $ac_config_targets
7354 case $ac_config_target in
7355 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7356 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7357 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7359 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7360 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7361 { (exit 1); exit 1; }; };;
7366 # If the user did not use the arguments to specify the items to instantiate,
7367 # then the envvar interface is used. Set only those that are not.
7368 # We use the long form for the default assignment because of an extremely
7369 # bizarre bug on SunOS 4.1.3.
7370 if $ac_need_defaults; then
7371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7373 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7376 # Have a temporary directory for convenience. Make it in the build tree
7377 # simply because there is no reason against having it here, and in addition,
7378 # creating and moving files from /tmp can sometimes cause problems.
7379 # Hook for its removal unless debugging.
7380 # Note that there is a small window in which the directory will not be cleaned:
7381 # after its creation but before its name has been assigned to `$tmp'.
7385 trap 'exit_status=$?
7386 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7388 trap '{ (exit 1); exit 1; }' 1 2 13 15
7390 # Create a (secure) tmp directory for tmp files.
7393 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7394 test -n "$tmp" && test -d "$tmp"
7397 tmp=./conf$$-$RANDOM
7398 (umask 077 && mkdir "$tmp")
7401 echo "$me: cannot create a temporary directory in ." >&2
7402 { (exit 1); exit 1; }
7406 # Set up the sed scripts for CONFIG_FILES section.
7409 # No need to generate the scripts if there are no CONFIG_FILES.
7410 # This happens for instance when ./config.status config.h
7411 if test -n "$CONFIG_FILES"; then
7418 for ac_last_try in false false false false false :; do
7419 cat >conf$$subs.sed <<_ACEOF
7420 SHELL!$SHELL$ac_delim
7421 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7422 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7423 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7424 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7425 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7426 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7427 exec_prefix!$exec_prefix$ac_delim
7428 prefix!$prefix$ac_delim
7429 program_transform_name!$program_transform_name$ac_delim
7430 bindir!$bindir$ac_delim
7431 sbindir!$sbindir$ac_delim
7432 libexecdir!$libexecdir$ac_delim
7433 datarootdir!$datarootdir$ac_delim
7434 datadir!$datadir$ac_delim
7435 sysconfdir!$sysconfdir$ac_delim
7436 sharedstatedir!$sharedstatedir$ac_delim
7437 localstatedir!$localstatedir$ac_delim
7438 includedir!$includedir$ac_delim
7439 oldincludedir!$oldincludedir$ac_delim
7440 docdir!$docdir$ac_delim
7441 infodir!$infodir$ac_delim
7442 htmldir!$htmldir$ac_delim
7443 dvidir!$dvidir$ac_delim
7444 pdfdir!$pdfdir$ac_delim
7445 psdir!$psdir$ac_delim
7446 libdir!$libdir$ac_delim
7447 localedir!$localedir$ac_delim
7448 mandir!$mandir$ac_delim
7450 ECHO_C!$ECHO_C$ac_delim
7451 ECHO_N!$ECHO_N$ac_delim
7452 ECHO_T!$ECHO_T$ac_delim
7454 build_alias!$build_alias$ac_delim
7455 host_alias!$host_alias$ac_delim
7456 target_alias!$target_alias$ac_delim
7457 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7458 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7459 INSTALL_DATA!$INSTALL_DATA$ac_delim
7460 am__isrc!$am__isrc$ac_delim
7461 CYGPATH_W!$CYGPATH_W$ac_delim
7462 PACKAGE!$PACKAGE$ac_delim
7463 VERSION!$VERSION$ac_delim
7464 ACLOCAL!$ACLOCAL$ac_delim
7465 AUTOCONF!$AUTOCONF$ac_delim
7466 AUTOMAKE!$AUTOMAKE$ac_delim
7467 AUTOHEADER!$AUTOHEADER$ac_delim
7468 MAKEINFO!$MAKEINFO$ac_delim
7469 install_sh!$install_sh$ac_delim
7470 STRIP!$STRIP$ac_delim
7471 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7472 mkdir_p!$mkdir_p$ac_delim
7474 SET_MAKE!$SET_MAKE$ac_delim
7475 am__leading_dot!$am__leading_dot$ac_delim
7476 AMTAR!$AMTAR$ac_delim
7477 am__tar!$am__tar$ac_delim
7478 am__untar!$am__untar$ac_delim
7480 CFLAGS!$CFLAGS$ac_delim
7481 LDFLAGS!$LDFLAGS$ac_delim
7482 CPPFLAGS!$CPPFLAGS$ac_delim
7483 ac_ct_CC!$ac_ct_CC$ac_delim
7484 EXEEXT!$EXEEXT$ac_delim
7485 OBJEXT!$OBJEXT$ac_delim
7486 DEPDIR!$DEPDIR$ac_delim
7487 am__include!$am__include$ac_delim
7488 am__quote!$am__quote$ac_delim
7489 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7490 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7491 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7492 CCDEPMODE!$CCDEPMODE$ac_delim
7493 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7494 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7497 EGREP!$EGREP$ac_delim
7498 LIBOBJS!$LIBOBJS$ac_delim
7499 LTLIBOBJS!$LTLIBOBJS$ac_delim
7502 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
7504 elif $ac_last_try; then
7505 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7506 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7507 { (exit 1); exit 1; }; }
7509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7513 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7514 if test -n "$ac_eof"; then
7515 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7516 ac_eof=`expr $ac_eof + 1`
7519 cat >>$CONFIG_STATUS <<_ACEOF
7520 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7524 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7525 s/^/s,@/; s/!/@,|#_!!_#|/
7528 s/'"$ac_delim"'$/,g/; t
7530 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7531 ' >>$CONFIG_STATUS <conf$$subs.sed
7532 rm -f conf$$subs.sed
7533 cat >>$CONFIG_STATUS <<_ACEOF
7540 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7541 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7542 # trailing colons and then remove the whole line if VPATH becomes empty
7543 # (actually we leave an empty line to preserve line numbers).
7544 if test "x$srcdir" = x.; then
7545 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7549 s/^\([^=]*=[ ]*\):*/\1/
7555 cat >>$CONFIG_STATUS <<\_ACEOF
7556 fi # test -n "$CONFIG_FILES"
7559 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7562 :[FHLC]) ac_mode=$ac_tag; continue;;
7564 case $ac_mode$ac_tag in
7566 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7567 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7568 { (exit 1); exit 1; }; };;
7569 :[FH]-) ac_tag=-:-;;
7570 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7587 -) ac_f="$tmp/stdin";;
7588 *) # Look for the file first in the build tree, then in the source tree
7589 # (if the path is not absolute). The absolute path cannot be DOS-style,
7590 # because $ac_f cannot contain `:'.
7594 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7596 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7597 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7598 { (exit 1); exit 1; }; };;
7600 ac_file_inputs="$ac_file_inputs $ac_f"
7603 # Let's still pretend it is `configure' which instantiates (i.e., don't
7604 # use $as_me), people would be surprised to read:
7605 # /* config.h. Generated by config.status. */
7606 configure_input="Generated from "`IFS=:
7607 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7608 if test x"$ac_file" != x-; then
7609 configure_input="$ac_file. $configure_input"
7610 { echo "$as_me:$LINENO: creating $ac_file" >&5
7611 echo "$as_me: creating $ac_file" >&6;}
7615 *:-:* | *:-) cat >"$tmp/stdin";;
7620 ac_dir=`$as_dirname -- "$ac_file" ||
7621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7622 X"$ac_file" : 'X\(//\)[^/]' \| \
7623 X"$ac_file" : 'X\(//\)$' \| \
7624 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7645 -*) as_dir=./$as_dir;;
7647 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7651 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7652 *) as_qdir=$as_dir;;
7654 as_dirs="'$as_qdir' $as_dirs"
7655 as_dir=`$as_dirname -- "$as_dir" ||
7656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7657 X"$as_dir" : 'X\(//\)[^/]' \| \
7658 X"$as_dir" : 'X\(//\)$' \| \
7659 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7678 test -d "$as_dir" && break
7680 test -z "$as_dirs" || eval "mkdir $as_dirs"
7681 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7682 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7683 { (exit 1); exit 1; }; }; }
7687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7689 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7690 # A ".." for each directory in $ac_dir_suffix.
7691 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7692 case $ac_top_builddir_sub in
7693 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7694 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7697 ac_abs_top_builddir=$ac_pwd
7698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7699 # for backward compatibility:
7700 ac_top_builddir=$ac_top_build_prefix
7703 .) # We are building in place.
7705 ac_top_srcdir=$ac_top_builddir_sub
7706 ac_abs_top_srcdir=$ac_pwd ;;
7707 [\\/]* | ?:[\\/]* ) # Absolute name.
7708 ac_srcdir=$srcdir$ac_dir_suffix;
7709 ac_top_srcdir=$srcdir
7710 ac_abs_top_srcdir=$srcdir ;;
7712 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7713 ac_top_srcdir=$ac_top_build_prefix$srcdir
7714 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7727 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7731 [\\/$]* | ?:[\\/]* ) ;;
7732 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7736 cat >>$CONFIG_STATUS <<\_ACEOF
7737 # If the template does not know about datarootdir, expand it.
7738 # FIXME: This hack should be removed a few years after 2.60.
7739 ac_datarootdir_hack=; ac_datarootdir_seen=
7741 case `sed -n '/datarootdir/ {
7750 ' $ac_file_inputs` in
7751 *datarootdir*) ac_datarootdir_seen=yes;;
7752 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7753 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7754 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7756 cat >>$CONFIG_STATUS <<_ACEOF
7757 ac_datarootdir_hack='
7758 s&@datadir@&$datadir&g
7759 s&@docdir@&$docdir&g
7760 s&@infodir@&$infodir&g
7761 s&@localedir@&$localedir&g
7762 s&@mandir@&$mandir&g
7763 s&\\\${datarootdir}&$datarootdir&g' ;;
7767 # Neutralize VPATH when `$srcdir' = `.'.
7768 # Shell code in configure.ac might set extrasub.
7769 # FIXME: do we really want to maintain this feature?
7770 cat >>$CONFIG_STATUS <<_ACEOF
7774 cat >>$CONFIG_STATUS <<\_ACEOF
7776 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7777 s&@configure_input@&$configure_input&;t t
7778 s&@top_builddir@&$ac_top_builddir_sub&;t t
7779 s&@srcdir@&$ac_srcdir&;t t
7780 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7781 s&@top_srcdir@&$ac_top_srcdir&;t t
7782 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7783 s&@builddir@&$ac_builddir&;t t
7784 s&@abs_builddir@&$ac_abs_builddir&;t t
7785 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7786 s&@INSTALL@&$ac_INSTALL&;t t
7787 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7788 $ac_datarootdir_hack
7789 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7792 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7794 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7795 which seems to be undefined. Please make sure it is defined." >&5
7796 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7797 which seems to be undefined. Please make sure it is defined." >&2;}
7801 -) cat "$tmp/out"; rm -f "$tmp/out";;
7802 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7811 # Transform confdefs.h into a sed script `conftest.defines', that
7812 # substitutes the proper values into config.h.in to produce config.h.
7813 rm -f conftest.defines conftest.tail
7814 # First, append a space to every undef/define line, to ease matching.
7815 echo 's/$/ /' >conftest.defines
7816 # Then, protect against being on the right side of a sed subst, or in
7817 # an unquoted here document, in config.status. If some macros were
7818 # called several times there might be several #defines for the same
7819 # symbol, which is useless. But do not sort them, since the last
7820 # AC_DEFINE must be honored.
7821 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7822 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7823 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7824 # PARAMS is the parameter list in the macro definition--in most cases, it's
7825 # just an empty string.
7826 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7827 ac_dB='\\)[ (].*,\\1define\\2'
7835 s/^[ ]*#[ ]*define[ ][ ]*//
7840 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7841 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7842 ' >>conftest.defines
7844 # Remove the space that was appended to ease matching.
7845 # Then replace #undef with comments. This is necessary, for
7846 # example, in the case of _POSIX_SOURCE, which is predefined and required
7847 # on some systems where configure will not decide to define it.
7848 # (The regexp can be short, since the line contains either #define or #undef.)
7850 s,^[ #]*u.*,/* & */,' >>conftest.defines
7852 # Break up conftest.defines:
7855 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7856 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7857 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7859 ac_in='$ac_file_inputs'
7860 ac_out='"$tmp/out1"'
7861 ac_nxt='"$tmp/out2"'
7865 # Write a here document:
7866 cat >>$CONFIG_STATUS <<_ACEOF
7867 # First, check the format of the line:
7868 cat >"\$tmp/defines.sed" <<\\CEOF
7869 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7870 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7874 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7876 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7877 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7878 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7879 grep . conftest.tail >/dev/null || break
7880 rm -f conftest.defines
7881 mv conftest.tail conftest.defines
7883 rm -f conftest.defines conftest.tail
7885 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7886 cat >>$CONFIG_STATUS <<\_ACEOF
7887 if test x"$ac_file" != x-; then
7888 echo "/* $configure_input */" >"$tmp/config.h"
7889 cat "$ac_result" >>"$tmp/config.h"
7890 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7891 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7892 echo "$as_me: $ac_file is unchanged" >&6;}
7895 mv "$tmp/config.h" $ac_file
7898 echo "/* $configure_input */"
7902 # Compute $ac_file's index in $config_headers.
7904 for _am_header in $config_headers :; do
7906 $ac_file | $ac_file:* )
7909 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7912 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7913 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7914 X$ac_file : 'X\(//\)[^/]' \| \
7915 X$ac_file : 'X\(//\)$' \| \
7916 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7934 s/.*/./; q'`/stamp-h$_am_stamp_count
7937 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7938 echo "$as_me: executing $ac_file commands" >&6;}
7943 case $ac_file$ac_mode in
7944 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7945 # Strip MF so we end up with the name of the file.
7946 mf=`echo "$mf" | sed -e 's/:.*$//'`
7947 # Check whether this is an Automake generated Makefile or not.
7948 # We used to match only the files named `Makefile.in', but
7949 # some people rename them; so instead we look at the file content.
7950 # Grep'ing the first line is not enough: some people post-process
7951 # each Makefile.in and add a new line on top of each file to say so.
7952 # Grep'ing the whole file is not good either: AIX grep has a line
7953 # limit of 2048, but all sed's we know have understand at least 4000.
7954 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
7955 dirpart=`$as_dirname -- "$mf" ||
7956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7957 X"$mf" : 'X\(//\)[^/]' \| \
7958 X"$mf" : 'X\(//\)$' \| \
7959 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7981 # Extract the definition of DEPDIR, am__include, and am__quote
7982 # from the Makefile without running `make'.
7983 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7984 test -z "$DEPDIR" && continue
7985 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7986 test -z "am__include" && continue
7987 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7988 # When using ansi2knr, U may be empty or an underscore; expand it
7989 U=`sed -n 's/^U = //p' < "$mf"`
7990 # Find all dependency output files, they are included files with
7991 # $(DEPDIR) in their names. We invoke sed twice because it is the
7992 # simplest approach to changing $(DEPDIR) to its actual value in the
7994 for file in `sed -n "
7995 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7996 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7997 # Make sure the directory exists.
7998 test -f "$dirpart/$file" && continue
7999 fdir=`$as_dirname -- "$file" ||
8000 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8001 X"$file" : 'X\(//\)[^/]' \| \
8002 X"$file" : 'X\(//\)$' \| \
8003 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8022 { as_dir=$dirpart/$fdir
8024 -*) as_dir=./$as_dir;;
8026 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8030 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8031 *) as_qdir=$as_dir;;
8033 as_dirs="'$as_qdir' $as_dirs"
8034 as_dir=`$as_dirname -- "$as_dir" ||
8035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8036 X"$as_dir" : 'X\(//\)[^/]' \| \
8037 X"$as_dir" : 'X\(//\)$' \| \
8038 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8057 test -d "$as_dir" && break
8059 test -z "$as_dirs" || eval "mkdir $as_dirs"
8060 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8061 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8062 { (exit 1); exit 1; }; }; }
8063 # echo "creating $dirpart/$file"
8064 echo '# dummy' > "$dirpart/$file"
8073 { (exit 0); exit 0; }
8075 chmod +x $CONFIG_STATUS
8076 ac_clean_files=$ac_clean_files_save
8079 # configure is writing to config.log, and then calls config.status.
8080 # config.status does its own redirection, appending to config.log.
8081 # Unfortunately, on DOS this fails, as config.log is still kept open
8082 # by configure, so config.status won't be able to write to it; its
8083 # output is simply discarded. So we exec the FD to /dev/null,
8084 # effectively closing config.log, so it can be properly (re)opened and
8085 # appended to by config.status. When coming back to configure, we
8086 # need to make the FD available again.
8087 if test "$no_create" != yes; then
8089 ac_config_status_args=
8090 test "$silent" = yes &&
8091 ac_config_status_args="$ac_config_status_args --quiet"
8093 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8095 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8096 # would make configure fail if this is the last instruction.
8097 $ac_cs_success || { (exit 1); exit 1; }