2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for polyglot 1.4w10UCIb17.
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 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='polyglot'
576 PACKAGE_TARNAME='polyglot'
577 PACKAGE_VERSION='1.4w10UCIb17'
578 PACKAGE_STRING='polyglot 1.4w10UCIb17'
579 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
581 ac_unique_file="mainloop.cpp"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 INSTALL_STRIP_PROGRAM
705 ac_precious_vars='build_alias
719 # Initialize some variables set by options.
721 ac_init_version=false
722 # The variables have the same names as the options, with
723 # dashes changed to underlines.
731 program_transform_name=s,x,x,
739 # Installation directory options.
740 # These are left unexpanded so users can "make install exec_prefix=/foo"
741 # and all the variables that are supposed to be based on exec_prefix
742 # by default will actually change.
743 # Use braces instead of parens because sh, perl, etc. also accept them.
744 # (The list follows the same order as the GNU Coding Standards.)
745 bindir='${exec_prefix}/bin'
746 sbindir='${exec_prefix}/sbin'
747 libexecdir='${exec_prefix}/libexec'
748 datarootdir='${prefix}/share'
749 datadir='${datarootdir}'
750 sysconfdir='${prefix}/etc'
751 sharedstatedir='${prefix}/com'
752 localstatedir='${prefix}/var'
753 includedir='${prefix}/include'
754 oldincludedir='/usr/include'
755 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
756 infodir='${datarootdir}/info'
761 libdir='${exec_prefix}/lib'
762 localedir='${datarootdir}/locale'
763 mandir='${datarootdir}/man'
769 # If the previous option needs an argument, assign it.
770 if test -n "$ac_prev"; then
771 eval $ac_prev=\$ac_option
777 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781 # Accept the important Cygnus configure options, so we can diagnose typos.
783 case $ac_dashdash$ac_option in
787 -bindir | --bindir | --bindi | --bind | --bin | --bi)
789 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
792 -build | --build | --buil | --bui | --bu)
793 ac_prev=build_alias ;;
794 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
795 build_alias=$ac_optarg ;;
797 -cache-file | --cache-file | --cache-fil | --cache-fi \
798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
799 ac_prev=cache_file ;;
800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
802 cache_file=$ac_optarg ;;
805 cache_file=config.cache ;;
807 -datadir | --datadir | --datadi | --datad)
809 -datadir=* | --datadir=* | --datadi=* | --datad=*)
810 datadir=$ac_optarg ;;
812 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
813 | --dataroo | --dataro | --datar)
814 ac_prev=datarootdir ;;
815 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
816 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
817 datarootdir=$ac_optarg ;;
819 -disable-* | --disable-*)
820 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
823 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
824 { (exit 1); exit 1; }; }
825 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
826 eval enable_$ac_feature=no ;;
828 -docdir | --docdir | --docdi | --doc | --do)
830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
838 -enable-* | --enable-*)
839 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
842 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
843 { (exit 1); exit 1; }; }
844 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
845 eval enable_$ac_feature=\$ac_optarg ;;
847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
849 | --exec | --exe | --ex)
850 ac_prev=exec_prefix ;;
851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
853 | --exec=* | --exe=* | --ex=*)
854 exec_prefix=$ac_optarg ;;
856 -gas | --gas | --ga | --g)
857 # Obsolete; use --with-gas.
860 -help | --help | --hel | --he | -h)
862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
863 ac_init_help=recursive ;;
864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
865 ac_init_help=short ;;
867 -host | --host | --hos | --ho)
868 ac_prev=host_alias ;;
869 -host=* | --host=* | --hos=* | --ho=*)
870 host_alias=$ac_optarg ;;
872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876 htmldir=$ac_optarg ;;
878 -includedir | --includedir | --includedi | --included | --include \
879 | --includ | --inclu | --incl | --inc)
880 ac_prev=includedir ;;
881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
882 | --includ=* | --inclu=* | --incl=* | --inc=*)
883 includedir=$ac_optarg ;;
885 -infodir | --infodir | --infodi | --infod | --info | --inf)
887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888 infodir=$ac_optarg ;;
890 -libdir | --libdir | --libdi | --libd)
892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
896 | --libexe | --libex | --libe)
897 ac_prev=libexecdir ;;
898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
899 | --libexe=* | --libex=* | --libe=*)
900 libexecdir=$ac_optarg ;;
902 -localedir | --localedir | --localedi | --localed | --locale)
904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
905 localedir=$ac_optarg ;;
907 -localstatedir | --localstatedir | --localstatedi | --localstated \
908 | --localstate | --localstat | --localsta | --localst | --locals)
909 ac_prev=localstatedir ;;
910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
912 localstatedir=$ac_optarg ;;
914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
920 # Obsolete; use --without-fp.
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c | -n)
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
933 | --oldin | --oldi | --old | --ol | --o)
934 ac_prev=oldincludedir ;;
935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
938 oldincludedir=$ac_optarg ;;
940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
945 -program-prefix | --program-prefix | --program-prefi | --program-pref \
946 | --program-pre | --program-pr | --program-p)
947 ac_prev=program_prefix ;;
948 -program-prefix=* | --program-prefix=* | --program-prefi=* \
949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
950 program_prefix=$ac_optarg ;;
952 -program-suffix | --program-suffix | --program-suffi | --program-suff \
953 | --program-suf | --program-su | --program-s)
954 ac_prev=program_suffix ;;
955 -program-suffix=* | --program-suffix=* | --program-suffi=* \
956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
957 program_suffix=$ac_optarg ;;
959 -program-transform-name | --program-transform-name \
960 | --program-transform-nam | --program-transform-na \
961 | --program-transform-n | --program-transform- \
962 | --program-transform | --program-transfor \
963 | --program-transfo | --program-transf \
964 | --program-trans | --program-tran \
965 | --progr-tra | --program-tr | --program-t)
966 ac_prev=program_transform_name ;;
967 -program-transform-name=* | --program-transform-name=* \
968 | --program-transform-nam=* | --program-transform-na=* \
969 | --program-transform-n=* | --program-transform-=* \
970 | --program-transform=* | --program-transfor=* \
971 | --program-transfo=* | --program-transf=* \
972 | --program-trans=* | --program-tran=* \
973 | --progr-tra=* | --program-tr=* | --program-t=*)
974 program_transform_name=$ac_optarg ;;
976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
981 -psdir | --psdir | --psdi | --psd | --ps)
983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 sbindir=$ac_optarg ;;
996 -sharedstatedir | --sharedstatedir | --sharedstatedi \
997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998 | --sharedst | --shareds | --shared | --share | --shar \
1000 ac_prev=sharedstatedir ;;
1001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 sharedstatedir=$ac_optarg ;;
1007 -site | --site | --sit)
1009 -site=* | --site=* | --sit=*)
1012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1015 srcdir=$ac_optarg ;;
1017 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1018 | --syscon | --sysco | --sysc | --sys | --sy)
1019 ac_prev=sysconfdir ;;
1020 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1021 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1022 sysconfdir=$ac_optarg ;;
1024 -target | --target | --targe | --targ | --tar | --ta | --t)
1025 ac_prev=target_alias ;;
1026 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1027 target_alias=$ac_optarg ;;
1029 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1032 -version | --version | --versio | --versi | --vers | -V)
1033 ac_init_version=: ;;
1036 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1042 eval with_$ac_package=\$ac_optarg ;;
1044 -without-* | --without-*)
1045 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048 { echo "$as_me: error: invalid package name: $ac_package" >&2
1049 { (exit 1); exit 1; }; }
1050 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1051 eval with_$ac_package=no ;;
1054 # Obsolete; use --with-x.
1057 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1058 | --x-incl | --x-inc | --x-in | --x-i)
1059 ac_prev=x_includes ;;
1060 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1061 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1062 x_includes=$ac_optarg ;;
1064 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1065 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1066 ac_prev=x_libraries ;;
1067 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1068 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069 x_libraries=$ac_optarg ;;
1071 -*) { echo "$as_me: error: unrecognized option: $ac_option
1072 Try \`$0 --help' for more information." >&2
1073 { (exit 1); exit 1; }; }
1077 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1080 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081 { (exit 1); exit 1; }; }
1082 eval $ac_envvar=\$ac_optarg
1083 export $ac_envvar ;;
1086 # FIXME: should be removed in autoconf 3.0.
1087 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1096 if test -n "$ac_prev"; then
1097 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098 { echo "$as_me: error: missing argument to $ac_option" >&2
1099 { (exit 1); exit 1; }; }
1102 # Be sure to have absolute directory names.
1103 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val=\$$ac_var
1110 [\\/$]* | ?:[\\/]* ) continue;;
1111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114 { (exit 1); exit 1; }; }
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1122 target=$target_alias
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x; then
1126 if test "x$build_alias" = x; then
1127 cross_compiling=maybe
1128 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1136 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1138 test "$silent" = yes && exec 6>/dev/null
1141 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di=`ls -di .` &&
1143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144 { echo "$as_me: error: Working directory cannot be determined" >&2
1145 { (exit 1); exit 1; }; }
1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147 { echo "$as_me: error: pwd does not report name of working directory" >&2
1148 { (exit 1); exit 1; }; }
1151 # Find the source files, if location was not specified.
1152 if test -z "$srcdir"; then
1153 ac_srcdir_defaulted=yes
1154 # Try the directory containing this script, then the parent directory.
1155 ac_confdir=`$as_dirname -- "$0" ||
1156 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157 X"$0" : 'X\(//\)[^/]' \| \
1158 X"$0" : 'X\(//\)$' \| \
1159 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1183 ac_srcdir_defaulted=no
1185 if test ! -r "$srcdir/$ac_unique_file"; then
1186 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188 { (exit 1); exit 1; }; }
1190 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1192 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1193 { (exit 1); exit 1; }; }
1195 # When building in place, set srcdir=.
1196 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 # Remove unnecessary trailing slashes from srcdir.
1200 # Double slashes in file names in object file debugging info
1201 # mess up M-x gdb in Emacs.
1203 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1205 for ac_var in $ac_precious_vars; do
1206 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1207 eval ac_env_${ac_var}_value=\$${ac_var}
1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213 # Report the --help message.
1215 if test "$ac_init_help" = "long"; then
1216 # Omit some internal or obsolete options to make the list less imposing.
1217 # This message is too long to be a string in the A/UX 3.1 sh.
1219 \`configure' configures polyglot 1.4w10UCIb17 to adapt to many kinds of systems.
1221 Usage: $0 [OPTION]... [VAR=VALUE]...
1223 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1224 VAR=VALUE. See below for descriptions of some of the useful variables.
1226 Defaults for the options are specified in brackets.
1229 -h, --help display this help and exit
1230 --help=short display options specific to this package
1231 --help=recursive display the short help of all the included packages
1232 -V, --version display version information and exit
1233 -q, --quiet, --silent do not print \`checking...' messages
1234 --cache-file=FILE cache test results in FILE [disabled]
1235 -C, --config-cache alias for \`--cache-file=config.cache'
1236 -n, --no-create do not create output files
1237 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1239 Installation directories:
1240 --prefix=PREFIX install architecture-independent files in PREFIX
1241 [$ac_default_prefix]
1242 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1245 By default, \`make install' will install all the files in
1246 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1247 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1248 for instance \`--prefix=\$HOME'.
1250 For better control, use the options below.
1252 Fine tuning of the installation directories:
1253 --bindir=DIR user executables [EPREFIX/bin]
1254 --sbindir=DIR system admin executables [EPREFIX/sbin]
1255 --libexecdir=DIR program executables [EPREFIX/libexec]
1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1258 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1259 --libdir=DIR object code libraries [EPREFIX/lib]
1260 --includedir=DIR C header files [PREFIX/include]
1261 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1264 --infodir=DIR info documentation [DATAROOTDIR/info]
1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1266 --mandir=DIR man documentation [DATAROOTDIR/man]
1267 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1268 --htmldir=DIR html documentation [DOCDIR]
1269 --dvidir=DIR dvi documentation [DOCDIR]
1270 --pdfdir=DIR pdf documentation [DOCDIR]
1271 --psdir=DIR ps documentation [DOCDIR]
1277 --program-prefix=PREFIX prepend PREFIX to installed program names
1278 --program-suffix=SUFFIX append SUFFIX to installed program names
1279 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1283 if test -n "$ac_init_help"; then
1284 case $ac_init_help in
1285 short | recursive ) echo "Configuration of polyglot 1.4w10UCIb17:";;
1290 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1291 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1292 --disable-dependency-tracking speeds up one-time build
1293 --enable-dependency-tracking do not reject slow dependency extractors
1295 Some influential environment variables:
1296 CXX C++ compiler command
1297 CXXFLAGS C++ compiler flags
1298 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1299 nonstandard directory <lib dir>
1300 LIBS libraries to pass to the linker, e.g. -l<library>
1301 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1302 you have headers in a nonstandard directory <include dir>
1303 CC C compiler command
1304 CFLAGS C compiler flags
1307 Use these variables to override the choices made by `configure' or to help
1308 it to find libraries and programs with nonstandard names/locations.
1310 Report bugs to <michel.vandenbergh@uhasselt.be>.
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" || continue
1322 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1325 # A ".." for each directory in $ac_dir_suffix.
1326 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1327 case $ac_top_builddir_sub in
1328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 ac_abs_top_builddir=$ac_pwd
1333 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1334 # for backward compatibility:
1335 ac_top_builddir=$ac_top_build_prefix
1338 .) # We are building in place.
1340 ac_top_srcdir=$ac_top_builddir_sub
1341 ac_abs_top_srcdir=$ac_pwd ;;
1342 [\\/]* | ?:[\\/]* ) # Absolute name.
1343 ac_srcdir=$srcdir$ac_dir_suffix;
1344 ac_top_srcdir=$srcdir
1345 ac_abs_top_srcdir=$srcdir ;;
1347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 cd "$ac_dir" || { ac_status=$?; continue; }
1354 # Check for guested configure.
1355 if test -f "$ac_srcdir/configure.gnu"; then
1357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1358 elif test -f "$ac_srcdir/configure"; then
1360 $SHELL "$ac_srcdir/configure" --help=recursive
1362 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364 cd "$ac_pwd" || { ac_status=$?; break; }
1368 test -n "$ac_init_help" && exit $ac_status
1369 if $ac_init_version; then
1371 polyglot configure 1.4w10UCIb17
1372 generated by GNU Autoconf 2.61
1374 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1375 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1376 This configure script is free software; the Free Software Foundation
1377 gives unlimited permission to copy, distribute and modify it.
1381 cat >config.log <<_ACEOF
1382 This file contains any messages produced by compilers while
1383 running configure, to aid debugging if configure makes a mistake.
1385 It was created by polyglot $as_me 1.4w10UCIb17, which was
1386 generated by GNU Autoconf 2.61. Invocation command line was
1398 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1399 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1400 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1401 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1402 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1404 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1405 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1407 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1408 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1409 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1410 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1411 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1412 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1413 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1421 test -z "$as_dir" && as_dir=.
1422 echo "PATH: $as_dir"
1438 # Keep a trace of the command line.
1439 # Strip out --no-create and --no-recursion so they do not pile up.
1440 # Strip out --silent because we don't want to record it for future runs.
1441 # Also quote any args containing shell meta-characters.
1442 # Make two passes to allow for proper duplicate-argument suppression.
1446 ac_must_keep_next=false
1452 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1453 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1454 | -silent | --silent | --silen | --sile | --sil)
1457 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1460 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1462 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1463 if test $ac_must_keep_next = true; then
1464 ac_must_keep_next=false # Got value, back to normal.
1467 *=* | --config-cache | -C | -disable-* | --disable-* \
1468 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1469 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1470 | -with-* | --with-* | -without-* | --without-* | --x)
1471 case "$ac_configure_args0 " in
1472 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1475 -* ) ac_must_keep_next=true ;;
1478 ac_configure_args="$ac_configure_args '$ac_arg'"
1483 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1484 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1486 # When interrupted or exit'd, cleanup temporary files, and complete
1487 # config.log. We remove comments because anyway the quotes in there
1488 # would cause problems or look ugly.
1489 # WARNING: Use '\'' to represent an apostrophe within the trap.
1490 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1491 trap 'exit_status=$?
1492 # Save into config.log some information that might help in debugging.
1497 ## ---------------- ##
1498 ## Cache variables. ##
1499 ## ---------------- ##
1502 # The following way of writing the cache mishandles newlines in values,
1504 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1505 eval ac_val=\$$ac_var
1509 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1510 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1513 _ | IFS | as_nl) ;; #(
1514 *) $as_unset $ac_var ;;
1519 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1520 *${as_nl}ac_space=\ *)
1522 "s/'\''/'\''\\\\'\'''\''/g;
1523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1526 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1534 ## ----------------- ##
1535 ## Output variables. ##
1536 ## ----------------- ##
1539 for ac_var in $ac_subst_vars
1541 eval ac_val=\$$ac_var
1543 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545 echo "$ac_var='\''$ac_val'\''"
1549 if test -n "$ac_subst_files"; then
1551 ## ------------------- ##
1552 ## File substitutions. ##
1553 ## ------------------- ##
1556 for ac_var in $ac_subst_files
1558 eval ac_val=\$$ac_var
1560 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562 echo "$ac_var='\''$ac_val'\''"
1567 if test -s confdefs.h; then
1577 test "$ac_signal" != 0 &&
1578 echo "$as_me: caught signal $ac_signal"
1579 echo "$as_me: exit $exit_status"
1581 rm -f core *.core core.conftest.* &&
1582 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1585 for ac_signal in 1 2 13 15; do
1586 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1590 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1591 rm -f -r conftest* confdefs.h
1593 # Predefined preprocessor variables.
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_NAME "$PACKAGE_NAME"
1600 cat >>confdefs.h <<_ACEOF
1601 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1605 cat >>confdefs.h <<_ACEOF
1606 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1610 cat >>confdefs.h <<_ACEOF
1611 #define PACKAGE_STRING "$PACKAGE_STRING"
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1620 # Let the site file select an alternate cache file if it wants to.
1621 # Prefer explicitly selected file to automatically selected ones.
1622 if test -n "$CONFIG_SITE"; then
1623 set x "$CONFIG_SITE"
1624 elif test "x$prefix" != xNONE; then
1625 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1627 set x "$ac_default_prefix/share/config.site" \
1628 "$ac_default_prefix/etc/config.site"
1633 if test -r "$ac_site_file"; then
1634 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1635 echo "$as_me: loading site script $ac_site_file" >&6;}
1636 sed 's/^/| /' "$ac_site_file" >&5
1641 if test -r "$cache_file"; then
1642 # Some versions of bash will fail to source /dev/null (special
1643 # files actually), so we avoid doing that.
1644 if test -f "$cache_file"; then
1645 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1646 echo "$as_me: loading cache $cache_file" >&6;}
1648 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1649 *) . "./$cache_file";;
1653 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1654 echo "$as_me: creating cache $cache_file" >&6;}
1658 # Check that the precious variables saved in the cache have kept the same
1660 ac_cache_corrupted=false
1661 for ac_var in $ac_precious_vars; do
1662 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1663 eval ac_new_set=\$ac_env_${ac_var}_set
1664 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1665 eval ac_new_val=\$ac_env_${ac_var}_value
1666 case $ac_old_set,$ac_new_set in
1668 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1669 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1670 ac_cache_corrupted=: ;;
1672 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1673 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1674 ac_cache_corrupted=: ;;
1677 if test "x$ac_old_val" != "x$ac_new_val"; then
1678 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1679 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1680 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1681 echo "$as_me: former value: $ac_old_val" >&2;}
1682 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1683 echo "$as_me: current value: $ac_new_val" >&2;}
1684 ac_cache_corrupted=:
1687 # Pass precious variables to config.status.
1688 if test "$ac_new_set" = set; then
1690 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1691 *) ac_arg=$ac_var=$ac_new_val ;;
1693 case " $ac_configure_args " in
1694 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1695 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1699 if $ac_cache_corrupted; then
1700 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1701 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1702 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1703 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1704 { (exit 1); exit 1; }; }
1732 ac_cpp='$CPP $CPPFLAGS'
1733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1738 am__api_version='1.10'
1741 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1742 if test -f "$ac_dir/install-sh"; then
1744 ac_install_sh="$ac_aux_dir/install-sh -c"
1746 elif test -f "$ac_dir/install.sh"; then
1748 ac_install_sh="$ac_aux_dir/install.sh -c"
1750 elif test -f "$ac_dir/shtool"; then
1752 ac_install_sh="$ac_aux_dir/shtool install -c"
1756 if test -z "$ac_aux_dir"; then
1757 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1758 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1759 { (exit 1); exit 1; }; }
1762 # These three variables are undocumented and unsupported,
1763 # and are intended to be withdrawn in a future Autoconf release.
1764 # They can cause serious problems if a builder's source tree is in a directory
1765 # whose full name contains unusual characters.
1766 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1767 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1768 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1771 # Find a good install program. We prefer a C program (faster),
1772 # so one script is as good as another. But avoid the broken or
1773 # incompatible versions:
1774 # SysV /etc/install, /usr/sbin/install
1775 # SunOS /usr/etc/install
1776 # IRIX /sbin/install
1778 # AmigaOS /C/install, which installs bootblocks on floppy discs
1779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1782 # OS/2's system install, which has a completely different semantic
1783 # ./install, which can be erroneously created by make from ./install.sh.
1784 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1786 if test -z "$INSTALL"; then
1787 if test "${ac_cv_path_install+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 test -z "$as_dir" && as_dir=.
1795 # Account for people who put trailing slashes in PATH elements.
1797 ./ | .// | /cC/* | \
1798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1799 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1802 # OSF1 and SCO ODT 3.0 have their own names for install.
1803 # Don't use installbsd from OSF since it installs stuff as root
1805 for ac_prog in ginstall scoinst install; do
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1808 if test $ac_prog = install &&
1809 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1810 # AIX install. It has an incompatible calling convention.
1812 elif test $ac_prog = install &&
1813 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814 # program-specific install script used by HP pwplus--don't use.
1817 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1830 if test "${ac_cv_path_install+set}" = set; then
1831 INSTALL=$ac_cv_path_install
1833 # As a last resort, use the slow shell script. Don't cache a
1834 # value for INSTALL within a source directory, because that will
1835 # break other packages using the cache if that directory is
1836 # removed, or if the value is a relative name.
1837 INSTALL=$ac_install_sh
1840 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1841 echo "${ECHO_T}$INSTALL" >&6; }
1843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1844 # It thinks the first close brace ends the variable substitution.
1845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1851 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1852 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1855 echo timestamp > conftest.file
1856 # Do `set' in a subshell so we don't clobber the current shell's
1857 # arguments. Must try -L first in case configure is actually a
1858 # symlink; some systems play weird games with the mod time of symlinks
1859 # (eg FreeBSD returns the mod time of the symlink's containing
1862 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1863 if test "$*" = "X"; then
1865 set X `ls -t $srcdir/configure conftest.file`
1868 if test "$*" != "X $srcdir/configure conftest.file" \
1869 && test "$*" != "X conftest.file $srcdir/configure"; then
1871 # If neither matched, then we have a broken ls. This can happen
1872 # if, for instance, CONFIG_SHELL is bash and it inherits a
1873 # broken ls alias from the environment. This has actually
1874 # happened. Such a system could not be considered "sane".
1875 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1876 alias in your environment" >&5
1877 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1878 alias in your environment" >&2;}
1879 { (exit 1); exit 1; }; }
1882 test "$2" = conftest.file
1888 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1889 Check your system clock" >&5
1890 echo "$as_me: error: newly created file is older than distributed files!
1891 Check your system clock" >&2;}
1892 { (exit 1); exit 1; }; }
1894 { echo "$as_me:$LINENO: result: yes" >&5
1895 echo "${ECHO_T}yes" >&6; }
1896 test "$program_prefix" != NONE &&
1897 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1898 # Use a double $ so make ignores it.
1899 test "$program_suffix" != NONE &&
1900 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1901 # Double any \ or $. echo might interpret backslashes.
1902 # By default was `s,x,x', remove it if useless.
1903 cat <<\_ACEOF >conftest.sed
1904 s/[\\$]/&&/g;s/;s,x,x,$//
1906 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1909 # expand $ac_aux_dir to an absolute path
1910 am_aux_dir=`cd $ac_aux_dir && pwd`
1912 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1913 # Use eval to expand $SHELL
1914 if eval "$MISSING --run true"; then
1915 am_missing_run="$MISSING --run "
1918 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1919 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1922 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1923 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1924 if test -z "$MKDIR_P"; then
1925 if test "${ac_cv_path_mkdir+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1932 test -z "$as_dir" && as_dir=.
1933 for ac_prog in mkdir gmkdir; do
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1936 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1937 'mkdir (GNU coreutils) '* | \
1938 'mkdir (coreutils) '* | \
1939 'mkdir (fileutils) '4.1*)
1940 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1950 if test "${ac_cv_path_mkdir+set}" = set; then
1951 MKDIR_P="$ac_cv_path_mkdir -p"
1953 # As a last resort, use the slow shell script. Don't cache a
1954 # value for MKDIR_P within a source directory, because that will
1955 # break other packages using the cache if that directory is
1956 # removed, or if the value is a relative name.
1957 test -d ./--version && rmdir ./--version
1958 MKDIR_P="$ac_install_sh -d"
1961 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1962 echo "${ECHO_T}$MKDIR_P" >&6; }
1966 [\\/$]* | ?:[\\/]*) ;;
1967 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1970 for ac_prog in gawk mawk nawk awk
1972 # Extract the first word of "$ac_prog", so it can be a program name with args.
1973 set dummy $ac_prog; ac_word=$2
1974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1976 if test "${ac_cv_prog_AWK+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$AWK"; then
1980 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989 ac_cv_prog_AWK="$ac_prog"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 if test -n "$AWK"; then
2001 { echo "$as_me:$LINENO: result: $AWK" >&5
2002 echo "${ECHO_T}$AWK" >&6; }
2004 { echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6; }
2009 test -n "$AWK" && break
2012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2014 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 cat >conftest.make <<\_ACEOF
2021 @echo '@@@%%%=$(MAKE)=@@@%%%'
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2026 eval ac_cv_prog_make_${ac_make}_set=yes;;
2028 eval ac_cv_prog_make_${ac_make}_set=no;;
2032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2033 { echo "$as_me:$LINENO: result: yes" >&5
2034 echo "${ECHO_T}yes" >&6; }
2037 { echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6; }
2039 SET_MAKE="MAKE=${MAKE-make}"
2042 rm -rf .tst 2>/dev/null
2043 mkdir .tst 2>/dev/null
2044 if test -d .tst; then
2049 rmdir .tst 2>/dev/null
2051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2052 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2053 # is not polluted with repeated "-I."
2054 am__isrc=' -I$(srcdir)'
2055 # test to see if srcdir already configured
2056 if test -f $srcdir/config.status; then
2057 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2058 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2059 { (exit 1); exit 1; }; }
2063 # test whether we have cygpath
2064 if test -z "$CYGPATH_W"; then
2065 if (cygpath --version) >/dev/null 2>/dev/null; then
2066 CYGPATH_W='cygpath -w'
2073 # Define the identity of the package.
2075 VERSION='1.4w10UCIb17'
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE "$PACKAGE"
2083 cat >>confdefs.h <<_ACEOF
2084 #define VERSION "$VERSION"
2087 # Some tools Automake needs.
2089 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2092 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2095 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2098 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2101 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2103 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2105 # Installed binaries are usually stripped using `strip' when the user
2106 # run `make install-strip'. However `strip' might not be the right
2107 # tool to use in cross-compilation environments, therefore Automake
2108 # will honor the `STRIP' environment variable to overrule this program.
2109 if test "$cross_compiling" != no; then
2110 if test -n "$ac_tool_prefix"; then
2111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2112 set dummy ${ac_tool_prefix}strip; ac_word=$2
2113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2115 if test "${ac_cv_prog_STRIP+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$STRIP"; then
2119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2128 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2138 STRIP=$ac_cv_prog_STRIP
2139 if test -n "$STRIP"; then
2140 { echo "$as_me:$LINENO: result: $STRIP" >&5
2141 echo "${ECHO_T}$STRIP" >&6; }
2143 { echo "$as_me:$LINENO: result: no" >&5
2144 echo "${ECHO_T}no" >&6; }
2149 if test -z "$ac_cv_prog_STRIP"; then
2151 # Extract the first word of "strip", so it can be a program name with args.
2152 set dummy strip; ac_word=$2
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2155 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$ac_ct_STRIP"; then
2159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2168 ac_cv_prog_ac_ct_STRIP="strip"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2179 if test -n "$ac_ct_STRIP"; then
2180 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2181 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2183 { echo "$as_me:$LINENO: result: no" >&5
2184 echo "${ECHO_T}no" >&6; }
2187 if test "x$ac_ct_STRIP" = x; then
2190 case $cross_compiling:$ac_tool_warned in
2192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2193 whose name does not start with the host triplet. If you think this
2194 configuration is useful to you, please write to autoconf@gnu.org." >&5
2195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2196 whose name does not start with the host triplet. If you think this
2197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2198 ac_tool_warned=yes ;;
2203 STRIP="$ac_cv_prog_STRIP"
2207 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2209 # We need awk for the "check" target. The system "awk" is bad on
2211 # Always define AMTAR for backward compatibility.
2213 AMTAR=${AMTAR-"${am_missing_run}tar"}
2215 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2222 ac_config_headers="$ac_config_headers config.h"
2225 # Checks for programs.
2227 ac_cpp='$CXXCPP $CPPFLAGS'
2228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2231 if test -z "$CXX"; then
2232 if test -n "$CCC"; then
2235 if test -n "$ac_tool_prefix"; then
2236 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2242 if test "${ac_cv_prog_CXX+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 if test -n "$CXX"; then
2246 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test -n "$CXX"; then
2267 { echo "$as_me:$LINENO: result: $CXX" >&5
2268 echo "${ECHO_T}$CXX" >&6; }
2270 { echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6; }
2275 test -n "$CXX" && break
2278 if test -z "$CXX"; then
2280 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2286 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 if test -n "$ac_ct_CXX"; then
2290 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_ac_ct_CXX="$ac_prog"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2310 if test -n "$ac_ct_CXX"; then
2311 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2312 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2314 { echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6; }
2319 test -n "$ac_ct_CXX" && break
2322 if test "x$ac_ct_CXX" = x; then
2325 case $cross_compiling:$ac_tool_warned in
2327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2328 whose name does not start with the host triplet. If you think this
2329 configuration is useful to you, please write to autoconf@gnu.org." >&5
2330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2333 ac_tool_warned=yes ;;
2341 # Provide some information about the compiler.
2342 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2343 ac_compiler=`set X $ac_compile; echo $2`
2344 { (ac_try="$ac_compiler --version >&5"
2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2347 *) ac_try_echo=$ac_try;;
2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2350 (eval "$ac_compiler --version >&5") 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2354 { (ac_try="$ac_compiler -v >&5"
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler -v >&5") 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -V >&5"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -V >&5") 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2375 cat >conftest.$ac_ext <<_ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2390 ac_clean_files_save=$ac_clean_files
2391 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2392 # Try to create an executable without -o first, disregard a.out.
2393 # It will help us diagnose broken compilers, and finding out an intuition
2395 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2396 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2397 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2399 # List of possible output files, starting from the most likely.
2400 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2401 # only as a last resort. b.out is created by i960 compilers.
2402 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2404 # The IRIX 6 linker writes into existing files which may not be
2405 # executable, retaining their permissions. Remove them first so a
2406 # subsequent execution test works.
2408 for ac_file in $ac_files
2411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2412 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2417 if { (ac_try="$ac_link_default"
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423 (eval "$ac_link_default") 2>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; then
2427 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2428 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2429 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2430 # so that the user can short-circuit this test for compilers unknown to
2432 for ac_file in $ac_files ''
2434 test -f "$ac_file" || continue
2436 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2439 # We found the default executable, but exeext='' is most
2443 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2445 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2447 # We set ac_cv_exeext here because the later test for it is not
2448 # safe: cross compilers may not add the suffix if given an `-o'
2449 # argument, so we may need to know it at that point already.
2450 # Even if this section looks crufty: it has the advantage of
2457 test "$ac_cv_exeext" = no && ac_cv_exeext=
2463 { echo "$as_me:$LINENO: result: $ac_file" >&5
2464 echo "${ECHO_T}$ac_file" >&6; }
2465 if test -z "$ac_file"; then
2466 echo "$as_me: failed program was:" >&5
2467 sed 's/^/| /' conftest.$ac_ext >&5
2469 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2470 See \`config.log' for more details." >&5
2471 echo "$as_me: error: C++ compiler cannot create executables
2472 See \`config.log' for more details." >&2;}
2473 { (exit 77); exit 77; }; }
2476 ac_exeext=$ac_cv_exeext
2478 # Check that the compiler produces executables we can run. If not, either
2479 # the compiler is broken, or we cross compile.
2480 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2481 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2482 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2483 # If not cross compiling, check that we can run a simple program.
2484 if test "$cross_compiling" != yes; then
2485 if { ac_try='./$ac_file'
2486 { (case "(($ac_try" in
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2491 (eval "$ac_try") 2>&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; }; then
2497 if test "$cross_compiling" = maybe; then
2500 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&5
2503 echo "$as_me: error: cannot run C++ compiled programs.
2504 If you meant to cross compile, use \`--host'.
2505 See \`config.log' for more details." >&2;}
2506 { (exit 1); exit 1; }; }
2510 { echo "$as_me:$LINENO: result: yes" >&5
2511 echo "${ECHO_T}yes" >&6; }
2513 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2514 ac_clean_files=$ac_clean_files_save
2515 # Check that the compiler produces executables we can run. If not, either
2516 # the compiler is broken, or we cross compile.
2517 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2518 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2519 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2520 echo "${ECHO_T}$cross_compiling" >&6; }
2522 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2523 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2524 if { (ac_try="$ac_link"
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2530 (eval "$ac_link") 2>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; then
2534 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2535 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2536 # work properly (i.e., refer to `conftest.exe'), while it won't with
2538 for ac_file in conftest.exe conftest conftest.*; do
2539 test -f "$ac_file" || continue
2541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2542 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2548 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2549 See \`config.log' for more details." >&5
2550 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2551 See \`config.log' for more details." >&2;}
2552 { (exit 1); exit 1; }; }
2555 rm -f conftest$ac_cv_exeext
2556 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2557 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2559 rm -f conftest.$ac_ext
2560 EXEEXT=$ac_cv_exeext
2562 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2563 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2564 if test "${ac_cv_objext+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 cat >conftest.$ac_ext <<_ACEOF
2570 cat confdefs.h >>conftest.$ac_ext
2571 cat >>conftest.$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2582 rm -f conftest.o conftest.obj
2583 if { (ac_try="$ac_compile"
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_compile") 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; then
2593 for ac_file in conftest.o conftest.obj conftest.*; do
2594 test -f "$ac_file" || continue;
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2597 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2605 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2606 See \`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2608 See \`config.log' for more details." >&2;}
2609 { (exit 1); exit 1; }; }
2612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2614 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2615 echo "${ECHO_T}$ac_cv_objext" >&6; }
2616 OBJEXT=$ac_cv_objext
2618 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2619 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2620 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 cat >conftest.$ac_ext <<_ACEOF
2626 cat confdefs.h >>conftest.$ac_ext
2627 cat >>conftest.$ac_ext <<_ACEOF
2628 /* end confdefs.h. */
2641 rm -f conftest.$ac_objext
2642 if { (ac_try="$ac_compile"
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_compile") 2>conftest.er1
2650 grep -v '^ *+' conftest.er1 >conftest.err
2652 cat conftest.err >&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } && {
2655 test -z "$ac_cxx_werror_flag" ||
2656 test ! -s conftest.err
2657 } && test -s conftest.$ac_objext; then
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2670 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2671 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2672 GXX=`test $ac_compiler_gnu = yes && echo yes`
2673 ac_test_CXXFLAGS=${CXXFLAGS+set}
2674 ac_save_CXXFLAGS=$CXXFLAGS
2675 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2676 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2677 if test "${ac_cv_prog_cxx_g+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2681 ac_cxx_werror_flag=yes
2684 cat >conftest.$ac_ext <<_ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 rm -f conftest.$ac_objext
2700 if { (ac_try="$ac_compile"
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2706 (eval "$ac_compile") 2>conftest.er1
2708 grep -v '^ *+' conftest.er1 >conftest.err
2710 cat conftest.err >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } && {
2713 test -z "$ac_cxx_werror_flag" ||
2714 test ! -s conftest.err
2715 } && test -s conftest.$ac_objext; then
2716 ac_cv_prog_cxx_g=yes
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2722 cat >conftest.$ac_ext <<_ACEOF
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2737 rm -f conftest.$ac_objext
2738 if { (ac_try="$ac_compile"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2744 (eval "$ac_compile") 2>conftest.er1
2746 grep -v '^ *+' conftest.er1 >conftest.err
2748 cat conftest.err >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } && {
2751 test -z "$ac_cxx_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext; then
2756 echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2759 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2761 cat >conftest.$ac_ext <<_ACEOF
2764 cat confdefs.h >>conftest.$ac_ext
2765 cat >>conftest.$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2776 rm -f conftest.$ac_objext
2777 if { (ac_try="$ac_compile"
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2783 (eval "$ac_compile") 2>conftest.er1
2785 grep -v '^ *+' conftest.er1 >conftest.err
2787 cat conftest.err >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } && {
2790 test -z "$ac_cxx_werror_flag" ||
2791 test ! -s conftest.err
2792 } && test -s conftest.$ac_objext; then
2793 ac_cv_prog_cxx_g=yes
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2810 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2811 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2812 if test "$ac_test_CXXFLAGS" = set; then
2813 CXXFLAGS=$ac_save_CXXFLAGS
2814 elif test $ac_cv_prog_cxx_g = yes; then
2815 if test "$GXX" = yes; then
2821 if test "$GXX" = yes; then
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 DEPDIR="${am__leading_dot}deps"
2834 ac_config_commands="$ac_config_commands depfiles"
2837 am_make=${MAKE-make}
2838 cat > confinc << 'END'
2843 # If we don't find an include directive, just comment out the code.
2844 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2845 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2849 # First try GNU make style include.
2850 echo "include confinc" > confmf
2851 # We grep out `Entering directory' and `Leaving directory'
2852 # messages which can occur if `w' ends up in MAKEFLAGS.
2853 # In particular we don't look at `^make:' because GNU make might
2854 # be invoked under some other name (usually "gmake"), in which
2855 # case it prints its new name instead of `make'.
2856 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2861 # Now try BSD make style include.
2862 if test "$am__include" = "#"; then
2863 echo '.include "confinc"' > confmf
2864 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2865 am__include=.include
2872 { echo "$as_me:$LINENO: result: $_am_result" >&5
2873 echo "${ECHO_T}$_am_result" >&6; }
2874 rm -f confinc confmf
2876 # Check whether --enable-dependency-tracking was given.
2877 if test "${enable_dependency_tracking+set}" = set; then
2878 enableval=$enable_dependency_tracking;
2881 if test "x$enable_dependency_tracking" != xno; then
2882 am_depcomp="$ac_aux_dir/depcomp"
2885 if test "x$enable_dependency_tracking" != xno; then
2895 depcc="$CXX" am_compiler_list=
2897 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2898 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2899 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2903 # We make a subdir and do the tests there. Otherwise we can end up
2904 # making bogus files that we don't know about and never remove. For
2905 # instance it was reported that on HP-UX the gcc test will end up
2906 # making a dummy file named `D' -- because `-MD' means `put the output
2909 # Copy depcomp to subdir because otherwise we won't find it if we're
2910 # using a relative directory.
2911 cp "$am_depcomp" conftest.dir
2913 # We will build objects and dependencies in a subdirectory because
2914 # it helps to detect inapplicable dependency modes. For instance
2915 # both Tru64's cc and ICC support -MD to output dependencies as a
2916 # side effect of compilation, but ICC will put the dependencies in
2917 # the current directory while Tru64 will put them in the object
2921 am_cv_CXX_dependencies_compiler_type=none
2922 if test "$am_compiler_list" = ""; then
2923 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2925 for depmode in $am_compiler_list; do
2926 # Setup a source with many dependencies, because some compilers
2927 # like to wrap large dependency lists on column 80 (with \), and
2928 # we should not choose a depcomp mode which is confused by this.
2930 # We need to recreate these files for each test, as the compiler may
2931 # overwrite some of them when testing with obscure command lines.
2932 # This happens at least with the AIX C compiler.
2934 for i in 1 2 3 4 5 6; do
2935 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2936 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2937 # Solaris 8's {/usr,}/bin/sh.
2938 touch sub/conftst$i.h
2940 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2944 # after this tag, mechanisms are not by side-effect, so they'll
2945 # only be used when explicitly requested
2946 if test "x$enable_dependency_tracking" = xyes; then
2954 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2955 # mode. It turns out that the SunPro C++ compiler does not properly
2956 # handle `-M -o', and we need to detect this.
2957 if depmode=$depmode \
2958 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2959 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2960 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2961 >/dev/null 2>conftest.err &&
2962 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2963 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2964 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2965 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2966 # icc doesn't choke on unknown options, it will just issue warnings
2967 # or remarks (even with -Werror). So we grep stderr for any message
2968 # that says an option was ignored or not supported.
2969 # When given -MP, icc 7.0 and 7.1 complain thusly:
2970 # icc: Command line warning: ignoring option '-M'; no argument required
2971 # The diagnosis changed in icc 8.0:
2972 # icc: Command line remark: option '-MP' not supported
2973 if (grep 'ignoring option' conftest.err ||
2974 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2975 am_cv_CXX_dependencies_compiler_type=$depmode
2984 am_cv_CXX_dependencies_compiler_type=none
2988 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2989 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
2990 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2993 test "x$enable_dependency_tracking" != xno \
2994 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2995 am__fastdepCXX_TRUE=
2996 am__fastdepCXX_FALSE='#'
2998 am__fastdepCXX_TRUE='#'
2999 am__fastdepCXX_FALSE=
3004 ac_cpp='$CPP $CPPFLAGS'
3005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3008 if test -n "$ac_tool_prefix"; then
3009 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3010 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3013 if test "${ac_cv_prog_CC+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 if test -n "$CC"; then
3017 ac_cv_prog_CC="$CC" # Let the user override the test.
3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 test -z "$as_dir" && as_dir=.
3024 for ac_exec_ext in '' $ac_executable_extensions; do
3025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3026 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3037 if test -n "$CC"; then
3038 { echo "$as_me:$LINENO: result: $CC" >&5
3039 echo "${ECHO_T}$CC" >&6; }
3041 { echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6; }
3047 if test -z "$ac_cv_prog_CC"; then
3049 # Extract the first word of "gcc", so it can be a program name with args.
3050 set dummy gcc; ac_word=$2
3051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3053 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 if test -n "$ac_ct_CC"; then
3057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir=.
3064 for ac_exec_ext in '' $ac_executable_extensions; do
3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066 ac_cv_prog_ac_ct_CC="gcc"
3067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3077 if test -n "$ac_ct_CC"; then
3078 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3079 echo "${ECHO_T}$ac_ct_CC" >&6; }
3081 { echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6; }
3085 if test "x$ac_ct_CC" = x; then
3088 case $cross_compiling:$ac_tool_warned in
3090 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3091 whose name does not start with the host triplet. If you think this
3092 configuration is useful to you, please write to autoconf@gnu.org." >&5
3093 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3094 whose name does not start with the host triplet. If you think this
3095 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3096 ac_tool_warned=yes ;;
3104 if test -z "$CC"; then
3105 if test -n "$ac_tool_prefix"; then
3106 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3107 set dummy ${ac_tool_prefix}cc; ac_word=$2
3108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3110 if test "${ac_cv_prog_CC+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 if test -n "$CC"; then
3114 ac_cv_prog_CC="$CC" # Let the user override the test.
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir=.
3121 for ac_exec_ext in '' $ac_executable_extensions; do
3122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123 ac_cv_prog_CC="${ac_tool_prefix}cc"
3124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 if test -n "$CC"; then
3135 { echo "$as_me:$LINENO: result: $CC" >&5
3136 echo "${ECHO_T}$CC" >&6; }
3138 { echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6; }
3145 if test -z "$CC"; then
3146 # Extract the first word of "cc", so it can be a program name with args.
3147 set dummy cc; ac_word=$2
3148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3150 if test "${ac_cv_prog_CC+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 test -z "$as_dir" && as_dir=.
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3164 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3165 ac_prog_rejected=yes
3169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 if test $ac_prog_rejected = yes; then
3177 # We found a bogon in the path, so make sure we never use it.
3178 set dummy $ac_cv_prog_CC
3180 if test $# != 0; then
3181 # We chose a different compiler from the bogus one.
3182 # However, it has the same basename, so the bogon will be chosen
3183 # first if we set CC to just the basename; use the full file name.
3185 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3191 if test -n "$CC"; then
3192 { echo "$as_me:$LINENO: result: $CC" >&5
3193 echo "${ECHO_T}$CC" >&6; }
3195 { echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6; }
3201 if test -z "$CC"; then
3202 if test -n "$ac_tool_prefix"; then
3203 for ac_prog in cl.exe
3205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3209 if test "${ac_cv_prog_CC+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 if test -n "$CC"; then
3213 ac_cv_prog_CC="$CC" # Let the user override the test.
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3222 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3233 if test -n "$CC"; then
3234 { echo "$as_me:$LINENO: result: $CC" >&5
3235 echo "${ECHO_T}$CC" >&6; }
3237 { echo "$as_me:$LINENO: result: no" >&5
3238 echo "${ECHO_T}no" >&6; }
3242 test -n "$CC" && break
3245 if test -z "$CC"; then
3247 for ac_prog in cl.exe
3249 # Extract the first word of "$ac_prog", so it can be a program name with args.
3250 set dummy $ac_prog; ac_word=$2
3251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3253 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$ac_ct_CC"; then
3257 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_ac_ct_CC="$ac_prog"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3277 if test -n "$ac_ct_CC"; then
3278 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3279 echo "${ECHO_T}$ac_ct_CC" >&6; }
3281 { echo "$as_me:$LINENO: result: no" >&5
3282 echo "${ECHO_T}no" >&6; }
3286 test -n "$ac_ct_CC" && break
3289 if test "x$ac_ct_CC" = x; then
3292 case $cross_compiling:$ac_tool_warned in
3294 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3295 whose name does not start with the host triplet. If you think this
3296 configuration is useful to you, please write to autoconf@gnu.org." >&5
3297 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3298 whose name does not start with the host triplet. If you think this
3299 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3300 ac_tool_warned=yes ;;
3309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3310 See \`config.log' for more details." >&5
3311 echo "$as_me: error: no acceptable C compiler found in \$PATH
3312 See \`config.log' for more details." >&2;}
3313 { (exit 1); exit 1; }; }
3315 # Provide some information about the compiler.
3316 echo "$as_me:$LINENO: checking for C compiler version" >&5
3317 ac_compiler=`set X $ac_compile; echo $2`
3318 { (ac_try="$ac_compiler --version >&5"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_compiler --version >&5") 2>&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }
3328 { (ac_try="$ac_compiler -v >&5"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3334 (eval "$ac_compiler -v >&5") 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }
3338 { (ac_try="$ac_compiler -V >&5"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_compiler -V >&5") 2>&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }
3349 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3350 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3351 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 cat >conftest.$ac_ext <<_ACEOF
3357 cat confdefs.h >>conftest.$ac_ext
3358 cat >>conftest.$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3372 rm -f conftest.$ac_objext
3373 if { (ac_try="$ac_compile"
3375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3379 (eval "$ac_compile") 2>conftest.er1
3381 grep -v '^ *+' conftest.er1 >conftest.err
3383 cat conftest.err >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); } && {
3386 test -z "$ac_c_werror_flag" ||
3387 test ! -s conftest.err
3388 } && test -s conftest.$ac_objext; then
3391 echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3401 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3402 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3403 GCC=`test $ac_compiler_gnu = yes && echo yes`
3404 ac_test_CFLAGS=${CFLAGS+set}
3405 ac_save_CFLAGS=$CFLAGS
3406 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3407 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3408 if test "${ac_cv_prog_cc_g+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 ac_save_c_werror_flag=$ac_c_werror_flag
3412 ac_c_werror_flag=yes
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3430 rm -f conftest.$ac_objext
3431 if { (ac_try="$ac_compile"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3437 (eval "$ac_compile") 2>conftest.er1
3439 grep -v '^ *+' conftest.er1 >conftest.err
3441 cat conftest.err >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } && {
3444 test -z "$ac_c_werror_flag" ||
3445 test ! -s conftest.err
3446 } && test -s conftest.$ac_objext; then
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3453 cat >conftest.$ac_ext <<_ACEOF
3456 cat confdefs.h >>conftest.$ac_ext
3457 cat >>conftest.$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3468 rm -f conftest.$ac_objext
3469 if { (ac_try="$ac_compile"
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 (eval "$ac_compile") 2>conftest.er1
3477 grep -v '^ *+' conftest.er1 >conftest.err
3479 cat conftest.err >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } && {
3482 test -z "$ac_c_werror_flag" ||
3483 test ! -s conftest.err
3484 } && test -s conftest.$ac_objext; then
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3490 ac_c_werror_flag=$ac_save_c_werror_flag
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3507 rm -f conftest.$ac_objext
3508 if { (ac_try="$ac_compile"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3514 (eval "$ac_compile") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1 >conftest.err
3518 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && {
3521 test -z "$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3523 } && test -s conftest.$ac_objext; then
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.$ac_ext >&5
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_c_werror_flag=$ac_save_c_werror_flag
3541 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3542 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3552 if test "$GCC" = yes; then
3558 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3559 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_cc_c89+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 ac_cv_prog_cc_c89=no
3565 cat >conftest.$ac_ext <<_ACEOF
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3573 #include <sys/types.h>
3574 #include <sys/stat.h>
3575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3576 struct buf { int x; };
3577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3578 static char *e (p, i)
3584 static char *f (char * (*g) (char **, int), char **p, ...)
3589 s = g (p, va_arg (v,int));
3594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3595 function prototypes and stuff, but not '\xHH' hex character constants.
3596 These don't provoke an error unfortunately, instead are silently treated
3597 as 'x'. The following induces an error, until -std is added to get
3598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3599 array size at least. It's necessary to write '\x00'==0 to get something
3600 that's true only with -std. */
3601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3604 inside strings and character constants. */
3606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3608 int test (int i, double x);
3609 struct s1 {int (*f) (int a);};
3610 struct s2 {int (*f) (double a);};
3611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3617 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3625 CC="$ac_save_CC $ac_arg"
3626 rm -f conftest.$ac_objext
3627 if { (ac_try="$ac_compile"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_compile") 2>conftest.er1
3635 grep -v '^ *+' conftest.er1 >conftest.err
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); } && {
3640 test -z "$ac_c_werror_flag" ||
3641 test ! -s conftest.err
3642 } && test -s conftest.$ac_objext; then
3643 ac_cv_prog_cc_c89=$ac_arg
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3651 rm -f core conftest.err conftest.$ac_objext
3652 test "x$ac_cv_prog_cc_c89" != "xno" && break
3654 rm -f conftest.$ac_ext
3659 case "x$ac_cv_prog_cc_c89" in
3661 { echo "$as_me:$LINENO: result: none needed" >&5
3662 echo "${ECHO_T}none needed" >&6; } ;;
3664 { echo "$as_me:$LINENO: result: unsupported" >&5
3665 echo "${ECHO_T}unsupported" >&6; } ;;
3667 CC="$CC $ac_cv_prog_cc_c89"
3668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3669 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 depcc="$CC" am_compiler_list=
3681 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3682 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3683 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3687 # We make a subdir and do the tests there. Otherwise we can end up
3688 # making bogus files that we don't know about and never remove. For
3689 # instance it was reported that on HP-UX the gcc test will end up
3690 # making a dummy file named `D' -- because `-MD' means `put the output
3693 # Copy depcomp to subdir because otherwise we won't find it if we're
3694 # using a relative directory.
3695 cp "$am_depcomp" conftest.dir
3697 # We will build objects and dependencies in a subdirectory because
3698 # it helps to detect inapplicable dependency modes. For instance
3699 # both Tru64's cc and ICC support -MD to output dependencies as a
3700 # side effect of compilation, but ICC will put the dependencies in
3701 # the current directory while Tru64 will put them in the object
3705 am_cv_CC_dependencies_compiler_type=none
3706 if test "$am_compiler_list" = ""; then
3707 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3709 for depmode in $am_compiler_list; do
3710 # Setup a source with many dependencies, because some compilers
3711 # like to wrap large dependency lists on column 80 (with \), and
3712 # we should not choose a depcomp mode which is confused by this.
3714 # We need to recreate these files for each test, as the compiler may
3715 # overwrite some of them when testing with obscure command lines.
3716 # This happens at least with the AIX C compiler.
3718 for i in 1 2 3 4 5 6; do
3719 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3720 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3721 # Solaris 8's {/usr,}/bin/sh.
3722 touch sub/conftst$i.h
3724 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3728 # after this tag, mechanisms are not by side-effect, so they'll
3729 # only be used when explicitly requested
3730 if test "x$enable_dependency_tracking" = xyes; then
3738 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3739 # mode. It turns out that the SunPro C++ compiler does not properly
3740 # handle `-M -o', and we need to detect this.
3741 if depmode=$depmode \
3742 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3743 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3744 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3745 >/dev/null 2>conftest.err &&
3746 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3747 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3748 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3749 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3750 # icc doesn't choke on unknown options, it will just issue warnings
3751 # or remarks (even with -Werror). So we grep stderr for any message
3752 # that says an option was ignored or not supported.
3753 # When given -MP, icc 7.0 and 7.1 complain thusly:
3754 # icc: Command line warning: ignoring option '-M'; no argument required
3755 # The diagnosis changed in icc 8.0:
3756 # icc: Command line remark: option '-MP' not supported
3757 if (grep 'ignoring option' conftest.err ||
3758 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3759 am_cv_CC_dependencies_compiler_type=$depmode
3768 am_cv_CC_dependencies_compiler_type=none
3772 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3773 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3774 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3777 test "x$enable_dependency_tracking" != xno \
3778 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3780 am__fastdepCC_FALSE='#'
3782 am__fastdepCC_TRUE='#'
3783 am__fastdepCC_FALSE=
3788 # Checks for libraries.
3789 # FIXME: Replace `main' with a function in `-lm':
3792 { echo "$as_me:$LINENO: checking for sin in -lm" >&5
3793 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6; }
3794 if test "${ac_cv_lib_m_sin+set}" = set; then
3795 echo $ECHO_N "(cached) $ECHO_C" >&6
3797 ac_check_lib_save_LIBS=$LIBS
3799 cat >conftest.$ac_ext <<_ACEOF
3802 cat confdefs.h >>conftest.$ac_ext
3803 cat >>conftest.$ac_ext <<_ACEOF
3804 /* end confdefs.h. */
3806 /* Override any GCC internal prototype to avoid an error.
3807 Use char because int might match the return type of a GCC
3808 builtin and then its argument prototype would still apply. */
3821 rm -f conftest.$ac_objext conftest$ac_exeext
3822 if { (ac_try="$ac_link"
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3828 (eval "$ac_link") 2>conftest.er1
3830 grep -v '^ *+' conftest.er1 >conftest.err
3832 cat conftest.err >&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } && {
3835 test -z "$ac_c_werror_flag" ||
3836 test ! -s conftest.err
3837 } && test -s conftest$ac_exeext &&
3838 $as_test_x conftest$ac_exeext; then
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.$ac_ext >&5
3847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3848 conftest$ac_exeext conftest.$ac_ext
3849 LIBS=$ac_check_lib_save_LIBS
3851 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
3852 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6; }
3853 if test $ac_cv_lib_m_sin = yes; then
3854 cat >>confdefs.h <<_ACEOF
3863 # Checks for header files.
3865 ac_cpp='$CPP $CPPFLAGS'
3866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3870 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3871 # On Suns, sometimes $CPP names a directory.
3872 if test -n "$CPP" && test -d "$CPP"; then
3875 if test -z "$CPP"; then
3876 if test "${ac_cv_prog_CPP+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 # Double quotes because CPP needs to be expanded
3880 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3883 for ac_c_preproc_warn_flag in '' yes
3885 # Use a header file that comes with gcc, so configuring glibc
3886 # with a fresh cross-compiler works.
3887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888 # <limits.h> exists even on freestanding compilers.
3889 # On the NeXT, cc -E runs the code through the compiler's parser,
3890 # not just through cpp. "Syntax error" is here to catch this case.
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 # include <limits.h>
3900 # include <assert.h>
3904 if { (ac_try="$ac_cpp conftest.$ac_ext"
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3912 grep -v '^ *+' conftest.er1 >conftest.err
3914 cat conftest.err >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } >/dev/null && {
3917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3918 test ! -s conftest.err
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.$ac_ext >&5
3925 # Broken: fails on valid input.
3929 rm -f conftest.err conftest.$ac_ext
3931 # OK, works on sane cases. Now check whether nonexistent headers
3932 # can be detected and how.
3933 cat >conftest.$ac_ext <<_ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3939 #include <ac_nonexistent.h>
3941 if { (ac_try="$ac_cpp conftest.$ac_ext"
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3949 grep -v '^ *+' conftest.er1 >conftest.err
3951 cat conftest.err >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); } >/dev/null && {
3954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3955 test ! -s conftest.err
3957 # Broken: success on invalid input.
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.$ac_ext >&5
3963 # Passes both tests.
3968 rm -f conftest.err conftest.$ac_ext
3971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3972 rm -f conftest.err conftest.$ac_ext
3973 if $ac_preproc_ok; then
3985 { echo "$as_me:$LINENO: result: $CPP" >&5
3986 echo "${ECHO_T}$CPP" >&6; }
3988 for ac_c_preproc_warn_flag in '' yes
3990 # Use a header file that comes with gcc, so configuring glibc
3991 # with a fresh cross-compiler works.
3992 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3993 # <limits.h> exists even on freestanding compilers.
3994 # On the NeXT, cc -E runs the code through the compiler's parser,
3995 # not just through cpp. "Syntax error" is here to catch this case.
3996 cat >conftest.$ac_ext <<_ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4003 # include <limits.h>
4005 # include <assert.h>
4009 if { (ac_try="$ac_cpp conftest.$ac_ext"
4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4017 grep -v '^ *+' conftest.er1 >conftest.err
4019 cat conftest.err >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } >/dev/null && {
4022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4023 test ! -s conftest.err
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4030 # Broken: fails on valid input.
4034 rm -f conftest.err conftest.$ac_ext
4036 # OK, works on sane cases. Now check whether nonexistent headers
4037 # can be detected and how.
4038 cat >conftest.$ac_ext <<_ACEOF
4041 cat confdefs.h >>conftest.$ac_ext
4042 cat >>conftest.$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4044 #include <ac_nonexistent.h>
4046 if { (ac_try="$ac_cpp conftest.$ac_ext"
4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049 *) ac_try_echo=$ac_try;;
4051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4054 grep -v '^ *+' conftest.er1 >conftest.err
4056 cat conftest.err >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } >/dev/null && {
4059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4060 test ! -s conftest.err
4062 # Broken: success on invalid input.
4065 echo "$as_me: failed program was:" >&5
4066 sed 's/^/| /' conftest.$ac_ext >&5
4068 # Passes both tests.
4073 rm -f conftest.err conftest.$ac_ext
4076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4077 rm -f conftest.err conftest.$ac_ext
4078 if $ac_preproc_ok; then
4081 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4082 See \`config.log' for more details." >&5
4083 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4084 See \`config.log' for more details." >&2;}
4085 { (exit 1); exit 1; }; }
4089 ac_cpp='$CPP $CPPFLAGS'
4090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4095 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4096 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4097 if test "${ac_cv_path_GREP+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 # Extract the first word of "grep ggrep" to use in msg output
4101 if test -z "$GREP"; then
4102 set dummy grep ggrep; ac_prog_name=$2
4103 if test "${ac_cv_path_GREP+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 ac_path_GREP_found=false
4107 # Loop through the user's path and test for each of PROGNAME-LIST
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4112 test -z "$as_dir" && as_dir=.
4113 for ac_prog in grep ggrep; do
4114 for ac_exec_ext in '' $ac_executable_extensions; do
4115 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4116 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4117 # Check for GNU ac_path_GREP and select it if it is found.
4118 # Check for GNU $ac_path_GREP
4119 case `"$ac_path_GREP" --version 2>&1` in
4121 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4124 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4127 cat "conftest.in" "conftest.in" >"conftest.tmp"
4128 mv "conftest.tmp" "conftest.in"
4129 cp "conftest.in" "conftest.nl"
4130 echo 'GREP' >> "conftest.nl"
4131 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4132 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4133 ac_count=`expr $ac_count + 1`
4134 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4135 # Best one so far, save it but keep looking for a better one
4136 ac_cv_path_GREP="$ac_path_GREP"
4137 ac_path_GREP_max=$ac_count
4139 # 10*(2^10) chars as input seems more than enough
4140 test $ac_count -gt 10 && break
4142 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4146 $ac_path_GREP_found && break 3
4156 GREP="$ac_cv_path_GREP"
4157 if test -z "$GREP"; then
4158 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4159 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4160 { (exit 1); exit 1; }; }
4164 ac_cv_path_GREP=$GREP
4169 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4170 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4171 GREP="$ac_cv_path_GREP"
4174 { echo "$as_me:$LINENO: checking for egrep" >&5
4175 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4176 if test "${ac_cv_path_EGREP+set}" = set; then
4177 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4180 then ac_cv_path_EGREP="$GREP -E"
4182 # Extract the first word of "egrep" to use in msg output
4183 if test -z "$EGREP"; then
4184 set dummy egrep; ac_prog_name=$2
4185 if test "${ac_cv_path_EGREP+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 ac_path_EGREP_found=false
4189 # Loop through the user's path and test for each of PROGNAME-LIST
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4194 test -z "$as_dir" && as_dir=.
4195 for ac_prog in egrep; do
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4198 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4199 # Check for GNU ac_path_EGREP and select it if it is found.
4200 # Check for GNU $ac_path_EGREP
4201 case `"$ac_path_EGREP" --version 2>&1` in
4203 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4206 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4209 cat "conftest.in" "conftest.in" >"conftest.tmp"
4210 mv "conftest.tmp" "conftest.in"
4211 cp "conftest.in" "conftest.nl"
4212 echo 'EGREP' >> "conftest.nl"
4213 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4215 ac_count=`expr $ac_count + 1`
4216 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4217 # Best one so far, save it but keep looking for a better one
4218 ac_cv_path_EGREP="$ac_path_EGREP"
4219 ac_path_EGREP_max=$ac_count
4221 # 10*(2^10) chars as input seems more than enough
4222 test $ac_count -gt 10 && break
4224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228 $ac_path_EGREP_found && break 3
4238 EGREP="$ac_cv_path_EGREP"
4239 if test -z "$EGREP"; then
4240 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4241 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4242 { (exit 1); exit 1; }; }
4246 ac_cv_path_EGREP=$EGREP
4252 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4253 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4254 EGREP="$ac_cv_path_EGREP"
4257 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4258 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4259 if test "${ac_cv_header_stdc+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 cat >conftest.$ac_ext <<_ACEOF
4265 cat confdefs.h >>conftest.$ac_ext
4266 cat >>conftest.$ac_ext <<_ACEOF
4267 /* end confdefs.h. */
4281 rm -f conftest.$ac_objext
4282 if { (ac_try="$ac_compile"
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4288 (eval "$ac_compile") 2>conftest.er1
4290 grep -v '^ *+' conftest.er1 >conftest.err
4292 cat conftest.err >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); } && {
4295 test -z "$ac_c_werror_flag" ||
4296 test ! -s conftest.err
4297 } && test -s conftest.$ac_objext; then
4298 ac_cv_header_stdc=yes
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 ac_cv_header_stdc=no
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 if test $ac_cv_header_stdc = yes; then
4309 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4310 cat >conftest.$ac_ext <<_ACEOF
4313 cat confdefs.h >>conftest.$ac_ext
4314 cat >>conftest.$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4320 $EGREP "memchr" >/dev/null 2>&1; then
4323 ac_cv_header_stdc=no
4329 if test $ac_cv_header_stdc = yes; then
4330 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4331 cat >conftest.$ac_ext <<_ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4341 $EGREP "free" >/dev/null 2>&1; then
4344 ac_cv_header_stdc=no
4350 if test $ac_cv_header_stdc = yes; then
4351 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4352 if test "$cross_compiling" = yes; then
4355 cat >conftest.$ac_ext <<_ACEOF
4358 cat confdefs.h >>conftest.$ac_ext
4359 cat >>conftest.$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4363 #if ((' ' & 0x0FF) == 0x020)
4364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4367 # define ISLOWER(c) \
4368 (('a' <= (c) && (c) <= 'i') \
4369 || ('j' <= (c) && (c) <= 'r') \
4370 || ('s' <= (c) && (c) <= 'z'))
4371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4379 for (i = 0; i < 256; i++)
4380 if (XOR (islower (i), ISLOWER (i))
4381 || toupper (i) != TOUPPER (i))
4386 rm -f conftest$ac_exeext
4387 if { (ac_try="$ac_link"
4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4390 *) ac_try_echo=$ac_try;;
4392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4393 (eval "$ac_link") 2>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4397 { (case "(($ac_try" in
4398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4399 *) ac_try_echo=$ac_try;;
4401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4402 (eval "$ac_try") 2>&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; }; then
4408 echo "$as_me: program exited with status $ac_status" >&5
4409 echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4413 ac_cv_header_stdc=no
4415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4421 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4422 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4423 if test $ac_cv_header_stdc = yes; then
4425 cat >>confdefs.h <<\_ACEOF
4426 #define STDC_HEADERS 1
4431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4442 inttypes.h stdint.h unistd.h
4444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4447 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4448 echo $ECHO_N "(cached) $ECHO_C" >&6
4450 cat >conftest.$ac_ext <<_ACEOF
4453 cat confdefs.h >>conftest.$ac_ext
4454 cat >>conftest.$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 $ac_includes_default
4458 #include <$ac_header>
4460 rm -f conftest.$ac_objext
4461 if { (ac_try="$ac_compile"
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4467 (eval "$ac_compile") 2>conftest.er1
4469 grep -v '^ *+' conftest.er1 >conftest.err
4471 cat conftest.err >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); } && {
4474 test -z "$ac_c_werror_flag" ||
4475 test ! -s conftest.err
4476 } && test -s conftest.$ac_objext; then
4477 eval "$as_ac_Header=yes"
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.$ac_ext >&5
4482 eval "$as_ac_Header=no"
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_res=`eval echo '${'$as_ac_Header'}'`
4488 { echo "$as_me:$LINENO: result: $ac_res" >&5
4489 echo "${ECHO_T}$ac_res" >&6; }
4490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4491 cat >>confdefs.h <<_ACEOF
4492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4504 for ac_header in stdlib.h string.h sys/time.h unistd.h
4506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 ac_res=`eval echo '${'$as_ac_Header'}'`
4514 { echo "$as_me:$LINENO: result: $ac_res" >&5
4515 echo "${ECHO_T}$ac_res" >&6; }
4517 # Is the header compilable?
4518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4520 cat >conftest.$ac_ext <<_ACEOF
4523 cat confdefs.h >>conftest.$ac_ext
4524 cat >>conftest.$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4526 $ac_includes_default
4527 #include <$ac_header>
4529 rm -f conftest.$ac_objext
4530 if { (ac_try="$ac_compile"
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_compile") 2>conftest.er1
4538 grep -v '^ *+' conftest.er1 >conftest.err
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest.$ac_objext; then
4546 ac_header_compiler=yes
4548 echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4551 ac_header_compiler=no
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4556 echo "${ECHO_T}$ac_header_compiler" >&6; }
4558 # Is the header present?
4559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4561 cat >conftest.$ac_ext <<_ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4567 #include <$ac_header>
4569 if { (ac_try="$ac_cpp conftest.$ac_ext"
4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 *) ac_try_echo=$ac_try;;
4574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4577 grep -v '^ *+' conftest.er1 >conftest.err
4579 cat conftest.err >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } >/dev/null && {
4582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4583 test ! -s conftest.err
4585 ac_header_preproc=yes
4587 echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.$ac_ext >&5
4590 ac_header_preproc=no
4593 rm -f conftest.err conftest.$ac_ext
4594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4595 echo "${ECHO_T}$ac_header_preproc" >&6; }
4597 # So? What about this header?
4598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4604 ac_header_preproc=yes
4607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4620 ## --------------------------------------------- ##
4621 ## Report this to michel.vandenbergh@uhasselt.be ##
4622 ## --------------------------------------------- ##
4624 ) | sed "s/^/$as_me: WARNING: /" >&2
4627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 eval "$as_ac_Header=\$ac_header_preproc"
4634 ac_res=`eval echo '${'$as_ac_Header'}'`
4635 { echo "$as_me:$LINENO: result: $ac_res" >&5
4636 echo "${ECHO_T}$ac_res" >&6; }
4639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4640 cat >>confdefs.h <<_ACEOF
4641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4649 # Checks for typedefs, structures, and compiler characteristics.
4650 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4651 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4652 if test "${ac_cv_header_stdbool_h+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4655 cat >conftest.$ac_ext <<_ACEOF
4658 cat confdefs.h >>conftest.$ac_ext
4659 cat >>conftest.$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4662 #include <stdbool.h>
4664 "error: bool is not defined"
4667 "error: false is not defined"
4670 "error: false is not 0"
4673 "error: true is not defined"
4676 "error: true is not 1"
4678 #ifndef __bool_true_false_are_defined
4679 "error: __bool_true_false_are_defined is not defined"
4682 struct s { _Bool s: 1; _Bool t; } s;
4684 char a[true == 1 ? 1 : -1];
4685 char b[false == 0 ? 1 : -1];
4686 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4687 char d[(bool) 0.5 == true ? 1 : -1];
4689 char f[(_Bool) 0.0 == false ? 1 : -1];
4691 char h[sizeof (_Bool)];
4693 enum { j = false, k = true, l = false * true, m = true * 256 };
4695 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4696 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4697 # if defined __xlc__ || defined __GNUC__
4698 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4699 reported by James Lemley on 2005-10-05; see
4700 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4701 This test is not quite right, since xlc is allowed to
4702 reject this program, as the initializer for xlcbug is
4703 not one of the forms that C requires support for.
4704 However, doing the test right would require a runtime
4705 test, and that would make cross-compilation harder.
4706 Let us hope that IBM fixes the xlc bug, and also adds
4707 support for this kind of constant expression. In the
4708 meantime, this test will reject xlc, which is OK, since
4709 our stdbool.h substitute should suffice. We also test
4710 this with GCC, where it should work, to detect more
4711 quickly whether someone messes up the test in the
4713 char digs[] = "0123456789";
4714 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4716 /* Catch a bug in an HP-UX C compiler. See
4717 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4718 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4729 /* Refer to every declared value, to avoid compiler optimizations. */
4730 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4731 + !m + !n + !o + !p + !q + !pq);
4737 rm -f conftest.$ac_objext
4738 if { (ac_try="$ac_compile"
4740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4741 *) ac_try_echo=$ac_try;;
4743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1 >conftest.err
4748 cat conftest.err >&5
4749 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
4754 ac_cv_header_stdbool_h=yes
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_cv_header_stdbool_h=no
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4765 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4766 { echo "$as_me:$LINENO: checking for _Bool" >&5
4767 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4768 if test "${ac_cv_type__Bool+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.$ac_ext <<_ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 $ac_includes_default
4778 typedef _Bool ac__type_new_;
4782 if ((ac__type_new_ *) 0)
4784 if (sizeof (ac__type_new_))
4790 rm -f conftest.$ac_objext
4791 if { (ac_try="$ac_compile"
4793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4794 *) ac_try_echo=$ac_try;;
4796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4797 (eval "$ac_compile") 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } && {
4804 test -z "$ac_c_werror_flag" ||
4805 test ! -s conftest.err
4806 } && test -s conftest.$ac_objext; then
4807 ac_cv_type__Bool=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4818 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
4819 if test $ac_cv_type__Bool = yes; then
4821 cat >>confdefs.h <<_ACEOF
4822 #define HAVE__BOOL 1
4828 if test $ac_cv_header_stdbool_h = yes; then
4830 cat >>confdefs.h <<\_ACEOF
4831 #define HAVE_STDBOOL_H 1
4836 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4837 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4838 if test "${ac_cv_c_const+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4851 /* FIXME: Include the comments suggested by Paul. */
4853 /* Ultrix mips cc rejects this. */
4854 typedef int charset[2];
4856 /* SunOS 4.1.1 cc rejects this. */
4857 char const *const *pcpcc;
4859 /* NEC SVR4.0.2 mips cc rejects this. */
4860 struct point {int x, y;};
4861 static struct point const zero = {0,0};
4862 /* AIX XL C 1.02.0.0 rejects this.
4863 It does not let you subtract one const X* pointer from another in
4864 an arm of an if-expression whose if-part is not a constant
4866 const char *g = "string";
4867 pcpcc = &g + (g ? g-g : 0);
4868 /* HPUX 7.0 cc rejects these. */
4870 ppc = (char**) pcpcc;
4871 pcpcc = (char const *const *) ppc;
4872 { /* SCO 3.2v4 cc rejects this. */
4874 char const *s = 0 ? (char *) 0 : (char const *) 0;
4879 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4881 const int *foo = &x[0];
4884 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4885 typedef const int *iptr;
4889 { /* AIX XL C 1.02.0.0 rejects this saying
4890 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4891 struct s { int j; const int *ap[3]; };
4892 struct s *b; b->j = 5;
4894 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4898 return !cs[0] && !zero.x;
4905 rm -f conftest.$ac_objext
4906 if { (ac_try="$ac_compile"
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4912 (eval "$ac_compile") 2>conftest.er1
4914 grep -v '^ *+' conftest.er1 >conftest.err
4916 cat conftest.err >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } && {
4919 test -z "$ac_c_werror_flag" ||
4920 test ! -s conftest.err
4921 } && test -s conftest.$ac_objext; then
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4933 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4934 if test $ac_cv_c_const = no; then
4936 cat >>confdefs.h <<\_ACEOF
4942 { echo "$as_me:$LINENO: checking for inline" >&5
4943 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4944 if test "${ac_cv_c_inline+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 for ac_kw in inline __inline__ __inline; do
4949 cat >conftest.$ac_ext <<_ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4957 static $ac_kw foo_t static_foo () {return 0; }
4958 $ac_kw foo_t foo () {return 0; }
4962 rm -f conftest.$ac_objext
4963 if { (ac_try="$ac_compile"
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1 >conftest.err
4973 cat conftest.err >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.$ac_objext; then
4979 ac_cv_c_inline=$ac_kw
4981 echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4988 test "$ac_cv_c_inline" != no && break
4992 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4993 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4996 case $ac_cv_c_inline in
4999 case $ac_cv_c_inline in
5001 *) ac_val=$ac_cv_c_inline;;
5003 cat >>confdefs.h <<_ACEOF
5005 #define inline $ac_val
5011 { echo "$as_me:$LINENO: checking for pid_t" >&5
5012 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
5013 if test "${ac_cv_type_pid_t+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 cat >conftest.$ac_ext <<_ACEOF
5019 cat confdefs.h >>conftest.$ac_ext
5020 cat >>conftest.$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5022 $ac_includes_default
5023 typedef pid_t ac__type_new_;
5027 if ((ac__type_new_ *) 0)
5029 if (sizeof (ac__type_new_))
5035 rm -f conftest.$ac_objext
5036 if { (ac_try="$ac_compile"
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_compile") 2>conftest.er1
5044 grep -v '^ *+' conftest.er1 >conftest.err
5046 cat conftest.err >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); } && {
5049 test -z "$ac_c_werror_flag" ||
5050 test ! -s conftest.err
5051 } && test -s conftest.$ac_objext; then
5052 ac_cv_type_pid_t=yes
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.$ac_ext >&5
5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5062 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5063 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
5064 if test $ac_cv_type_pid_t = yes; then
5068 cat >>confdefs.h <<_ACEOF
5074 { echo "$as_me:$LINENO: checking for size_t" >&5
5075 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5076 if test "${ac_cv_type_size_t+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 cat >conftest.$ac_ext <<_ACEOF
5082 cat confdefs.h >>conftest.$ac_ext
5083 cat >>conftest.$ac_ext <<_ACEOF
5084 /* end confdefs.h. */
5085 $ac_includes_default
5086 typedef size_t ac__type_new_;
5090 if ((ac__type_new_ *) 0)
5092 if (sizeof (ac__type_new_))
5098 rm -f conftest.$ac_objext
5099 if { (ac_try="$ac_compile"
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_compile") 2>conftest.er1
5107 grep -v '^ *+' conftest.er1 >conftest.err
5109 cat conftest.err >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); } && {
5112 test -z "$ac_c_werror_flag" ||
5113 test ! -s conftest.err
5114 } && test -s conftest.$ac_objext; then
5115 ac_cv_type_size_t=yes
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.$ac_ext >&5
5120 ac_cv_type_size_t=no
5123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5125 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5126 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5127 if test $ac_cv_type_size_t = yes; then
5131 cat >>confdefs.h <<_ACEOF
5132 #define size_t unsigned int
5137 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5138 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5139 if test "${ac_cv_header_time+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 cat >conftest.$ac_ext <<_ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148 #include <sys/types.h>
5149 #include <sys/time.h>
5155 if ((struct tm *) 0)
5161 rm -f conftest.$ac_objext
5162 if { (ac_try="$ac_compile"
5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5168 (eval "$ac_compile") 2>conftest.er1
5170 grep -v '^ *+' conftest.er1 >conftest.err
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } && {
5175 test -z "$ac_c_werror_flag" ||
5176 test ! -s conftest.err
5177 } && test -s conftest.$ac_objext; then
5178 ac_cv_header_time=yes
5180 echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5183 ac_cv_header_time=no
5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5188 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5189 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5190 if test $ac_cv_header_time = yes; then
5192 cat >>confdefs.h <<\_ACEOF
5193 #define TIME_WITH_SYS_TIME 1
5199 # Checks for library functions.
5201 for ac_header in vfork.h
5203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 ac_res=`eval echo '${'$as_ac_Header'}'`
5211 { echo "$as_me:$LINENO: result: $ac_res" >&5
5212 echo "${ECHO_T}$ac_res" >&6; }
5214 # Is the header compilable?
5215 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 $ac_includes_default
5224 #include <$ac_header>
5226 rm -f conftest.$ac_objext
5227 if { (ac_try="$ac_compile"
5229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5230 *) ac_try_echo=$ac_try;;
5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5233 (eval "$ac_compile") 2>conftest.er1
5235 grep -v '^ *+' conftest.er1 >conftest.err
5237 cat conftest.err >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); } && {
5240 test -z "$ac_c_werror_flag" ||
5241 test ! -s conftest.err
5242 } && test -s conftest.$ac_objext; then
5243 ac_header_compiler=yes
5245 echo "$as_me: failed program was:" >&5
5246 sed 's/^/| /' conftest.$ac_ext >&5
5248 ac_header_compiler=no
5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5253 echo "${ECHO_T}$ac_header_compiler" >&6; }
5255 # Is the header present?
5256 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5258 cat >conftest.$ac_ext <<_ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 #include <$ac_header>
5266 if { (ac_try="$ac_cpp conftest.$ac_ext"
5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1 >conftest.err
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } >/dev/null && {
5279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5280 test ! -s conftest.err
5282 ac_header_preproc=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5287 ac_header_preproc=no
5290 rm -f conftest.err conftest.$ac_ext
5291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5292 echo "${ECHO_T}$ac_header_preproc" >&6; }
5294 # So? What about this header?
5295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5301 ac_header_preproc=yes
5304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5317 ## --------------------------------------------- ##
5318 ## Report this to michel.vandenbergh@uhasselt.be ##
5319 ## --------------------------------------------- ##
5321 ) | sed "s/^/$as_me: WARNING: /" >&2
5324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 eval "$as_ac_Header=\$ac_header_preproc"
5331 ac_res=`eval echo '${'$as_ac_Header'}'`
5332 { echo "$as_me:$LINENO: result: $ac_res" >&5
5333 echo "${ECHO_T}$ac_res" >&6; }
5336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5337 cat >>confdefs.h <<_ACEOF
5338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5347 for ac_func in fork vfork
5349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 cat >conftest.$ac_ext <<_ACEOF
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5363 #define $ac_func innocuous_$ac_func
5365 /* System header to define __stub macros and hopefully few prototypes,
5366 which can conflict with char $ac_func (); below.
5367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5368 <limits.h> exists even on freestanding compilers. */
5371 # include <limits.h>
5373 # include <assert.h>
5378 /* Override any GCC internal prototype to avoid an error.
5379 Use char because int might match the return type of a GCC
5380 builtin and then its argument prototype would still apply. */
5385 /* The GNU C library defines this for functions which it implements
5386 to always fail with ENOSYS. Some functions are actually named
5387 something starting with __ and the normal name is an alias. */
5388 #if defined __stub_$ac_func || defined __stub___$ac_func
5400 rm -f conftest.$ac_objext conftest$ac_exeext
5401 if { (ac_try="$ac_link"
5403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5404 *) ac_try_echo=$ac_try;;
5406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5407 (eval "$ac_link") 2>conftest.er1
5409 grep -v '^ *+' conftest.er1 >conftest.err
5411 cat conftest.err >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } && {
5414 test -z "$ac_c_werror_flag" ||
5415 test ! -s conftest.err
5416 } && test -s conftest$ac_exeext &&
5417 $as_test_x conftest$ac_exeext; then
5418 eval "$as_ac_var=yes"
5420 echo "$as_me: failed program was:" >&5
5421 sed 's/^/| /' conftest.$ac_ext >&5
5423 eval "$as_ac_var=no"
5426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5427 conftest$ac_exeext conftest.$ac_ext
5429 ac_res=`eval echo '${'$as_ac_var'}'`
5430 { echo "$as_me:$LINENO: result: $ac_res" >&5
5431 echo "${ECHO_T}$ac_res" >&6; }
5432 if test `eval echo '${'$as_ac_var'}'` = yes; then
5433 cat >>confdefs.h <<_ACEOF
5434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5440 if test "x$ac_cv_func_fork" = xyes; then
5441 { echo "$as_me:$LINENO: checking for working fork" >&5
5442 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
5443 if test "${ac_cv_func_fork_works+set}" = set; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 if test "$cross_compiling" = yes; then
5447 ac_cv_func_fork_works=cross
5449 cat >conftest.$ac_ext <<_ACEOF
5452 cat confdefs.h >>conftest.$ac_ext
5453 cat >>conftest.$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5455 $ac_includes_default
5460 /* By Ruediger Kuhlmann. */
5467 rm -f conftest$ac_exeext
5468 if { (ac_try="$ac_link"
5470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5471 *) ac_try_echo=$ac_try;;
5473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5474 (eval "$ac_link") 2>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5478 { (case "(($ac_try" in
5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5480 *) ac_try_echo=$ac_try;;
5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483 (eval "$ac_try") 2>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; }; then
5487 ac_cv_func_fork_works=yes
5489 echo "$as_me: program exited with status $ac_status" >&5
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.$ac_ext >&5
5494 ac_cv_func_fork_works=no
5496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5501 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
5502 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
5505 ac_cv_func_fork_works=$ac_cv_func_fork
5507 if test "x$ac_cv_func_fork_works" = xcross; then
5509 *-*-amigaos* | *-*-msdosdjgpp*)
5510 # Override, as these systems have only a dummy fork() stub
5511 ac_cv_func_fork_works=no
5514 ac_cv_func_fork_works=yes
5517 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5518 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5520 ac_cv_func_vfork_works=$ac_cv_func_vfork
5521 if test "x$ac_cv_func_vfork" = xyes; then
5522 { echo "$as_me:$LINENO: checking for working vfork" >&5
5523 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
5524 if test "${ac_cv_func_vfork_works+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 if test "$cross_compiling" = yes; then
5528 ac_cv_func_vfork_works=cross
5530 cat >conftest.$ac_ext <<_ACEOF
5533 cat confdefs.h >>conftest.$ac_ext
5534 cat >>conftest.$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5536 /* Thanks to Paul Eggert for this test. */
5537 $ac_includes_default
5538 #include <sys/wait.h>
5542 /* On some sparc systems, changes by the child to local and incoming
5543 argument registers are propagated back to the parent. The compiler
5544 is told about this with #include <vfork.h>, but some compilers
5545 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5546 static variable whose address is put into a register that is
5547 clobbered by the vfork. */
5550 sparc_address_test (int arg)
5552 sparc_address_test (arg) int arg;
5573 pid_t parent = getpid ();
5576 sparc_address_test (0);
5581 /* Here is another test for sparc vfork register problems. This
5582 test uses lots of local variables, at least as many local
5583 variables as main has allocated so far including compiler
5584 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5585 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5586 reuse the register of parent for one of the local variables,
5587 since it will think that parent can't possibly be used any more
5588 in this routine. Assigning to the local variable will thus
5589 munge parent in the parent process. */
5591 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5592 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5593 /* Convince the compiler that p..p7 are live; otherwise, it might
5594 use the same hardware register for all 8 local variables. */
5595 if (p != p1 || p != p2 || p != p3 || p != p4
5596 || p != p5 || p != p6 || p != p7)
5599 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5600 from child file descriptors. If the child closes a descriptor
5601 before it execs or exits, this munges the parent's descriptor
5602 as well. Test for this by closing stdout in the child. */
5603 _exit(close(fileno(stdout)) != 0);
5608 while (wait(&status) != child)
5611 /* Was there some problem with vforking? */
5614 /* Did the child fail? (This shouldn't happen.) */
5617 /* Did the vfork/compiler bug occur? */
5618 || parent != getpid()
5620 /* Did the file descriptor bug occur? */
5621 || fstat(fileno(stdout), &st) != 0
5626 rm -f conftest$ac_exeext
5627 if { (ac_try="$ac_link"
5629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5630 *) ac_try_echo=$ac_try;;
5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5633 (eval "$ac_link") 2>&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5637 { (case "(($ac_try" in
5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_try") 2>&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 ac_cv_func_vfork_works=yes
5648 echo "$as_me: program exited with status $ac_status" >&5
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5653 ac_cv_func_vfork_works=no
5655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5660 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5661 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
5664 if test "x$ac_cv_func_fork_works" = xcross; then
5665 ac_cv_func_vfork_works=$ac_cv_func_vfork
5666 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5667 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5670 if test "x$ac_cv_func_vfork_works" = xyes; then
5672 cat >>confdefs.h <<\_ACEOF
5673 #define HAVE_WORKING_VFORK 1
5678 cat >>confdefs.h <<\_ACEOF
5683 if test "x$ac_cv_func_fork_works" = xyes; then
5685 cat >>confdefs.h <<\_ACEOF
5686 #define HAVE_WORKING_FORK 1
5692 for ac_header in stdlib.h
5694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 ac_res=`eval echo '${'$as_ac_Header'}'`
5702 { echo "$as_me:$LINENO: result: $ac_res" >&5
5703 echo "${ECHO_T}$ac_res" >&6; }
5705 # Is the header compilable?
5706 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5708 cat >conftest.$ac_ext <<_ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 $ac_includes_default
5715 #include <$ac_header>
5717 rm -f conftest.$ac_objext
5718 if { (ac_try="$ac_compile"
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest.$ac_objext; then
5734 ac_header_compiler=yes
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5739 ac_header_compiler=no
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5743 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5744 echo "${ECHO_T}$ac_header_compiler" >&6; }
5746 # Is the header present?
5747 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5749 cat >conftest.$ac_ext <<_ACEOF
5752 cat confdefs.h >>conftest.$ac_ext
5753 cat >>conftest.$ac_ext <<_ACEOF
5754 /* end confdefs.h. */
5755 #include <$ac_header>
5757 if { (ac_try="$ac_cpp conftest.$ac_ext"
5759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5760 *) ac_try_echo=$ac_try;;
5762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5765 grep -v '^ *+' conftest.er1 >conftest.err
5767 cat conftest.err >&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); } >/dev/null && {
5770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5771 test ! -s conftest.err
5773 ac_header_preproc=yes
5775 echo "$as_me: failed program was:" >&5
5776 sed 's/^/| /' conftest.$ac_ext >&5
5778 ac_header_preproc=no
5781 rm -f conftest.err conftest.$ac_ext
5782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5783 echo "${ECHO_T}$ac_header_preproc" >&6; }
5785 # So? What about this header?
5786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5792 ac_header_preproc=yes
5795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5808 ## --------------------------------------------- ##
5809 ## Report this to michel.vandenbergh@uhasselt.be ##
5810 ## --------------------------------------------- ##
5812 ) | sed "s/^/$as_me: WARNING: /" >&2
5815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 eval "$as_ac_Header=\$ac_header_preproc"
5822 ac_res=`eval echo '${'$as_ac_Header'}'`
5823 { echo "$as_me:$LINENO: result: $ac_res" >&5
5824 echo "${ECHO_T}$ac_res" >&6; }
5827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5828 cat >>confdefs.h <<_ACEOF
5829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5836 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5837 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
5838 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test "$cross_compiling" = yes; then
5842 ac_cv_func_malloc_0_nonnull=no
5844 cat >conftest.$ac_ext <<_ACEOF
5847 cat confdefs.h >>conftest.$ac_ext
5848 cat >>conftest.$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5851 # include <stdlib.h>
5859 return ! malloc (0);
5864 rm -f conftest$ac_exeext
5865 if { (ac_try="$ac_link"
5867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5868 *) ac_try_echo=$ac_try;;
5870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5871 (eval "$ac_link") 2>&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5875 { (case "(($ac_try" in
5876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5877 *) ac_try_echo=$ac_try;;
5879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5880 (eval "$ac_try") 2>&5
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 ac_cv_func_malloc_0_nonnull=yes
5886 echo "$as_me: program exited with status $ac_status" >&5
5887 echo "$as_me: failed program was:" >&5
5888 sed 's/^/| /' conftest.$ac_ext >&5
5891 ac_cv_func_malloc_0_nonnull=no
5893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5898 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5899 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
5900 if test $ac_cv_func_malloc_0_nonnull = yes; then
5902 cat >>confdefs.h <<\_ACEOF
5903 #define HAVE_MALLOC 1
5907 cat >>confdefs.h <<\_ACEOF
5908 #define HAVE_MALLOC 0
5911 case " $LIBOBJS " in
5912 *" malloc.$ac_objext "* ) ;;
5913 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5918 cat >>confdefs.h <<\_ACEOF
5919 #define malloc rpl_malloc
5927 for ac_header in stdlib.h
5929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5931 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 ac_res=`eval echo '${'$as_ac_Header'}'`
5937 { echo "$as_me:$LINENO: result: $ac_res" >&5
5938 echo "${ECHO_T}$ac_res" >&6; }
5940 # Is the header compilable?
5941 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5943 cat >conftest.$ac_ext <<_ACEOF
5946 cat confdefs.h >>conftest.$ac_ext
5947 cat >>conftest.$ac_ext <<_ACEOF
5948 /* end confdefs.h. */
5949 $ac_includes_default
5950 #include <$ac_header>
5952 rm -f conftest.$ac_objext
5953 if { (ac_try="$ac_compile"
5955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5956 *) ac_try_echo=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1 >conftest.err
5963 cat conftest.err >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_c_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest.$ac_objext; then
5969 ac_header_compiler=yes
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.$ac_ext >&5
5974 ac_header_compiler=no
5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5978 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5979 echo "${ECHO_T}$ac_header_compiler" >&6; }
5981 # Is the header present?
5982 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5984 cat >conftest.$ac_ext <<_ACEOF
5987 cat confdefs.h >>conftest.$ac_ext
5988 cat >>conftest.$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
5990 #include <$ac_header>
5992 if { (ac_try="$ac_cpp conftest.$ac_ext"
5994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5995 *) ac_try_echo=$ac_try;;
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6000 grep -v '^ *+' conftest.er1 >conftest.err
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev/null && {
6005 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6006 test ! -s conftest.err
6008 ac_header_preproc=yes
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 ac_header_preproc=no
6016 rm -f conftest.err conftest.$ac_ext
6017 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6018 echo "${ECHO_T}$ac_header_preproc" >&6; }
6020 # So? What about this header?
6021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6027 ac_header_preproc=yes
6030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6043 ## --------------------------------------------- ##
6044 ## Report this to michel.vandenbergh@uhasselt.be ##
6045 ## --------------------------------------------- ##
6047 ) | sed "s/^/$as_me: WARNING: /" >&2
6050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 eval "$as_ac_Header=\$ac_header_preproc"
6057 ac_res=`eval echo '${'$as_ac_Header'}'`
6058 { echo "$as_me:$LINENO: result: $ac_res" >&5
6059 echo "${ECHO_T}$ac_res" >&6; }
6062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6063 cat >>confdefs.h <<_ACEOF
6064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6071 { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
6072 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; }
6073 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
6074 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 if test "$cross_compiling" = yes; then
6077 ac_cv_func_realloc_0_nonnull=no
6079 cat >conftest.$ac_ext <<_ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6085 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
6086 # include <stdlib.h>
6094 return ! realloc (0, 0);
6099 rm -f conftest$ac_exeext
6100 if { (ac_try="$ac_link"
6102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6103 *) ac_try_echo=$ac_try;;
6105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6106 (eval "$ac_link") 2>&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6110 { (case "(($ac_try" in
6111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6112 *) ac_try_echo=$ac_try;;
6114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6115 (eval "$ac_try") 2>&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }; then
6119 ac_cv_func_realloc_0_nonnull=yes
6121 echo "$as_me: program exited with status $ac_status" >&5
6122 echo "$as_me: failed program was:" >&5
6123 sed 's/^/| /' conftest.$ac_ext >&5
6126 ac_cv_func_realloc_0_nonnull=no
6128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6133 { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
6134 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; }
6135 if test $ac_cv_func_realloc_0_nonnull = yes; then
6137 cat >>confdefs.h <<\_ACEOF
6138 #define HAVE_REALLOC 1
6142 cat >>confdefs.h <<\_ACEOF
6143 #define HAVE_REALLOC 0
6146 case " $LIBOBJS " in
6147 *" realloc.$ac_objext "* ) ;;
6148 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6153 cat >>confdefs.h <<\_ACEOF
6154 #define realloc rpl_realloc
6163 for ac_header in sys/select.h sys/socket.h
6165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 ac_res=`eval echo '${'$as_ac_Header'}'`
6173 { echo "$as_me:$LINENO: result: $ac_res" >&5
6174 echo "${ECHO_T}$ac_res" >&6; }
6176 # Is the header compilable?
6177 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6179 cat >conftest.$ac_ext <<_ACEOF
6182 cat confdefs.h >>conftest.$ac_ext
6183 cat >>conftest.$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6185 $ac_includes_default
6186 #include <$ac_header>
6188 rm -f conftest.$ac_objext
6189 if { (ac_try="$ac_compile"
6191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6192 *) ac_try_echo=$ac_try;;
6194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6195 (eval "$ac_compile") 2>conftest.er1
6197 grep -v '^ *+' conftest.er1 >conftest.err
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } && {
6202 test -z "$ac_c_werror_flag" ||
6203 test ! -s conftest.err
6204 } && test -s conftest.$ac_objext; then
6205 ac_header_compiler=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.$ac_ext >&5
6210 ac_header_compiler=no
6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6215 echo "${ECHO_T}$ac_header_compiler" >&6; }
6217 # Is the header present?
6218 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6220 cat >conftest.$ac_ext <<_ACEOF
6223 cat confdefs.h >>conftest.$ac_ext
6224 cat >>conftest.$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 #include <$ac_header>
6228 if { (ac_try="$ac_cpp conftest.$ac_ext"
6230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6231 *) ac_try_echo=$ac_try;;
6233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6236 grep -v '^ *+' conftest.er1 >conftest.err
6238 cat conftest.err >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } >/dev/null && {
6241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6242 test ! -s conftest.err
6244 ac_header_preproc=yes
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.$ac_ext >&5
6249 ac_header_preproc=no
6252 rm -f conftest.err conftest.$ac_ext
6253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6254 echo "${ECHO_T}$ac_header_preproc" >&6; }
6256 # So? What about this header?
6257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6263 ac_header_preproc=yes
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6279 ## --------------------------------------------- ##
6280 ## Report this to michel.vandenbergh@uhasselt.be ##
6281 ## --------------------------------------------- ##
6283 ) | sed "s/^/$as_me: WARNING: /" >&2
6286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 eval "$as_ac_Header=\$ac_header_preproc"
6293 ac_res=`eval echo '${'$as_ac_Header'}'`
6294 { echo "$as_me:$LINENO: result: $ac_res" >&5
6295 echo "${ECHO_T}$ac_res" >&6; }
6298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6299 cat >>confdefs.h <<_ACEOF
6300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6307 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
6308 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
6309 if test "${ac_cv_func_select_args+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
6313 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6314 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
6315 cat >conftest.$ac_ext <<_ACEOF
6318 cat confdefs.h >>conftest.$ac_ext
6319 cat >>conftest.$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 $ac_includes_default
6322 #ifdef HAVE_SYS_SELECT_H
6323 # include <sys/select.h>
6325 #ifdef HAVE_SYS_SOCKET_H
6326 # include <sys/socket.h>
6332 extern int select ($ac_arg1,
6333 $ac_arg234, $ac_arg234, $ac_arg234,
6339 rm -f conftest.$ac_objext
6340 if { (ac_try="$ac_compile"
6342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6346 (eval "$ac_compile") 2>conftest.er1
6348 grep -v '^ *+' conftest.er1 >conftest.err
6350 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } && {
6353 test -z "$ac_c_werror_flag" ||
6354 test ! -s conftest.err
6355 } && test -s conftest.$ac_objext; then
6356 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6368 # Provide a safe default value.
6369 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
6372 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
6373 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
6374 ac_save_IFS=$IFS; IFS=','
6375 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6379 cat >>confdefs.h <<_ACEOF
6380 #define SELECT_TYPE_ARG1 $1
6384 cat >>confdefs.h <<_ACEOF
6385 #define SELECT_TYPE_ARG234 ($2)
6389 cat >>confdefs.h <<_ACEOF
6390 #define SELECT_TYPE_ARG5 ($3)
6395 { echo "$as_me:$LINENO: checking for function prototypes" >&5
6396 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
6397 if test "$ac_cv_prog_cc_c89" != no; then
6398 { echo "$as_me:$LINENO: result: yes" >&5
6399 echo "${ECHO_T}yes" >&6; }
6401 cat >>confdefs.h <<\_ACEOF
6402 #define PROTOTYPES 1
6406 cat >>confdefs.h <<\_ACEOF
6407 #define __PROTOTYPES 1
6411 { echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6; }
6415 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
6416 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6; }
6417 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
6418 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 ac_cv_func_setvbuf_reversed=no
6421 cat >conftest.$ac_ext <<_ACEOF
6424 cat confdefs.h >>conftest.$ac_ext
6425 cat >>conftest.$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6429 int (setvbuf) (FILE *, int, char *, size_t);
6434 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
6439 rm -f conftest.$ac_objext conftest$ac_exeext
6440 if { (ac_try="$ac_link"
6442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6443 *) ac_try_echo=$ac_try;;
6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6446 (eval "$ac_link") 2>conftest.er1
6448 grep -v '^ *+' conftest.er1 >conftest.err
6450 cat conftest.err >&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && {
6453 test -z "$ac_c_werror_flag" ||
6454 test ! -s conftest.err
6455 } && test -s conftest$ac_exeext &&
6456 $as_test_x conftest$ac_exeext; then
6457 cat >conftest.$ac_ext <<_ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6465 int (setvbuf) (FILE *, int, char *, size_t);
6470 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
6475 rm -f conftest.$ac_objext conftest$ac_exeext
6476 if { (ac_try="$ac_link"
6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6479 *) ac_try_echo=$ac_try;;
6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6482 (eval "$ac_link") 2>conftest.er1
6484 grep -v '^ *+' conftest.er1 >conftest.err
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } && {
6489 test -z "$ac_c_werror_flag" ||
6490 test ! -s conftest.err
6491 } && test -s conftest$ac_exeext &&
6492 $as_test_x conftest$ac_exeext; then
6493 # It compiles and links either way, so it must not be declared
6494 # with a prototype and most likely this is a K&R C compiler.
6496 if test "$cross_compiling" = yes; then
6497 : # Assume setvbuf is not reversed when cross-compiling.
6499 cat >conftest.$ac_ext <<_ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 $ac_includes_default
6509 /* This call has the arguments reversed.
6510 A reversed system may check and see that the address of buf
6511 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
6513 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
6516 return 0; /* Non-reversed systems SEGV here. */
6521 rm -f conftest$ac_exeext
6522 if { (ac_try="$ac_link"
6524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525 *) ac_try_echo=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_link") 2>&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6532 { (case "(($ac_try" in
6533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_try") 2>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; }; then
6541 ac_cv_func_setvbuf_reversed=yes
6543 echo "$as_me: program exited with status $ac_status" >&5
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.$ac_ext >&5
6548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6552 ac_cv_func_setvbuf_reversed=yes
6554 echo "$as_me: failed program was:" >&5
6555 sed 's/^/| /' conftest.$ac_ext >&5
6560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6561 conftest$ac_exeext conftest.$ac_ext
6563 echo "$as_me: failed program was:" >&5
6564 sed 's/^/| /' conftest.$ac_ext >&5
6569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6570 conftest$ac_exeext conftest.$ac_ext
6572 { echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
6573 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
6574 if test $ac_cv_func_setvbuf_reversed = yes; then
6576 cat >>confdefs.h <<\_ACEOF
6577 #define SETVBUF_REVERSED 1
6582 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6583 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6584 if test "${ac_cv_type_signal+set}" = set; then
6585 echo $ECHO_N "(cached) $ECHO_C" >&6
6587 cat >conftest.$ac_ext <<_ACEOF
6590 cat confdefs.h >>conftest.$ac_ext
6591 cat >>conftest.$ac_ext <<_ACEOF
6592 /* end confdefs.h. */
6593 #include <sys/types.h>
6599 return *(signal (0, 0)) (0) == 1;
6604 rm -f conftest.$ac_objext
6605 if { (ac_try="$ac_compile"
6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6608 *) ac_try_echo=$ac_try;;
6610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6611 (eval "$ac_compile") 2>conftest.er1
6613 grep -v '^ *+' conftest.er1 >conftest.err
6615 cat conftest.err >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } && {
6618 test -z "$ac_c_werror_flag" ||
6619 test ! -s conftest.err
6620 } && test -s conftest.$ac_objext; then
6621 ac_cv_type_signal=int
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ac_cv_type_signal=void
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6632 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6634 cat >>confdefs.h <<_ACEOF
6635 #define RETSIGTYPE $ac_cv_type_signal
6640 for ac_func in vprintf
6642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 cat >conftest.$ac_ext <<_ACEOF
6651 cat confdefs.h >>conftest.$ac_ext
6652 cat >>conftest.$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6656 #define $ac_func innocuous_$ac_func
6658 /* System header to define __stub macros and hopefully few prototypes,
6659 which can conflict with char $ac_func (); below.
6660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6661 <limits.h> exists even on freestanding compilers. */
6664 # include <limits.h>
6666 # include <assert.h>
6671 /* Override any GCC internal prototype to avoid an error.
6672 Use char because int might match the return type of a GCC
6673 builtin and then its argument prototype would still apply. */
6678 /* The GNU C library defines this for functions which it implements
6679 to always fail with ENOSYS. Some functions are actually named
6680 something starting with __ and the normal name is an alias. */
6681 #if defined __stub_$ac_func || defined __stub___$ac_func
6693 rm -f conftest.$ac_objext conftest$ac_exeext
6694 if { (ac_try="$ac_link"
6696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697 *) ac_try_echo=$ac_try;;
6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6700 (eval "$ac_link") 2>conftest.er1
6702 grep -v '^ *+' conftest.er1 >conftest.err
6704 cat conftest.err >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && {
6707 test -z "$ac_c_werror_flag" ||
6708 test ! -s conftest.err
6709 } && test -s conftest$ac_exeext &&
6710 $as_test_x conftest$ac_exeext; then
6711 eval "$as_ac_var=yes"
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6716 eval "$as_ac_var=no"
6719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6720 conftest$ac_exeext conftest.$ac_ext
6722 ac_res=`eval echo '${'$as_ac_var'}'`
6723 { echo "$as_me:$LINENO: result: $ac_res" >&5
6724 echo "${ECHO_T}$ac_res" >&6; }
6725 if test `eval echo '${'$as_ac_var'}'` = yes; then
6726 cat >>confdefs.h <<_ACEOF
6727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6730 { echo "$as_me:$LINENO: checking for _doprnt" >&5
6731 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6732 if test "${ac_cv_func__doprnt+set}" = set; then
6733 echo $ECHO_N "(cached) $ECHO_C" >&6
6735 cat >conftest.$ac_ext <<_ACEOF
6738 cat confdefs.h >>conftest.$ac_ext
6739 cat >>conftest.$ac_ext <<_ACEOF
6740 /* end confdefs.h. */
6741 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6743 #define _doprnt innocuous__doprnt
6745 /* System header to define __stub macros and hopefully few prototypes,
6746 which can conflict with char _doprnt (); below.
6747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6748 <limits.h> exists even on freestanding compilers. */
6751 # include <limits.h>
6753 # include <assert.h>
6758 /* Override any GCC internal prototype to avoid an error.
6759 Use char because int might match the return type of a GCC
6760 builtin and then its argument prototype would still apply. */
6765 /* The GNU C library defines this for functions which it implements
6766 to always fail with ENOSYS. Some functions are actually named
6767 something starting with __ and the normal name is an alias. */
6768 #if defined __stub__doprnt || defined __stub____doprnt
6780 rm -f conftest.$ac_objext conftest$ac_exeext
6781 if { (ac_try="$ac_link"
6783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6784 *) ac_try_echo=$ac_try;;
6786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6787 (eval "$ac_link") 2>conftest.er1
6789 grep -v '^ *+' conftest.er1 >conftest.err
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && {
6794 test -z "$ac_c_werror_flag" ||
6795 test ! -s conftest.err
6796 } && test -s conftest$ac_exeext &&
6797 $as_test_x conftest$ac_exeext; then
6798 ac_cv_func__doprnt=yes
6800 echo "$as_me: failed program was:" >&5
6801 sed 's/^/| /' conftest.$ac_ext >&5
6803 ac_cv_func__doprnt=no
6806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6807 conftest$ac_exeext conftest.$ac_ext
6809 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6810 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6811 if test $ac_cv_func__doprnt = yes; then
6813 cat >>confdefs.h <<\_ACEOF
6814 #define HAVE_DOPRNT 1
6833 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
6835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.$ac_ext <<_ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6849 #define $ac_func innocuous_$ac_func
6851 /* System header to define __stub macros and hopefully few prototypes,
6852 which can conflict with char $ac_func (); below.
6853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6854 <limits.h> exists even on freestanding compilers. */
6857 # include <limits.h>
6859 # include <assert.h>
6864 /* Override any GCC internal prototype to avoid an error.
6865 Use char because int might match the return type of a GCC
6866 builtin and then its argument prototype would still apply. */
6871 /* The GNU C library defines this for functions which it implements
6872 to always fail with ENOSYS. Some functions are actually named
6873 something starting with __ and the normal name is an alias. */
6874 #if defined __stub_$ac_func || defined __stub___$ac_func
6886 rm -f conftest.$ac_objext conftest$ac_exeext
6887 if { (ac_try="$ac_link"
6889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_link") 2>conftest.er1
6895 grep -v '^ *+' conftest.er1 >conftest.err
6897 cat conftest.err >&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } && {
6900 test -z "$ac_c_werror_flag" ||
6901 test ! -s conftest.err
6902 } && test -s conftest$ac_exeext &&
6903 $as_test_x conftest$ac_exeext; then
6904 eval "$as_ac_var=yes"
6906 echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.$ac_ext >&5
6909 eval "$as_ac_var=no"
6912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6913 conftest$ac_exeext conftest.$ac_ext
6915 ac_res=`eval echo '${'$as_ac_var'}'`
6916 { echo "$as_me:$LINENO: result: $ac_res" >&5
6917 echo "${ECHO_T}$ac_res" >&6; }
6918 if test `eval echo '${'$as_ac_var'}'` = yes; then
6919 cat >>confdefs.h <<_ACEOF
6920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6928 ac_config_files="$ac_config_files Makefile"
6930 cat >confcache <<\_ACEOF
6931 # This file is a shell script that caches the results of configure
6932 # tests run on this system so they can be shared between configure
6933 # scripts and configure runs, see configure's option --config-cache.
6934 # It is not useful on other systems. If it contains results you don't
6935 # want to keep, you may remove or edit it.
6937 # config.status only pays attention to the cache file if you give it
6938 # the --recheck option to rerun configure.
6940 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6941 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6946 # The following way of writing the cache mishandles newlines in values,
6947 # but we know of no workaround that is simple, portable, and efficient.
6948 # So, we kill variables containing newlines.
6949 # Ultrix sh set writes to stderr and can't be redirected directly,
6950 # and sets the high bit in the cache file unless we assign to the vars.
6952 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6953 eval ac_val=\$$ac_var
6957 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6958 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6961 _ | IFS | as_nl) ;; #(
6962 *) $as_unset $ac_var ;;
6968 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6969 *${as_nl}ac_space=\ *)
6970 # `set' does not quote correctly, so add quotes (double-quote
6971 # substitution turns \\\\ into \\, and sed turns \\ into \).
6974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6977 # `set' quotes correctly as required by POSIX, so do not add quotes.
6978 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6989 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6991 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6992 if test -w "$cache_file"; then
6993 test "x$cache_file" != "x/dev/null" &&
6994 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6995 echo "$as_me: updating cache $cache_file" >&6;}
6996 cat confcache >$cache_file
6998 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6999 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7004 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7005 # Let make expand exec_prefix.
7006 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7008 DEFS=-DHAVE_CONFIG_H
7012 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7013 # 1. Remove the extension, and $U if already installed.
7014 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7015 ac_i=`echo "$ac_i" | sed "$ac_script"`
7016 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7017 # will be set to the directory where LIBOBJS objects are built.
7018 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7019 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7023 LTLIBOBJS=$ac_ltlibobjs
7026 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7027 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7028 Usually this means the macro was only invoked conditionally." >&5
7029 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7030 Usually this means the macro was only invoked conditionally." >&2;}
7031 { (exit 1); exit 1; }; }
7033 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7034 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
7035 Usually this means the macro was only invoked conditionally." >&5
7036 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
7037 Usually this means the macro was only invoked conditionally." >&2;}
7038 { (exit 1); exit 1; }; }
7040 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7041 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7042 Usually this means the macro was only invoked conditionally." >&5
7043 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7044 Usually this means the macro was only invoked conditionally." >&2;}
7045 { (exit 1); exit 1; }; }
7048 : ${CONFIG_STATUS=./config.status}
7049 ac_clean_files_save=$ac_clean_files
7050 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7051 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7052 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7053 cat >$CONFIG_STATUS <<_ACEOF
7055 # Generated by $as_me.
7056 # Run this file to recreate the current configuration.
7057 # Compiler output produced by configure, useful for debugging
7058 # configure, is in config.log if it exists.
7063 SHELL=\${CONFIG_SHELL-$SHELL}
7066 cat >>$CONFIG_STATUS <<\_ACEOF
7067 ## --------------------- ##
7068 ## M4sh Initialization. ##
7069 ## --------------------- ##
7071 # Be more Bourne compatible
7072 DUALCASE=1; export DUALCASE # for MKS sh
7073 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7076 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7077 # is contrary to our usage. Disable this feature.
7078 alias -g '${1+"$@"}'='"$@"'
7079 setopt NO_GLOB_SUBST
7081 case `(set -o) 2>/dev/null` in
7082 *posix*) set -o posix ;;
7091 # Avoid depending upon Character Ranges.
7092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7095 as_cr_digits='0123456789'
7096 as_cr_alnum=$as_cr_Letters$as_cr_digits
7098 # The user is always right.
7099 if test "${PATH_SEPARATOR+set}" != set; then
7100 echo "#! /bin/sh" >conf$$.sh
7101 echo "exit 0" >>conf$$.sh
7103 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7111 # Support unset when possible.
7112 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7120 # We need space, tab and new line, in precisely that order. Quoting is
7121 # there to prevent editors from complaining about space-tab.
7122 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7123 # splitting by setting IFS to empty value.)
7128 # Find who we are. Look in the path if we contain no directory separator.
7130 *[\\/]* ) as_myself=$0 ;;
7131 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir=.
7136 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7142 # We did not find ourselves, most probably we were run as `sh COMMAND'
7143 # in which case we are not to be found in the path.
7144 if test "x$as_myself" = x; then
7147 if test ! -f "$as_myself"; then
7148 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7149 { (exit 1); exit 1; }
7152 # Work around bugs in pre-3.0 UWIN ksh.
7153 for as_var in ENV MAIL MAILPATH
7154 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7162 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7163 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7164 LC_TELEPHONE LC_TIME
7166 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7167 eval $as_var=C; export $as_var
7169 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7173 # Required to use basename.
7174 if expr a : '\(a\)' >/dev/null 2>&1 &&
7175 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7181 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7182 as_basename=basename
7188 # Name of the executable.
7189 as_me=`$as_basename -- "$0" ||
7190 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7191 X"$0" : 'X\(//\)$' \| \
7192 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7194 sed '/^.*\/\([^/][^/]*\)\/*$/{
7215 test "x$as_lineno_1" != "x$as_lineno_2" &&
7216 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7218 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7219 # uniformly replaced by the line number. The first 'sed' inserts a
7220 # line-number line after each line using $LINENO; the second 'sed'
7221 # does the real work. The second script uses 'N' to pair each
7222 # line-number line with the line containing $LINENO, and appends
7223 # trailing '-' during substitution so that $LINENO is not a special
7225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7226 # scripts with optimization help from Paolo Bonzini. Blame Lee
7227 # E. McMahon (1931-1989) for sed's syntax. :-)
7239 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7243 chmod +x "$as_me.lineno" ||
7244 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7245 { (exit 1); exit 1; }; }
7247 # Don't try to exec as it changes $[0], causing all sort of problems
7248 # (the dirname of $[0] is not the place where we might find the
7249 # original and so on. Autoconf is especially sensitive to this).
7251 # Exit status is that of the last command.
7256 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7262 ECHO_C= ECHO_N= ECHO_T=
7265 case `echo 'x\c'` in
7266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7273 if expr a : '\(a\)' >/dev/null 2>&1 &&
7274 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7280 rm -f conf$$ conf$$.exe conf$$.file
7281 if test -d conf$$.dir; then
7282 rm -f conf$$.dir/conf$$.file
7288 if ln -s conf$$.file conf$$ 2>/dev/null; then
7290 # ... but there are two gotchas:
7291 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7292 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7293 # In both cases, we have to default to `cp -p'.
7294 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7296 elif ln conf$$.file conf$$ 2>/dev/null; then
7301 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7302 rmdir conf$$.dir 2>/dev/null
7304 if mkdir -p . 2>/dev/null; then
7307 test -d ./-p && rmdir ./-p
7311 if test -x / >/dev/null 2>&1; then
7314 if ls -dL / >/dev/null 2>&1; then
7321 if test -d "$1"; then
7327 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7328 ???[sx]*):;;*)false;;esac;fi
7332 as_executable_p=$as_test_x
7334 # Sed expression to map a string onto a valid CPP name.
7335 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7337 # Sed expression to map a string onto a valid variable name.
7338 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7343 # Save the log message, to keep $[0] and so on meaningful, and to
7344 # report actual input values of CONFIG_FILES etc. instead of their
7345 # values after options handling.
7347 This file was extended by polyglot $as_me 1.4w10UCIb17, which was
7348 generated by GNU Autoconf 2.61. Invocation command line was
7350 CONFIG_FILES = $CONFIG_FILES
7351 CONFIG_HEADERS = $CONFIG_HEADERS
7352 CONFIG_LINKS = $CONFIG_LINKS
7353 CONFIG_COMMANDS = $CONFIG_COMMANDS
7356 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7361 cat >>$CONFIG_STATUS <<_ACEOF
7362 # Files that config.status was made for.
7363 config_files="$ac_config_files"
7364 config_headers="$ac_config_headers"
7365 config_commands="$ac_config_commands"
7369 cat >>$CONFIG_STATUS <<\_ACEOF
7371 \`$as_me' instantiates files from templates according to the
7372 current configuration.
7374 Usage: $0 [OPTIONS] [FILE]...
7376 -h, --help print this help, then exit
7377 -V, --version print version number and configuration settings, then exit
7378 -q, --quiet do not print progress messages
7379 -d, --debug don't remove temporary files
7380 --recheck update $as_me by reconfiguring in the same conditions
7381 --file=FILE[:TEMPLATE]
7382 instantiate the configuration file FILE
7383 --header=FILE[:TEMPLATE]
7384 instantiate the configuration header FILE
7386 Configuration files:
7389 Configuration headers:
7392 Configuration commands:
7395 Report bugs to <bug-autoconf@gnu.org>."
7398 cat >>$CONFIG_STATUS <<_ACEOF
7400 polyglot config.status 1.4w10UCIb17
7401 configured by $0, generated by GNU Autoconf 2.61,
7402 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7404 Copyright (C) 2006 Free Software Foundation, Inc.
7405 This config.status script is free software; the Free Software Foundation
7406 gives unlimited permission to copy, distribute and modify it."
7414 cat >>$CONFIG_STATUS <<\_ACEOF
7415 # If no file are specified by the user, then we need to provide default
7416 # value. By we need to know if files were specified by the user.
7422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7423 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7434 # Handling of the options.
7435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7437 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7438 echo "$ac_cs_version"; exit ;;
7439 --debug | --debu | --deb | --de | --d | -d )
7441 --file | --fil | --fi | --f )
7443 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7444 ac_need_defaults=false;;
7445 --header | --heade | --head | --hea )
7447 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7448 ac_need_defaults=false;;
7450 # Conflict between --help and --header
7451 { echo "$as_me: error: ambiguous option: $1
7452 Try \`$0 --help' for more information." >&2
7453 { (exit 1); exit 1; }; };;
7454 --help | --hel | -h )
7455 echo "$ac_cs_usage"; exit ;;
7456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7457 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7461 -*) { echo "$as_me: error: unrecognized option: $1
7462 Try \`$0 --help' for more information." >&2
7463 { (exit 1); exit 1; }; } ;;
7465 *) ac_config_targets="$ac_config_targets $1"
7466 ac_need_defaults=false ;;
7472 ac_configure_extra_args=
7474 if $ac_cs_silent; then
7476 ac_configure_extra_args="$ac_configure_extra_args --silent"
7480 cat >>$CONFIG_STATUS <<_ACEOF
7481 if \$ac_cs_recheck; then
7482 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7485 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7489 cat >>$CONFIG_STATUS <<\_ACEOF
7493 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7494 ## Running $as_me. ##
7500 cat >>$CONFIG_STATUS <<_ACEOF
7504 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7508 cat >>$CONFIG_STATUS <<\_ACEOF
7510 # Handling of arguments.
7511 for ac_config_target in $ac_config_targets
7513 case $ac_config_target in
7514 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7515 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7516 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7518 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7519 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7520 { (exit 1); exit 1; }; };;
7525 # If the user did not use the arguments to specify the items to instantiate,
7526 # then the envvar interface is used. Set only those that are not.
7527 # We use the long form for the default assignment because of an extremely
7528 # bizarre bug on SunOS 4.1.3.
7529 if $ac_need_defaults; then
7530 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7531 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7532 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7535 # Have a temporary directory for convenience. Make it in the build tree
7536 # simply because there is no reason against having it here, and in addition,
7537 # creating and moving files from /tmp can sometimes cause problems.
7538 # Hook for its removal unless debugging.
7539 # Note that there is a small window in which the directory will not be cleaned:
7540 # after its creation but before its name has been assigned to `$tmp'.
7544 trap 'exit_status=$?
7545 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7547 trap '{ (exit 1); exit 1; }' 1 2 13 15
7549 # Create a (secure) tmp directory for tmp files.
7552 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7553 test -n "$tmp" && test -d "$tmp"
7556 tmp=./conf$$-$RANDOM
7557 (umask 077 && mkdir "$tmp")
7560 echo "$me: cannot create a temporary directory in ." >&2
7561 { (exit 1); exit 1; }
7565 # Set up the sed scripts for CONFIG_FILES section.
7568 # No need to generate the scripts if there are no CONFIG_FILES.
7569 # This happens for instance when ./config.status config.h
7570 if test -n "$CONFIG_FILES"; then
7577 for ac_last_try in false false false false false :; do
7578 cat >conf$$subs.sed <<_ACEOF
7579 SHELL!$SHELL$ac_delim
7580 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7581 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7582 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7583 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7584 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7585 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7586 exec_prefix!$exec_prefix$ac_delim
7587 prefix!$prefix$ac_delim
7588 program_transform_name!$program_transform_name$ac_delim
7589 bindir!$bindir$ac_delim
7590 sbindir!$sbindir$ac_delim
7591 libexecdir!$libexecdir$ac_delim
7592 datarootdir!$datarootdir$ac_delim
7593 datadir!$datadir$ac_delim
7594 sysconfdir!$sysconfdir$ac_delim
7595 sharedstatedir!$sharedstatedir$ac_delim
7596 localstatedir!$localstatedir$ac_delim
7597 includedir!$includedir$ac_delim
7598 oldincludedir!$oldincludedir$ac_delim
7599 docdir!$docdir$ac_delim
7600 infodir!$infodir$ac_delim
7601 htmldir!$htmldir$ac_delim
7602 dvidir!$dvidir$ac_delim
7603 pdfdir!$pdfdir$ac_delim
7604 psdir!$psdir$ac_delim
7605 libdir!$libdir$ac_delim
7606 localedir!$localedir$ac_delim
7607 mandir!$mandir$ac_delim
7609 ECHO_C!$ECHO_C$ac_delim
7610 ECHO_N!$ECHO_N$ac_delim
7611 ECHO_T!$ECHO_T$ac_delim
7613 build_alias!$build_alias$ac_delim
7614 host_alias!$host_alias$ac_delim
7615 target_alias!$target_alias$ac_delim
7616 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7617 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7618 INSTALL_DATA!$INSTALL_DATA$ac_delim
7619 am__isrc!$am__isrc$ac_delim
7620 CYGPATH_W!$CYGPATH_W$ac_delim
7621 PACKAGE!$PACKAGE$ac_delim
7622 VERSION!$VERSION$ac_delim
7623 ACLOCAL!$ACLOCAL$ac_delim
7624 AUTOCONF!$AUTOCONF$ac_delim
7625 AUTOMAKE!$AUTOMAKE$ac_delim
7626 AUTOHEADER!$AUTOHEADER$ac_delim
7627 MAKEINFO!$MAKEINFO$ac_delim
7628 install_sh!$install_sh$ac_delim
7629 STRIP!$STRIP$ac_delim
7630 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
7631 mkdir_p!$mkdir_p$ac_delim
7633 SET_MAKE!$SET_MAKE$ac_delim
7634 am__leading_dot!$am__leading_dot$ac_delim
7635 AMTAR!$AMTAR$ac_delim
7636 am__tar!$am__tar$ac_delim
7637 am__untar!$am__untar$ac_delim
7639 CXXFLAGS!$CXXFLAGS$ac_delim
7640 LDFLAGS!$LDFLAGS$ac_delim
7641 CPPFLAGS!$CPPFLAGS$ac_delim
7642 ac_ct_CXX!$ac_ct_CXX$ac_delim
7643 EXEEXT!$EXEEXT$ac_delim
7644 OBJEXT!$OBJEXT$ac_delim
7645 DEPDIR!$DEPDIR$ac_delim
7646 am__include!$am__include$ac_delim
7647 am__quote!$am__quote$ac_delim
7648 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
7649 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
7650 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
7651 CXXDEPMODE!$CXXDEPMODE$ac_delim
7652 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
7653 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
7655 CFLAGS!$CFLAGS$ac_delim
7656 ac_ct_CC!$ac_ct_CC$ac_delim
7657 CCDEPMODE!$CCDEPMODE$ac_delim
7658 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
7659 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
7662 EGREP!$EGREP$ac_delim
7663 LIBOBJS!$LIBOBJS$ac_delim
7664 LTLIBOBJS!$LTLIBOBJS$ac_delim
7667 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
7669 elif $ac_last_try; then
7670 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7671 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7672 { (exit 1); exit 1; }; }
7674 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7678 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7679 if test -n "$ac_eof"; then
7680 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7681 ac_eof=`expr $ac_eof + 1`
7684 cat >>$CONFIG_STATUS <<_ACEOF
7685 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7686 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7689 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7690 s/^/s,@/; s/!/@,|#_!!_#|/
7693 s/'"$ac_delim"'$/,g/; t
7695 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7696 ' >>$CONFIG_STATUS <conf$$subs.sed
7697 rm -f conf$$subs.sed
7698 cat >>$CONFIG_STATUS <<_ACEOF
7705 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7706 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7707 # trailing colons and then remove the whole line if VPATH becomes empty
7708 # (actually we leave an empty line to preserve line numbers).
7709 if test "x$srcdir" = x.; then
7710 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7714 s/^\([^=]*=[ ]*\):*/\1/
7720 cat >>$CONFIG_STATUS <<\_ACEOF
7721 fi # test -n "$CONFIG_FILES"
7724 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7727 :[FHLC]) ac_mode=$ac_tag; continue;;
7729 case $ac_mode$ac_tag in
7731 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7732 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7733 { (exit 1); exit 1; }; };;
7734 :[FH]-) ac_tag=-:-;;
7735 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7752 -) ac_f="$tmp/stdin";;
7753 *) # Look for the file first in the build tree, then in the source tree
7754 # (if the path is not absolute). The absolute path cannot be DOS-style,
7755 # because $ac_f cannot contain `:'.
7759 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7761 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7762 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7763 { (exit 1); exit 1; }; };;
7765 ac_file_inputs="$ac_file_inputs $ac_f"
7768 # Let's still pretend it is `configure' which instantiates (i.e., don't
7769 # use $as_me), people would be surprised to read:
7770 # /* config.h. Generated by config.status. */
7771 configure_input="Generated from "`IFS=:
7772 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7773 if test x"$ac_file" != x-; then
7774 configure_input="$ac_file. $configure_input"
7775 { echo "$as_me:$LINENO: creating $ac_file" >&5
7776 echo "$as_me: creating $ac_file" >&6;}
7780 *:-:* | *:-) cat >"$tmp/stdin";;
7785 ac_dir=`$as_dirname -- "$ac_file" ||
7786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7787 X"$ac_file" : 'X\(//\)[^/]' \| \
7788 X"$ac_file" : 'X\(//\)$' \| \
7789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7810 -*) as_dir=./$as_dir;;
7812 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7816 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7817 *) as_qdir=$as_dir;;
7819 as_dirs="'$as_qdir' $as_dirs"
7820 as_dir=`$as_dirname -- "$as_dir" ||
7821 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7822 X"$as_dir" : 'X\(//\)[^/]' \| \
7823 X"$as_dir" : 'X\(//\)$' \| \
7824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7843 test -d "$as_dir" && break
7845 test -z "$as_dirs" || eval "mkdir $as_dirs"
7846 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7847 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7848 { (exit 1); exit 1; }; }; }
7852 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7854 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7855 # A ".." for each directory in $ac_dir_suffix.
7856 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7857 case $ac_top_builddir_sub in
7858 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7859 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7862 ac_abs_top_builddir=$ac_pwd
7863 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7864 # for backward compatibility:
7865 ac_top_builddir=$ac_top_build_prefix
7868 .) # We are building in place.
7870 ac_top_srcdir=$ac_top_builddir_sub
7871 ac_abs_top_srcdir=$ac_pwd ;;
7872 [\\/]* | ?:[\\/]* ) # Absolute name.
7873 ac_srcdir=$srcdir$ac_dir_suffix;
7874 ac_top_srcdir=$srcdir
7875 ac_abs_top_srcdir=$srcdir ;;
7877 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7878 ac_top_srcdir=$ac_top_build_prefix$srcdir
7879 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7881 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7891 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7892 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7896 [\\/$]* | ?:[\\/]* ) ;;
7897 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7901 cat >>$CONFIG_STATUS <<\_ACEOF
7902 # If the template does not know about datarootdir, expand it.
7903 # FIXME: This hack should be removed a few years after 2.60.
7904 ac_datarootdir_hack=; ac_datarootdir_seen=
7906 case `sed -n '/datarootdir/ {
7915 ' $ac_file_inputs` in
7916 *datarootdir*) ac_datarootdir_seen=yes;;
7917 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7918 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7919 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7921 cat >>$CONFIG_STATUS <<_ACEOF
7922 ac_datarootdir_hack='
7923 s&@datadir@&$datadir&g
7924 s&@docdir@&$docdir&g
7925 s&@infodir@&$infodir&g
7926 s&@localedir@&$localedir&g
7927 s&@mandir@&$mandir&g
7928 s&\\\${datarootdir}&$datarootdir&g' ;;
7932 # Neutralize VPATH when `$srcdir' = `.'.
7933 # Shell code in configure.ac might set extrasub.
7934 # FIXME: do we really want to maintain this feature?
7935 cat >>$CONFIG_STATUS <<_ACEOF
7939 cat >>$CONFIG_STATUS <<\_ACEOF
7941 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7942 s&@configure_input@&$configure_input&;t t
7943 s&@top_builddir@&$ac_top_builddir_sub&;t t
7944 s&@srcdir@&$ac_srcdir&;t t
7945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7946 s&@top_srcdir@&$ac_top_srcdir&;t t
7947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7948 s&@builddir@&$ac_builddir&;t t
7949 s&@abs_builddir@&$ac_abs_builddir&;t t
7950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7951 s&@INSTALL@&$ac_INSTALL&;t t
7952 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7953 $ac_datarootdir_hack
7954 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7956 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7957 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7958 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7959 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7960 which seems to be undefined. Please make sure it is defined." >&5
7961 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7962 which seems to be undefined. Please make sure it is defined." >&2;}
7966 -) cat "$tmp/out"; rm -f "$tmp/out";;
7967 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7976 # Transform confdefs.h into a sed script `conftest.defines', that
7977 # substitutes the proper values into config.h.in to produce config.h.
7978 rm -f conftest.defines conftest.tail
7979 # First, append a space to every undef/define line, to ease matching.
7980 echo 's/$/ /' >conftest.defines
7981 # Then, protect against being on the right side of a sed subst, or in
7982 # an unquoted here document, in config.status. If some macros were
7983 # called several times there might be several #defines for the same
7984 # symbol, which is useless. But do not sort them, since the last
7985 # AC_DEFINE must be honored.
7986 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7987 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7988 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7989 # PARAMS is the parameter list in the macro definition--in most cases, it's
7990 # just an empty string.
7991 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7992 ac_dB='\\)[ (].*,\\1define\\2'
8000 s/^[ ]*#[ ]*define[ ][ ]*//
8005 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8006 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8007 ' >>conftest.defines
8009 # Remove the space that was appended to ease matching.
8010 # Then replace #undef with comments. This is necessary, for
8011 # example, in the case of _POSIX_SOURCE, which is predefined and required
8012 # on some systems where configure will not decide to define it.
8013 # (The regexp can be short, since the line contains either #define or #undef.)
8015 s,^[ #]*u.*,/* & */,' >>conftest.defines
8017 # Break up conftest.defines:
8020 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8021 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8022 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8024 ac_in='$ac_file_inputs'
8025 ac_out='"$tmp/out1"'
8026 ac_nxt='"$tmp/out2"'
8030 # Write a here document:
8031 cat >>$CONFIG_STATUS <<_ACEOF
8032 # First, check the format of the line:
8033 cat >"\$tmp/defines.sed" <<\\CEOF
8034 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8035 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8039 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8041 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8042 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8043 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8044 grep . conftest.tail >/dev/null || break
8045 rm -f conftest.defines
8046 mv conftest.tail conftest.defines
8048 rm -f conftest.defines conftest.tail
8050 echo "ac_result=$ac_in" >>$CONFIG_STATUS
8051 cat >>$CONFIG_STATUS <<\_ACEOF
8052 if test x"$ac_file" != x-; then
8053 echo "/* $configure_input */" >"$tmp/config.h"
8054 cat "$ac_result" >>"$tmp/config.h"
8055 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8056 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8057 echo "$as_me: $ac_file is unchanged" >&6;}
8060 mv "$tmp/config.h" $ac_file
8063 echo "/* $configure_input */"
8067 # Compute $ac_file's index in $config_headers.
8070 for _am_header in $config_headers :; do
8072 $_am_arg | $_am_arg:* )
8075 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8078 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8079 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8080 X"$_am_arg" : 'X\(//\)[^/]' \| \
8081 X"$_am_arg" : 'X\(//\)$' \| \
8082 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8100 s/.*/./; q'`/stamp-h$_am_stamp_count
8103 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
8104 echo "$as_me: executing $ac_file commands" >&6;}
8109 case $ac_file$ac_mode in
8110 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8111 # Strip MF so we end up with the name of the file.
8112 mf=`echo "$mf" | sed -e 's/:.*$//'`
8113 # Check whether this is an Automake generated Makefile or not.
8114 # We used to match only the files named `Makefile.in', but
8115 # some people rename them; so instead we look at the file content.
8116 # Grep'ing the first line is not enough: some people post-process
8117 # each Makefile.in and add a new line on top of each file to say so.
8118 # Grep'ing the whole file is not good either: AIX grep has a line
8119 # limit of 2048, but all sed's we know have understand at least 4000.
8120 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8121 dirpart=`$as_dirname -- "$mf" ||
8122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8123 X"$mf" : 'X\(//\)[^/]' \| \
8124 X"$mf" : 'X\(//\)$' \| \
8125 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8147 # Extract the definition of DEPDIR, am__include, and am__quote
8148 # from the Makefile without running `make'.
8149 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8150 test -z "$DEPDIR" && continue
8151 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8152 test -z "am__include" && continue
8153 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8154 # When using ansi2knr, U may be empty or an underscore; expand it
8155 U=`sed -n 's/^U = //p' < "$mf"`
8156 # Find all dependency output files, they are included files with
8157 # $(DEPDIR) in their names. We invoke sed twice because it is the
8158 # simplest approach to changing $(DEPDIR) to its actual value in the
8160 for file in `sed -n "
8161 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8162 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8163 # Make sure the directory exists.
8164 test -f "$dirpart/$file" && continue
8165 fdir=`$as_dirname -- "$file" ||
8166 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8167 X"$file" : 'X\(//\)[^/]' \| \
8168 X"$file" : 'X\(//\)$' \| \
8169 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8188 { as_dir=$dirpart/$fdir
8190 -*) as_dir=./$as_dir;;
8192 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8196 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8197 *) as_qdir=$as_dir;;
8199 as_dirs="'$as_qdir' $as_dirs"
8200 as_dir=`$as_dirname -- "$as_dir" ||
8201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8202 X"$as_dir" : 'X\(//\)[^/]' \| \
8203 X"$as_dir" : 'X\(//\)$' \| \
8204 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8223 test -d "$as_dir" && break
8225 test -z "$as_dirs" || eval "mkdir $as_dirs"
8226 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8227 echo "$as_me: error: cannot create directory $as_dir" >&2;}
8228 { (exit 1); exit 1; }; }; }
8229 # echo "creating $dirpart/$file"
8230 echo '# dummy' > "$dirpart/$file"
8239 { (exit 0); exit 0; }
8241 chmod +x $CONFIG_STATUS
8242 ac_clean_files=$ac_clean_files_save
8245 # configure is writing to config.log, and then calls config.status.
8246 # config.status does its own redirection, appending to config.log.
8247 # Unfortunately, on DOS this fails, as config.log is still kept open
8248 # by configure, so config.status won't be able to write to it; its
8249 # output is simply discarded. So we exec the FD to /dev/null,
8250 # effectively closing config.log, so it can be properly (re)opened and
8251 # appended to by config.status. When coming back to configure, we
8252 # need to make the FD available again.
8253 if test "$no_create" != yes; then
8255 ac_config_status_args=
8256 test "$silent" = yes &&
8257 ac_config_status_args="$ac_config_status_args --quiet"
8259 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8261 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8262 # would make configure fail if this is the last instruction.
8263 $ac_cs_success || { (exit 1); exit 1; }