2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for polyglot 1.4.55b.
5 # Report bugs to <michel.vandenbergh@uhasselt.be>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='polyglot'
598 PACKAGE_TARNAME='polyglot'
599 PACKAGE_VERSION='1.4.55b'
600 PACKAGE_STRING='polyglot 1.4.55b'
601 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
603 ac_unique_file="mainloop.c"
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='LTLIBOBJS
669 INSTALL_STRIP_PROGRAM
711 program_transform_name
723 enable_option_checking
724 enable_dependency_tracking
726 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 ac_unrecognized_opts=
742 # The variables have the same names as the options, with
743 # dashes changed to underlines.
751 program_transform_name=s,x,x,
759 # Installation directory options.
760 # These are left unexpanded so users can "make install exec_prefix=/foo"
761 # and all the variables that are supposed to be based on exec_prefix
762 # by default will actually change.
763 # Use braces instead of parens because sh, perl, etc. also accept them.
764 # (The list follows the same order as the GNU Coding Standards.)
765 bindir='${exec_prefix}/bin'
766 sbindir='${exec_prefix}/sbin'
767 libexecdir='${exec_prefix}/libexec'
768 datarootdir='${prefix}/share'
769 datadir='${datarootdir}'
770 sysconfdir='${prefix}/etc'
771 sharedstatedir='${prefix}/com'
772 localstatedir='${prefix}/var'
773 includedir='${prefix}/include'
774 oldincludedir='/usr/include'
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
776 infodir='${datarootdir}/info'
781 libdir='${exec_prefix}/lib'
782 localedir='${datarootdir}/locale'
783 mandir='${datarootdir}/man'
789 # If the previous option needs an argument, assign it.
790 if test -n "$ac_prev"; then
791 eval $ac_prev=\$ac_option
797 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
801 # Accept the important Cygnus configure options, so we can diagnose typos.
803 case $ac_dashdash$ac_option in
807 -bindir | --bindir | --bindi | --bind | --bin | --bi)
809 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
812 -build | --build | --buil | --bui | --bu)
813 ac_prev=build_alias ;;
814 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
815 build_alias=$ac_optarg ;;
817 -cache-file | --cache-file | --cache-fil | --cache-fi \
818 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
819 ac_prev=cache_file ;;
820 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
821 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
822 cache_file=$ac_optarg ;;
825 cache_file=config.cache ;;
827 -datadir | --datadir | --datadi | --datad)
829 -datadir=* | --datadir=* | --datadi=* | --datad=*)
830 datadir=$ac_optarg ;;
832 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
833 | --dataroo | --dataro | --datar)
834 ac_prev=datarootdir ;;
835 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
836 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
837 datarootdir=$ac_optarg ;;
839 -disable-* | --disable-*)
840 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
841 # Reject names that are not valid shell variable names.
842 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
843 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
844 { (exit 1); exit 1; }; }
845 ac_useropt_orig=$ac_useropt
846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
847 case $ac_user_opts in
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
852 ac_unrecognized_sep=', ';;
854 eval enable_$ac_useropt=no ;;
856 -docdir | --docdir | --docdi | --doc | --do)
858 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
863 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 -enable-* | --enable-*)
867 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 # Reject names that are not valid shell variable names.
869 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
870 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
871 { (exit 1); exit 1; }; }
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
881 eval enable_$ac_useropt=\$ac_optarg ;;
883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
885 | --exec | --exe | --ex)
886 ac_prev=exec_prefix ;;
887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
889 | --exec=* | --exe=* | --ex=*)
890 exec_prefix=$ac_optarg ;;
892 -gas | --gas | --ga | --g)
893 # Obsolete; use --with-gas.
896 -help | --help | --hel | --he | -h)
898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
899 ac_init_help=recursive ;;
900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
901 ac_init_help=short ;;
903 -host | --host | --hos | --ho)
904 ac_prev=host_alias ;;
905 -host=* | --host=* | --hos=* | --ho=*)
906 host_alias=$ac_optarg ;;
908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
912 htmldir=$ac_optarg ;;
914 -includedir | --includedir | --includedi | --included | --include \
915 | --includ | --inclu | --incl | --inc)
916 ac_prev=includedir ;;
917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
918 | --includ=* | --inclu=* | --incl=* | --inc=*)
919 includedir=$ac_optarg ;;
921 -infodir | --infodir | --infodi | --infod | --info | --inf)
923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
924 infodir=$ac_optarg ;;
926 -libdir | --libdir | --libdi | --libd)
928 -libdir=* | --libdir=* | --libdi=* | --libd=*)
931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
932 | --libexe | --libex | --libe)
933 ac_prev=libexecdir ;;
934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
935 | --libexe=* | --libex=* | --libe=*)
936 libexecdir=$ac_optarg ;;
938 -localedir | --localedir | --localedi | --localed | --locale)
940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
941 localedir=$ac_optarg ;;
943 -localstatedir | --localstatedir | --localstatedi | --localstated \
944 | --localstate | --localstat | --localsta | --localst | --locals)
945 ac_prev=localstatedir ;;
946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
948 localstatedir=$ac_optarg ;;
950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
956 # Obsolete; use --without-fp.
959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
960 | --no-cr | --no-c | -n)
963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
969 | --oldin | --oldi | --old | --ol | --o)
970 ac_prev=oldincludedir ;;
971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
974 oldincludedir=$ac_optarg ;;
976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
981 -program-prefix | --program-prefix | --program-prefi | --program-pref \
982 | --program-pre | --program-pr | --program-p)
983 ac_prev=program_prefix ;;
984 -program-prefix=* | --program-prefix=* | --program-prefi=* \
985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
986 program_prefix=$ac_optarg ;;
988 -program-suffix | --program-suffix | --program-suffi | --program-suff \
989 | --program-suf | --program-su | --program-s)
990 ac_prev=program_suffix ;;
991 -program-suffix=* | --program-suffix=* | --program-suffi=* \
992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
993 program_suffix=$ac_optarg ;;
995 -program-transform-name | --program-transform-name \
996 | --program-transform-nam | --program-transform-na \
997 | --program-transform-n | --program-transform- \
998 | --program-transform | --program-transfor \
999 | --program-transfo | --program-transf \
1000 | --program-trans | --program-tran \
1001 | --progr-tra | --program-tr | --program-t)
1002 ac_prev=program_transform_name ;;
1003 -program-transform-name=* | --program-transform-name=* \
1004 | --program-transform-nam=* | --program-transform-na=* \
1005 | --program-transform-n=* | --program-transform-=* \
1006 | --program-transform=* | --program-transfor=* \
1007 | --program-transfo=* | --program-transf=* \
1008 | --program-trans=* | --program-tran=* \
1009 | --progr-tra=* | --program-tr=* | --program-t=*)
1010 program_transform_name=$ac_optarg ;;
1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1015 pdfdir=$ac_optarg ;;
1017 -psdir | --psdir | --psdi | --psd | --ps)
1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1023 | -silent | --silent | --silen | --sile | --sil)
1026 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1028 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1030 sbindir=$ac_optarg ;;
1032 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1033 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1034 | --sharedst | --shareds | --shared | --share | --shar \
1036 ac_prev=sharedstatedir ;;
1037 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1038 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1039 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1041 sharedstatedir=$ac_optarg ;;
1043 -site | --site | --sit)
1045 -site=* | --site=* | --sit=*)
1048 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1050 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1051 srcdir=$ac_optarg ;;
1053 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1054 | --syscon | --sysco | --sysc | --sys | --sy)
1055 ac_prev=sysconfdir ;;
1056 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1057 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1058 sysconfdir=$ac_optarg ;;
1060 -target | --target | --targe | --targ | --tar | --ta | --t)
1061 ac_prev=target_alias ;;
1062 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1063 target_alias=$ac_optarg ;;
1065 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1068 -version | --version | --versio | --versi | --vers | -V)
1069 ac_init_version=: ;;
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1076 { (exit 1); exit 1; }; }
1077 ac_useropt_orig=$ac_useropt
1078 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079 case $ac_user_opts in
1083 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1084 ac_unrecognized_sep=', ';;
1086 eval with_$ac_useropt=\$ac_optarg ;;
1088 -without-* | --without-*)
1089 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1093 { (exit 1); exit 1; }; }
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1103 eval with_$ac_useropt=no ;;
1106 # Obsolete; use --with-x.
1109 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1110 | --x-incl | --x-inc | --x-in | --x-i)
1111 ac_prev=x_includes ;;
1112 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1113 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1114 x_includes=$ac_optarg ;;
1116 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1117 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1118 ac_prev=x_libraries ;;
1119 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1120 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1121 x_libraries=$ac_optarg ;;
1123 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1124 Try \`$0 --help' for more information." >&2
1125 { (exit 1); exit 1; }; }
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1132 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1133 { (exit 1); exit 1; }; }
1134 eval $ac_envvar=\$ac_optarg
1135 export $ac_envvar ;;
1138 # FIXME: should be removed in autoconf 3.0.
1139 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1140 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1141 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1142 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1148 if test -n "$ac_prev"; then
1149 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1150 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1151 { (exit 1); exit 1; }; }
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1158 { (exit 1); exit 1; }; } ;;
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 # Check all directory arguments for consistency.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1170 # Remove trailing slashes.
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1174 eval $ac_var=\$ac_val;;
1176 # Be sure to have absolute directory names.
1178 [\\/$]* | ?:[\\/]* ) continue;;
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1181 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1182 { (exit 1); exit 1; }; }
1185 # There might be people who depend on the old broken behavior: `$host'
1186 # used to hold the argument of --host etc.
1187 # FIXME: To remove some day.
1190 target=$target_alias
1192 # FIXME: To remove some day.
1193 if test "x$host_alias" != x; then
1194 if test "x$build_alias" = x; then
1195 cross_compiling=maybe
1196 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1197 If a cross compiler is detected then cross compile mode will be used." >&2
1198 elif test "x$build_alias" != "x$host_alias"; then
1204 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1206 test "$silent" = yes && exec 6>/dev/null
1209 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di=`ls -di .` &&
1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1212 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1213 { (exit 1); exit 1; }; }
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1216 { (exit 1); exit 1; }; }
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1256 { (exit 1); exit 1; }; }
1258 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1260 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1261 { (exit 1); exit 1; }; }
1263 # When building in place, set srcdir=.
1264 if test "$ac_abs_confdir" = "$ac_pwd"; then
1267 # Remove unnecessary trailing slashes from srcdir.
1268 # Double slashes in file names in object file debugging info
1269 # mess up M-x gdb in Emacs.
1271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273 for ac_var in $ac_precious_vars; do
1274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_env_${ac_var}_value=\$${ac_var}
1276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1281 # Report the --help message.
1283 if test "$ac_init_help" = "long"; then
1284 # Omit some internal or obsolete options to make the list less imposing.
1285 # This message is too long to be a string in the A/UX 3.1 sh.
1287 \`configure' configures polyglot 1.4.55b to adapt to many kinds of systems.
1289 Usage: $0 [OPTION]... [VAR=VALUE]...
1291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1292 VAR=VALUE. See below for descriptions of some of the useful variables.
1294 Defaults for the options are specified in brackets.
1297 -h, --help display this help and exit
1298 --help=short display options specific to this package
1299 --help=recursive display the short help of all the included packages
1300 -V, --version display version information and exit
1301 -q, --quiet, --silent do not print \`checking...' messages
1302 --cache-file=FILE cache test results in FILE [disabled]
1303 -C, --config-cache alias for \`--cache-file=config.cache'
1304 -n, --no-create do not create output files
1305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1307 Installation directories:
1308 --prefix=PREFIX install architecture-independent files in PREFIX
1309 [$ac_default_prefix]
1310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1313 By default, \`make install' will install all the files in
1314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1316 for instance \`--prefix=\$HOME'.
1318 For better control, use the options below.
1320 Fine tuning of the installation directories:
1321 --bindir=DIR user executables [EPREFIX/bin]
1322 --sbindir=DIR system admin executables [EPREFIX/sbin]
1323 --libexecdir=DIR program executables [EPREFIX/libexec]
1324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1345 --program-prefix=PREFIX prepend PREFIX to installed program names
1346 --program-suffix=SUFFIX append SUFFIX to installed program names
1347 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1351 if test -n "$ac_init_help"; then
1352 case $ac_init_help in
1353 short | recursive ) echo "Configuration of polyglot 1.4.55b:";;
1358 --disable-option-checking ignore unrecognized --enable/--with options
1359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1361 --disable-dependency-tracking speeds up one-time build
1362 --enable-dependency-tracking do not reject slow dependency extractors
1364 Some influential environment variables:
1365 CC C compiler command
1366 CFLAGS C compiler flags
1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1368 nonstandard directory <lib dir>
1369 LIBS libraries to pass to the linker, e.g. -l<library>
1370 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1371 you have headers in a nonstandard directory <include dir>
1374 Use these variables to override the choices made by `configure' or to help
1375 it to find libraries and programs with nonstandard names/locations.
1377 Report bugs to <michel.vandenbergh@uhasselt.be>.
1382 if test "$ac_init_help" = "recursive"; then
1383 # If there are subdirs, report their specific --help.
1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385 test -d "$ac_dir" ||
1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1394 # A ".." for each directory in $ac_dir_suffix.
1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1396 case $ac_top_builddir_sub in
1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
1407 .) # We are building in place.
1409 ac_top_srcdir=$ac_top_builddir_sub
1410 ac_abs_top_srcdir=$ac_pwd ;;
1411 [\\/]* | ?:[\\/]* ) # Absolute name.
1412 ac_srcdir=$srcdir$ac_dir_suffix;
1413 ac_top_srcdir=$srcdir
1414 ac_abs_top_srcdir=$srcdir ;;
1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417 ac_top_srcdir=$ac_top_build_prefix$srcdir
1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1422 cd "$ac_dir" || { ac_status=$?; continue; }
1423 # Check for guested configure.
1424 if test -f "$ac_srcdir/configure.gnu"; then
1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427 elif test -f "$ac_srcdir/configure"; then
1429 $SHELL "$ac_srcdir/configure" --help=recursive
1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1433 cd "$ac_pwd" || { ac_status=$?; break; }
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1440 polyglot configure 1.4.55b
1441 generated by GNU Autoconf 2.63
1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1445 This configure script is free software; the Free Software Foundation
1446 gives unlimited permission to copy, distribute and modify it.
1450 cat >config.log <<_ACEOF
1451 This file contains any messages produced by compilers while
1452 running configure, to aid debugging if configure makes a mistake.
1454 It was created by polyglot $as_me 1.4.55b, which was
1455 generated by GNU Autoconf 2.63. Invocation command line was
1467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1474 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 $as_echo "PATH: $as_dir"
1507 # Keep a trace of the command line.
1508 # Strip out --no-create and --no-recursion so they do not pile up.
1509 # Strip out --silent because we don't want to record it for future runs.
1510 # Also quote any args containing shell meta-characters.
1511 # Make two passes to allow for proper duplicate-argument suppression.
1515 ac_must_keep_next=false
1521 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1523 | -silent | --silent | --silen | --sile | --sil)
1526 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1529 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1531 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1532 if test $ac_must_keep_next = true; then
1533 ac_must_keep_next=false # Got value, back to normal.
1536 *=* | --config-cache | -C | -disable-* | --disable-* \
1537 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1538 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1539 | -with-* | --with-* | -without-* | --without-* | --x)
1540 case "$ac_configure_args0 " in
1541 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1544 -* ) ac_must_keep_next=true ;;
1547 ac_configure_args="$ac_configure_args '$ac_arg'"
1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1555 # When interrupted or exit'd, cleanup temporary files, and complete
1556 # config.log. We remove comments because anyway the quotes in there
1557 # would cause problems or look ugly.
1558 # WARNING: Use '\'' to represent an apostrophe within the trap.
1559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1560 trap 'exit_status=$?
1561 # Save into config.log some information that might help in debugging.
1566 ## ---------------- ##
1567 ## Cache variables. ##
1568 ## ---------------- ##
1571 # The following way of writing the cache mishandles newlines in values,
1573 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1574 eval ac_val=\$$ac_var
1578 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1582 _ | IFS | as_nl) ;; #(
1583 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1584 *) $as_unset $ac_var ;;
1589 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1590 *${as_nl}ac_space=\ *)
1592 "s/'\''/'\''\\\\'\'''\''/g;
1593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1604 ## ----------------- ##
1605 ## Output variables. ##
1606 ## ----------------- ##
1609 for ac_var in $ac_subst_vars
1611 eval ac_val=\$$ac_var
1613 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 $as_echo "$ac_var='\''$ac_val'\''"
1619 if test -n "$ac_subst_files"; then
1621 ## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##
1626 for ac_var in $ac_subst_files
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 $as_echo "$ac_var='\''$ac_val'\''"
1637 if test -s confdefs.h; then
1647 test "$ac_signal" != 0 &&
1648 $as_echo "$as_me: caught signal $ac_signal"
1649 $as_echo "$as_me: exit $exit_status"
1651 rm -f core *.core core.conftest.* &&
1652 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1655 for ac_signal in 1 2 13 15; do
1656 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest* confdefs.h
1663 # Predefined preprocessor variables.
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_NAME "$PACKAGE_NAME"
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1690 # Let the site file select an alternate cache file if it wants to.
1691 # Prefer an explicitly selected file to automatically selected ones.
1694 if test -n "$CONFIG_SITE"; then
1695 ac_site_file1=$CONFIG_SITE
1696 elif test "x$prefix" != xNONE; then
1697 ac_site_file1=$prefix/share/config.site
1698 ac_site_file2=$prefix/etc/config.site
1700 ac_site_file1=$ac_default_prefix/share/config.site
1701 ac_site_file2=$ac_default_prefix/etc/config.site
1703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1705 test "x$ac_site_file" = xNONE && continue
1706 if test -r "$ac_site_file"; then
1707 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 $as_echo "$as_me: loading cache $cache_file" >&6;}
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1726 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 $as_echo "$as_me: creating cache $cache_file" >&6;}
1731 # Check that the precious variables saved in the cache have kept the same
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1741 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 # differences in whitespace do not lead to failure.
1752 ac_old_val_w=`echo x $ac_old_val`
1753 ac_new_val_w=`echo x $ac_new_val`
1754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1755 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1757 ac_cache_corrupted=:
1759 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1761 eval $ac_var=\$ac_old_val
1763 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1765 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1769 # Pass precious variables to config.status.
1770 if test "$ac_new_set" = set; then
1772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1773 *) ac_arg=$ac_var=$ac_new_val ;;
1775 case " $ac_configure_args " in
1776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1777 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 if $ac_cache_corrupted; then
1782 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1784 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1822 am__api_version='1.10'
1825 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1826 if test -f "$ac_dir/install-sh"; then
1828 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 elif test -f "$ac_dir/install.sh"; then
1832 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 elif test -f "$ac_dir/shtool"; then
1836 ac_install_sh="$ac_aux_dir/shtool install -c"
1840 if test -z "$ac_aux_dir"; then
1841 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1842 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1843 { (exit 1); exit 1; }; }
1846 # These three variables are undocumented and unsupported,
1847 # and are intended to be withdrawn in a future Autoconf release.
1848 # They can cause serious problems if a builder's source tree is in a directory
1849 # whose full name contains unusual characters.
1850 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1851 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1852 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1855 # Find a good install program. We prefer a C program (faster),
1856 # so one script is as good as another. But avoid the broken or
1857 # incompatible versions:
1858 # SysV /etc/install, /usr/sbin/install
1859 # SunOS /usr/etc/install
1860 # IRIX /sbin/install
1862 # AmigaOS /C/install, which installs bootblocks on floppy discs
1863 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1864 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1865 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1866 # OS/2's system install, which has a completely different semantic
1867 # ./install, which can be erroneously created by make from ./install.sh.
1868 # Reject install programs that cannot install multiple files.
1869 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1870 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1871 if test -z "$INSTALL"; then
1872 if test "${ac_cv_path_install+set}" = set; then
1873 $as_echo_n "(cached) " >&6
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879 test -z "$as_dir" && as_dir=.
1880 # Account for people who put trailing slashes in PATH elements.
1882 ./ | .// | /cC/* | \
1883 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1884 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1887 # OSF1 and SCO ODT 3.0 have their own names for install.
1888 # Don't use installbsd from OSF since it installs stuff as root
1890 for ac_prog in ginstall scoinst install; do
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1893 if test $ac_prog = install &&
1894 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1895 # AIX install. It has an incompatible calling convention.
1897 elif test $ac_prog = install &&
1898 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1899 # program-specific install script used by HP pwplus--don't use.
1902 rm -rf conftest.one conftest.two conftest.dir
1903 echo one > conftest.one
1904 echo two > conftest.two
1906 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1907 test -s conftest.one && test -s conftest.two &&
1908 test -s conftest.dir/conftest.one &&
1909 test -s conftest.dir/conftest.two
1911 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1924 rm -rf conftest.one conftest.two conftest.dir
1927 if test "${ac_cv_path_install+set}" = set; then
1928 INSTALL=$ac_cv_path_install
1930 # As a last resort, use the slow shell script. Don't cache a
1931 # value for INSTALL within a source directory, because that will
1932 # break other packages using the cache if that directory is
1933 # removed, or if the value is a relative name.
1934 INSTALL=$ac_install_sh
1937 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1938 $as_echo "$INSTALL" >&6; }
1940 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1941 # It thinks the first close brace ends the variable substitution.
1942 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1944 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1946 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1948 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1949 $as_echo_n "checking whether build environment is sane... " >&6; }
1952 echo timestamp > conftest.file
1953 # Do `set' in a subshell so we don't clobber the current shell's
1954 # arguments. Must try -L first in case configure is actually a
1955 # symlink; some systems play weird games with the mod time of symlinks
1956 # (eg FreeBSD returns the mod time of the symlink's containing
1959 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1960 if test "$*" = "X"; then
1962 set X `ls -t $srcdir/configure conftest.file`
1965 if test "$*" != "X $srcdir/configure conftest.file" \
1966 && test "$*" != "X conftest.file $srcdir/configure"; then
1968 # If neither matched, then we have a broken ls. This can happen
1969 # if, for instance, CONFIG_SHELL is bash and it inherits a
1970 # broken ls alias from the environment. This has actually
1971 # happened. Such a system could not be considered "sane".
1972 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1973 alias in your environment" >&5
1974 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1975 alias in your environment" >&2;}
1976 { (exit 1); exit 1; }; }
1979 test "$2" = conftest.file
1985 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1986 Check your system clock" >&5
1987 $as_echo "$as_me: error: newly created file is older than distributed files!
1988 Check your system clock" >&2;}
1989 { (exit 1); exit 1; }; }
1991 { $as_echo "$as_me:$LINENO: result: yes" >&5
1992 $as_echo "yes" >&6; }
1993 test "$program_prefix" != NONE &&
1994 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1995 # Use a double $ so make ignores it.
1996 test "$program_suffix" != NONE &&
1997 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1998 # Double any \ or $.
1999 # By default was `s,x,x', remove it if useless.
2000 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2001 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2003 # expand $ac_aux_dir to an absolute path
2004 am_aux_dir=`cd $ac_aux_dir && pwd`
2006 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2007 # Use eval to expand $SHELL
2008 if eval "$MISSING --run true"; then
2009 am_missing_run="$MISSING --run "
2012 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2013 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2016 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2017 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2018 if test -z "$MKDIR_P"; then
2019 if test "${ac_cv_path_mkdir+set}" = set; then
2020 $as_echo_n "(cached) " >&6
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2026 test -z "$as_dir" && as_dir=.
2027 for ac_prog in mkdir gmkdir; do
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2030 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2031 'mkdir (GNU coreutils) '* | \
2032 'mkdir (coreutils) '* | \
2033 'mkdir (fileutils) '4.1*)
2034 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2044 if test "${ac_cv_path_mkdir+set}" = set; then
2045 MKDIR_P="$ac_cv_path_mkdir -p"
2047 # As a last resort, use the slow shell script. Don't cache a
2048 # value for MKDIR_P within a source directory, because that will
2049 # break other packages using the cache if that directory is
2050 # removed, or if the value is a relative name.
2051 test -d ./--version && rmdir ./--version
2052 MKDIR_P="$ac_install_sh -d"
2055 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2056 $as_echo "$MKDIR_P" >&6; }
2060 [\\/$]* | ?:[\\/]*) ;;
2061 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2064 for ac_prog in gawk mawk nawk awk
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 $as_echo_n "checking for $ac_word... " >&6; }
2070 if test "${ac_cv_prog_AWK+set}" = set; then
2071 $as_echo_n "(cached) " >&6
2073 if test -n "$AWK"; then
2074 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_AWK="$ac_prog"
2084 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$AWK"; then
2095 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2096 $as_echo "$AWK" >&6; }
2098 { $as_echo "$as_me:$LINENO: result: no" >&5
2099 $as_echo "no" >&6; }
2103 test -n "$AWK" && break
2106 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2107 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2109 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2110 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2111 $as_echo_n "(cached) " >&6
2113 cat >conftest.make <<\_ACEOF
2116 @echo '@@@%%%=$(MAKE)=@@@%%%'
2118 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2119 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2121 eval ac_cv_prog_make_${ac_make}_set=yes;;
2123 eval ac_cv_prog_make_${ac_make}_set=no;;
2127 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2128 { $as_echo "$as_me:$LINENO: result: yes" >&5
2129 $as_echo "yes" >&6; }
2132 { $as_echo "$as_me:$LINENO: result: no" >&5
2133 $as_echo "no" >&6; }
2134 SET_MAKE="MAKE=${MAKE-make}"
2137 rm -rf .tst 2>/dev/null
2138 mkdir .tst 2>/dev/null
2139 if test -d .tst; then
2144 rmdir .tst 2>/dev/null
2146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2147 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2148 # is not polluted with repeated "-I."
2149 am__isrc=' -I$(srcdir)'
2150 # test to see if srcdir already configured
2151 if test -f $srcdir/config.status; then
2152 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2153 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2154 { (exit 1); exit 1; }; }
2158 # test whether we have cygpath
2159 if test -z "$CYGPATH_W"; then
2160 if (cygpath --version) >/dev/null 2>/dev/null; then
2161 CYGPATH_W='cygpath -w'
2168 # Define the identity of the package.
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE "$PACKAGE"
2178 cat >>confdefs.h <<_ACEOF
2179 #define VERSION "$VERSION"
2182 # Some tools Automake needs.
2184 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2187 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2190 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2193 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2196 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2198 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2200 # Installed binaries are usually stripped using `strip' when the user
2201 # run `make install-strip'. However `strip' might not be the right
2202 # tool to use in cross-compilation environments, therefore Automake
2203 # will honor the `STRIP' environment variable to overrule this program.
2204 if test "$cross_compiling" != no; then
2205 if test -n "$ac_tool_prefix"; then
2206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2207 set dummy ${ac_tool_prefix}strip; ac_word=$2
2208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2209 $as_echo_n "checking for $ac_word... " >&6; }
2210 if test "${ac_cv_prog_STRIP+set}" = set; then
2211 $as_echo_n "(cached) " >&6
2213 if test -n "$STRIP"; then
2214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir=.
2221 for ac_exec_ext in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2224 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 STRIP=$ac_cv_prog_STRIP
2234 if test -n "$STRIP"; then
2235 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2236 $as_echo "$STRIP" >&6; }
2238 { $as_echo "$as_me:$LINENO: result: no" >&5
2239 $as_echo "no" >&6; }
2244 if test -z "$ac_cv_prog_STRIP"; then
2246 # Extract the first word of "strip", so it can be a program name with args.
2247 set dummy strip; ac_word=$2
2248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2249 $as_echo_n "checking for $ac_word... " >&6; }
2250 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2251 $as_echo_n "(cached) " >&6
2253 if test -n "$ac_ct_STRIP"; then
2254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir=.
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 ac_cv_prog_ac_ct_STRIP="strip"
2264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2274 if test -n "$ac_ct_STRIP"; then
2275 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2276 $as_echo "$ac_ct_STRIP" >&6; }
2278 { $as_echo "$as_me:$LINENO: result: no" >&5
2279 $as_echo "no" >&6; }
2282 if test "x$ac_ct_STRIP" = x; then
2285 case $cross_compiling:$ac_tool_warned in
2287 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2289 ac_tool_warned=yes ;;
2294 STRIP="$ac_cv_prog_STRIP"
2298 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2300 # We need awk for the "check" target. The system "awk" is bad on
2302 # Always define AMTAR for backward compatibility.
2304 AMTAR=${AMTAR-"${am_missing_run}tar"}
2306 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2313 ac_config_headers="$ac_config_headers config.h"
2316 # Checks for programs.
2318 ac_cpp='$CPP $CPPFLAGS'
2319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2322 if test -n "$ac_tool_prefix"; then
2323 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2324 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2325 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
2327 if test "${ac_cv_prog_CC+set}" = set; then
2328 $as_echo_n "(cached) " >&6
2330 if test -n "$CC"; then
2331 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}gcc"
2341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test -n "$CC"; then
2352 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2353 $as_echo "$CC" >&6; }
2355 { $as_echo "$as_me:$LINENO: result: no" >&5
2356 $as_echo "no" >&6; }
2361 if test -z "$ac_cv_prog_CC"; then
2363 # Extract the first word of "gcc", so it can be a program name with args.
2364 set dummy gcc; ac_word=$2
2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2368 $as_echo_n "(cached) " >&6
2370 if test -n "$ac_ct_CC"; then
2371 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 ac_cv_prog_ac_ct_CC="gcc"
2381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2391 if test -n "$ac_ct_CC"; then
2392 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2393 $as_echo "$ac_ct_CC" >&6; }
2395 { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2399 if test "x$ac_ct_CC" = x; then
2402 case $cross_compiling:$ac_tool_warned in
2404 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2406 ac_tool_warned=yes ;;
2414 if test -z "$CC"; then
2415 if test -n "$ac_tool_prefix"; then
2416 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2417 set dummy ${ac_tool_prefix}cc; ac_word=$2
2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if test "${ac_cv_prog_CC+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$CC"; then
2424 ac_cv_prog_CC="$CC" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_CC="${ac_tool_prefix}cc"
2434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 if test -n "$CC"; then
2445 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2446 $as_echo "$CC" >&6; }
2448 { $as_echo "$as_me:$LINENO: result: no" >&5
2449 $as_echo "no" >&6; }
2455 if test -z "$CC"; then
2456 # Extract the first word of "cc", so it can be a program name with args.
2457 set dummy cc; ac_word=$2
2458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
2460 if test "${ac_cv_prog_CC+set}" = set; then
2461 $as_echo_n "(cached) " >&6
2463 if test -n "$CC"; then
2464 ac_cv_prog_CC="$CC" # Let the user override the test.
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2475 ac_prog_rejected=yes
2479 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test $ac_prog_rejected = yes; then
2487 # We found a bogon in the path, so make sure we never use it.
2488 set dummy $ac_cv_prog_CC
2490 if test $# != 0; then
2491 # We chose a different compiler from the bogus one.
2492 # However, it has the same basename, so the bogon will be chosen
2493 # first if we set CC to just the basename; use the full file name.
2495 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2501 if test -n "$CC"; then
2502 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2503 $as_echo "$CC" >&6; }
2505 { $as_echo "$as_me:$LINENO: result: no" >&5
2506 $as_echo "no" >&6; }
2511 if test -z "$CC"; then
2512 if test -n "$ac_tool_prefix"; then
2513 for ac_prog in cl.exe
2515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_CC+set}" = set; then
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$CC"; then
2523 ac_cv_prog_CC="$CC" # Let the user override the test.
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test -n "$CC"; then
2544 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2545 $as_echo "$CC" >&6; }
2547 { $as_echo "$as_me:$LINENO: result: no" >&5
2548 $as_echo "no" >&6; }
2552 test -n "$CC" && break
2555 if test -z "$CC"; then
2557 for ac_prog in cl.exe
2559 # Extract the first word of "$ac_prog", so it can be a program name with args.
2560 set dummy $ac_prog; ac_word=$2
2561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 $as_echo_n "checking for $ac_word... " >&6; }
2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2564 $as_echo_n "(cached) " >&6
2566 if test -n "$ac_ct_CC"; then
2567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2573 test -z "$as_dir" && as_dir=.
2574 for ac_exec_ext in '' $ac_executable_extensions; do
2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2576 ac_cv_prog_ac_ct_CC="$ac_prog"
2577 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 $as_echo "$ac_ct_CC" >&6; }
2591 { $as_echo "$as_me:$LINENO: result: no" >&5
2592 $as_echo "no" >&6; }
2596 test -n "$ac_ct_CC" && break
2599 if test "x$ac_ct_CC" = x; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2615 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2618 See \`config.log' for more details." >&5
2619 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }; }
2623 # Provide some information about the compiler.
2624 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2627 { (ac_try="$ac_compiler --version >&5"
2629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630 *) ac_try_echo=$ac_try;;
2632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2633 $as_echo "$ac_try_echo") >&5
2634 (eval "$ac_compiler --version >&5") 2>&5
2636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }
2638 { (ac_try="$ac_compiler -v >&5"
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2644 $as_echo "$ac_try_echo") >&5
2645 (eval "$ac_compiler -v >&5") 2>&5
2647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }
2649 { (ac_try="$ac_compiler -V >&5"
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2655 $as_echo "$ac_try_echo") >&5
2656 (eval "$ac_compiler -V >&5") 2>&5
2658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }
2661 cat >conftest.$ac_ext <<_ACEOF
2664 cat confdefs.h >>conftest.$ac_ext
2665 cat >>conftest.$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2676 ac_clean_files_save=$ac_clean_files
2677 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2678 # Try to create an executable without -o first, disregard a.out.
2679 # It will help us diagnose broken compilers, and finding out an intuition
2681 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2682 $as_echo_n "checking for C compiler default output file name... " >&6; }
2683 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2685 # The possible output files:
2686 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2689 for ac_file in $ac_files
2692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2693 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2698 if { (ac_try="$ac_link_default"
2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2701 *) ac_try_echo=$ac_try;;
2703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2704 $as_echo "$ac_try_echo") >&5
2705 (eval "$ac_link_default") 2>&5
2707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; then
2709 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2710 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2711 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2712 # so that the user can short-circuit this test for compilers unknown to
2714 for ac_file in $ac_files ''
2716 test -f "$ac_file" || continue
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2721 # We found the default executable, but exeext='' is most
2725 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2727 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2729 # We set ac_cv_exeext here because the later test for it is not
2730 # safe: cross compilers may not add the suffix if given an `-o'
2731 # argument, so we may need to know it at that point already.
2732 # Even if this section looks crufty: it has the advantage of
2739 test "$ac_cv_exeext" = no && ac_cv_exeext=
2745 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2746 $as_echo "$ac_file" >&6; }
2747 if test -z "$ac_file"; then
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2754 See \`config.log' for more details." >&5
2755 $as_echo "$as_me: error: C compiler cannot create executables
2756 See \`config.log' for more details." >&2;}
2757 { (exit 77); exit 77; }; }; }
2760 ac_exeext=$ac_cv_exeext
2762 # Check that the compiler produces executables we can run. If not, either
2763 # the compiler is broken, or we cross compile.
2764 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2765 $as_echo_n "checking whether the C compiler works... " >&6; }
2766 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2767 # If not cross compiling, check that we can run a simple program.
2768 if test "$cross_compiling" != yes; then
2769 if { ac_try='./$ac_file'
2770 { (case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2775 $as_echo "$ac_try_echo") >&5
2776 (eval "$ac_try") 2>&5
2778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2782 if test "$cross_compiling" = maybe; then
2785 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2787 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2788 If you meant to cross compile, use \`--host'.
2789 See \`config.log' for more details." >&5
2790 $as_echo "$as_me: error: cannot run C compiled programs.
2791 If you meant to cross compile, use \`--host'.
2792 See \`config.log' for more details." >&2;}
2793 { (exit 1); exit 1; }; }; }
2797 { $as_echo "$as_me:$LINENO: result: yes" >&5
2798 $as_echo "yes" >&6; }
2800 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2801 ac_clean_files=$ac_clean_files_save
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2805 $as_echo_n "checking whether we are cross compiling... " >&6; }
2806 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2807 $as_echo "$cross_compiling" >&6; }
2809 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2810 $as_echo_n "checking for suffix of executables... " >&6; }
2811 if { (ac_try="$ac_link"
2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2814 *) ac_try_echo=$ac_try;;
2816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2817 $as_echo "$ac_try_echo") >&5
2818 (eval "$ac_link") 2>&5
2820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; then
2822 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2823 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2824 # work properly (i.e., refer to `conftest.exe'), while it won't with
2826 for ac_file in conftest.exe conftest conftest.*; do
2827 test -f "$ac_file" || continue
2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2830 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2836 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2838 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2839 See \`config.log' for more details." >&5
2840 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2841 See \`config.log' for more details." >&2;}
2842 { (exit 1); exit 1; }; }; }
2845 rm -f conftest$ac_cv_exeext
2846 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2847 $as_echo "$ac_cv_exeext" >&6; }
2849 rm -f conftest.$ac_ext
2850 EXEEXT=$ac_cv_exeext
2852 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2853 $as_echo_n "checking for suffix of object files... " >&6; }
2854 if test "${ac_cv_objext+set}" = set; then
2855 $as_echo_n "(cached) " >&6
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 rm -f conftest.o conftest.obj
2873 if { (ac_try="$ac_compile"
2875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879 $as_echo "$ac_try_echo") >&5
2880 (eval "$ac_compile") 2>&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; then
2884 for ac_file in conftest.o conftest.obj conftest.*; do
2885 test -f "$ac_file" || continue;
2887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2888 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2898 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2899 See \`config.log' for more details." >&5
2900 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2901 See \`config.log' for more details." >&2;}
2902 { (exit 1); exit 1; }; }; }
2905 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2907 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2908 $as_echo "$ac_cv_objext" >&6; }
2909 OBJEXT=$ac_cv_objext
2911 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2913 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2914 $as_echo_n "(cached) " >&6
2916 cat >conftest.$ac_ext <<_ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2934 rm -f conftest.$ac_objext
2935 if { (ac_try="$ac_compile"
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2940 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2941 $as_echo "$ac_try_echo") >&5
2942 (eval "$ac_compile") 2>conftest.er1
2944 grep -v '^ *+' conftest.er1 >conftest.err
2946 cat conftest.err >&5
2947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2961 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2964 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2965 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2966 if test $ac_compiler_gnu = yes; then
2971 ac_test_CFLAGS=${CFLAGS+set}
2972 ac_save_CFLAGS=$CFLAGS
2973 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2974 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2975 if test "${ac_cv_prog_cc_g+set}" = set; then
2976 $as_echo_n "(cached) " >&6
2978 ac_save_c_werror_flag=$ac_c_werror_flag
2979 ac_c_werror_flag=yes
2982 cat >conftest.$ac_ext <<_ACEOF
2985 cat confdefs.h >>conftest.$ac_ext
2986 cat >>conftest.$ac_ext <<_ACEOF
2987 /* end confdefs.h. */
2997 rm -f conftest.$ac_objext
2998 if { (ac_try="$ac_compile"
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3004 $as_echo "$ac_try_echo") >&5
3005 (eval "$ac_compile") 2>conftest.er1
3007 grep -v '^ *+' conftest.er1 >conftest.err
3009 cat conftest.err >&5
3010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); } && {
3012 test -z "$ac_c_werror_flag" ||
3013 test ! -s conftest.err
3014 } && test -s conftest.$ac_objext; then
3017 $as_echo "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3021 cat >conftest.$ac_ext <<_ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3036 rm -f conftest.$ac_objext
3037 if { (ac_try="$ac_compile"
3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 *) ac_try_echo=$ac_try;;
3042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3043 $as_echo "$ac_try_echo") >&5
3044 (eval "$ac_compile") 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } && {
3051 test -z "$ac_c_werror_flag" ||
3052 test ! -s conftest.err
3053 } && test -s conftest.$ac_objext; then
3056 $as_echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.$ac_ext >&5
3059 ac_c_werror_flag=$ac_save_c_werror_flag
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3086 grep -v '^ *+' conftest.er1 >conftest.err
3088 cat conftest.err >&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 ac_c_werror_flag=$ac_save_c_werror_flag
3111 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3112 $as_echo "$ac_cv_prog_cc_g" >&6; }
3113 if test "$ac_test_CFLAGS" = set; then
3114 CFLAGS=$ac_save_CFLAGS
3115 elif test $ac_cv_prog_cc_g = yes; then
3116 if test "$GCC" = yes; then
3122 if test "$GCC" = yes; then
3128 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3129 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3130 if test "${ac_cv_prog_cc_c89+set}" = set; then
3131 $as_echo_n "(cached) " >&6
3133 ac_cv_prog_cc_c89=no
3135 cat >conftest.$ac_ext <<_ACEOF
3138 cat confdefs.h >>conftest.$ac_ext
3139 cat >>conftest.$ac_ext <<_ACEOF
3140 /* end confdefs.h. */
3143 #include <sys/types.h>
3144 #include <sys/stat.h>
3145 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3146 struct buf { int x; };
3147 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3148 static char *e (p, i)
3154 static char *f (char * (*g) (char **, int), char **p, ...)
3159 s = g (p, va_arg (v,int));
3164 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3165 function prototypes and stuff, but not '\xHH' hex character constants.
3166 These don't provoke an error unfortunately, instead are silently treated
3167 as 'x'. The following induces an error, until -std is added to get
3168 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3169 array size at least. It's necessary to write '\x00'==0 to get something
3170 that's true only with -std. */
3171 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3173 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3174 inside strings and character constants. */
3176 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3178 int test (int i, double x);
3179 struct s1 {int (*f) (int a);};
3180 struct s2 {int (*f) (double a);};
3181 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3187 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3192 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3193 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3195 CC="$ac_save_CC $ac_arg"
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3203 $as_echo "$ac_try_echo") >&5
3204 (eval "$ac_compile") 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } && {
3211 test -z "$ac_c_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then
3214 ac_cv_prog_cc_c89=$ac_arg
3216 $as_echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3222 rm -f core conftest.err conftest.$ac_objext
3223 test "x$ac_cv_prog_cc_c89" != "xno" && break
3225 rm -f conftest.$ac_ext
3230 case "x$ac_cv_prog_cc_c89" in
3232 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3233 $as_echo "none needed" >&6; } ;;
3235 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3236 $as_echo "unsupported" >&6; } ;;
3238 CC="$CC $ac_cv_prog_cc_c89"
3239 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3240 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3245 ac_cpp='$CPP $CPPFLAGS'
3246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249 DEPDIR="${am__leading_dot}deps"
3251 ac_config_commands="$ac_config_commands depfiles"
3254 am_make=${MAKE-make}
3255 cat > confinc << 'END'
3260 # If we don't find an include directive, just comment out the code.
3261 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3262 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3266 # First try GNU make style include.
3267 echo "include confinc" > confmf
3268 # We grep out `Entering directory' and `Leaving directory'
3269 # messages which can occur if `w' ends up in MAKEFLAGS.
3270 # In particular we don't look at `^make:' because GNU make might
3271 # be invoked under some other name (usually "gmake"), in which
3272 # case it prints its new name instead of `make'.
3273 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3278 # Now try BSD make style include.
3279 if test "$am__include" = "#"; then
3280 echo '.include "confinc"' > confmf
3281 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3282 am__include=.include
3289 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3290 $as_echo "$_am_result" >&6; }
3291 rm -f confinc confmf
3293 # Check whether --enable-dependency-tracking was given.
3294 if test "${enable_dependency_tracking+set}" = set; then
3295 enableval=$enable_dependency_tracking;
3298 if test "x$enable_dependency_tracking" != xno; then
3299 am_depcomp="$ac_aux_dir/depcomp"
3302 if test "x$enable_dependency_tracking" != xno; then
3312 depcc="$CC" am_compiler_list=
3314 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3315 $as_echo_n "checking dependency style of $depcc... " >&6; }
3316 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3317 $as_echo_n "(cached) " >&6
3319 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3320 # We make a subdir and do the tests there. Otherwise we can end up
3321 # making bogus files that we don't know about and never remove. For
3322 # instance it was reported that on HP-UX the gcc test will end up
3323 # making a dummy file named `D' -- because `-MD' means `put the output
3326 # Copy depcomp to subdir because otherwise we won't find it if we're
3327 # using a relative directory.
3328 cp "$am_depcomp" conftest.dir
3330 # We will build objects and dependencies in a subdirectory because
3331 # it helps to detect inapplicable dependency modes. For instance
3332 # both Tru64's cc and ICC support -MD to output dependencies as a
3333 # side effect of compilation, but ICC will put the dependencies in
3334 # the current directory while Tru64 will put them in the object
3338 am_cv_CC_dependencies_compiler_type=none
3339 if test "$am_compiler_list" = ""; then
3340 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3342 for depmode in $am_compiler_list; do
3343 # Setup a source with many dependencies, because some compilers
3344 # like to wrap large dependency lists on column 80 (with \), and
3345 # we should not choose a depcomp mode which is confused by this.
3347 # We need to recreate these files for each test, as the compiler may
3348 # overwrite some of them when testing with obscure command lines.
3349 # This happens at least with the AIX C compiler.
3351 for i in 1 2 3 4 5 6; do
3352 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3353 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3354 # Solaris 8's {/usr,}/bin/sh.
3355 touch sub/conftst$i.h
3357 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3361 # after this tag, mechanisms are not by side-effect, so they'll
3362 # only be used when explicitly requested
3363 if test "x$enable_dependency_tracking" = xyes; then
3371 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3372 # mode. It turns out that the SunPro C++ compiler does not properly
3373 # handle `-M -o', and we need to detect this.
3374 if depmode=$depmode \
3375 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3376 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3377 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3378 >/dev/null 2>conftest.err &&
3379 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3380 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3381 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3382 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3383 # icc doesn't choke on unknown options, it will just issue warnings
3384 # or remarks (even with -Werror). So we grep stderr for any message
3385 # that says an option was ignored or not supported.
3386 # When given -MP, icc 7.0 and 7.1 complain thusly:
3387 # icc: Command line warning: ignoring option '-M'; no argument required
3388 # The diagnosis changed in icc 8.0:
3389 # icc: Command line remark: option '-MP' not supported
3390 if (grep 'ignoring option' conftest.err ||
3391 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3392 am_cv_CC_dependencies_compiler_type=$depmode
3401 am_cv_CC_dependencies_compiler_type=none
3405 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3406 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3407 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3410 test "x$enable_dependency_tracking" != xno \
3411 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3413 am__fastdepCC_FALSE='#'
3415 am__fastdepCC_TRUE='#'
3416 am__fastdepCC_FALSE=
3421 # Checks for libraries.
3425 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
3426 $as_echo_n "checking for main in -lm... " >&6; }
3427 if test "${ac_cv_lib_m_main+set}" = set; then
3428 $as_echo_n "(cached) " >&6
3430 ac_check_lib_save_LIBS=$LIBS
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3448 rm -f conftest.$ac_objext conftest$ac_exeext
3449 if { (ac_try="$ac_link"
3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3455 $as_echo "$ac_try_echo") >&5
3456 (eval "$ac_link") 2>conftest.er1
3458 grep -v '^ *+' conftest.er1 >conftest.err
3460 cat conftest.err >&5
3461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } && {
3463 test -z "$ac_c_werror_flag" ||
3464 test ! -s conftest.err
3465 } && test -s conftest$ac_exeext && {
3466 test "$cross_compiling" = yes ||
3467 $as_test_x conftest$ac_exeext
3469 ac_cv_lib_m_main=yes
3471 $as_echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3477 rm -rf conftest.dSYM
3478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3479 conftest$ac_exeext conftest.$ac_ext
3480 LIBS=$ac_check_lib_save_LIBS
3482 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3483 $as_echo "$ac_cv_lib_m_main" >&6; }
3484 if test "x$ac_cv_lib_m_main" = x""yes; then
3485 cat >>confdefs.h <<_ACEOF
3494 # Checks for header files.
3496 ac_cpp='$CPP $CPPFLAGS'
3497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3500 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3501 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3502 # On Suns, sometimes $CPP names a directory.
3503 if test -n "$CPP" && test -d "$CPP"; then
3506 if test -z "$CPP"; then
3507 if test "${ac_cv_prog_CPP+set}" = set; then
3508 $as_echo_n "(cached) " >&6
3510 # Double quotes because CPP needs to be expanded
3511 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3514 for ac_c_preproc_warn_flag in '' yes
3516 # Use a header file that comes with gcc, so configuring glibc
3517 # with a fresh cross-compiler works.
3518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3519 # <limits.h> exists even on freestanding compilers.
3520 # On the NeXT, cc -E runs the code through the compiler's parser,
3521 # not just through cpp. "Syntax error" is here to catch this case.
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3529 # include <limits.h>
3531 # include <assert.h>
3535 if { (ac_try="$ac_cpp conftest.$ac_ext"
3537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538 *) ac_try_echo=$ac_try;;
3540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3541 $as_echo "$ac_try_echo") >&5
3542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3544 grep -v '^ *+' conftest.er1 >conftest.err
3546 cat conftest.err >&5
3547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); } >/dev/null && {
3549 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3550 test ! -s conftest.err
3554 $as_echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.$ac_ext >&5
3557 # Broken: fails on valid input.
3561 rm -f conftest.err conftest.$ac_ext
3563 # OK, works on sane cases. Now check whether nonexistent headers
3564 # can be detected and how.
3565 cat >conftest.$ac_ext <<_ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3571 #include <ac_nonexistent.h>
3573 if { (ac_try="$ac_cpp conftest.$ac_ext"
3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576 *) ac_try_echo=$ac_try;;
3578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3579 $as_echo "$ac_try_echo") >&5
3580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3582 grep -v '^ *+' conftest.er1 >conftest.err
3584 cat conftest.err >&5
3585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } >/dev/null && {
3587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3588 test ! -s conftest.err
3590 # Broken: success on invalid input.
3593 $as_echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.$ac_ext >&5
3596 # Passes both tests.
3601 rm -f conftest.err conftest.$ac_ext
3604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3605 rm -f conftest.err conftest.$ac_ext
3606 if $ac_preproc_ok; then
3618 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3619 $as_echo "$CPP" >&6; }
3621 for ac_c_preproc_warn_flag in '' yes
3623 # Use a header file that comes with gcc, so configuring glibc
3624 # with a fresh cross-compiler works.
3625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3626 # <limits.h> exists even on freestanding compilers.
3627 # On the NeXT, cc -E runs the code through the compiler's parser,
3628 # not just through cpp. "Syntax error" is here to catch this case.
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3636 # include <limits.h>
3638 # include <assert.h>
3642 if { (ac_try="$ac_cpp conftest.$ac_ext"
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3648 $as_echo "$ac_try_echo") >&5
3649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3651 grep -v '^ *+' conftest.er1 >conftest.err
3653 cat conftest.err >&5
3654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); } >/dev/null && {
3656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3657 test ! -s conftest.err
3661 $as_echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3664 # Broken: fails on valid input.
3668 rm -f conftest.err conftest.$ac_ext
3670 # OK, works on sane cases. Now check whether nonexistent headers
3671 # can be detected and how.
3672 cat >conftest.$ac_ext <<_ACEOF
3675 cat confdefs.h >>conftest.$ac_ext
3676 cat >>conftest.$ac_ext <<_ACEOF
3677 /* end confdefs.h. */
3678 #include <ac_nonexistent.h>
3680 if { (ac_try="$ac_cpp conftest.$ac_ext"
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3686 $as_echo "$ac_try_echo") >&5
3687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3689 grep -v '^ *+' conftest.er1 >conftest.err
3691 cat conftest.err >&5
3692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } >/dev/null && {
3694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3695 test ! -s conftest.err
3697 # Broken: success on invalid input.
3700 $as_echo "$as_me: failed program was:" >&5
3701 sed 's/^/| /' conftest.$ac_ext >&5
3703 # Passes both tests.
3708 rm -f conftest.err conftest.$ac_ext
3711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3712 rm -f conftest.err conftest.$ac_ext
3713 if $ac_preproc_ok; then
3716 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3718 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3719 See \`config.log' for more details." >&5
3720 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3721 See \`config.log' for more details." >&2;}
3722 { (exit 1); exit 1; }; }; }
3726 ac_cpp='$CPP $CPPFLAGS'
3727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3733 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3734 if test "${ac_cv_path_GREP+set}" = set; then
3735 $as_echo_n "(cached) " >&6
3737 if test -z "$GREP"; then
3738 ac_path_GREP_found=false
3739 # Loop through the user's path and test for each of PROGNAME-LIST
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3744 test -z "$as_dir" && as_dir=.
3745 for ac_prog in grep ggrep; do
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3749 # Check for GNU ac_path_GREP and select it if it is found.
3750 # Check for GNU $ac_path_GREP
3751 case `"$ac_path_GREP" --version 2>&1` in
3753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3756 $as_echo_n 0123456789 >"conftest.in"
3759 cat "conftest.in" "conftest.in" >"conftest.tmp"
3760 mv "conftest.tmp" "conftest.in"
3761 cp "conftest.in" "conftest.nl"
3762 $as_echo 'GREP' >> "conftest.nl"
3763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3765 ac_count=`expr $ac_count + 1`
3766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3767 # Best one so far, save it but keep looking for a better one
3768 ac_cv_path_GREP="$ac_path_GREP"
3769 ac_path_GREP_max=$ac_count
3771 # 10*(2^10) chars as input seems more than enough
3772 test $ac_count -gt 10 && break
3774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3777 $ac_path_GREP_found && break 3
3782 if test -z "$ac_cv_path_GREP"; then
3783 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3784 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3785 { (exit 1); exit 1; }; }
3788 ac_cv_path_GREP=$GREP
3792 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3793 $as_echo "$ac_cv_path_GREP" >&6; }
3794 GREP="$ac_cv_path_GREP"
3797 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3798 $as_echo_n "checking for egrep... " >&6; }
3799 if test "${ac_cv_path_EGREP+set}" = set; then
3800 $as_echo_n "(cached) " >&6
3802 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3803 then ac_cv_path_EGREP="$GREP -E"
3805 if test -z "$EGREP"; then
3806 ac_path_EGREP_found=false
3807 # Loop through the user's path and test for each of PROGNAME-LIST
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3812 test -z "$as_dir" && as_dir=.
3813 for ac_prog in egrep; do
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3816 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3817 # Check for GNU ac_path_EGREP and select it if it is found.
3818 # Check for GNU $ac_path_EGREP
3819 case `"$ac_path_EGREP" --version 2>&1` in
3821 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3824 $as_echo_n 0123456789 >"conftest.in"
3827 cat "conftest.in" "conftest.in" >"conftest.tmp"
3828 mv "conftest.tmp" "conftest.in"
3829 cp "conftest.in" "conftest.nl"
3830 $as_echo 'EGREP' >> "conftest.nl"
3831 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3832 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3833 ac_count=`expr $ac_count + 1`
3834 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3835 # Best one so far, save it but keep looking for a better one
3836 ac_cv_path_EGREP="$ac_path_EGREP"
3837 ac_path_EGREP_max=$ac_count
3839 # 10*(2^10) chars as input seems more than enough
3840 test $ac_count -gt 10 && break
3842 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3845 $ac_path_EGREP_found && break 3
3850 if test -z "$ac_cv_path_EGREP"; then
3851 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3852 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3853 { (exit 1); exit 1; }; }
3856 ac_cv_path_EGREP=$EGREP
3861 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3862 $as_echo "$ac_cv_path_EGREP" >&6; }
3863 EGREP="$ac_cv_path_EGREP"
3866 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3867 $as_echo_n "checking for ANSI C header files... " >&6; }
3868 if test "${ac_cv_header_stdc+set}" = set; then
3869 $as_echo_n "(cached) " >&6
3871 cat >conftest.$ac_ext <<_ACEOF
3874 cat confdefs.h >>conftest.$ac_ext
3875 cat >>conftest.$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3890 rm -f conftest.$ac_objext
3891 if { (ac_try="$ac_compile"
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3897 $as_echo "$ac_try_echo") >&5
3898 (eval "$ac_compile") 2>conftest.er1
3900 grep -v '^ *+' conftest.er1 >conftest.err
3902 cat conftest.err >&5
3903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); } && {
3905 test -z "$ac_c_werror_flag" ||
3906 test ! -s conftest.err
3907 } && test -s conftest.$ac_objext; then
3908 ac_cv_header_stdc=yes
3910 $as_echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.$ac_ext >&5
3913 ac_cv_header_stdc=no
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 if test $ac_cv_header_stdc = yes; then
3919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3920 cat >conftest.$ac_ext <<_ACEOF
3923 cat confdefs.h >>conftest.$ac_ext
3924 cat >>conftest.$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3930 $EGREP "memchr" >/dev/null 2>&1; then
3933 ac_cv_header_stdc=no
3939 if test $ac_cv_header_stdc = yes; then
3940 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3941 cat >conftest.$ac_ext <<_ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3951 $EGREP "free" >/dev/null 2>&1; then
3954 ac_cv_header_stdc=no
3960 if test $ac_cv_header_stdc = yes; then
3961 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3962 if test "$cross_compiling" = yes; then
3965 cat >conftest.$ac_ext <<_ACEOF
3968 cat confdefs.h >>conftest.$ac_ext
3969 cat >>conftest.$ac_ext <<_ACEOF
3970 /* end confdefs.h. */
3973 #if ((' ' & 0x0FF) == 0x020)
3974 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3975 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3977 # define ISLOWER(c) \
3978 (('a' <= (c) && (c) <= 'i') \
3979 || ('j' <= (c) && (c) <= 'r') \
3980 || ('s' <= (c) && (c) <= 'z'))
3981 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3984 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3989 for (i = 0; i < 256; i++)
3990 if (XOR (islower (i), ISLOWER (i))
3991 || toupper (i) != TOUPPER (i))
3996 rm -f conftest$ac_exeext
3997 if { (ac_try="$ac_link"
3999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000 *) ac_try_echo=$ac_try;;
4002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4003 $as_echo "$ac_try_echo") >&5
4004 (eval "$ac_link") 2>&5
4006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4008 { (case "(($ac_try" in
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4013 $as_echo "$ac_try_echo") >&5
4014 (eval "$ac_try") 2>&5
4016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4020 $as_echo "$as_me: program exited with status $ac_status" >&5
4021 $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4025 ac_cv_header_stdc=no
4027 rm -rf conftest.dSYM
4028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4034 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4035 $as_echo "$ac_cv_header_stdc" >&6; }
4036 if test $ac_cv_header_stdc = yes; then
4038 cat >>confdefs.h <<\_ACEOF
4039 #define STDC_HEADERS 1
4044 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4054 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4055 inttypes.h stdint.h unistd.h
4057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4058 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4059 $as_echo_n "checking for $ac_header... " >&6; }
4060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4061 $as_echo_n "(cached) " >&6
4063 cat >conftest.$ac_ext <<_ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4069 $ac_includes_default
4071 #include <$ac_header>
4073 rm -f conftest.$ac_objext
4074 if { (ac_try="$ac_compile"
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4080 $as_echo "$ac_try_echo") >&5
4081 (eval "$ac_compile") 2>conftest.er1
4083 grep -v '^ *+' conftest.er1 >conftest.err
4085 cat conftest.err >&5
4086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } && {
4088 test -z "$ac_c_werror_flag" ||
4089 test ! -s conftest.err
4090 } && test -s conftest.$ac_objext; then
4091 eval "$as_ac_Header=yes"
4093 $as_echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4096 eval "$as_ac_Header=no"
4099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4101 ac_res=`eval 'as_val=${'$as_ac_Header'}
4102 $as_echo "$as_val"'`
4103 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4104 $as_echo "$ac_res" >&6; }
4105 as_val=`eval 'as_val=${'$as_ac_Header'}
4106 $as_echo "$as_val"'`
4107 if test "x$as_val" = x""yes; then
4108 cat >>confdefs.h <<_ACEOF
4109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4121 for ac_header in stdlib.h string.h sys/time.h unistd.h
4123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4125 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4126 $as_echo_n "checking for $ac_header... " >&6; }
4127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4128 $as_echo_n "(cached) " >&6
4130 ac_res=`eval 'as_val=${'$as_ac_Header'}
4131 $as_echo "$as_val"'`
4132 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4133 $as_echo "$ac_res" >&6; }
4135 # Is the header compilable?
4136 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4137 $as_echo_n "checking $ac_header usability... " >&6; }
4138 cat >conftest.$ac_ext <<_ACEOF
4141 cat confdefs.h >>conftest.$ac_ext
4142 cat >>conftest.$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 $ac_includes_default
4145 #include <$ac_header>
4147 rm -f conftest.$ac_objext
4148 if { (ac_try="$ac_compile"
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154 $as_echo "$ac_try_echo") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^ *+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4165 ac_header_compiler=yes
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 ac_header_compiler=no
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4175 $as_echo "$ac_header_compiler" >&6; }
4177 # Is the header present?
4178 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4179 $as_echo_n "checking $ac_header presence... " >&6; }
4180 cat >conftest.$ac_ext <<_ACEOF
4183 cat confdefs.h >>conftest.$ac_ext
4184 cat >>conftest.$ac_ext <<_ACEOF
4185 /* end confdefs.h. */
4186 #include <$ac_header>
4188 if { (ac_try="$ac_cpp conftest.$ac_ext"
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4194 $as_echo "$ac_try_echo") >&5
4195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4197 grep -v '^ *+' conftest.er1 >conftest.err
4199 cat conftest.err >&5
4200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } >/dev/null && {
4202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4205 ac_header_preproc=yes
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_header_preproc=no
4213 rm -f conftest.err conftest.$ac_ext
4214 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4215 $as_echo "$ac_header_preproc" >&6; }
4217 # So? What about this header?
4218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4221 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4224 ac_header_preproc=yes
4227 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4228 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4229 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4230 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4231 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4232 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4233 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4234 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4235 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4236 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4237 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4238 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4240 ## --------------------------------------------- ##
4241 ## Report this to michel.vandenbergh@uhasselt.be ##
4242 ## --------------------------------------------- ##
4244 ) | sed "s/^/$as_me: WARNING: /" >&2
4247 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4248 $as_echo_n "checking for $ac_header... " >&6; }
4249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4250 $as_echo_n "(cached) " >&6
4252 eval "$as_ac_Header=\$ac_header_preproc"
4254 ac_res=`eval 'as_val=${'$as_ac_Header'}
4255 $as_echo "$as_val"'`
4256 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4257 $as_echo "$ac_res" >&6; }
4260 as_val=`eval 'as_val=${'$as_ac_Header'}
4261 $as_echo "$as_val"'`
4262 if test "x$as_val" = x""yes; then
4263 cat >>confdefs.h <<_ACEOF
4264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4272 # Checks for typedefs, structures, and compiler characteristics.
4273 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4274 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4275 if test "${ac_cv_header_stdbool_h+set}" = set; then
4276 $as_echo_n "(cached) " >&6
4278 cat >conftest.$ac_ext <<_ACEOF
4281 cat confdefs.h >>conftest.$ac_ext
4282 cat >>conftest.$ac_ext <<_ACEOF
4283 /* end confdefs.h. */
4285 #include <stdbool.h>
4287 "error: bool is not defined"
4290 "error: false is not defined"
4293 "error: false is not 0"
4296 "error: true is not defined"
4299 "error: true is not 1"
4301 #ifndef __bool_true_false_are_defined
4302 "error: __bool_true_false_are_defined is not defined"
4305 struct s { _Bool s: 1; _Bool t; } s;
4307 char a[true == 1 ? 1 : -1];
4308 char b[false == 0 ? 1 : -1];
4309 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4310 char d[(bool) 0.5 == true ? 1 : -1];
4312 char f[(_Bool) 0.0 == false ? 1 : -1];
4314 char h[sizeof (_Bool)];
4316 enum { j = false, k = true, l = false * true, m = true * 256 };
4317 /* The following fails for
4318 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4320 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4321 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4322 # if defined __xlc__ || defined __GNUC__
4323 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4324 reported by James Lemley on 2005-10-05; see
4325 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4326 This test is not quite right, since xlc is allowed to
4327 reject this program, as the initializer for xlcbug is
4328 not one of the forms that C requires support for.
4329 However, doing the test right would require a runtime
4330 test, and that would make cross-compilation harder.
4331 Let us hope that IBM fixes the xlc bug, and also adds
4332 support for this kind of constant expression. In the
4333 meantime, this test will reject xlc, which is OK, since
4334 our stdbool.h substitute should suffice. We also test
4335 this with GCC, where it should work, to detect more
4336 quickly whether someone messes up the test in the
4338 char digs[] = "0123456789";
4339 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4341 /* Catch a bug in an HP-UX C compiler. See
4342 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4343 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4354 /* Refer to every declared value, to avoid compiler optimizations. */
4355 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4356 + !m + !n + !o + !p + !q + !pq);
4362 rm -f conftest.$ac_objext
4363 if { (ac_try="$ac_compile"
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4369 $as_echo "$ac_try_echo") >&5
4370 (eval "$ac_compile") 2>conftest.er1
4372 grep -v '^ *+' conftest.er1 >conftest.err
4374 cat conftest.err >&5
4375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } && {
4377 test -z "$ac_c_werror_flag" ||
4378 test ! -s conftest.err
4379 } && test -s conftest.$ac_objext; then
4380 ac_cv_header_stdbool_h=yes
4382 $as_echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_header_stdbool_h=no
4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4391 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4392 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4393 $as_echo_n "checking for _Bool... " >&6; }
4394 if test "${ac_cv_type__Bool+set}" = set; then
4395 $as_echo_n "(cached) " >&6
4398 cat >conftest.$ac_ext <<_ACEOF
4401 cat confdefs.h >>conftest.$ac_ext
4402 cat >>conftest.$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4404 $ac_includes_default
4414 rm -f conftest.$ac_objext
4415 if { (ac_try="$ac_compile"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4421 $as_echo "$ac_try_echo") >&5
4422 (eval "$ac_compile") 2>conftest.er1
4424 grep -v '^ *+' conftest.er1 >conftest.err
4426 cat conftest.err >&5
4427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } && {
4429 test -z "$ac_c_werror_flag" ||
4430 test ! -s conftest.err
4431 } && test -s conftest.$ac_objext; then
4432 cat >conftest.$ac_ext <<_ACEOF
4435 cat confdefs.h >>conftest.$ac_ext
4436 cat >>conftest.$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4438 $ac_includes_default
4442 if (sizeof ((_Bool)))
4448 rm -f conftest.$ac_objext
4449 if { (ac_try="$ac_compile"
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4455 $as_echo "$ac_try_echo") >&5
4456 (eval "$ac_compile") 2>conftest.er1
4458 grep -v '^ *+' conftest.er1 >conftest.err
4460 cat conftest.err >&5
4461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); } && {
4463 test -z "$ac_c_werror_flag" ||
4464 test ! -s conftest.err
4465 } && test -s conftest.$ac_objext; then
4468 $as_echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.$ac_ext >&5
4471 ac_cv_type__Bool=yes
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 $as_echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.$ac_ext >&5
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4484 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4485 $as_echo "$ac_cv_type__Bool" >&6; }
4486 if test "x$ac_cv_type__Bool" = x""yes; then
4488 cat >>confdefs.h <<_ACEOF
4489 #define HAVE__BOOL 1
4495 if test $ac_cv_header_stdbool_h = yes; then
4497 cat >>confdefs.h <<\_ACEOF
4498 #define HAVE_STDBOOL_H 1
4503 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4504 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4505 if test "${ac_cv_c_const+set}" = set; then
4506 $as_echo_n "(cached) " >&6
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4518 /* FIXME: Include the comments suggested by Paul. */
4520 /* Ultrix mips cc rejects this. */
4521 typedef int charset[2];
4523 /* SunOS 4.1.1 cc rejects this. */
4524 char const *const *pcpcc;
4526 /* NEC SVR4.0.2 mips cc rejects this. */
4527 struct point {int x, y;};
4528 static struct point const zero = {0,0};
4529 /* AIX XL C 1.02.0.0 rejects this.
4530 It does not let you subtract one const X* pointer from another in
4531 an arm of an if-expression whose if-part is not a constant
4533 const char *g = "string";
4534 pcpcc = &g + (g ? g-g : 0);
4535 /* HPUX 7.0 cc rejects these. */
4537 ppc = (char**) pcpcc;
4538 pcpcc = (char const *const *) ppc;
4539 { /* SCO 3.2v4 cc rejects this. */
4541 char const *s = 0 ? (char *) 0 : (char const *) 0;
4546 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4548 const int *foo = &x[0];
4551 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4552 typedef const int *iptr;
4556 { /* AIX XL C 1.02.0.0 rejects this saying
4557 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4558 struct s { int j; const int *ap[3]; };
4559 struct s *b; b->j = 5;
4561 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4565 return !cs[0] && !zero.x;
4572 rm -f conftest.$ac_objext
4573 if { (ac_try="$ac_compile"
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4579 $as_echo "$ac_try_echo") >&5
4580 (eval "$ac_compile") 2>conftest.er1
4582 grep -v '^ *+' conftest.er1 >conftest.err
4584 cat conftest.err >&5
4585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); } && {
4587 test -z "$ac_c_werror_flag" ||
4588 test ! -s conftest.err
4589 } && test -s conftest.$ac_objext; then
4592 $as_echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4601 $as_echo "$ac_cv_c_const" >&6; }
4602 if test $ac_cv_c_const = no; then
4604 cat >>confdefs.h <<\_ACEOF
4610 { $as_echo "$as_me:$LINENO: checking for inline" >&5
4611 $as_echo_n "checking for inline... " >&6; }
4612 if test "${ac_cv_c_inline+set}" = set; then
4613 $as_echo_n "(cached) " >&6
4616 for ac_kw in inline __inline__ __inline; do
4617 cat >conftest.$ac_ext <<_ACEOF
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4625 static $ac_kw foo_t static_foo () {return 0; }
4626 $ac_kw foo_t foo () {return 0; }
4630 rm -f conftest.$ac_objext
4631 if { (ac_try="$ac_compile"
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4637 $as_echo "$ac_try_echo") >&5
4638 (eval "$ac_compile") 2>conftest.er1
4640 grep -v '^ *+' conftest.er1 >conftest.err
4642 cat conftest.err >&5
4643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } && {
4645 test -z "$ac_c_werror_flag" ||
4646 test ! -s conftest.err
4647 } && test -s conftest.$ac_objext; then
4648 ac_cv_c_inline=$ac_kw
4650 $as_echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.$ac_ext >&5
4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657 test "$ac_cv_c_inline" != no && break
4661 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4662 $as_echo "$ac_cv_c_inline" >&6; }
4665 case $ac_cv_c_inline in
4668 case $ac_cv_c_inline in
4670 *) ac_val=$ac_cv_c_inline;;
4672 cat >>confdefs.h <<_ACEOF
4674 #define inline $ac_val
4680 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
4681 $as_echo_n "checking for pid_t... " >&6; }
4682 if test "${ac_cv_type_pid_t+set}" = set; then
4683 $as_echo_n "(cached) " >&6
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 $ac_includes_default
4702 rm -f conftest.$ac_objext
4703 if { (ac_try="$ac_compile"
4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4709 $as_echo "$ac_try_echo") >&5
4710 (eval "$ac_compile") 2>conftest.er1
4712 grep -v '^ *+' conftest.er1 >conftest.err
4714 cat conftest.err >&5
4715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && {
4717 test -z "$ac_c_werror_flag" ||
4718 test ! -s conftest.err
4719 } && test -s conftest.$ac_objext; then
4720 cat >conftest.$ac_ext <<_ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 $ac_includes_default
4730 if (sizeof ((pid_t)))
4736 rm -f conftest.$ac_objext
4737 if { (ac_try="$ac_compile"
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743 $as_echo "$ac_try_echo") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1 >conftest.err
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.$ac_objext; then
4756 $as_echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_cv_type_pid_t=yes
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 $as_echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4773 $as_echo "$ac_cv_type_pid_t" >&6; }
4774 if test "x$ac_cv_type_pid_t" = x""yes; then
4778 cat >>confdefs.h <<_ACEOF
4784 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4785 $as_echo_n "checking for size_t... " >&6; }
4786 if test "${ac_cv_type_size_t+set}" = set; then
4787 $as_echo_n "(cached) " >&6
4789 ac_cv_type_size_t=no
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 $ac_includes_default
4800 if (sizeof (size_t))
4806 rm -f conftest.$ac_objext
4807 if { (ac_try="$ac_compile"
4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810 *) ac_try_echo=$ac_try;;
4812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4813 $as_echo "$ac_try_echo") >&5
4814 (eval "$ac_compile") 2>conftest.er1
4816 grep -v '^ *+' conftest.er1 >conftest.err
4818 cat conftest.err >&5
4819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } && {
4821 test -z "$ac_c_werror_flag" ||
4822 test ! -s conftest.err
4823 } && test -s conftest.$ac_objext; then
4824 cat >conftest.$ac_ext <<_ACEOF
4827 cat confdefs.h >>conftest.$ac_ext
4828 cat >>conftest.$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4830 $ac_includes_default
4834 if (sizeof ((size_t)))
4840 rm -f conftest.$ac_objext
4841 if { (ac_try="$ac_compile"
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4847 $as_echo "$ac_try_echo") >&5
4848 (eval "$ac_compile") 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest.$ac_objext; then
4860 $as_echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_type_size_t=yes
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 $as_echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.$ac_ext >&5
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4876 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4877 $as_echo "$ac_cv_type_size_t" >&6; }
4878 if test "x$ac_cv_type_size_t" = x""yes; then
4882 cat >>confdefs.h <<_ACEOF
4883 #define size_t unsigned int
4888 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4889 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4890 if test "${ac_cv_header_time+set}" = set; then
4891 $as_echo_n "(cached) " >&6
4893 cat >conftest.$ac_ext <<_ACEOF
4896 cat confdefs.h >>conftest.$ac_ext
4897 cat >>conftest.$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 #include <sys/types.h>
4900 #include <sys/time.h>
4906 if ((struct tm *) 0)
4912 rm -f conftest.$ac_objext
4913 if { (ac_try="$ac_compile"
4915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4919 $as_echo "$ac_try_echo") >&5
4920 (eval "$ac_compile") 2>conftest.er1
4922 grep -v '^ *+' conftest.er1 >conftest.err
4924 cat conftest.err >&5
4925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } && {
4927 test -z "$ac_c_werror_flag" ||
4928 test ! -s conftest.err
4929 } && test -s conftest.$ac_objext; then
4930 ac_cv_header_time=yes
4932 $as_echo "$as_me: failed program was:" >&5
4933 sed 's/^/| /' conftest.$ac_ext >&5
4935 ac_cv_header_time=no
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4940 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4941 $as_echo "$ac_cv_header_time" >&6; }
4942 if test $ac_cv_header_time = yes; then
4944 cat >>confdefs.h <<\_ACEOF
4945 #define TIME_WITH_SYS_TIME 1
4951 # Checks for library functions.
4953 for ac_header in vfork.h
4955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4956 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4957 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4958 $as_echo_n "checking for $ac_header... " >&6; }
4959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4960 $as_echo_n "(cached) " >&6
4962 ac_res=`eval 'as_val=${'$as_ac_Header'}
4963 $as_echo "$as_val"'`
4964 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4965 $as_echo "$ac_res" >&6; }
4967 # Is the header compilable?
4968 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4969 $as_echo_n "checking $ac_header usability... " >&6; }
4970 cat >conftest.$ac_ext <<_ACEOF
4973 cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4976 $ac_includes_default
4977 #include <$ac_header>
4979 rm -f conftest.$ac_objext
4980 if { (ac_try="$ac_compile"
4982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983 *) ac_try_echo=$ac_try;;
4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4986 $as_echo "$ac_try_echo") >&5
4987 (eval "$ac_compile") 2>conftest.er1
4989 grep -v '^ *+' conftest.er1 >conftest.err
4991 cat conftest.err >&5
4992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } && {
4994 test -z "$ac_c_werror_flag" ||
4995 test ! -s conftest.err
4996 } && test -s conftest.$ac_objext; then
4997 ac_header_compiler=yes
4999 $as_echo "$as_me: failed program was:" >&5
5000 sed 's/^/| /' conftest.$ac_ext >&5
5002 ac_header_compiler=no
5005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5007 $as_echo "$ac_header_compiler" >&6; }
5009 # Is the header present?
5010 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5011 $as_echo_n "checking $ac_header presence... " >&6; }
5012 cat >conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h >>conftest.$ac_ext
5016 cat >>conftest.$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <$ac_header>
5020 if { (ac_try="$ac_cpp conftest.$ac_ext"
5022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5023 *) ac_try_echo=$ac_try;;
5025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5026 $as_echo "$ac_try_echo") >&5
5027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5029 grep -v '^ *+' conftest.er1 >conftest.err
5031 cat conftest.err >&5
5032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } >/dev/null && {
5034 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5035 test ! -s conftest.err
5037 ac_header_preproc=yes
5039 $as_echo "$as_me: failed program was:" >&5
5040 sed 's/^/| /' conftest.$ac_ext >&5
5042 ac_header_preproc=no
5045 rm -f conftest.err conftest.$ac_ext
5046 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5047 $as_echo "$ac_header_preproc" >&6; }
5049 # So? What about this header?
5050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5052 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5053 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5055 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5056 ac_header_preproc=yes
5059 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5060 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5062 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5064 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5066 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5068 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5070 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5072 ## --------------------------------------------- ##
5073 ## Report this to michel.vandenbergh@uhasselt.be ##
5074 ## --------------------------------------------- ##
5076 ) | sed "s/^/$as_me: WARNING: /" >&2
5079 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5080 $as_echo_n "checking for $ac_header... " >&6; }
5081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5082 $as_echo_n "(cached) " >&6
5084 eval "$as_ac_Header=\$ac_header_preproc"
5086 ac_res=`eval 'as_val=${'$as_ac_Header'}
5087 $as_echo "$as_val"'`
5088 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5089 $as_echo "$ac_res" >&6; }
5092 as_val=`eval 'as_val=${'$as_ac_Header'}
5093 $as_echo "$as_val"'`
5094 if test "x$as_val" = x""yes; then
5095 cat >>confdefs.h <<_ACEOF
5096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5105 for ac_func in fork vfork
5107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5108 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5109 $as_echo_n "checking for $ac_func... " >&6; }
5110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5111 $as_echo_n "(cached) " >&6
5113 cat >conftest.$ac_ext <<_ACEOF
5116 cat confdefs.h >>conftest.$ac_ext
5117 cat >>conftest.$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5121 #define $ac_func innocuous_$ac_func
5123 /* System header to define __stub macros and hopefully few prototypes,
5124 which can conflict with char $ac_func (); below.
5125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5126 <limits.h> exists even on freestanding compilers. */
5129 # include <limits.h>
5131 # include <assert.h>
5136 /* Override any GCC internal prototype to avoid an error.
5137 Use char because int might match the return type of a GCC
5138 builtin and then its argument prototype would still apply. */
5143 /* The GNU C library defines this for functions which it implements
5144 to always fail with ENOSYS. Some functions are actually named
5145 something starting with __ and the normal name is an alias. */
5146 #if defined __stub_$ac_func || defined __stub___$ac_func
5158 rm -f conftest.$ac_objext conftest$ac_exeext
5159 if { (ac_try="$ac_link"
5161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5162 *) ac_try_echo=$ac_try;;
5164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5165 $as_echo "$ac_try_echo") >&5
5166 (eval "$ac_link") 2>conftest.er1
5168 grep -v '^ *+' conftest.er1 >conftest.err
5170 cat conftest.err >&5
5171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); } && {
5173 test -z "$ac_c_werror_flag" ||
5174 test ! -s conftest.err
5175 } && test -s conftest$ac_exeext && {
5176 test "$cross_compiling" = yes ||
5177 $as_test_x conftest$ac_exeext
5179 eval "$as_ac_var=yes"
5181 $as_echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5184 eval "$as_ac_var=no"
5187 rm -rf conftest.dSYM
5188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5189 conftest$ac_exeext conftest.$ac_ext
5191 ac_res=`eval 'as_val=${'$as_ac_var'}
5192 $as_echo "$as_val"'`
5193 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5194 $as_echo "$ac_res" >&6; }
5195 as_val=`eval 'as_val=${'$as_ac_var'}
5196 $as_echo "$as_val"'`
5197 if test "x$as_val" = x""yes; then
5198 cat >>confdefs.h <<_ACEOF
5199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5205 if test "x$ac_cv_func_fork" = xyes; then
5206 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
5207 $as_echo_n "checking for working fork... " >&6; }
5208 if test "${ac_cv_func_fork_works+set}" = set; then
5209 $as_echo_n "(cached) " >&6
5211 if test "$cross_compiling" = yes; then
5212 ac_cv_func_fork_works=cross
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5220 $ac_includes_default
5225 /* By Ruediger Kuhlmann. */
5232 rm -f conftest$ac_exeext
5233 if { (ac_try="$ac_link"
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5239 $as_echo "$ac_try_echo") >&5
5240 (eval "$ac_link") 2>&5
5242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5244 { (case "(($ac_try" in
5245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246 *) ac_try_echo=$ac_try;;
5248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5249 $as_echo "$ac_try_echo") >&5
5250 (eval "$ac_try") 2>&5
5252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_func_fork_works=yes
5256 $as_echo "$as_me: program exited with status $ac_status" >&5
5257 $as_echo "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.$ac_ext >&5
5261 ac_cv_func_fork_works=no
5263 rm -rf conftest.dSYM
5264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5269 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
5270 $as_echo "$ac_cv_func_fork_works" >&6; }
5273 ac_cv_func_fork_works=$ac_cv_func_fork
5275 if test "x$ac_cv_func_fork_works" = xcross; then
5277 *-*-amigaos* | *-*-msdosdjgpp*)
5278 # Override, as these systems have only a dummy fork() stub
5279 ac_cv_func_fork_works=no
5282 ac_cv_func_fork_works=yes
5285 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5286 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5288 ac_cv_func_vfork_works=$ac_cv_func_vfork
5289 if test "x$ac_cv_func_vfork" = xyes; then
5290 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
5291 $as_echo_n "checking for working vfork... " >&6; }
5292 if test "${ac_cv_func_vfork_works+set}" = set; then
5293 $as_echo_n "(cached) " >&6
5295 if test "$cross_compiling" = yes; then
5296 ac_cv_func_vfork_works=cross
5298 cat >conftest.$ac_ext <<_ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5304 /* Thanks to Paul Eggert for this test. */
5305 $ac_includes_default
5306 #include <sys/wait.h>
5310 /* On some sparc systems, changes by the child to local and incoming
5311 argument registers are propagated back to the parent. The compiler
5312 is told about this with #include <vfork.h>, but some compilers
5313 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5314 static variable whose address is put into a register that is
5315 clobbered by the vfork. */
5318 sparc_address_test (int arg)
5320 sparc_address_test (arg) int arg;
5341 pid_t parent = getpid ();
5344 sparc_address_test (0);
5349 /* Here is another test for sparc vfork register problems. This
5350 test uses lots of local variables, at least as many local
5351 variables as main has allocated so far including compiler
5352 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5353 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5354 reuse the register of parent for one of the local variables,
5355 since it will think that parent can't possibly be used any more
5356 in this routine. Assigning to the local variable will thus
5357 munge parent in the parent process. */
5359 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5360 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5361 /* Convince the compiler that p..p7 are live; otherwise, it might
5362 use the same hardware register for all 8 local variables. */
5363 if (p != p1 || p != p2 || p != p3 || p != p4
5364 || p != p5 || p != p6 || p != p7)
5367 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5368 from child file descriptors. If the child closes a descriptor
5369 before it execs or exits, this munges the parent's descriptor
5370 as well. Test for this by closing stdout in the child. */
5371 _exit(close(fileno(stdout)) != 0);
5376 while (wait(&status) != child)
5379 /* Was there some problem with vforking? */
5382 /* Did the child fail? (This shouldn't happen.) */
5385 /* Did the vfork/compiler bug occur? */
5386 || parent != getpid()
5388 /* Did the file descriptor bug occur? */
5389 || fstat(fileno(stdout), &st) != 0
5394 rm -f conftest$ac_exeext
5395 if { (ac_try="$ac_link"
5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5398 *) ac_try_echo=$ac_try;;
5400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5401 $as_echo "$ac_try_echo") >&5
5402 (eval "$ac_link") 2>&5
5404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5406 { (case "(($ac_try" in
5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408 *) ac_try_echo=$ac_try;;
5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5411 $as_echo "$ac_try_echo") >&5
5412 (eval "$ac_try") 2>&5
5414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); }; }; then
5416 ac_cv_func_vfork_works=yes
5418 $as_echo "$as_me: program exited with status $ac_status" >&5
5419 $as_echo "$as_me: failed program was:" >&5
5420 sed 's/^/| /' conftest.$ac_ext >&5
5423 ac_cv_func_vfork_works=no
5425 rm -rf conftest.dSYM
5426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5431 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5432 $as_echo "$ac_cv_func_vfork_works" >&6; }
5435 if test "x$ac_cv_func_fork_works" = xcross; then
5436 ac_cv_func_vfork_works=$ac_cv_func_vfork
5437 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5438 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5441 if test "x$ac_cv_func_vfork_works" = xyes; then
5443 cat >>confdefs.h <<\_ACEOF
5444 #define HAVE_WORKING_VFORK 1
5449 cat >>confdefs.h <<\_ACEOF
5454 if test "x$ac_cv_func_fork_works" = xyes; then
5456 cat >>confdefs.h <<\_ACEOF
5457 #define HAVE_WORKING_FORK 1
5463 for ac_header in stdlib.h
5465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5468 $as_echo_n "checking for $ac_header... " >&6; }
5469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5470 $as_echo_n "(cached) " >&6
5472 ac_res=`eval 'as_val=${'$as_ac_Header'}
5473 $as_echo "$as_val"'`
5474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5475 $as_echo "$ac_res" >&6; }
5477 # Is the header compilable?
5478 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5479 $as_echo_n "checking $ac_header usability... " >&6; }
5480 cat >conftest.$ac_ext <<_ACEOF
5483 cat confdefs.h >>conftest.$ac_ext
5484 cat >>conftest.$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5486 $ac_includes_default
5487 #include <$ac_header>
5489 rm -f conftest.$ac_objext
5490 if { (ac_try="$ac_compile"
5492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5496 $as_echo "$ac_try_echo") >&5
5497 (eval "$ac_compile") 2>conftest.er1
5499 grep -v '^ *+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } && {
5504 test -z "$ac_c_werror_flag" ||
5505 test ! -s conftest.err
5506 } && test -s conftest.$ac_objext; then
5507 ac_header_compiler=yes
5509 $as_echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5512 ac_header_compiler=no
5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5517 $as_echo "$ac_header_compiler" >&6; }
5519 # Is the header present?
5520 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5521 $as_echo_n "checking $ac_header presence... " >&6; }
5522 cat >conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 #include <$ac_header>
5530 if { (ac_try="$ac_cpp conftest.$ac_ext"
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5536 $as_echo "$ac_try_echo") >&5
5537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5539 grep -v '^ *+' conftest.er1 >conftest.err
5541 cat conftest.err >&5
5542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); } >/dev/null && {
5544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5545 test ! -s conftest.err
5547 ac_header_preproc=yes
5549 $as_echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.$ac_ext >&5
5552 ac_header_preproc=no
5555 rm -f conftest.err conftest.$ac_ext
5556 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5557 $as_echo "$ac_header_preproc" >&6; }
5559 # So? What about this header?
5560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5562 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5563 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5564 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5565 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5566 ac_header_preproc=yes
5569 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5570 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5571 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5572 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5573 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5574 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5575 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5576 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5577 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5578 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5579 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5580 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5582 ## --------------------------------------------- ##
5583 ## Report this to michel.vandenbergh@uhasselt.be ##
5584 ## --------------------------------------------- ##
5586 ) | sed "s/^/$as_me: WARNING: /" >&2
5589 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5590 $as_echo_n "checking for $ac_header... " >&6; }
5591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5592 $as_echo_n "(cached) " >&6
5594 eval "$as_ac_Header=\$ac_header_preproc"
5596 ac_res=`eval 'as_val=${'$as_ac_Header'}
5597 $as_echo "$as_val"'`
5598 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5599 $as_echo "$ac_res" >&6; }
5602 as_val=`eval 'as_val=${'$as_ac_Header'}
5603 $as_echo "$as_val"'`
5604 if test "x$as_val" = x""yes; then
5605 cat >>confdefs.h <<_ACEOF
5606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5613 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5614 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5615 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5616 $as_echo_n "(cached) " >&6
5618 if test "$cross_compiling" = yes; then
5619 ac_cv_func_malloc_0_nonnull=no
5621 cat >conftest.$ac_ext <<_ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5628 # include <stdlib.h>
5636 return ! malloc (0);
5641 rm -f conftest$ac_exeext
5642 if { (ac_try="$ac_link"
5644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5645 *) ac_try_echo=$ac_try;;
5647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5648 $as_echo "$ac_try_echo") >&5
5649 (eval "$ac_link") 2>&5
5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5653 { (case "(($ac_try" in
5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655 *) ac_try_echo=$ac_try;;
5657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5658 $as_echo "$ac_try_echo") >&5
5659 (eval "$ac_try") 2>&5
5661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 ac_cv_func_malloc_0_nonnull=yes
5665 $as_echo "$as_me: program exited with status $ac_status" >&5
5666 $as_echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.$ac_ext >&5
5670 ac_cv_func_malloc_0_nonnull=no
5672 rm -rf conftest.dSYM
5673 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5678 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5679 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5680 if test $ac_cv_func_malloc_0_nonnull = yes; then
5682 cat >>confdefs.h <<\_ACEOF
5683 #define HAVE_MALLOC 1
5687 cat >>confdefs.h <<\_ACEOF
5688 #define HAVE_MALLOC 0
5691 case " $LIBOBJS " in
5692 *" malloc.$ac_objext "* ) ;;
5693 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5698 cat >>confdefs.h <<\_ACEOF
5699 #define malloc rpl_malloc
5707 for ac_header in stdlib.h
5709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 $as_echo_n "checking for $ac_header... " >&6; }
5713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5714 $as_echo_n "(cached) " >&6
5716 ac_res=`eval 'as_val=${'$as_ac_Header'}
5717 $as_echo "$as_val"'`
5718 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5719 $as_echo "$ac_res" >&6; }
5721 # Is the header compilable?
5722 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5723 $as_echo_n "checking $ac_header usability... " >&6; }
5724 cat >conftest.$ac_ext <<_ACEOF
5727 cat confdefs.h >>conftest.$ac_ext
5728 cat >>conftest.$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5730 $ac_includes_default
5731 #include <$ac_header>
5733 rm -f conftest.$ac_objext
5734 if { (ac_try="$ac_compile"
5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5740 $as_echo "$ac_try_echo") >&5
5741 (eval "$ac_compile") 2>conftest.er1
5743 grep -v '^ *+' conftest.er1 >conftest.err
5745 cat conftest.err >&5
5746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } && {
5748 test -z "$ac_c_werror_flag" ||
5749 test ! -s conftest.err
5750 } && test -s conftest.$ac_objext; then
5751 ac_header_compiler=yes
5753 $as_echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.$ac_ext >&5
5756 ac_header_compiler=no
5759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5761 $as_echo "$ac_header_compiler" >&6; }
5763 # Is the header present?
5764 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5765 $as_echo_n "checking $ac_header presence... " >&6; }
5766 cat >conftest.$ac_ext <<_ACEOF
5769 cat confdefs.h >>conftest.$ac_ext
5770 cat >>conftest.$ac_ext <<_ACEOF
5771 /* end confdefs.h. */
5772 #include <$ac_header>
5774 if { (ac_try="$ac_cpp conftest.$ac_ext"
5776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5780 $as_echo "$ac_try_echo") >&5
5781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5783 grep -v '^ *+' conftest.er1 >conftest.err
5785 cat conftest.err >&5
5786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } >/dev/null && {
5788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5789 test ! -s conftest.err
5791 ac_header_preproc=yes
5793 $as_echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 ac_header_preproc=no
5799 rm -f conftest.err conftest.$ac_ext
5800 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5801 $as_echo "$ac_header_preproc" >&6; }
5803 # So? What about this header?
5804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5807 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5809 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5810 ac_header_preproc=yes
5813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5814 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5816 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5818 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5820 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5824 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5826 ## --------------------------------------------- ##
5827 ## Report this to michel.vandenbergh@uhasselt.be ##
5828 ## --------------------------------------------- ##
5830 ) | sed "s/^/$as_me: WARNING: /" >&2
5833 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5834 $as_echo_n "checking for $ac_header... " >&6; }
5835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5836 $as_echo_n "(cached) " >&6
5838 eval "$as_ac_Header=\$ac_header_preproc"
5840 ac_res=`eval 'as_val=${'$as_ac_Header'}
5841 $as_echo "$as_val"'`
5842 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5843 $as_echo "$ac_res" >&6; }
5846 as_val=`eval 'as_val=${'$as_ac_Header'}
5847 $as_echo "$as_val"'`
5848 if test "x$as_val" = x""yes; then
5849 cat >>confdefs.h <<_ACEOF
5850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5857 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
5858 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5859 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
5860 $as_echo_n "(cached) " >&6
5862 if test "$cross_compiling" = yes; then
5863 ac_cv_func_realloc_0_nonnull=no
5865 cat >conftest.$ac_ext <<_ACEOF
5868 cat confdefs.h >>conftest.$ac_ext
5869 cat >>conftest.$ac_ext <<_ACEOF
5870 /* end confdefs.h. */
5871 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5872 # include <stdlib.h>
5880 return ! realloc (0, 0);
5885 rm -f conftest$ac_exeext
5886 if { (ac_try="$ac_link"
5888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889 *) ac_try_echo=$ac_try;;
5891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5892 $as_echo "$ac_try_echo") >&5
5893 (eval "$ac_link") 2>&5
5895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5897 { (case "(($ac_try" in
5898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5899 *) ac_try_echo=$ac_try;;
5901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5902 $as_echo "$ac_try_echo") >&5
5903 (eval "$ac_try") 2>&5
5905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; }; then
5907 ac_cv_func_realloc_0_nonnull=yes
5909 $as_echo "$as_me: program exited with status $ac_status" >&5
5910 $as_echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5914 ac_cv_func_realloc_0_nonnull=no
5916 rm -rf conftest.dSYM
5917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5922 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
5923 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5924 if test $ac_cv_func_realloc_0_nonnull = yes; then
5926 cat >>confdefs.h <<\_ACEOF
5927 #define HAVE_REALLOC 1
5931 cat >>confdefs.h <<\_ACEOF
5932 #define HAVE_REALLOC 0
5935 case " $LIBOBJS " in
5936 *" realloc.$ac_objext "* ) ;;
5937 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5942 cat >>confdefs.h <<\_ACEOF
5943 #define realloc rpl_realloc
5952 for ac_header in sys/select.h sys/socket.h
5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5956 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5957 $as_echo_n "checking for $ac_header... " >&6; }
5958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5959 $as_echo_n "(cached) " >&6
5961 ac_res=`eval 'as_val=${'$as_ac_Header'}
5962 $as_echo "$as_val"'`
5963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5964 $as_echo "$ac_res" >&6; }
5966 # Is the header compilable?
5967 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5968 $as_echo_n "checking $ac_header usability... " >&6; }
5969 cat >conftest.$ac_ext <<_ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 $ac_includes_default
5976 #include <$ac_header>
5978 rm -f conftest.$ac_objext
5979 if { (ac_try="$ac_compile"
5981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982 *) ac_try_echo=$ac_try;;
5984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5985 $as_echo "$ac_try_echo") >&5
5986 (eval "$ac_compile") 2>conftest.er1
5988 grep -v '^ *+' conftest.er1 >conftest.err
5990 cat conftest.err >&5
5991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } && {
5993 test -z "$ac_c_werror_flag" ||
5994 test ! -s conftest.err
5995 } && test -s conftest.$ac_objext; then
5996 ac_header_compiler=yes
5998 $as_echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.$ac_ext >&5
6001 ac_header_compiler=no
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6006 $as_echo "$ac_header_compiler" >&6; }
6008 # Is the header present?
6009 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6010 $as_echo_n "checking $ac_header presence... " >&6; }
6011 cat >conftest.$ac_ext <<_ACEOF
6014 cat confdefs.h >>conftest.$ac_ext
6015 cat >>conftest.$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6017 #include <$ac_header>
6019 if { (ac_try="$ac_cpp conftest.$ac_ext"
6021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6022 *) ac_try_echo=$ac_try;;
6024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6025 $as_echo "$ac_try_echo") >&5
6026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6028 grep -v '^ *+' conftest.er1 >conftest.err
6030 cat conftest.err >&5
6031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } >/dev/null && {
6033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6034 test ! -s conftest.err
6036 ac_header_preproc=yes
6038 $as_echo "$as_me: failed program was:" >&5
6039 sed 's/^/| /' conftest.$ac_ext >&5
6041 ac_header_preproc=no
6044 rm -f conftest.err conftest.$ac_ext
6045 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6046 $as_echo "$ac_header_preproc" >&6; }
6048 # So? What about this header?
6049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6051 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6052 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6054 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6055 ac_header_preproc=yes
6058 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6059 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6061 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6063 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6065 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6067 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6069 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6071 ## --------------------------------------------- ##
6072 ## Report this to michel.vandenbergh@uhasselt.be ##
6073 ## --------------------------------------------- ##
6075 ) | sed "s/^/$as_me: WARNING: /" >&2
6078 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6079 $as_echo_n "checking for $ac_header... " >&6; }
6080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6081 $as_echo_n "(cached) " >&6
6083 eval "$as_ac_Header=\$ac_header_preproc"
6085 ac_res=`eval 'as_val=${'$as_ac_Header'}
6086 $as_echo "$as_val"'`
6087 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6088 $as_echo "$ac_res" >&6; }
6091 as_val=`eval 'as_val=${'$as_ac_Header'}
6092 $as_echo "$as_val"'`
6093 if test "x$as_val" = x""yes; then
6094 cat >>confdefs.h <<_ACEOF
6095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6102 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
6103 $as_echo_n "checking types of arguments for select... " >&6; }
6104 if test "${ac_cv_func_select_args+set}" = set; then
6105 $as_echo_n "(cached) " >&6
6107 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
6108 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6109 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
6110 cat >conftest.$ac_ext <<_ACEOF
6113 cat confdefs.h >>conftest.$ac_ext
6114 cat >>conftest.$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6116 $ac_includes_default
6117 #ifdef HAVE_SYS_SELECT_H
6118 # include <sys/select.h>
6120 #ifdef HAVE_SYS_SOCKET_H
6121 # include <sys/socket.h>
6127 extern int select ($ac_arg1,
6128 $ac_arg234, $ac_arg234, $ac_arg234,
6134 rm -f conftest.$ac_objext
6135 if { (ac_try="$ac_compile"
6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6138 *) ac_try_echo=$ac_try;;
6140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6141 $as_echo "$ac_try_echo") >&5
6142 (eval "$ac_compile") 2>conftest.er1
6144 grep -v '^ *+' conftest.er1 >conftest.err
6146 cat conftest.err >&5
6147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); } && {
6149 test -z "$ac_c_werror_flag" ||
6150 test ! -s conftest.err
6151 } && test -s conftest.$ac_objext; then
6152 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6154 $as_echo "$as_me: failed program was:" >&5
6155 sed 's/^/| /' conftest.$ac_ext >&5
6160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6164 # Provide a safe default value.
6165 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
6168 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
6169 $as_echo "$ac_cv_func_select_args" >&6; }
6170 ac_save_IFS=$IFS; IFS=','
6171 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6175 cat >>confdefs.h <<_ACEOF
6176 #define SELECT_TYPE_ARG1 $1
6180 cat >>confdefs.h <<_ACEOF
6181 #define SELECT_TYPE_ARG234 ($2)
6185 cat >>confdefs.h <<_ACEOF
6186 #define SELECT_TYPE_ARG5 ($3)
6191 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
6192 $as_echo_n "(cached) " >&6
6194 ac_cv_func_setvbuf_reversed=no
6198 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6199 $as_echo_n "checking return type of signal handlers... " >&6; }
6200 if test "${ac_cv_type_signal+set}" = set; then
6201 $as_echo_n "(cached) " >&6
6203 cat >conftest.$ac_ext <<_ACEOF
6206 cat confdefs.h >>conftest.$ac_ext
6207 cat >>conftest.$ac_ext <<_ACEOF
6208 /* end confdefs.h. */
6209 #include <sys/types.h>
6215 return *(signal (0, 0)) (0) == 1;
6220 rm -f conftest.$ac_objext
6221 if { (ac_try="$ac_compile"
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6227 $as_echo "$ac_try_echo") >&5
6228 (eval "$ac_compile") 2>conftest.er1
6230 grep -v '^ *+' conftest.er1 >conftest.err
6232 cat conftest.err >&5
6233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); } && {
6235 test -z "$ac_c_werror_flag" ||
6236 test ! -s conftest.err
6237 } && test -s conftest.$ac_objext; then
6238 ac_cv_type_signal=int
6240 $as_echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6243 ac_cv_type_signal=void
6246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6249 $as_echo "$ac_cv_type_signal" >&6; }
6251 cat >>confdefs.h <<_ACEOF
6252 #define RETSIGTYPE $ac_cv_type_signal
6257 for ac_func in vprintf
6259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6260 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6261 $as_echo_n "checking for $ac_func... " >&6; }
6262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6263 $as_echo_n "(cached) " >&6
6265 cat >conftest.$ac_ext <<_ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6273 #define $ac_func innocuous_$ac_func
6275 /* System header to define __stub macros and hopefully few prototypes,
6276 which can conflict with char $ac_func (); below.
6277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6278 <limits.h> exists even on freestanding compilers. */
6281 # include <limits.h>
6283 # include <assert.h>
6288 /* Override any GCC internal prototype to avoid an error.
6289 Use char because int might match the return type of a GCC
6290 builtin and then its argument prototype would still apply. */
6295 /* The GNU C library defines this for functions which it implements
6296 to always fail with ENOSYS. Some functions are actually named
6297 something starting with __ and the normal name is an alias. */
6298 #if defined __stub_$ac_func || defined __stub___$ac_func
6310 rm -f conftest.$ac_objext conftest$ac_exeext
6311 if { (ac_try="$ac_link"
6313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 *) ac_try_echo=$ac_try;;
6316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6317 $as_echo "$ac_try_echo") >&5
6318 (eval "$ac_link") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1 >conftest.err
6322 cat conftest.err >&5
6323 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && {
6325 test -z "$ac_c_werror_flag" ||
6326 test ! -s conftest.err
6327 } && test -s conftest$ac_exeext && {
6328 test "$cross_compiling" = yes ||
6329 $as_test_x conftest$ac_exeext
6331 eval "$as_ac_var=yes"
6333 $as_echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.$ac_ext >&5
6336 eval "$as_ac_var=no"
6339 rm -rf conftest.dSYM
6340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6341 conftest$ac_exeext conftest.$ac_ext
6343 ac_res=`eval 'as_val=${'$as_ac_var'}
6344 $as_echo "$as_val"'`
6345 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6346 $as_echo "$ac_res" >&6; }
6347 as_val=`eval 'as_val=${'$as_ac_var'}
6348 $as_echo "$as_val"'`
6349 if test "x$as_val" = x""yes; then
6350 cat >>confdefs.h <<_ACEOF
6351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6354 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
6355 $as_echo_n "checking for _doprnt... " >&6; }
6356 if test "${ac_cv_func__doprnt+set}" = set; then
6357 $as_echo_n "(cached) " >&6
6359 cat >conftest.$ac_ext <<_ACEOF
6362 cat confdefs.h >>conftest.$ac_ext
6363 cat >>conftest.$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6365 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6367 #define _doprnt innocuous__doprnt
6369 /* System header to define __stub macros and hopefully few prototypes,
6370 which can conflict with char _doprnt (); below.
6371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6372 <limits.h> exists even on freestanding compilers. */
6375 # include <limits.h>
6377 # include <assert.h>
6382 /* Override any GCC internal prototype to avoid an error.
6383 Use char because int might match the return type of a GCC
6384 builtin and then its argument prototype would still apply. */
6389 /* The GNU C library defines this for functions which it implements
6390 to always fail with ENOSYS. Some functions are actually named
6391 something starting with __ and the normal name is an alias. */
6392 #if defined __stub__doprnt || defined __stub____doprnt
6404 rm -f conftest.$ac_objext conftest$ac_exeext
6405 if { (ac_try="$ac_link"
6407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6408 *) ac_try_echo=$ac_try;;
6410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6411 $as_echo "$ac_try_echo") >&5
6412 (eval "$ac_link") 2>conftest.er1
6414 grep -v '^ *+' conftest.er1 >conftest.err
6416 cat conftest.err >&5
6417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } && {
6419 test -z "$ac_c_werror_flag" ||
6420 test ! -s conftest.err
6421 } && test -s conftest$ac_exeext && {
6422 test "$cross_compiling" = yes ||
6423 $as_test_x conftest$ac_exeext
6425 ac_cv_func__doprnt=yes
6427 $as_echo "$as_me: failed program was:" >&5
6428 sed 's/^/| /' conftest.$ac_ext >&5
6430 ac_cv_func__doprnt=no
6433 rm -rf conftest.dSYM
6434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6435 conftest$ac_exeext conftest.$ac_ext
6437 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6438 $as_echo "$ac_cv_func__doprnt" >&6; }
6439 if test "x$ac_cv_func__doprnt" = x""yes; then
6441 cat >>confdefs.h <<\_ACEOF
6442 #define HAVE_DOPRNT 1
6461 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
6463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6464 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6465 $as_echo_n "checking for $ac_func... " >&6; }
6466 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6467 $as_echo_n "(cached) " >&6
6469 cat >conftest.$ac_ext <<_ACEOF
6472 cat confdefs.h >>conftest.$ac_ext
6473 cat >>conftest.$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6477 #define $ac_func innocuous_$ac_func
6479 /* System header to define __stub macros and hopefully few prototypes,
6480 which can conflict with char $ac_func (); below.
6481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6482 <limits.h> exists even on freestanding compilers. */
6485 # include <limits.h>
6487 # include <assert.h>
6492 /* Override any GCC internal prototype to avoid an error.
6493 Use char because int might match the return type of a GCC
6494 builtin and then its argument prototype would still apply. */
6499 /* The GNU C library defines this for functions which it implements
6500 to always fail with ENOSYS. Some functions are actually named
6501 something starting with __ and the normal name is an alias. */
6502 #if defined __stub_$ac_func || defined __stub___$ac_func
6514 rm -f conftest.$ac_objext conftest$ac_exeext
6515 if { (ac_try="$ac_link"
6517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6518 *) ac_try_echo=$ac_try;;
6520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6521 $as_echo "$ac_try_echo") >&5
6522 (eval "$ac_link") 2>conftest.er1
6524 grep -v '^ *+' conftest.er1 >conftest.err
6526 cat conftest.err >&5
6527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } && {
6529 test -z "$ac_c_werror_flag" ||
6530 test ! -s conftest.err
6531 } && test -s conftest$ac_exeext && {
6532 test "$cross_compiling" = yes ||
6533 $as_test_x conftest$ac_exeext
6535 eval "$as_ac_var=yes"
6537 $as_echo "$as_me: failed program was:" >&5
6538 sed 's/^/| /' conftest.$ac_ext >&5
6540 eval "$as_ac_var=no"
6543 rm -rf conftest.dSYM
6544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6545 conftest$ac_exeext conftest.$ac_ext
6547 ac_res=`eval 'as_val=${'$as_ac_var'}
6548 $as_echo "$as_val"'`
6549 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6550 $as_echo "$ac_res" >&6; }
6551 as_val=`eval 'as_val=${'$as_ac_var'}
6552 $as_echo "$as_val"'`
6553 if test "x$as_val" = x""yes; then
6554 cat >>confdefs.h <<_ACEOF
6555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6563 ac_config_files="$ac_config_files Makefile"
6565 cat >confcache <<\_ACEOF
6566 # This file is a shell script that caches the results of configure
6567 # tests run on this system so they can be shared between configure
6568 # scripts and configure runs, see configure's option --config-cache.
6569 # It is not useful on other systems. If it contains results you don't
6570 # want to keep, you may remove or edit it.
6572 # config.status only pays attention to the cache file if you give it
6573 # the --recheck option to rerun configure.
6575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6581 # The following way of writing the cache mishandles newlines in values,
6582 # but we know of no workaround that is simple, portable, and efficient.
6583 # So, we kill variables containing newlines.
6584 # Ultrix sh set writes to stderr and can't be redirected directly,
6585 # and sets the high bit in the cache file unless we assign to the vars.
6587 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6588 eval ac_val=\$$ac_var
6592 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6596 _ | IFS | as_nl) ;; #(
6597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6598 *) $as_unset $ac_var ;;
6604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6605 *${as_nl}ac_space=\ *)
6606 # `set' does not quote correctly, so add quotes (double-quote
6607 # substitution turns \\\\ into \\, and sed turns \\ into \).
6610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6613 # `set' quotes correctly as required by POSIX, so do not add quotes.
6614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6627 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6628 if test -w "$cache_file"; then
6629 test "x$cache_file" != "x/dev/null" &&
6630 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6631 $as_echo "$as_me: updating cache $cache_file" >&6;}
6632 cat confcache >$cache_file
6634 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6635 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6640 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6641 # Let make expand exec_prefix.
6642 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6644 DEFS=-DHAVE_CONFIG_H
6648 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6649 # 1. Remove the extension, and $U if already installed.
6650 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6651 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6653 # will be set to the directory where LIBOBJS objects are built.
6654 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6655 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6659 LTLIBOBJS=$ac_ltlibobjs
6662 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6663 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6664 Usually this means the macro was only invoked conditionally." >&5
6665 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6666 Usually this means the macro was only invoked conditionally." >&2;}
6667 { (exit 1); exit 1; }; }
6669 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6670 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6671 Usually this means the macro was only invoked conditionally." >&5
6672 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6673 Usually this means the macro was only invoked conditionally." >&2;}
6674 { (exit 1); exit 1; }; }
6677 : ${CONFIG_STATUS=./config.status}
6679 ac_clean_files_save=$ac_clean_files
6680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6681 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6682 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6683 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6685 # Generated by $as_me.
6686 # Run this file to recreate the current configuration.
6687 # Compiler output produced by configure, useful for debugging
6688 # configure, is in config.log if it exists.
6693 SHELL=\${CONFIG_SHELL-$SHELL}
6696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6697 ## --------------------- ##
6698 ## M4sh Initialization. ##
6699 ## --------------------- ##
6701 # Be more Bourne compatible
6702 DUALCASE=1; export DUALCASE # for MKS sh
6703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6707 # is contrary to our usage. Disable this feature.
6708 alias -g '${1+"$@"}'='"$@"'
6709 setopt NO_GLOB_SUBST
6711 case `(set -o) 2>/dev/null` in
6712 *posix*) set -o posix ;;
6721 # Avoid depending upon Character Ranges.
6722 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6723 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6724 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6725 as_cr_digits='0123456789'
6726 as_cr_alnum=$as_cr_Letters$as_cr_digits
6731 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6732 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6735 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6736 as_echo='printf %s\n'
6737 as_echo_n='printf %s'
6739 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6740 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6741 as_echo_n='/usr/ucb/echo -n'
6743 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6744 as_echo_n_body='eval
6748 expr "X$arg" : "X\\(.*\\)$as_nl";
6749 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6751 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6753 export as_echo_n_body
6754 as_echo_n='sh -c $as_echo_n_body as_echo'
6757 as_echo='sh -c $as_echo_body as_echo'
6760 # The user is always right.
6761 if test "${PATH_SEPARATOR+set}" != set; then
6763 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6764 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6769 # Support unset when possible.
6770 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6778 # We need space, tab and new line, in precisely that order. Quoting is
6779 # there to prevent editors from complaining about space-tab.
6780 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6781 # splitting by setting IFS to empty value.)
6784 # Find who we are. Look in the path if we contain no directory separator.
6786 *[\\/]* ) as_myself=$0 ;;
6787 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 test -z "$as_dir" && as_dir=.
6792 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6798 # We did not find ourselves, most probably we were run as `sh COMMAND'
6799 # in which case we are not to be found in the path.
6800 if test "x$as_myself" = x; then
6803 if test ! -f "$as_myself"; then
6804 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6805 { (exit 1); exit 1; }
6808 # Work around bugs in pre-3.0 UWIN ksh.
6809 for as_var in ENV MAIL MAILPATH
6810 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6822 # Required to use basename.
6823 if expr a : '\(a\)' >/dev/null 2>&1 &&
6824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6831 as_basename=basename
6837 # Name of the executable.
6838 as_me=`$as_basename -- "$0" ||
6839 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6840 X"$0" : 'X\(//\)$' \| \
6841 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6843 sed '/^.*\/\([^/][^/]*\)\/*$/{
6864 test "x$as_lineno_1" != "x$as_lineno_2" &&
6865 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6867 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6868 # uniformly replaced by the line number. The first 'sed' inserts a
6869 # line-number line after each line using $LINENO; the second 'sed'
6870 # does the real work. The second script uses 'N' to pair each
6871 # line-number line with the line containing $LINENO, and appends
6872 # trailing '-' during substitution so that $LINENO is not a special
6874 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6875 # scripts with optimization help from Paolo Bonzini. Blame Lee
6876 # E. McMahon (1931-1989) for sed's syntax. :-)
6888 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6892 chmod +x "$as_me.lineno" ||
6893 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6894 { (exit 1); exit 1; }; }
6896 # Don't try to exec as it changes $[0], causing all sort of problems
6897 # (the dirname of $[0] is not the place where we might find the
6898 # original and so on. Autoconf is especially sensitive to this).
6900 # Exit status is that of the last command.
6905 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6911 ECHO_C= ECHO_N= ECHO_T=
6914 case `echo 'x\c'` in
6915 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6921 if expr a : '\(a\)' >/dev/null 2>&1 &&
6922 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6928 rm -f conf$$ conf$$.exe conf$$.file
6929 if test -d conf$$.dir; then
6930 rm -f conf$$.dir/conf$$.file
6933 mkdir conf$$.dir 2>/dev/null
6935 if (echo >conf$$.file) 2>/dev/null; then
6936 if ln -s conf$$.file conf$$ 2>/dev/null; then
6938 # ... but there are two gotchas:
6939 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6940 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6941 # In both cases, we have to default to `cp -p'.
6942 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6944 elif ln conf$$.file conf$$ 2>/dev/null; then
6952 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6953 rmdir conf$$.dir 2>/dev/null
6955 if mkdir -p . 2>/dev/null; then
6958 test -d ./-p && rmdir ./-p
6962 if test -x / >/dev/null 2>&1; then
6965 if ls -dL / >/dev/null 2>&1; then
6972 if test -d "$1"; then
6978 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6979 ???[sx]*):;;*)false;;esac;fi
6983 as_executable_p=$as_test_x
6985 # Sed expression to map a string onto a valid CPP name.
6986 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6988 # Sed expression to map a string onto a valid variable name.
6989 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6994 # Save the log message, to keep $[0] and so on meaningful, and to
6995 # report actual input values of CONFIG_FILES etc. instead of their
6996 # values after options handling.
6998 This file was extended by polyglot $as_me 1.4.55b, which was
6999 generated by GNU Autoconf 2.63. Invocation command line was
7001 CONFIG_FILES = $CONFIG_FILES
7002 CONFIG_HEADERS = $CONFIG_HEADERS
7003 CONFIG_LINKS = $CONFIG_LINKS
7004 CONFIG_COMMANDS = $CONFIG_COMMANDS
7007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7012 case $ac_config_files in *"
7013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7016 case $ac_config_headers in *"
7017 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7022 # Files that config.status was made for.
7023 config_files="$ac_config_files"
7024 config_headers="$ac_config_headers"
7025 config_commands="$ac_config_commands"
7029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7031 \`$as_me' instantiates files from templates according to the
7032 current configuration.
7034 Usage: $0 [OPTION]... [FILE]...
7036 -h, --help print this help, then exit
7037 -V, --version print version number and configuration settings, then exit
7038 -q, --quiet, --silent
7039 do not print progress messages
7040 -d, --debug don't remove temporary files
7041 --recheck update $as_me by reconfiguring in the same conditions
7042 --file=FILE[:TEMPLATE]
7043 instantiate the configuration file FILE
7044 --header=FILE[:TEMPLATE]
7045 instantiate the configuration header FILE
7047 Configuration files:
7050 Configuration headers:
7053 Configuration commands:
7056 Report bugs to <bug-autoconf@gnu.org>."
7059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7061 polyglot config.status 1.4.55b
7062 configured by $0, generated by GNU Autoconf 2.63,
7063 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7065 Copyright (C) 2008 Free Software Foundation, Inc.
7066 This config.status script is free software; the Free Software Foundation
7067 gives unlimited permission to copy, distribute and modify it."
7074 test -n "\$AWK" || AWK=awk
7077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7078 # The default lists apply if the user does not specify any file.
7084 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7085 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7096 # Handling of the options.
7097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7099 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7100 $as_echo "$ac_cs_version"; exit ;;
7101 --debug | --debu | --deb | --de | --d | -d )
7103 --file | --fil | --fi | --f )
7106 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7108 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
7109 ac_need_defaults=false;;
7110 --header | --heade | --head | --hea )
7113 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7115 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
7116 ac_need_defaults=false;;
7118 # Conflict between --help and --header
7119 { $as_echo "$as_me: error: ambiguous option: $1
7120 Try \`$0 --help' for more information." >&2
7121 { (exit 1); exit 1; }; };;
7122 --help | --hel | -h )
7123 $as_echo "$ac_cs_usage"; exit ;;
7124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7125 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7129 -*) { $as_echo "$as_me: error: unrecognized option: $1
7130 Try \`$0 --help' for more information." >&2
7131 { (exit 1); exit 1; }; } ;;
7133 *) ac_config_targets="$ac_config_targets $1"
7134 ac_need_defaults=false ;;
7140 ac_configure_extra_args=
7142 if $ac_cs_silent; then
7144 ac_configure_extra_args="$ac_configure_extra_args --silent"
7148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7149 if \$ac_cs_recheck; then
7150 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7152 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7153 CONFIG_SHELL='$SHELL'
7159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7163 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7164 ## Running $as_me. ##
7170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7174 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7180 # Handling of arguments.
7181 for ac_config_target in $ac_config_targets
7183 case $ac_config_target in
7184 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7185 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7186 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7188 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7189 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7190 { (exit 1); exit 1; }; };;
7195 # If the user did not use the arguments to specify the items to instantiate,
7196 # then the envvar interface is used. Set only those that are not.
7197 # We use the long form for the default assignment because of an extremely
7198 # bizarre bug on SunOS 4.1.3.
7199 if $ac_need_defaults; then
7200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7205 # Have a temporary directory for convenience. Make it in the build tree
7206 # simply because there is no reason against having it here, and in addition,
7207 # creating and moving files from /tmp can sometimes cause problems.
7208 # Hook for its removal unless debugging.
7209 # Note that there is a small window in which the directory will not be cleaned:
7210 # after its creation but before its name has been assigned to `$tmp'.
7214 trap 'exit_status=$?
7215 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7217 trap '{ (exit 1); exit 1; }' 1 2 13 15
7219 # Create a (secure) tmp directory for tmp files.
7222 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7223 test -n "$tmp" && test -d "$tmp"
7226 tmp=./conf$$-$RANDOM
7227 (umask 077 && mkdir "$tmp")
7230 $as_echo "$as_me: cannot create a temporary directory in ." >&2
7231 { (exit 1); exit 1; }
7234 # Set up the scripts for CONFIG_FILES section.
7235 # No need to generate them if there are no CONFIG_FILES.
7236 # This happens for instance with `./config.status config.h'.
7237 if test -n "$CONFIG_FILES"; then
7241 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7242 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7248 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7253 echo "cat >conf$$subs.awk <<_ACEOF" &&
7254 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7257 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7258 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7259 { (exit 1); exit 1; }; }
7260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7262 for ac_last_try in false false false false false :; do
7263 . ./conf$$subs.sh ||
7264 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7265 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7266 { (exit 1); exit 1; }; }
7268 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7269 if test $ac_delim_n = $ac_delim_num; then
7271 elif $ac_last_try; then
7272 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7273 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7274 { (exit 1); exit 1; }; }
7276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7282 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7286 s/^/S["/; s/!.*/"]=/
7296 s/\(.\{148\}\).*/\1/
7298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7310 s/\(.\{148\}\).*/\1/
7312 s/["\\]/\\&/g; s/^/"/; s/$/"/
7316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7321 ' <conf$$subs.awk | sed '
7326 ' >>$CONFIG_STATUS || ac_write_fail=1
7327 rm -f conf$$subs.awk
7328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7330 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7331 for (key in S) S_is_set[key] = 1
7337 nfields = split(line, field, "@")
7339 len = length(field[1])
7340 for (i = 2; i < nfields; i++) {
7342 keylen = length(key)
7343 if (S_is_set[key]) {
7345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7346 len += length(value) + length(field[++i])
7357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7358 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7359 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7362 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7363 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7364 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
7365 { (exit 1); exit 1; }; }
7368 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7369 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7370 # trailing colons and then remove the whole line if VPATH becomes empty
7371 # (actually we leave an empty line to preserve line numbers).
7372 if test "x$srcdir" = x.; then
7373 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7377 s/^\([^=]*=[ ]*\):*/\1/
7383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7384 fi # test -n "$CONFIG_FILES"
7386 # Set up the scripts for CONFIG_HEADERS section.
7387 # No need to generate them if there are no CONFIG_HEADERS.
7388 # This happens for instance with `./config.status Makefile'.
7389 if test -n "$CONFIG_HEADERS"; then
7390 cat >"$tmp/defines.awk" <<\_ACAWK ||
7394 # Transform confdefs.h into an awk script `defines.awk', embedded as
7395 # here-document in config.status, that substitutes the proper values into
7396 # config.h.in to produce config.h.
7398 # Create a delimiter string that does not exist in confdefs.h, to ease
7399 # handling of long lines.
7401 for ac_last_try in false false :; do
7402 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7403 if test -z "$ac_t"; then
7405 elif $ac_last_try; then
7406 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
7407 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
7408 { (exit 1); exit 1; }; }
7410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7414 # For the awk script, D is an array of macro values keyed by name,
7415 # likewise P contains macro parameters if any. Preserve backslash
7416 # newline sequences.
7418 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7420 s/.\{148\}/&'"$ac_delim"'/g
7423 s/^[ ]*#[ ]*define[ ][ ]*/ /
7430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7432 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7437 D["\1"]=" \3\\\\\\n"\\/p
7439 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7444 s/.\{148\}/&'"$ac_delim"'/g
7449 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7452 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7454 ' <confdefs.h | sed '
7455 s/'"$ac_delim"'/"\\\
7456 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7459 for (key in D) D_is_set[key] = 1
7462 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7464 split(line, arg, " ")
7465 if (arg[1] == "#") {
7469 defundef = substr(arg[1], 2)
7472 split(mac1, mac2, "(") #)
7474 prefix = substr(line, 1, index(line, defundef) - 1)
7475 if (D_is_set[macro]) {
7476 # Preserve the white space surrounding the "#".
7477 print prefix "define", macro P[macro] D[macro]
7480 # Replace #undef with comments. This is necessary, for example,
7481 # in the case of _POSIX_SOURCE, which is predefined and required
7482 # on some systems where configure will not decide to define it.
7483 if (defundef == "undef") {
7484 print "/*", prefix defundef, macro, "*/"
7492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7493 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7494 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7495 { (exit 1); exit 1; }; }
7496 fi # test -n "$CONFIG_HEADERS"
7499 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7504 :[FHLC]) ac_mode=$ac_tag; continue;;
7506 case $ac_mode$ac_tag in
7508 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7509 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7510 { (exit 1); exit 1; }; };;
7511 :[FH]-) ac_tag=-:-;;
7512 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7529 -) ac_f="$tmp/stdin";;
7530 *) # Look for the file first in the build tree, then in the source tree
7531 # (if the path is not absolute). The absolute path cannot be DOS-style,
7532 # because $ac_f cannot contain `:'.
7536 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7538 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7539 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7540 { (exit 1); exit 1; }; };;
7542 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7543 ac_file_inputs="$ac_file_inputs '$ac_f'"
7546 # Let's still pretend it is `configure' which instantiates (i.e., don't
7547 # use $as_me), people would be surprised to read:
7548 # /* config.h. Generated by config.status. */
7549 configure_input='Generated from '`
7550 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7552 if test x"$ac_file" != x-; then
7553 configure_input="$ac_file. $configure_input"
7554 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7555 $as_echo "$as_me: creating $ac_file" >&6;}
7557 # Neutralize special characters interpreted by sed in replacement strings.
7558 case $configure_input in #(
7559 *\&* | *\|* | *\\* )
7560 ac_sed_conf_input=`$as_echo "$configure_input" |
7561 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7562 *) ac_sed_conf_input=$configure_input;;
7566 *:-:* | *:-) cat >"$tmp/stdin" \
7567 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7568 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7569 { (exit 1); exit 1; }; } ;;
7574 ac_dir=`$as_dirname -- "$ac_file" ||
7575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7576 X"$ac_file" : 'X\(//\)[^/]' \| \
7577 X"$ac_file" : 'X\(//\)$' \| \
7578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7579 $as_echo X"$ac_file" |
7580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7599 -*) as_dir=./$as_dir;;
7601 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7605 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7606 *) as_qdir=$as_dir;;
7608 as_dirs="'$as_qdir' $as_dirs"
7609 as_dir=`$as_dirname -- "$as_dir" ||
7610 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7611 X"$as_dir" : 'X\(//\)[^/]' \| \
7612 X"$as_dir" : 'X\(//\)$' \| \
7613 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7614 $as_echo X"$as_dir" |
7615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7632 test -d "$as_dir" && break
7634 test -z "$as_dirs" || eval "mkdir $as_dirs"
7635 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7636 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7637 { (exit 1); exit 1; }; }; }
7641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7643 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7644 # A ".." for each directory in $ac_dir_suffix.
7645 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7646 case $ac_top_builddir_sub in
7647 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7648 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7651 ac_abs_top_builddir=$ac_pwd
7652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7653 # for backward compatibility:
7654 ac_top_builddir=$ac_top_build_prefix
7657 .) # We are building in place.
7659 ac_top_srcdir=$ac_top_builddir_sub
7660 ac_abs_top_srcdir=$ac_pwd ;;
7661 [\\/]* | ?:[\\/]* ) # Absolute name.
7662 ac_srcdir=$srcdir$ac_dir_suffix;
7663 ac_top_srcdir=$srcdir
7664 ac_abs_top_srcdir=$srcdir ;;
7666 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7667 ac_top_srcdir=$ac_top_build_prefix$srcdir
7668 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7680 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7681 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7685 [\\/$]* | ?:[\\/]* ) ;;
7686 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7691 # If the template does not know about datarootdir, expand it.
7692 # FIXME: This hack should be removed a few years after 2.60.
7693 ac_datarootdir_hack=; ac_datarootdir_seen=
7706 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7707 *datarootdir*) ac_datarootdir_seen=yes;;
7708 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7709 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7710 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7713 ac_datarootdir_hack='
7714 s&@datadir@&$datadir&g
7715 s&@docdir@&$docdir&g
7716 s&@infodir@&$infodir&g
7717 s&@localedir@&$localedir&g
7718 s&@mandir@&$mandir&g
7719 s&\\\${datarootdir}&$datarootdir&g' ;;
7723 # Neutralize VPATH when `$srcdir' = `.'.
7724 # Shell code in configure.ac might set extrasub.
7725 # FIXME: do we really want to maintain this feature?
7726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7727 ac_sed_extra="$ac_vpsub
7730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7733 s|@configure_input@|$ac_sed_conf_input|;t t
7734 s&@top_builddir@&$ac_top_builddir_sub&;t t
7735 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7736 s&@srcdir@&$ac_srcdir&;t t
7737 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7738 s&@top_srcdir@&$ac_top_srcdir&;t t
7739 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7740 s&@builddir@&$ac_builddir&;t t
7741 s&@abs_builddir@&$ac_abs_builddir&;t t
7742 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7743 s&@INSTALL@&$ac_INSTALL&;t t
7744 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7745 $ac_datarootdir_hack
7747 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7748 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7749 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7750 { (exit 1); exit 1; }; }
7752 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7753 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7754 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7755 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7756 which seems to be undefined. Please make sure it is defined." >&5
7757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7758 which seems to be undefined. Please make sure it is defined." >&2;}
7762 -) cat "$tmp/out" && rm -f "$tmp/out";;
7763 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7765 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7766 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7767 { (exit 1); exit 1; }; }
7773 if test x"$ac_file" != x-; then
7775 $as_echo "/* $configure_input */" \
7776 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7777 } >"$tmp/config.h" \
7778 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7779 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7780 { (exit 1); exit 1; }; }
7781 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7782 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7783 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7786 mv "$tmp/config.h" "$ac_file" \
7787 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7788 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7789 { (exit 1); exit 1; }; }
7792 $as_echo "/* $configure_input */" \
7793 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7794 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7795 $as_echo "$as_me: error: could not create -" >&2;}
7796 { (exit 1); exit 1; }; }
7798 # Compute "$ac_file"'s index in $config_headers.
7801 for _am_header in $config_headers :; do
7803 $_am_arg | $_am_arg:* )
7806 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7809 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7810 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7811 X"$_am_arg" : 'X\(//\)[^/]' \| \
7812 X"$_am_arg" : 'X\(//\)$' \| \
7813 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7814 $as_echo X"$_am_arg" |
7815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7831 s/.*/./; q'`/stamp-h$_am_stamp_count
7834 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7835 $as_echo "$as_me: executing $ac_file commands" >&6;}
7840 case $ac_file$ac_mode in
7841 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7842 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7843 # are listed without --file. Let's play safe and only enable the eval
7844 # if we detect the quoting.
7845 case $CONFIG_FILES in
7846 *\'*) eval set x "$CONFIG_FILES" ;;
7847 *) set x $CONFIG_FILES ;;
7852 # Strip MF so we end up with the name of the file.
7853 mf=`echo "$mf" | sed -e 's/:.*$//'`
7854 # Check whether this is an Automake generated Makefile or not.
7855 # We used to match only the files named `Makefile.in', but
7856 # some people rename them; so instead we look at the file content.
7857 # Grep'ing the first line is not enough: some people post-process
7858 # each Makefile.in and add a new line on top of each file to say so.
7859 # Grep'ing the whole file is not good either: AIX grep has a line
7860 # limit of 2048, but all sed's we know have understand at least 4000.
7861 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7862 dirpart=`$as_dirname -- "$mf" ||
7863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7864 X"$mf" : 'X\(//\)[^/]' \| \
7865 X"$mf" : 'X\(//\)$' \| \
7866 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7888 # Extract the definition of DEPDIR, am__include, and am__quote
7889 # from the Makefile without running `make'.
7890 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7891 test -z "$DEPDIR" && continue
7892 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7893 test -z "am__include" && continue
7894 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7895 # When using ansi2knr, U may be empty or an underscore; expand it
7896 U=`sed -n 's/^U = //p' < "$mf"`
7897 # Find all dependency output files, they are included files with
7898 # $(DEPDIR) in their names. We invoke sed twice because it is the
7899 # simplest approach to changing $(DEPDIR) to its actual value in the
7901 for file in `sed -n "
7902 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7903 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7904 # Make sure the directory exists.
7905 test -f "$dirpart/$file" && continue
7906 fdir=`$as_dirname -- "$file" ||
7907 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7908 X"$file" : 'X\(//\)[^/]' \| \
7909 X"$file" : 'X\(//\)$' \| \
7910 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7929 { as_dir=$dirpart/$fdir
7931 -*) as_dir=./$as_dir;;
7933 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7937 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7938 *) as_qdir=$as_dir;;
7940 as_dirs="'$as_qdir' $as_dirs"
7941 as_dir=`$as_dirname -- "$as_dir" ||
7942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7943 X"$as_dir" : 'X\(//\)[^/]' \| \
7944 X"$as_dir" : 'X\(//\)$' \| \
7945 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7946 $as_echo X"$as_dir" |
7947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7964 test -d "$as_dir" && break
7966 test -z "$as_dirs" || eval "mkdir $as_dirs"
7967 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7968 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7969 { (exit 1); exit 1; }; }; }
7970 # echo "creating $dirpart/$file"
7971 echo '# dummy' > "$dirpart/$file"
7981 { (exit 0); exit 0; }
7983 chmod +x $CONFIG_STATUS
7984 ac_clean_files=$ac_clean_files_save
7986 test $ac_write_fail = 0 ||
7987 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7988 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7989 { (exit 1); exit 1; }; }
7992 # configure is writing to config.log, and then calls config.status.
7993 # config.status does its own redirection, appending to config.log.
7994 # Unfortunately, on DOS this fails, as config.log is still kept open
7995 # by configure, so config.status won't be able to write to it; its
7996 # output is simply discarded. So we exec the FD to /dev/null,
7997 # effectively closing config.log, so it can be properly (re)opened and
7998 # appended to by config.status. When coming back to configure, we
7999 # need to make the FD available again.
8000 if test "$no_create" != yes; then
8002 ac_config_status_args=
8003 test "$silent" = yes &&
8004 ac_config_status_args="$ac_config_status_args --quiet"
8006 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8008 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8009 # would make configure fail if this is the last instruction.
8010 $ac_cs_success || { (exit 1); exit 1; }
8012 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8013 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8014 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}