2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for polyglot 1.4.70b.
5 # Report bugs to <michel.vandenbergh@uhasselt.be>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='polyglot'
598 PACKAGE_TARNAME='polyglot'
599 PACKAGE_VERSION='1.4.70b'
600 PACKAGE_STRING='polyglot 1.4.70b'
601 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
603 ac_unique_file="mainloop.c"
604 # Factoring default headers for most tests.
605 ac_includes_default="\
607 #ifdef HAVE_SYS_TYPES_H
608 # include <sys/types.h>
610 #ifdef HAVE_SYS_STAT_H
611 # include <sys/stat.h>
617 # ifdef HAVE_STDLIB_H
622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
627 #ifdef HAVE_STRINGS_H
628 # include <strings.h>
630 #ifdef HAVE_INTTYPES_H
631 # include <inttypes.h>
640 ac_subst_vars='am__EXEEXT_FALSE
671 INSTALL_STRIP_PROGRAM
713 program_transform_name
725 enable_option_checking
726 enable_dependency_tracking
728 ac_precious_vars='build_alias
739 # Initialize some variables set by options.
741 ac_init_version=false
742 ac_unrecognized_opts=
744 # The variables have the same names as the options, with
745 # dashes changed to underlines.
753 program_transform_name=s,x,x,
761 # Installation directory options.
762 # These are left unexpanded so users can "make install exec_prefix=/foo"
763 # and all the variables that are supposed to be based on exec_prefix
764 # by default will actually change.
765 # Use braces instead of parens because sh, perl, etc. also accept them.
766 # (The list follows the same order as the GNU Coding Standards.)
767 bindir='${exec_prefix}/bin'
768 sbindir='${exec_prefix}/sbin'
769 libexecdir='${exec_prefix}/libexec'
770 datarootdir='${prefix}/share'
771 datadir='${datarootdir}'
772 sysconfdir='${prefix}/etc'
773 sharedstatedir='${prefix}/com'
774 localstatedir='${prefix}/var'
775 includedir='${prefix}/include'
776 oldincludedir='/usr/include'
777 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
778 infodir='${datarootdir}/info'
783 libdir='${exec_prefix}/lib'
784 localedir='${datarootdir}/locale'
785 mandir='${datarootdir}/man'
791 # If the previous option needs an argument, assign it.
792 if test -n "$ac_prev"; then
793 eval $ac_prev=\$ac_option
799 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
803 # Accept the important Cygnus configure options, so we can diagnose typos.
805 case $ac_dashdash$ac_option in
809 -bindir | --bindir | --bindi | --bind | --bin | --bi)
811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
814 -build | --build | --buil | --bui | --bu)
815 ac_prev=build_alias ;;
816 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
817 build_alias=$ac_optarg ;;
819 -cache-file | --cache-file | --cache-fil | --cache-fi \
820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
821 ac_prev=cache_file ;;
822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
824 cache_file=$ac_optarg ;;
827 cache_file=config.cache ;;
829 -datadir | --datadir | --datadi | --datad)
831 -datadir=* | --datadir=* | --datadi=* | --datad=*)
832 datadir=$ac_optarg ;;
834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
835 | --dataroo | --dataro | --datar)
836 ac_prev=datarootdir ;;
837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
839 datarootdir=$ac_optarg ;;
841 -disable-* | --disable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
846 { (exit 1); exit 1; }; }
847 ac_useropt_orig=$ac_useropt
848 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854 ac_unrecognized_sep=', ';;
856 eval enable_$ac_useropt=no ;;
858 -docdir | --docdir | --docdi | --doc | --do)
860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
868 -enable-* | --enable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
873 { (exit 1); exit 1; }; }
874 ac_useropt_orig=$ac_useropt
875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
883 eval enable_$ac_useropt=\$ac_optarg ;;
885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
887 | --exec | --exe | --ex)
888 ac_prev=exec_prefix ;;
889 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
890 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
891 | --exec=* | --exe=* | --ex=*)
892 exec_prefix=$ac_optarg ;;
894 -gas | --gas | --ga | --g)
895 # Obsolete; use --with-gas.
898 -help | --help | --hel | --he | -h)
900 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
901 ac_init_help=recursive ;;
902 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
903 ac_init_help=short ;;
905 -host | --host | --hos | --ho)
906 ac_prev=host_alias ;;
907 -host=* | --host=* | --hos=* | --ho=*)
908 host_alias=$ac_optarg ;;
910 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
912 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
914 htmldir=$ac_optarg ;;
916 -includedir | --includedir | --includedi | --included | --include \
917 | --includ | --inclu | --incl | --inc)
918 ac_prev=includedir ;;
919 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
920 | --includ=* | --inclu=* | --incl=* | --inc=*)
921 includedir=$ac_optarg ;;
923 -infodir | --infodir | --infodi | --infod | --info | --inf)
925 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
926 infodir=$ac_optarg ;;
928 -libdir | --libdir | --libdi | --libd)
930 -libdir=* | --libdir=* | --libdi=* | --libd=*)
933 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
934 | --libexe | --libex | --libe)
935 ac_prev=libexecdir ;;
936 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
937 | --libexe=* | --libex=* | --libe=*)
938 libexecdir=$ac_optarg ;;
940 -localedir | --localedir | --localedi | --localed | --locale)
942 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
943 localedir=$ac_optarg ;;
945 -localstatedir | --localstatedir | --localstatedi | --localstated \
946 | --localstate | --localstat | --localsta | --localst | --locals)
947 ac_prev=localstatedir ;;
948 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
949 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
950 localstatedir=$ac_optarg ;;
952 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
954 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
958 # Obsolete; use --without-fp.
961 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
962 | --no-cr | --no-c | -n)
965 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
966 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
969 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
970 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
971 | --oldin | --oldi | --old | --ol | --o)
972 ac_prev=oldincludedir ;;
973 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
974 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
975 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
976 oldincludedir=$ac_optarg ;;
978 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
980 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
983 -program-prefix | --program-prefix | --program-prefi | --program-pref \
984 | --program-pre | --program-pr | --program-p)
985 ac_prev=program_prefix ;;
986 -program-prefix=* | --program-prefix=* | --program-prefi=* \
987 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
988 program_prefix=$ac_optarg ;;
990 -program-suffix | --program-suffix | --program-suffi | --program-suff \
991 | --program-suf | --program-su | --program-s)
992 ac_prev=program_suffix ;;
993 -program-suffix=* | --program-suffix=* | --program-suffi=* \
994 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
995 program_suffix=$ac_optarg ;;
997 -program-transform-name | --program-transform-name \
998 | --program-transform-nam | --program-transform-na \
999 | --program-transform-n | --program-transform- \
1000 | --program-transform | --program-transfor \
1001 | --program-transfo | --program-transf \
1002 | --program-trans | --program-tran \
1003 | --progr-tra | --program-tr | --program-t)
1004 ac_prev=program_transform_name ;;
1005 -program-transform-name=* | --program-transform-name=* \
1006 | --program-transform-nam=* | --program-transform-na=* \
1007 | --program-transform-n=* | --program-transform-=* \
1008 | --program-transform=* | --program-transfor=* \
1009 | --program-transfo=* | --program-transf=* \
1010 | --program-trans=* | --program-tran=* \
1011 | --progr-tra=* | --program-tr=* | --program-t=*)
1012 program_transform_name=$ac_optarg ;;
1014 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1016 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1017 pdfdir=$ac_optarg ;;
1019 -psdir | --psdir | --psdi | --psd | --ps)
1021 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025 | -silent | --silent | --silen | --sile | --sil)
1028 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1030 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1032 sbindir=$ac_optarg ;;
1034 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1035 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1036 | --sharedst | --shareds | --shared | --share | --shar \
1038 ac_prev=sharedstatedir ;;
1039 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1040 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1041 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1043 sharedstatedir=$ac_optarg ;;
1045 -site | --site | --sit)
1047 -site=* | --site=* | --sit=*)
1050 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1052 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1053 srcdir=$ac_optarg ;;
1055 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1056 | --syscon | --sysco | --sysc | --sys | --sy)
1057 ac_prev=sysconfdir ;;
1058 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1059 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1060 sysconfdir=$ac_optarg ;;
1062 -target | --target | --targe | --targ | --tar | --ta | --t)
1063 ac_prev=target_alias ;;
1064 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1065 target_alias=$ac_optarg ;;
1067 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1070 -version | --version | --versio | --versi | --vers | -V)
1071 ac_init_version=: ;;
1074 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1077 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1078 { (exit 1); exit 1; }; }
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=\$ac_optarg ;;
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1095 { (exit 1); exit 1; }; }
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1105 eval with_$ac_useropt=no ;;
1108 # Obsolete; use --with-x.
1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1112 | --x-incl | --x-inc | --x-in | --x-i)
1113 ac_prev=x_includes ;;
1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1116 x_includes=$ac_optarg ;;
1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1120 ac_prev=x_libraries ;;
1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1123 x_libraries=$ac_optarg ;;
1125 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1126 Try \`$0 --help' for more information." >&2
1127 { (exit 1); exit 1; }; }
1131 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1134 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1135 { (exit 1); exit 1; }; }
1136 eval $ac_envvar=\$ac_optarg
1137 export $ac_envvar ;;
1140 # FIXME: should be removed in autoconf 3.0.
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1144 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1150 if test -n "$ac_prev"; then
1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1152 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1153 { (exit 1); exit 1; }; }
1156 if test -n "$ac_unrecognized_opts"; then
1157 case $enable_option_checking in
1159 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1160 { (exit 1); exit 1; }; } ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1178 # Be sure to have absolute directory names.
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1184 { (exit 1); exit 1; }; }
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x; then
1196 if test "x$build_alias" = x; then
1197 cross_compiling=maybe
1198 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1199 If a cross compiler is detected then cross compile mode will be used." >&2
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1208 test "$silent" = yes && exec 6>/dev/null
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1215 { (exit 1); exit 1; }; }
1216 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1218 { (exit 1); exit 1; }; }
1221 # Find the source files, if location was not specified.
1222 if test -z "$srcdir"; then
1223 ac_srcdir_defaulted=yes
1224 # Try the directory containing this script, then the parent directory.
1225 ac_confdir=`$as_dirname -- "$as_myself" ||
1226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1227 X"$as_myself" : 'X\(//\)[^/]' \| \
1228 X"$as_myself" : 'X\(//\)$' \| \
1229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1230 $as_echo X"$as_myself" |
1231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1253 ac_srcdir_defaulted=no
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1257 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1258 { (exit 1); exit 1; }; }
1260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1263 { (exit 1); exit 1; }; }
1265 # When building in place, set srcdir=.
1266 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 # Remove unnecessary trailing slashes from srcdir.
1270 # Double slashes in file names in object file debugging info
1271 # mess up M-x gdb in Emacs.
1273 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1275 for ac_var in $ac_precious_vars; do
1276 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277 eval ac_env_${ac_var}_value=\$${ac_var}
1278 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 # Report the --help message.
1285 if test "$ac_init_help" = "long"; then
1286 # Omit some internal or obsolete options to make the list less imposing.
1287 # This message is too long to be a string in the A/UX 3.1 sh.
1289 \`configure' configures polyglot 1.4.70b to adapt to many kinds of systems.
1291 Usage: $0 [OPTION]... [VAR=VALUE]...
1293 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294 VAR=VALUE. See below for descriptions of some of the useful variables.
1296 Defaults for the options are specified in brackets.
1299 -h, --help display this help and exit
1300 --help=short display options specific to this package
1301 --help=recursive display the short help of all the included packages
1302 -V, --version display version information and exit
1303 -q, --quiet, --silent do not print \`checking...' messages
1304 --cache-file=FILE cache test results in FILE [disabled]
1305 -C, --config-cache alias for \`--cache-file=config.cache'
1306 -n, --no-create do not create output files
1307 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1309 Installation directories:
1310 --prefix=PREFIX install architecture-independent files in PREFIX
1311 [$ac_default_prefix]
1312 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 By default, \`make install' will install all the files in
1316 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1317 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318 for instance \`--prefix=\$HOME'.
1320 For better control, use the options below.
1322 Fine tuning of the installation directories:
1323 --bindir=DIR user executables [EPREFIX/bin]
1324 --sbindir=DIR system admin executables [EPREFIX/sbin]
1325 --libexecdir=DIR program executables [EPREFIX/libexec]
1326 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1327 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1328 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1329 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1332 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1333 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1334 --infodir=DIR info documentation [DATAROOTDIR/info]
1335 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1336 --mandir=DIR man documentation [DATAROOTDIR/man]
1337 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1338 --htmldir=DIR html documentation [DOCDIR]
1339 --dvidir=DIR dvi documentation [DOCDIR]
1340 --pdfdir=DIR pdf documentation [DOCDIR]
1341 --psdir=DIR ps documentation [DOCDIR]
1347 --program-prefix=PREFIX prepend PREFIX to installed program names
1348 --program-suffix=SUFFIX append SUFFIX to installed program names
1349 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1353 if test -n "$ac_init_help"; then
1354 case $ac_init_help in
1355 short | recursive ) echo "Configuration of polyglot 1.4.70b:";;
1360 --disable-option-checking ignore unrecognized --enable/--with options
1361 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1362 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1363 --disable-dependency-tracking speeds up one-time build
1364 --enable-dependency-tracking do not reject slow dependency extractors
1366 Some influential environment variables:
1367 CC C compiler command
1368 CFLAGS C compiler flags
1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1370 nonstandard directory <lib dir>
1371 LIBS libraries to pass to the linker, e.g. -l<library>
1372 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1376 Use these variables to override the choices made by `configure' or to help
1377 it to find libraries and programs with nonstandard names/locations.
1379 Report bugs to <michel.vandenbergh@uhasselt.be>.
1384 if test "$ac_init_help" = "recursive"; then
1385 # If there are subdirs, report their specific --help.
1386 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1387 test -d "$ac_dir" ||
1388 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1396 # A ".." for each directory in $ac_dir_suffix.
1397 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1398 case $ac_top_builddir_sub in
1399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 ac_abs_top_builddir=$ac_pwd
1404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1405 # for backward compatibility:
1406 ac_top_builddir=$ac_top_build_prefix
1409 .) # We are building in place.
1411 ac_top_srcdir=$ac_top_builddir_sub
1412 ac_abs_top_srcdir=$ac_pwd ;;
1413 [\\/]* | ?:[\\/]* ) # Absolute name.
1414 ac_srcdir=$srcdir$ac_dir_suffix;
1415 ac_top_srcdir=$srcdir
1416 ac_abs_top_srcdir=$srcdir ;;
1418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1419 ac_top_srcdir=$ac_top_build_prefix$srcdir
1420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1424 cd "$ac_dir" || { ac_status=$?; continue; }
1425 # Check for guested configure.
1426 if test -f "$ac_srcdir/configure.gnu"; then
1428 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1429 elif test -f "$ac_srcdir/configure"; then
1431 $SHELL "$ac_srcdir/configure" --help=recursive
1433 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435 cd "$ac_pwd" || { ac_status=$?; break; }
1439 test -n "$ac_init_help" && exit $ac_status
1440 if $ac_init_version; then
1442 polyglot configure 1.4.70b
1443 generated by GNU Autoconf 2.63
1445 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1446 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1447 This configure script is free software; the Free Software Foundation
1448 gives unlimited permission to copy, distribute and modify it.
1452 cat >config.log <<_ACEOF
1453 This file contains any messages produced by compilers while
1454 running configure, to aid debugging if configure makes a mistake.
1456 It was created by polyglot $as_me 1.4.70b, which was
1457 generated by GNU Autoconf 2.63. Invocation command line was
1469 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1470 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1471 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1472 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1473 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1475 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1476 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1478 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1479 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1480 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1481 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1482 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1483 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1484 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 $as_echo "PATH: $as_dir"
1509 # Keep a trace of the command line.
1510 # Strip out --no-create and --no-recursion so they do not pile up.
1511 # Strip out --silent because we don't want to record it for future runs.
1512 # Also quote any args containing shell meta-characters.
1513 # Make two passes to allow for proper duplicate-argument suppression.
1517 ac_must_keep_next=false
1523 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1525 | -silent | --silent | --silen | --sile | --sil)
1528 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1533 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1534 if test $ac_must_keep_next = true; then
1535 ac_must_keep_next=false # Got value, back to normal.
1538 *=* | --config-cache | -C | -disable-* | --disable-* \
1539 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1540 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1541 | -with-* | --with-* | -without-* | --without-* | --x)
1542 case "$ac_configure_args0 " in
1543 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1546 -* ) ac_must_keep_next=true ;;
1549 ac_configure_args="$ac_configure_args '$ac_arg'"
1554 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1555 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1557 # When interrupted or exit'd, cleanup temporary files, and complete
1558 # config.log. We remove comments because anyway the quotes in there
1559 # would cause problems or look ugly.
1560 # WARNING: Use '\'' to represent an apostrophe within the trap.
1561 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1562 trap 'exit_status=$?
1563 # Save into config.log some information that might help in debugging.
1568 ## ---------------- ##
1569 ## Cache variables. ##
1570 ## ---------------- ##
1573 # The following way of writing the cache mishandles newlines in values,
1575 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1576 eval ac_val=\$$ac_var
1580 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1584 _ | IFS | as_nl) ;; #(
1585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1586 *) $as_unset $ac_var ;;
1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1592 *${as_nl}ac_space=\ *)
1594 "s/'\''/'\''\\\\'\'''\''/g;
1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1606 ## ----------------- ##
1607 ## Output variables. ##
1608 ## ----------------- ##
1611 for ac_var in $ac_subst_vars
1613 eval ac_val=\$$ac_var
1615 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 $as_echo "$ac_var='\''$ac_val'\''"
1621 if test -n "$ac_subst_files"; then
1623 ## ------------------- ##
1624 ## File substitutions. ##
1625 ## ------------------- ##
1628 for ac_var in $ac_subst_files
1630 eval ac_val=\$$ac_var
1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 $as_echo "$ac_var='\''$ac_val'\''"
1639 if test -s confdefs.h; then
1649 test "$ac_signal" != 0 &&
1650 $as_echo "$as_me: caught signal $ac_signal"
1651 $as_echo "$as_me: exit $exit_status"
1653 rm -f core *.core core.conftest.* &&
1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1657 for ac_signal in 1 2 13 15; do
1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1663 rm -f -r conftest* confdefs.h
1665 # Predefined preprocessor variables.
1667 cat >>confdefs.h <<_ACEOF
1668 #define PACKAGE_NAME "$PACKAGE_NAME"
1672 cat >>confdefs.h <<_ACEOF
1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_STRING "$PACKAGE_STRING"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1692 # Let the site file select an alternate cache file if it wants to.
1693 # Prefer an explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 ac_site_file1=$CONFIG_SITE
1698 elif test "x$prefix" != xNONE; then
1699 ac_site_file1=$prefix/share/config.site
1700 ac_site_file2=$prefix/etc/config.site
1702 ac_site_file1=$ac_default_prefix/share/config.site
1703 ac_site_file2=$ac_default_prefix/etc/config.site
1705 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1707 test "x$ac_site_file" = xNONE && continue
1708 if test -r "$ac_site_file"; then
1709 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 $as_echo "$as_me: loading cache $cache_file" >&6;}
1723 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1724 *) . "./$cache_file";;
1728 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 $as_echo "$as_me: creating cache $cache_file" >&6;}
1733 # Check that the precious variables saved in the cache have kept the same
1735 ac_cache_corrupted=false
1736 for ac_var in $ac_precious_vars; do
1737 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1738 eval ac_new_set=\$ac_env_${ac_var}_set
1739 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1740 eval ac_new_val=\$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1743 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1744 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted=: ;;
1747 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1748 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted=: ;;
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 # differences in whitespace do not lead to failure.
1754 ac_old_val_w=`echo x $ac_old_val`
1755 ac_new_val_w=`echo x $ac_new_val`
1756 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1757 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1758 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1759 ac_cache_corrupted=:
1761 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1762 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1763 eval $ac_var=\$ac_old_val
1765 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1766 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1767 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1768 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1774 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 if $ac_cache_corrupted; then
1784 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1786 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1787 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1788 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1789 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1790 { (exit 1); exit 1; }; }
1818 ac_cpp='$CPP $CPPFLAGS'
1819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 am__api_version='1.11'
1827 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1844 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1857 # Find a good install program. We prefer a C program (faster),
1858 # so one script is as good as another. But avoid the broken or
1859 # incompatible versions:
1860 # SysV /etc/install, /usr/sbin/install
1861 # SunOS /usr/etc/install
1862 # IRIX /sbin/install
1864 # AmigaOS /C/install, which installs bootblocks on floppy discs
1865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1868 # OS/2's system install, which has a completely different semantic
1869 # ./install, which can be erroneously created by make from ./install.sh.
1870 # Reject install programs that cannot install multiple files.
1871 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1872 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1873 if test -z "$INSTALL"; then
1874 if test "${ac_cv_path_install+set}" = set; then
1875 $as_echo_n "(cached) " >&6
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 # Account for people who put trailing slashes in PATH elements.
1884 ./ | .// | /cC/* | \
1885 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1886 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1889 # OSF1 and SCO ODT 3.0 have their own names for install.
1890 # Don't use installbsd from OSF since it installs stuff as root
1892 for ac_prog in ginstall scoinst install; do
1893 for ac_exec_ext in '' $ac_executable_extensions; do
1894 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1895 if test $ac_prog = install &&
1896 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1897 # AIX install. It has an incompatible calling convention.
1899 elif test $ac_prog = install &&
1900 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1901 # program-specific install script used by HP pwplus--don't use.
1904 rm -rf conftest.one conftest.two conftest.dir
1905 echo one > conftest.one
1906 echo two > conftest.two
1908 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1909 test -s conftest.one && test -s conftest.two &&
1910 test -s conftest.dir/conftest.one &&
1911 test -s conftest.dir/conftest.two
1913 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1926 rm -rf conftest.one conftest.two conftest.dir
1929 if test "${ac_cv_path_install+set}" = set; then
1930 INSTALL=$ac_cv_path_install
1932 # As a last resort, use the slow shell script. Don't cache a
1933 # value for INSTALL within a source directory, because that will
1934 # break other packages using the cache if that directory is
1935 # removed, or if the value is a relative name.
1936 INSTALL=$ac_install_sh
1939 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1940 $as_echo "$INSTALL" >&6; }
1942 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1943 # It thinks the first close brace ends the variable substitution.
1944 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1946 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1948 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1950 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1951 $as_echo_n "checking whether build environment is sane... " >&6; }
1954 echo timestamp > conftest.file
1955 # Reject unsafe characters in $srcdir or the absolute working directory
1956 # name. Accept space and tab only in the latter.
1960 *[\\\"\#\$\&\'\`$am_lf]*)
1961 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1962 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1963 { (exit 1); exit 1; }; };;
1966 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1967 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1968 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1969 { (exit 1); exit 1; }; };;
1972 # Do `set' in a subshell so we don't clobber the current shell's
1973 # arguments. Must try -L first in case configure is actually a
1974 # symlink; some systems play weird games with the mod time of symlinks
1975 # (eg FreeBSD returns the mod time of the symlink's containing
1978 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1979 if test "$*" = "X"; then
1981 set X `ls -t "$srcdir/configure" conftest.file`
1984 if test "$*" != "X $srcdir/configure conftest.file" \
1985 && test "$*" != "X conftest.file $srcdir/configure"; then
1987 # If neither matched, then we have a broken ls. This can happen
1988 # if, for instance, CONFIG_SHELL is bash and it inherits a
1989 # broken ls alias from the environment. This has actually
1990 # happened. Such a system could not be considered "sane".
1991 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1992 alias in your environment" >&5
1993 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1994 alias in your environment" >&2;}
1995 { (exit 1); exit 1; }; }
1998 test "$2" = conftest.file
2004 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2005 Check your system clock" >&5
2006 $as_echo "$as_me: error: newly created file is older than distributed files!
2007 Check your system clock" >&2;}
2008 { (exit 1); exit 1; }; }
2010 { $as_echo "$as_me:$LINENO: result: yes" >&5
2011 $as_echo "yes" >&6; }
2012 test "$program_prefix" != NONE &&
2013 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2014 # Use a double $ so make ignores it.
2015 test "$program_suffix" != NONE &&
2016 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2017 # Double any \ or $.
2018 # By default was `s,x,x', remove it if useless.
2019 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2020 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2022 # expand $ac_aux_dir to an absolute path
2023 am_aux_dir=`cd $ac_aux_dir && pwd`
2025 if test x"${MISSING+set}" != xset; then
2028 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2030 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2033 # Use eval to expand $SHELL
2034 if eval "$MISSING --run true"; then
2035 am_missing_run="$MISSING --run "
2038 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2039 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2042 if test x"${install_sh}" != xset; then
2045 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2047 install_sh="\${SHELL} $am_aux_dir/install-sh"
2051 # Installed binaries are usually stripped using `strip' when the user
2052 # run `make install-strip'. However `strip' might not be the right
2053 # tool to use in cross-compilation environments, therefore Automake
2054 # will honor the `STRIP' environment variable to overrule this program.
2055 if test "$cross_compiling" != no; then
2056 if test -n "$ac_tool_prefix"; then
2057 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2058 set dummy ${ac_tool_prefix}strip; ac_word=$2
2059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2060 $as_echo_n "checking for $ac_word... " >&6; }
2061 if test "${ac_cv_prog_STRIP+set}" = set; then
2062 $as_echo_n "(cached) " >&6
2064 if test -n "$STRIP"; then
2065 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 STRIP=$ac_cv_prog_STRIP
2085 if test -n "$STRIP"; then
2086 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2087 $as_echo "$STRIP" >&6; }
2089 { $as_echo "$as_me:$LINENO: result: no" >&5
2090 $as_echo "no" >&6; }
2095 if test -z "$ac_cv_prog_STRIP"; then
2097 # Extract the first word of "strip", so it can be a program name with args.
2098 set dummy strip; ac_word=$2
2099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2102 $as_echo_n "(cached) " >&6
2104 if test -n "$ac_ct_STRIP"; then
2105 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114 ac_cv_prog_ac_ct_STRIP="strip"
2115 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2125 if test -n "$ac_ct_STRIP"; then
2126 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2127 $as_echo "$ac_ct_STRIP" >&6; }
2129 { $as_echo "$as_me:$LINENO: result: no" >&5
2130 $as_echo "no" >&6; }
2133 if test "x$ac_ct_STRIP" = x; then
2136 case $cross_compiling:$ac_tool_warned in
2138 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2140 ac_tool_warned=yes ;;
2145 STRIP="$ac_cv_prog_STRIP"
2149 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2151 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2152 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2153 if test -z "$MKDIR_P"; then
2154 if test "${ac_cv_path_mkdir+set}" = set; then
2155 $as_echo_n "(cached) " >&6
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2161 test -z "$as_dir" && as_dir=.
2162 for ac_prog in mkdir gmkdir; do
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2165 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2166 'mkdir (GNU coreutils) '* | \
2167 'mkdir (coreutils) '* | \
2168 'mkdir (fileutils) '4.1*)
2169 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2179 if test "${ac_cv_path_mkdir+set}" = set; then
2180 MKDIR_P="$ac_cv_path_mkdir -p"
2182 # As a last resort, use the slow shell script. Don't cache a
2183 # value for MKDIR_P within a source directory, because that will
2184 # break other packages using the cache if that directory is
2185 # removed, or if the value is a relative name.
2186 test -d ./--version && rmdir ./--version
2187 MKDIR_P="$ac_install_sh -d"
2190 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2191 $as_echo "$MKDIR_P" >&6; }
2195 [\\/$]* | ?:[\\/]*) ;;
2196 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2199 for ac_prog in gawk mawk nawk awk
2201 # Extract the first word of "$ac_prog", so it can be a program name with args.
2202 set dummy $ac_prog; ac_word=$2
2203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_AWK+set}" = set; then
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$AWK"; then
2209 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218 ac_cv_prog_AWK="$ac_prog"
2219 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229 if test -n "$AWK"; then
2230 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2231 $as_echo "$AWK" >&6; }
2233 { $as_echo "$as_me:$LINENO: result: no" >&5
2234 $as_echo "no" >&6; }
2238 test -n "$AWK" && break
2241 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2242 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2244 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2245 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2246 $as_echo_n "(cached) " >&6
2248 cat >conftest.make <<\_ACEOF
2251 @echo '@@@%%%=$(MAKE)=@@@%%%'
2253 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2254 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2256 eval ac_cv_prog_make_${ac_make}_set=yes;;
2258 eval ac_cv_prog_make_${ac_make}_set=no;;
2262 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2263 { $as_echo "$as_me:$LINENO: result: yes" >&5
2264 $as_echo "yes" >&6; }
2267 { $as_echo "$as_me:$LINENO: result: no" >&5
2268 $as_echo "no" >&6; }
2269 SET_MAKE="MAKE=${MAKE-make}"
2272 rm -rf .tst 2>/dev/null
2273 mkdir .tst 2>/dev/null
2274 if test -d .tst; then
2279 rmdir .tst 2>/dev/null
2281 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2282 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2283 # is not polluted with repeated "-I."
2284 am__isrc=' -I$(srcdir)'
2285 # test to see if srcdir already configured
2286 if test -f $srcdir/config.status; then
2287 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2288 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2289 { (exit 1); exit 1; }; }
2293 # test whether we have cygpath
2294 if test -z "$CYGPATH_W"; then
2295 if (cygpath --version) >/dev/null 2>/dev/null; then
2296 CYGPATH_W='cygpath -w'
2303 # Define the identity of the package.
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE "$PACKAGE"
2313 cat >>confdefs.h <<_ACEOF
2314 #define VERSION "$VERSION"
2317 # Some tools Automake needs.
2319 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2322 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2325 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2328 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2331 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2333 # We need awk for the "check" target. The system "awk" is bad on
2335 # Always define AMTAR for backward compatibility.
2337 AMTAR=${AMTAR-"${am_missing_run}tar"}
2339 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2346 ac_config_headers="$ac_config_headers config.h"
2349 # Checks for programs.
2351 ac_cpp='$CPP $CPPFLAGS'
2352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2355 if test -n "$ac_tool_prefix"; then
2356 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2357 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 $as_echo_n "checking for $ac_word... " >&6; }
2360 if test "${ac_cv_prog_CC+set}" = set; then
2361 $as_echo_n "(cached) " >&6
2363 if test -n "$CC"; then
2364 ac_cv_prog_CC="$CC" # Let the user override the test.
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 if test -n "$CC"; then
2385 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2386 $as_echo "$CC" >&6; }
2388 { $as_echo "$as_me:$LINENO: result: no" >&5
2389 $as_echo "no" >&6; }
2394 if test -z "$ac_cv_prog_CC"; then
2396 # Extract the first word of "gcc", so it can be a program name with args.
2397 set dummy gcc; ac_word=$2
2398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 $as_echo_n "checking for $ac_word... " >&6; }
2400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2401 $as_echo_n "(cached) " >&6
2403 if test -n "$ac_ct_CC"; then
2404 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410 test -z "$as_dir" && as_dir=.
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413 ac_cv_prog_ac_ct_CC="gcc"
2414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2424 if test -n "$ac_ct_CC"; then
2425 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2426 $as_echo "$ac_ct_CC" >&6; }
2428 { $as_echo "$as_me:$LINENO: result: no" >&5
2429 $as_echo "no" >&6; }
2432 if test "x$ac_ct_CC" = x; then
2435 case $cross_compiling:$ac_tool_warned in
2437 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2439 ac_tool_warned=yes ;;
2447 if test -z "$CC"; then
2448 if test -n "$ac_tool_prefix"; then
2449 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2450 set dummy ${ac_tool_prefix}cc; ac_word=$2
2451 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 $as_echo_n "checking for $ac_word... " >&6; }
2453 if test "${ac_cv_prog_CC+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2456 if test -n "$CC"; then
2457 ac_cv_prog_CC="$CC" # Let the user override the test.
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 ac_cv_prog_CC="${ac_tool_prefix}cc"
2467 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 if test -n "$CC"; then
2478 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2479 $as_echo "$CC" >&6; }
2481 { $as_echo "$as_me:$LINENO: result: no" >&5
2482 $as_echo "no" >&6; }
2488 if test -z "$CC"; then
2489 # Extract the first word of "cc", so it can be a program name with args.
2490 set dummy cc; ac_word=$2
2491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 $as_echo_n "checking for $ac_word... " >&6; }
2493 if test "${ac_cv_prog_CC+set}" = set; then
2494 $as_echo_n "(cached) " >&6
2496 if test -n "$CC"; then
2497 ac_cv_prog_CC="$CC" # Let the user override the test.
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir=.
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2507 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2508 ac_prog_rejected=yes
2512 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 if test $ac_prog_rejected = yes; then
2520 # We found a bogon in the path, so make sure we never use it.
2521 set dummy $ac_cv_prog_CC
2523 if test $# != 0; then
2524 # We chose a different compiler from the bogus one.
2525 # However, it has the same basename, so the bogon will be chosen
2526 # first if we set CC to just the basename; use the full file name.
2528 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2534 if test -n "$CC"; then
2535 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2536 $as_echo "$CC" >&6; }
2538 { $as_echo "$as_me:$LINENO: result: no" >&5
2539 $as_echo "no" >&6; }
2544 if test -z "$CC"; then
2545 if test -n "$ac_tool_prefix"; then
2546 for ac_prog in cl.exe
2548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2550 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2551 $as_echo_n "checking for $ac_word... " >&6; }
2552 if test "${ac_cv_prog_CC+set}" = set; then
2553 $as_echo_n "(cached) " >&6
2555 if test -n "$CC"; then
2556 ac_cv_prog_CC="$CC" # Let the user override the test.
2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 test -z "$as_dir" && as_dir=.
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2566 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 if test -n "$CC"; then
2577 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2578 $as_echo "$CC" >&6; }
2580 { $as_echo "$as_me:$LINENO: result: no" >&5
2581 $as_echo "no" >&6; }
2585 test -n "$CC" && break
2588 if test -z "$CC"; then
2590 for ac_prog in cl.exe
2592 # Extract the first word of "$ac_prog", so it can be a program name with args.
2593 set dummy $ac_prog; ac_word=$2
2594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2595 $as_echo_n "checking for $ac_word... " >&6; }
2596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2597 $as_echo_n "(cached) " >&6
2599 if test -n "$ac_ct_CC"; then
2600 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606 test -z "$as_dir" && as_dir=.
2607 for ac_exec_ext in '' $ac_executable_extensions; do
2608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_ac_ct_CC="$ac_prog"
2610 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2620 if test -n "$ac_ct_CC"; then
2621 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2622 $as_echo "$ac_ct_CC" >&6; }
2624 { $as_echo "$as_me:$LINENO: result: no" >&5
2625 $as_echo "no" >&6; }
2629 test -n "$ac_ct_CC" && break
2632 if test "x$ac_ct_CC" = x; then
2635 case $cross_compiling:$ac_tool_warned in
2637 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2639 ac_tool_warned=yes ;;
2648 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2651 See \`config.log' for more details." >&5
2652 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2653 See \`config.log' for more details." >&2;}
2654 { (exit 1); exit 1; }; }; }
2656 # Provide some information about the compiler.
2657 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2660 { (ac_try="$ac_compiler --version >&5"
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2666 $as_echo "$ac_try_echo") >&5
2667 (eval "$ac_compiler --version >&5") 2>&5
2669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }
2671 { (ac_try="$ac_compiler -v >&5"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2677 $as_echo "$ac_try_echo") >&5
2678 (eval "$ac_compiler -v >&5") 2>&5
2680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }
2682 { (ac_try="$ac_compiler -V >&5"
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2688 $as_echo "$ac_try_echo") >&5
2689 (eval "$ac_compiler -V >&5") 2>&5
2691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 ac_clean_files_save=$ac_clean_files
2710 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2711 # Try to create an executable without -o first, disregard a.out.
2712 # It will help us diagnose broken compilers, and finding out an intuition
2714 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2715 $as_echo_n "checking for C compiler default output file name... " >&6; }
2716 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2718 # The possible output files:
2719 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2722 for ac_file in $ac_files
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2726 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2731 if { (ac_try="$ac_link_default"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2737 $as_echo "$ac_try_echo") >&5
2738 (eval "$ac_link_default") 2>&5
2740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; then
2742 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2743 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2744 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2745 # so that the user can short-circuit this test for compilers unknown to
2747 for ac_file in $ac_files ''
2749 test -f "$ac_file" || continue
2751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2754 # We found the default executable, but exeext='' is most
2758 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2760 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2762 # We set ac_cv_exeext here because the later test for it is not
2763 # safe: cross compilers may not add the suffix if given an `-o'
2764 # argument, so we may need to know it at that point already.
2765 # Even if this section looks crufty: it has the advantage of
2772 test "$ac_cv_exeext" = no && ac_cv_exeext=
2778 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2779 $as_echo "$ac_file" >&6; }
2780 if test -z "$ac_file"; then
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2784 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2786 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2787 See \`config.log' for more details." >&5
2788 $as_echo "$as_me: error: C compiler cannot create executables
2789 See \`config.log' for more details." >&2;}
2790 { (exit 77); exit 77; }; }; }
2793 ac_exeext=$ac_cv_exeext
2795 # Check that the compiler produces executables we can run. If not, either
2796 # the compiler is broken, or we cross compile.
2797 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2798 $as_echo_n "checking whether the C compiler works... " >&6; }
2799 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2800 # If not cross compiling, check that we can run a simple program.
2801 if test "$cross_compiling" != yes; then
2802 if { ac_try='./$ac_file'
2803 { (case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2808 $as_echo "$ac_try_echo") >&5
2809 (eval "$ac_try") 2>&5
2811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then
2815 if test "$cross_compiling" = maybe; then
2818 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2821 If you meant to cross compile, use \`--host'.
2822 See \`config.log' for more details." >&5
2823 $as_echo "$as_me: error: cannot run C compiled programs.
2824 If you meant to cross compile, use \`--host'.
2825 See \`config.log' for more details." >&2;}
2826 { (exit 1); exit 1; }; }; }
2830 { $as_echo "$as_me:$LINENO: result: yes" >&5
2831 $as_echo "yes" >&6; }
2833 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2834 ac_clean_files=$ac_clean_files_save
2835 # Check that the compiler produces executables we can run. If not, either
2836 # the compiler is broken, or we cross compile.
2837 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2838 $as_echo_n "checking whether we are cross compiling... " >&6; }
2839 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2840 $as_echo "$cross_compiling" >&6; }
2842 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2843 $as_echo_n "checking for suffix of executables... " >&6; }
2844 if { (ac_try="$ac_link"
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2850 $as_echo "$ac_try_echo") >&5
2851 (eval "$ac_link") 2>&5
2853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; then
2855 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2856 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2857 # work properly (i.e., refer to `conftest.exe'), while it won't with
2859 for ac_file in conftest.exe conftest conftest.*; do
2860 test -f "$ac_file" || continue
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2863 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2872 See \`config.log' for more details." >&5
2873 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2874 See \`config.log' for more details." >&2;}
2875 { (exit 1); exit 1; }; }; }
2878 rm -f conftest$ac_cv_exeext
2879 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2880 $as_echo "$ac_cv_exeext" >&6; }
2882 rm -f conftest.$ac_ext
2883 EXEEXT=$ac_cv_exeext
2885 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2886 $as_echo_n "checking for suffix of object files... " >&6; }
2887 if test "${ac_cv_objext+set}" = set; then
2888 $as_echo_n "(cached) " >&6
2890 cat >conftest.$ac_ext <<_ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2905 rm -f conftest.o conftest.obj
2906 if { (ac_try="$ac_compile"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2912 $as_echo "$ac_try_echo") >&5
2913 (eval "$ac_compile") 2>&5
2915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; then
2917 for ac_file in conftest.o conftest.obj conftest.*; do
2918 test -f "$ac_file" || continue;
2920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2921 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2931 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2932 See \`config.log' for more details." >&5
2933 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2934 See \`config.log' for more details." >&2;}
2935 { (exit 1); exit 1; }; }; }
2938 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2940 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2941 $as_echo "$ac_cv_objext" >&6; }
2942 OBJEXT=$ac_cv_objext
2944 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2945 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2947 $as_echo_n "(cached) " >&6
2949 cat >conftest.$ac_ext <<_ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2967 rm -f conftest.$ac_objext
2968 if { (ac_try="$ac_compile"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2974 $as_echo "$ac_try_echo") >&5
2975 (eval "$ac_compile") 2>conftest.er1
2977 grep -v '^ *+' conftest.er1 >conftest.err
2979 cat conftest.err >&5
2980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } && {
2982 test -z "$ac_c_werror_flag" ||
2983 test ! -s conftest.err
2984 } && test -s conftest.$ac_objext; then
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2997 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2998 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2999 if test $ac_compiler_gnu = yes; then
3004 ac_test_CFLAGS=${CFLAGS+set}
3005 ac_save_CFLAGS=$CFLAGS
3006 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3007 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3008 if test "${ac_cv_prog_cc_g+set}" = set; then
3009 $as_echo_n "(cached) " >&6
3011 ac_save_c_werror_flag=$ac_c_werror_flag
3012 ac_c_werror_flag=yes
3015 cat >conftest.$ac_ext <<_ACEOF
3018 cat confdefs.h >>conftest.$ac_ext
3019 cat >>conftest.$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3030 rm -f conftest.$ac_objext
3031 if { (ac_try="$ac_compile"
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3037 $as_echo "$ac_try_echo") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3050 $as_echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3076 $as_echo "$ac_try_echo") >&5
3077 (eval "$ac_compile") 2>conftest.er1
3079 grep -v '^ *+' conftest.er1 >conftest.err
3081 cat conftest.err >&5
3082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } && {
3084 test -z "$ac_c_werror_flag" ||
3085 test ! -s conftest.err
3086 } && test -s conftest.$ac_objext; then
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 ac_c_werror_flag=$ac_save_c_werror_flag
3094 cat >conftest.$ac_ext <<_ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3109 rm -f conftest.$ac_objext
3110 if { (ac_try="$ac_compile"
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3116 $as_echo "$ac_try_echo") >&5
3117 (eval "$ac_compile") 2>conftest.er1
3119 grep -v '^ *+' conftest.er1 >conftest.err
3121 cat conftest.err >&5
3122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } && {
3124 test -z "$ac_c_werror_flag" ||
3125 test ! -s conftest.err
3126 } && test -s conftest.$ac_objext; then
3129 $as_echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 ac_c_werror_flag=$ac_save_c_werror_flag
3144 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3145 $as_echo "$ac_cv_prog_cc_g" >&6; }
3146 if test "$ac_test_CFLAGS" = set; then
3147 CFLAGS=$ac_save_CFLAGS
3148 elif test $ac_cv_prog_cc_g = yes; then
3149 if test "$GCC" = yes; then
3155 if test "$GCC" = yes; then
3161 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3163 if test "${ac_cv_prog_cc_c89+set}" = set; then
3164 $as_echo_n "(cached) " >&6
3166 ac_cv_prog_cc_c89=no
3168 cat >conftest.$ac_ext <<_ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3176 #include <sys/types.h>
3177 #include <sys/stat.h>
3178 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3179 struct buf { int x; };
3180 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3181 static char *e (p, i)
3187 static char *f (char * (*g) (char **, int), char **p, ...)
3192 s = g (p, va_arg (v,int));
3197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3198 function prototypes and stuff, but not '\xHH' hex character constants.
3199 These don't provoke an error unfortunately, instead are silently treated
3200 as 'x'. The following induces an error, until -std is added to get
3201 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3202 array size at least. It's necessary to write '\x00'==0 to get something
3203 that's true only with -std. */
3204 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3207 inside strings and character constants. */
3209 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3211 int test (int i, double x);
3212 struct s1 {int (*f) (int a);};
3213 struct s2 {int (*f) (double a);};
3214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3220 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3225 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3226 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3228 CC="$ac_save_CC $ac_arg"
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3236 $as_echo "$ac_try_echo") >&5
3237 (eval "$ac_compile") 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } && {
3244 test -z "$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3246 } && test -s conftest.$ac_objext; then
3247 ac_cv_prog_cc_c89=$ac_arg
3249 $as_echo "$as_me: failed program was:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3255 rm -f core conftest.err conftest.$ac_objext
3256 test "x$ac_cv_prog_cc_c89" != "xno" && break
3258 rm -f conftest.$ac_ext
3263 case "x$ac_cv_prog_cc_c89" in
3265 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3266 $as_echo "none needed" >&6; } ;;
3268 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3269 $as_echo "unsupported" >&6; } ;;
3271 CC="$CC $ac_cv_prog_cc_c89"
3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3273 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3278 ac_cpp='$CPP $CPPFLAGS'
3279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3282 DEPDIR="${am__leading_dot}deps"
3284 ac_config_commands="$ac_config_commands depfiles"
3287 am_make=${MAKE-make}
3288 cat > confinc << 'END'
3290 @echo this is the am__doit target
3293 # If we don't find an include directive, just comment out the code.
3294 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3295 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3299 # First try GNU make style include.
3300 echo "include confinc" > confmf
3301 # Ignore all kinds of additional output from `make'.
3302 case `$am_make -s -f confmf 2> /dev/null` in #(
3303 *the\ am__doit\ target*)
3309 # Now try BSD make style include.
3310 if test "$am__include" = "#"; then
3311 echo '.include "confinc"' > confmf
3312 case `$am_make -s -f confmf 2> /dev/null` in #(
3313 *the\ am__doit\ target*)
3314 am__include=.include
3322 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3323 $as_echo "$_am_result" >&6; }
3324 rm -f confinc confmf
3326 # Check whether --enable-dependency-tracking was given.
3327 if test "${enable_dependency_tracking+set}" = set; then
3328 enableval=$enable_dependency_tracking;
3331 if test "x$enable_dependency_tracking" != xno; then
3332 am_depcomp="$ac_aux_dir/depcomp"
3335 if test "x$enable_dependency_tracking" != xno; then
3345 depcc="$CC" am_compiler_list=
3347 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3348 $as_echo_n "checking dependency style of $depcc... " >&6; }
3349 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3350 $as_echo_n "(cached) " >&6
3352 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3353 # We make a subdir and do the tests there. Otherwise we can end up
3354 # making bogus files that we don't know about and never remove. For
3355 # instance it was reported that on HP-UX the gcc test will end up
3356 # making a dummy file named `D' -- because `-MD' means `put the output
3359 # Copy depcomp to subdir because otherwise we won't find it if we're
3360 # using a relative directory.
3361 cp "$am_depcomp" conftest.dir
3363 # We will build objects and dependencies in a subdirectory because
3364 # it helps to detect inapplicable dependency modes. For instance
3365 # both Tru64's cc and ICC support -MD to output dependencies as a
3366 # side effect of compilation, but ICC will put the dependencies in
3367 # the current directory while Tru64 will put them in the object
3371 am_cv_CC_dependencies_compiler_type=none
3372 if test "$am_compiler_list" = ""; then
3373 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3376 case " $depcc " in #(
3377 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3380 for depmode in $am_compiler_list; do
3381 # Setup a source with many dependencies, because some compilers
3382 # like to wrap large dependency lists on column 80 (with \), and
3383 # we should not choose a depcomp mode which is confused by this.
3385 # We need to recreate these files for each test, as the compiler may
3386 # overwrite some of them when testing with obscure command lines.
3387 # This happens at least with the AIX C compiler.
3389 for i in 1 2 3 4 5 6; do
3390 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3391 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3392 # Solaris 8's {/usr,}/bin/sh.
3393 touch sub/conftst$i.h
3395 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3397 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3398 # mode. It turns out that the SunPro C++ compiler does not properly
3399 # handle `-M -o', and we need to detect this. Also, some Intel
3400 # versions had trouble with output in subdirs
3401 am__obj=sub/conftest.${OBJEXT-o}
3402 am__minus_obj="-o $am__obj"
3405 # This depmode causes a compiler race in universal mode.
3406 test "$am__universal" = false || continue
3409 # after this tag, mechanisms are not by side-effect, so they'll
3410 # only be used when explicitly requested
3411 if test "x$enable_dependency_tracking" = xyes; then
3417 msvisualcpp | msvcmsys)
3418 # This compiler won't grok `-c -o', but also, the minuso test has
3419 # not run yet. These depmodes are late enough in the game, and
3420 # so weak that their functioning should not be impacted.
3421 am__obj=conftest.${OBJEXT-o}
3426 if depmode=$depmode \
3427 source=sub/conftest.c object=$am__obj \
3428 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3429 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3430 >/dev/null 2>conftest.err &&
3431 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3432 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3433 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3434 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3435 # icc doesn't choke on unknown options, it will just issue warnings
3436 # or remarks (even with -Werror). So we grep stderr for any message
3437 # that says an option was ignored or not supported.
3438 # When given -MP, icc 7.0 and 7.1 complain thusly:
3439 # icc: Command line warning: ignoring option '-M'; no argument required
3440 # The diagnosis changed in icc 8.0:
3441 # icc: Command line remark: option '-MP' not supported
3442 if (grep 'ignoring option' conftest.err ||
3443 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3444 am_cv_CC_dependencies_compiler_type=$depmode
3453 am_cv_CC_dependencies_compiler_type=none
3457 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3458 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3459 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3462 test "x$enable_dependency_tracking" != xno \
3463 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3465 am__fastdepCC_FALSE='#'
3467 am__fastdepCC_TRUE='#'
3468 am__fastdepCC_FALSE=
3473 # Checks for libraries.
3477 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
3478 $as_echo_n "checking for main in -lm... " >&6; }
3479 if test "${ac_cv_lib_m_main+set}" = set; then
3480 $as_echo_n "(cached) " >&6
3482 ac_check_lib_save_LIBS=$LIBS
3484 cat >conftest.$ac_ext <<_ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3500 rm -f conftest.$ac_objext conftest$ac_exeext
3501 if { (ac_try="$ac_link"
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507 $as_echo "$ac_try_echo") >&5
3508 (eval "$ac_link") 2>conftest.er1
3510 grep -v '^ *+' conftest.er1 >conftest.err
3512 cat conftest.err >&5
3513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && {
3515 test -z "$ac_c_werror_flag" ||
3516 test ! -s conftest.err
3517 } && test -s conftest$ac_exeext && {
3518 test "$cross_compiling" = yes ||
3519 $as_test_x conftest$ac_exeext
3521 ac_cv_lib_m_main=yes
3523 $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3529 rm -rf conftest.dSYM
3530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3531 conftest$ac_exeext conftest.$ac_ext
3532 LIBS=$ac_check_lib_save_LIBS
3534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3535 $as_echo "$ac_cv_lib_m_main" >&6; }
3536 if test "x$ac_cv_lib_m_main" = x""yes; then
3537 cat >>confdefs.h <<_ACEOF
3546 # Checks for header files.
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3552 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3553 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3554 # On Suns, sometimes $CPP names a directory.
3555 if test -n "$CPP" && test -d "$CPP"; then
3558 if test -z "$CPP"; then
3559 if test "${ac_cv_prog_CPP+set}" = set; then
3560 $as_echo_n "(cached) " >&6
3562 # Double quotes because CPP needs to be expanded
3563 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3566 for ac_c_preproc_warn_flag in '' yes
3568 # Use a header file that comes with gcc, so configuring glibc
3569 # with a fresh cross-compiler works.
3570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3571 # <limits.h> exists even on freestanding compilers.
3572 # On the NeXT, cc -E runs the code through the compiler's parser,
3573 # not just through cpp. "Syntax error" is here to catch this case.
3574 cat >conftest.$ac_ext <<_ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3581 # include <limits.h>
3583 # include <assert.h>
3587 if { (ac_try="$ac_cpp conftest.$ac_ext"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3593 $as_echo "$ac_try_echo") >&5
3594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3596 grep -v '^ *+' conftest.er1 >conftest.err
3598 cat conftest.err >&5
3599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } >/dev/null && {
3601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3602 test ! -s conftest.err
3606 $as_echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 # Broken: fails on valid input.
3613 rm -f conftest.err conftest.$ac_ext
3615 # OK, works on sane cases. Now check whether nonexistent headers
3616 # can be detected and how.
3617 cat >conftest.$ac_ext <<_ACEOF
3620 cat confdefs.h >>conftest.$ac_ext
3621 cat >>conftest.$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3623 #include <ac_nonexistent.h>
3625 if { (ac_try="$ac_cpp conftest.$ac_ext"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3631 $as_echo "$ac_try_echo") >&5
3632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3634 grep -v '^ *+' conftest.er1 >conftest.err
3636 cat conftest.err >&5
3637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } >/dev/null && {
3639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3640 test ! -s conftest.err
3642 # Broken: success on invalid input.
3645 $as_echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3648 # Passes both tests.
3653 rm -f conftest.err conftest.$ac_ext
3656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3657 rm -f conftest.err conftest.$ac_ext
3658 if $ac_preproc_ok; then
3670 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3671 $as_echo "$CPP" >&6; }
3673 for ac_c_preproc_warn_flag in '' yes
3675 # Use a header file that comes with gcc, so configuring glibc
3676 # with a fresh cross-compiler works.
3677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3678 # <limits.h> exists even on freestanding compilers.
3679 # On the NeXT, cc -E runs the code through the compiler's parser,
3680 # not just through cpp. "Syntax error" is here to catch this case.
3681 cat >conftest.$ac_ext <<_ACEOF
3684 cat confdefs.h >>conftest.$ac_ext
3685 cat >>conftest.$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3688 # include <limits.h>
3690 # include <assert.h>
3694 if { (ac_try="$ac_cpp conftest.$ac_ext"
3696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3697 *) ac_try_echo=$ac_try;;
3699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3700 $as_echo "$ac_try_echo") >&5
3701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3703 grep -v '^ *+' conftest.er1 >conftest.err
3705 cat conftest.err >&5
3706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); } >/dev/null && {
3708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3709 test ! -s conftest.err
3713 $as_echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3716 # Broken: fails on valid input.
3720 rm -f conftest.err conftest.$ac_ext
3722 # OK, works on sane cases. Now check whether nonexistent headers
3723 # can be detected and how.
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3730 #include <ac_nonexistent.h>
3732 if { (ac_try="$ac_cpp conftest.$ac_ext"
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3735 *) ac_try_echo=$ac_try;;
3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3738 $as_echo "$ac_try_echo") >&5
3739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3741 grep -v '^ *+' conftest.er1 >conftest.err
3743 cat conftest.err >&5
3744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } >/dev/null && {
3746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 test ! -s conftest.err
3749 # Broken: success on invalid input.
3752 $as_echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Passes both tests.
3760 rm -f conftest.err conftest.$ac_ext
3763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3764 rm -f conftest.err conftest.$ac_ext
3765 if $ac_preproc_ok; then
3768 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3770 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3771 See \`config.log' for more details." >&5
3772 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3773 See \`config.log' for more details." >&2;}
3774 { (exit 1); exit 1; }; }; }
3778 ac_cpp='$CPP $CPPFLAGS'
3779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3784 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3785 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3786 if test "${ac_cv_path_GREP+set}" = set; then
3787 $as_echo_n "(cached) " >&6
3789 if test -z "$GREP"; then
3790 ac_path_GREP_found=false
3791 # Loop through the user's path and test for each of PROGNAME-LIST
3792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3796 test -z "$as_dir" && as_dir=.
3797 for ac_prog in grep ggrep; do
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3800 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3801 # Check for GNU ac_path_GREP and select it if it is found.
3802 # Check for GNU $ac_path_GREP
3803 case `"$ac_path_GREP" --version 2>&1` in
3805 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3808 $as_echo_n 0123456789 >"conftest.in"
3811 cat "conftest.in" "conftest.in" >"conftest.tmp"
3812 mv "conftest.tmp" "conftest.in"
3813 cp "conftest.in" "conftest.nl"
3814 $as_echo 'GREP' >> "conftest.nl"
3815 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3816 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3817 ac_count=`expr $ac_count + 1`
3818 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3819 # Best one so far, save it but keep looking for a better one
3820 ac_cv_path_GREP="$ac_path_GREP"
3821 ac_path_GREP_max=$ac_count
3823 # 10*(2^10) chars as input seems more than enough
3824 test $ac_count -gt 10 && break
3826 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3829 $ac_path_GREP_found && break 3
3834 if test -z "$ac_cv_path_GREP"; then
3835 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3836 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3837 { (exit 1); exit 1; }; }
3840 ac_cv_path_GREP=$GREP
3844 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3845 $as_echo "$ac_cv_path_GREP" >&6; }
3846 GREP="$ac_cv_path_GREP"
3849 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3850 $as_echo_n "checking for egrep... " >&6; }
3851 if test "${ac_cv_path_EGREP+set}" = set; then
3852 $as_echo_n "(cached) " >&6
3854 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3855 then ac_cv_path_EGREP="$GREP -E"
3857 if test -z "$EGREP"; then
3858 ac_path_EGREP_found=false
3859 # Loop through the user's path and test for each of PROGNAME-LIST
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3864 test -z "$as_dir" && as_dir=.
3865 for ac_prog in egrep; do
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3868 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3869 # Check for GNU ac_path_EGREP and select it if it is found.
3870 # Check for GNU $ac_path_EGREP
3871 case `"$ac_path_EGREP" --version 2>&1` in
3873 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3876 $as_echo_n 0123456789 >"conftest.in"
3879 cat "conftest.in" "conftest.in" >"conftest.tmp"
3880 mv "conftest.tmp" "conftest.in"
3881 cp "conftest.in" "conftest.nl"
3882 $as_echo 'EGREP' >> "conftest.nl"
3883 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3884 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3885 ac_count=`expr $ac_count + 1`
3886 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3887 # Best one so far, save it but keep looking for a better one
3888 ac_cv_path_EGREP="$ac_path_EGREP"
3889 ac_path_EGREP_max=$ac_count
3891 # 10*(2^10) chars as input seems more than enough
3892 test $ac_count -gt 10 && break
3894 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3897 $ac_path_EGREP_found && break 3
3902 if test -z "$ac_cv_path_EGREP"; then
3903 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3904 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3905 { (exit 1); exit 1; }; }
3908 ac_cv_path_EGREP=$EGREP
3913 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3914 $as_echo "$ac_cv_path_EGREP" >&6; }
3915 EGREP="$ac_cv_path_EGREP"
3918 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3919 $as_echo_n "checking for ANSI C header files... " >&6; }
3920 if test "${ac_cv_header_stdc+set}" = set; then
3921 $as_echo_n "(cached) " >&6
3923 cat >conftest.$ac_ext <<_ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3942 rm -f conftest.$ac_objext
3943 if { (ac_try="$ac_compile"
3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3949 $as_echo "$ac_try_echo") >&5
3950 (eval "$ac_compile") 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } && {
3957 test -z "$ac_c_werror_flag" ||
3958 test ! -s conftest.err
3959 } && test -s conftest.$ac_objext; then
3960 ac_cv_header_stdc=yes
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 ac_cv_header_stdc=no
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 if test $ac_cv_header_stdc = yes; then
3971 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3972 cat >conftest.$ac_ext <<_ACEOF
3975 cat confdefs.h >>conftest.$ac_ext
3976 cat >>conftest.$ac_ext <<_ACEOF
3977 /* end confdefs.h. */
3981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3982 $EGREP "memchr" >/dev/null 2>&1; then
3985 ac_cv_header_stdc=no
3991 if test $ac_cv_header_stdc = yes; then
3992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3993 cat >conftest.$ac_ext <<_ACEOF
3996 cat confdefs.h >>conftest.$ac_ext
3997 cat >>conftest.$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4003 $EGREP "free" >/dev/null 2>&1; then
4006 ac_cv_header_stdc=no
4012 if test $ac_cv_header_stdc = yes; then
4013 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4014 if test "$cross_compiling" = yes; then
4017 cat >conftest.$ac_ext <<_ACEOF
4020 cat confdefs.h >>conftest.$ac_ext
4021 cat >>conftest.$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4025 #if ((' ' & 0x0FF) == 0x020)
4026 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4027 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4029 # define ISLOWER(c) \
4030 (('a' <= (c) && (c) <= 'i') \
4031 || ('j' <= (c) && (c) <= 'r') \
4032 || ('s' <= (c) && (c) <= 'z'))
4033 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4036 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4041 for (i = 0; i < 256; i++)
4042 if (XOR (islower (i), ISLOWER (i))
4043 || toupper (i) != TOUPPER (i))
4048 rm -f conftest$ac_exeext
4049 if { (ac_try="$ac_link"
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4055 $as_echo "$ac_try_echo") >&5
4056 (eval "$ac_link") 2>&5
4058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4060 { (case "(($ac_try" in
4061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4062 *) ac_try_echo=$ac_try;;
4064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4065 $as_echo "$ac_try_echo") >&5
4066 (eval "$ac_try") 2>&5
4068 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4072 $as_echo "$as_me: program exited with status $ac_status" >&5
4073 $as_echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.$ac_ext >&5
4077 ac_cv_header_stdc=no
4079 rm -rf conftest.dSYM
4080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4086 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4087 $as_echo "$ac_cv_header_stdc" >&6; }
4088 if test $ac_cv_header_stdc = yes; then
4090 cat >>confdefs.h <<\_ACEOF
4091 #define STDC_HEADERS 1
4096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4107 inttypes.h stdint.h unistd.h
4109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4110 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 $as_echo_n "checking for $ac_header... " >&6; }
4112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4113 $as_echo_n "(cached) " >&6
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4121 $ac_includes_default
4123 #include <$ac_header>
4125 rm -f conftest.$ac_objext
4126 if { (ac_try="$ac_compile"
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4132 $as_echo "$ac_try_echo") >&5
4133 (eval "$ac_compile") 2>conftest.er1
4135 grep -v '^ *+' conftest.er1 >conftest.err
4137 cat conftest.err >&5
4138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } && {
4140 test -z "$ac_c_werror_flag" ||
4141 test ! -s conftest.err
4142 } && test -s conftest.$ac_objext; then
4143 eval "$as_ac_Header=yes"
4145 $as_echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 eval "$as_ac_Header=no"
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_res=`eval 'as_val=${'$as_ac_Header'}
4154 $as_echo "$as_val"'`
4155 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4156 $as_echo "$ac_res" >&6; }
4157 as_val=`eval 'as_val=${'$as_ac_Header'}
4158 $as_echo "$as_val"'`
4159 if test "x$as_val" = x""yes; then
4160 cat >>confdefs.h <<_ACEOF
4161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4173 for ac_header in stdlib.h string.h sys/time.h unistd.h
4175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4177 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4178 $as_echo_n "checking for $ac_header... " >&6; }
4179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4180 $as_echo_n "(cached) " >&6
4182 ac_res=`eval 'as_val=${'$as_ac_Header'}
4183 $as_echo "$as_val"'`
4184 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4185 $as_echo "$ac_res" >&6; }
4187 # Is the header compilable?
4188 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4189 $as_echo_n "checking $ac_header usability... " >&6; }
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4196 $ac_includes_default
4197 #include <$ac_header>
4199 rm -f conftest.$ac_objext
4200 if { (ac_try="$ac_compile"
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206 $as_echo "$ac_try_echo") >&5
4207 (eval "$ac_compile") 2>conftest.er1
4209 grep -v '^ *+' conftest.er1 >conftest.err
4211 cat conftest.err >&5
4212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } && {
4214 test -z "$ac_c_werror_flag" ||
4215 test ! -s conftest.err
4216 } && test -s conftest.$ac_objext; then
4217 ac_header_compiler=yes
4219 $as_echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 ac_header_compiler=no
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4227 $as_echo "$ac_header_compiler" >&6; }
4229 # Is the header present?
4230 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4231 $as_echo_n "checking $ac_header presence... " >&6; }
4232 cat >conftest.$ac_ext <<_ACEOF
4235 cat confdefs.h >>conftest.$ac_ext
4236 cat >>conftest.$ac_ext <<_ACEOF
4237 /* end confdefs.h. */
4238 #include <$ac_header>
4240 if { (ac_try="$ac_cpp conftest.$ac_ext"
4242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243 *) ac_try_echo=$ac_try;;
4245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4246 $as_echo "$ac_try_echo") >&5
4247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4249 grep -v '^ *+' conftest.er1 >conftest.err
4251 cat conftest.err >&5
4252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } >/dev/null && {
4254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4255 test ! -s conftest.err
4257 ac_header_preproc=yes
4259 $as_echo "$as_me: failed program was:" >&5
4260 sed 's/^/| /' conftest.$ac_ext >&5
4262 ac_header_preproc=no
4265 rm -f conftest.err conftest.$ac_ext
4266 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4267 $as_echo "$ac_header_preproc" >&6; }
4269 # So? What about this header?
4270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4272 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4273 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4275 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4276 ac_header_preproc=yes
4279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4280 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4281 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4282 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4283 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4284 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4285 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4286 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4288 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4290 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4292 ## --------------------------------------------- ##
4293 ## Report this to michel.vandenbergh@uhasselt.be ##
4294 ## --------------------------------------------- ##
4296 ) | sed "s/^/$as_me: WARNING: /" >&2
4299 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4300 $as_echo_n "checking for $ac_header... " >&6; }
4301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4302 $as_echo_n "(cached) " >&6
4304 eval "$as_ac_Header=\$ac_header_preproc"
4306 ac_res=`eval 'as_val=${'$as_ac_Header'}
4307 $as_echo "$as_val"'`
4308 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4309 $as_echo "$ac_res" >&6; }
4312 as_val=`eval 'as_val=${'$as_ac_Header'}
4313 $as_echo "$as_val"'`
4314 if test "x$as_val" = x""yes; then
4315 cat >>confdefs.h <<_ACEOF
4316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 # Checks for typedefs, structures, and compiler characteristics.
4325 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4326 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4327 if test "${ac_cv_header_stdbool_h+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4337 #include <stdbool.h>
4339 "error: bool is not defined"
4342 "error: false is not defined"
4345 "error: false is not 0"
4348 "error: true is not defined"
4351 "error: true is not 1"
4353 #ifndef __bool_true_false_are_defined
4354 "error: __bool_true_false_are_defined is not defined"
4357 struct s { _Bool s: 1; _Bool t; } s;
4359 char a[true == 1 ? 1 : -1];
4360 char b[false == 0 ? 1 : -1];
4361 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4362 char d[(bool) 0.5 == true ? 1 : -1];
4364 char f[(_Bool) 0.0 == false ? 1 : -1];
4366 char h[sizeof (_Bool)];
4368 enum { j = false, k = true, l = false * true, m = true * 256 };
4369 /* The following fails for
4370 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4372 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4373 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4374 # if defined __xlc__ || defined __GNUC__
4375 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4376 reported by James Lemley on 2005-10-05; see
4377 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4378 This test is not quite right, since xlc is allowed to
4379 reject this program, as the initializer for xlcbug is
4380 not one of the forms that C requires support for.
4381 However, doing the test right would require a runtime
4382 test, and that would make cross-compilation harder.
4383 Let us hope that IBM fixes the xlc bug, and also adds
4384 support for this kind of constant expression. In the
4385 meantime, this test will reject xlc, which is OK, since
4386 our stdbool.h substitute should suffice. We also test
4387 this with GCC, where it should work, to detect more
4388 quickly whether someone messes up the test in the
4390 char digs[] = "0123456789";
4391 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4393 /* Catch a bug in an HP-UX C compiler. See
4394 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4395 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4406 /* Refer to every declared value, to avoid compiler optimizations. */
4407 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4408 + !m + !n + !o + !p + !q + !pq);
4414 rm -f conftest.$ac_objext
4415 if { (ac_try="$ac_compile"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4421 $as_echo "$ac_try_echo") >&5
4422 (eval "$ac_compile") 2>conftest.er1
4424 grep -v '^ *+' conftest.er1 >conftest.err
4426 cat conftest.err >&5
4427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } && {
4429 test -z "$ac_c_werror_flag" ||
4430 test ! -s conftest.err
4431 } && test -s conftest.$ac_objext; then
4432 ac_cv_header_stdbool_h=yes
4434 $as_echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_header_stdbool_h=no
4440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4443 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4444 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
4445 $as_echo_n "checking for _Bool... " >&6; }
4446 if test "${ac_cv_type__Bool+set}" = set; then
4447 $as_echo_n "(cached) " >&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
4466 rm -f conftest.$ac_objext
4467 if { (ac_try="$ac_compile"
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4473 $as_echo "$ac_try_echo") >&5
4474 (eval "$ac_compile") 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } && {
4481 test -z "$ac_c_werror_flag" ||
4482 test ! -s conftest.err
4483 } && test -s conftest.$ac_objext; then
4484 cat >conftest.$ac_ext <<_ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 $ac_includes_default
4494 if (sizeof ((_Bool)))
4500 rm -f conftest.$ac_objext
4501 if { (ac_try="$ac_compile"
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4507 $as_echo "$ac_try_echo") >&5
4508 (eval "$ac_compile") 2>conftest.er1
4510 grep -v '^ *+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && {
4515 test -z "$ac_c_werror_flag" ||
4516 test ! -s conftest.err
4517 } && test -s conftest.$ac_objext; then
4520 $as_echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 ac_cv_type__Bool=yes
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4528 $as_echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4537 $as_echo "$ac_cv_type__Bool" >&6; }
4538 if test "x$ac_cv_type__Bool" = x""yes; then
4540 cat >>confdefs.h <<_ACEOF
4541 #define HAVE__BOOL 1
4547 if test $ac_cv_header_stdbool_h = yes; then
4549 cat >>confdefs.h <<\_ACEOF
4550 #define HAVE_STDBOOL_H 1
4555 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4556 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4557 if test "${ac_cv_c_const+set}" = set; then
4558 $as_echo_n "(cached) " >&6
4560 cat >conftest.$ac_ext <<_ACEOF
4563 cat confdefs.h >>conftest.$ac_ext
4564 cat >>conftest.$ac_ext <<_ACEOF
4565 /* end confdefs.h. */
4570 /* FIXME: Include the comments suggested by Paul. */
4572 /* Ultrix mips cc rejects this. */
4573 typedef int charset[2];
4575 /* SunOS 4.1.1 cc rejects this. */
4576 char const *const *pcpcc;
4578 /* NEC SVR4.0.2 mips cc rejects this. */
4579 struct point {int x, y;};
4580 static struct point const zero = {0,0};
4581 /* AIX XL C 1.02.0.0 rejects this.
4582 It does not let you subtract one const X* pointer from another in
4583 an arm of an if-expression whose if-part is not a constant
4585 const char *g = "string";
4586 pcpcc = &g + (g ? g-g : 0);
4587 /* HPUX 7.0 cc rejects these. */
4589 ppc = (char**) pcpcc;
4590 pcpcc = (char const *const *) ppc;
4591 { /* SCO 3.2v4 cc rejects this. */
4593 char const *s = 0 ? (char *) 0 : (char const *) 0;
4598 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4600 const int *foo = &x[0];
4603 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4604 typedef const int *iptr;
4608 { /* AIX XL C 1.02.0.0 rejects this saying
4609 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4610 struct s { int j; const int *ap[3]; };
4611 struct s *b; b->j = 5;
4613 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4617 return !cs[0] && !zero.x;
4624 rm -f conftest.$ac_objext
4625 if { (ac_try="$ac_compile"
4627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4628 *) ac_try_echo=$ac_try;;
4630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4631 $as_echo "$ac_try_echo") >&5
4632 (eval "$ac_compile") 2>conftest.er1
4634 grep -v '^ *+' conftest.er1 >conftest.err
4636 cat conftest.err >&5
4637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } && {
4639 test -z "$ac_c_werror_flag" ||
4640 test ! -s conftest.err
4641 } && test -s conftest.$ac_objext; then
4644 $as_echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4653 $as_echo "$ac_cv_c_const" >&6; }
4654 if test $ac_cv_c_const = no; then
4656 cat >>confdefs.h <<\_ACEOF
4662 { $as_echo "$as_me:$LINENO: checking for inline" >&5
4663 $as_echo_n "checking for inline... " >&6; }
4664 if test "${ac_cv_c_inline+set}" = set; then
4665 $as_echo_n "(cached) " >&6
4668 for ac_kw in inline __inline__ __inline; do
4669 cat >conftest.$ac_ext <<_ACEOF
4672 cat confdefs.h >>conftest.$ac_ext
4673 cat >>conftest.$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4677 static $ac_kw foo_t static_foo () {return 0; }
4678 $ac_kw foo_t foo () {return 0; }
4682 rm -f conftest.$ac_objext
4683 if { (ac_try="$ac_compile"
4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4689 $as_echo "$ac_try_echo") >&5
4690 (eval "$ac_compile") 2>conftest.er1
4692 grep -v '^ *+' conftest.er1 >conftest.err
4694 cat conftest.err >&5
4695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } && {
4697 test -z "$ac_c_werror_flag" ||
4698 test ! -s conftest.err
4699 } && test -s conftest.$ac_objext; then
4700 ac_cv_c_inline=$ac_kw
4702 $as_echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709 test "$ac_cv_c_inline" != no && break
4713 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4714 $as_echo "$ac_cv_c_inline" >&6; }
4717 case $ac_cv_c_inline in
4720 case $ac_cv_c_inline in
4722 *) ac_val=$ac_cv_c_inline;;
4724 cat >>confdefs.h <<_ACEOF
4726 #define inline $ac_val
4732 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
4733 $as_echo_n "checking for pid_t... " >&6; }
4734 if test "${ac_cv_type_pid_t+set}" = set; then
4735 $as_echo_n "(cached) " >&6
4738 cat >conftest.$ac_ext <<_ACEOF
4741 cat confdefs.h >>conftest.$ac_ext
4742 cat >>conftest.$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 $ac_includes_default
4754 rm -f conftest.$ac_objext
4755 if { (ac_try="$ac_compile"
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4761 $as_echo "$ac_try_echo") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_c_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4772 cat >conftest.$ac_ext <<_ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 $ac_includes_default
4782 if (sizeof ((pid_t)))
4788 rm -f conftest.$ac_objext
4789 if { (ac_try="$ac_compile"
4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4792 *) ac_try_echo=$ac_try;;
4794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4795 $as_echo "$ac_try_echo") >&5
4796 (eval "$ac_compile") 2>conftest.er1
4798 grep -v '^ *+' conftest.er1 >conftest.err
4800 cat conftest.err >&5
4801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } && {
4803 test -z "$ac_c_werror_flag" ||
4804 test ! -s conftest.err
4805 } && test -s conftest.$ac_objext; then
4808 $as_echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.$ac_ext >&5
4811 ac_cv_type_pid_t=yes
4814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 $as_echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.$ac_ext >&5
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4825 $as_echo "$ac_cv_type_pid_t" >&6; }
4826 if test "x$ac_cv_type_pid_t" = x""yes; then
4830 cat >>confdefs.h <<_ACEOF
4836 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4837 $as_echo_n "checking for size_t... " >&6; }
4838 if test "${ac_cv_type_size_t+set}" = set; then
4839 $as_echo_n "(cached) " >&6
4841 ac_cv_type_size_t=no
4842 cat >conftest.$ac_ext <<_ACEOF
4845 cat confdefs.h >>conftest.$ac_ext
4846 cat >>conftest.$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4848 $ac_includes_default
4852 if (sizeof (size_t))
4858 rm -f conftest.$ac_objext
4859 if { (ac_try="$ac_compile"
4861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862 *) ac_try_echo=$ac_try;;
4864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4865 $as_echo "$ac_try_echo") >&5
4866 (eval "$ac_compile") 2>conftest.er1
4868 grep -v '^ *+' conftest.er1 >conftest.err
4870 cat conftest.err >&5
4871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); } && {
4873 test -z "$ac_c_werror_flag" ||
4874 test ! -s conftest.err
4875 } && test -s conftest.$ac_objext; then
4876 cat >conftest.$ac_ext <<_ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4882 $ac_includes_default
4886 if (sizeof ((size_t)))
4892 rm -f conftest.$ac_objext
4893 if { (ac_try="$ac_compile"
4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4896 *) ac_try_echo=$ac_try;;
4898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4899 $as_echo "$ac_try_echo") >&5
4900 (eval "$ac_compile") 2>conftest.er1
4902 grep -v '^ *+' conftest.er1 >conftest.err
4904 cat conftest.err >&5
4905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); } && {
4907 test -z "$ac_c_werror_flag" ||
4908 test ! -s conftest.err
4909 } && test -s conftest.$ac_objext; then
4912 $as_echo "$as_me: failed program was:" >&5
4913 sed 's/^/| /' conftest.$ac_ext >&5
4915 ac_cv_type_size_t=yes
4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 $as_echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.$ac_ext >&5
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4929 $as_echo "$ac_cv_type_size_t" >&6; }
4930 if test "x$ac_cv_type_size_t" = x""yes; then
4934 cat >>confdefs.h <<_ACEOF
4935 #define size_t unsigned int
4940 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4941 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4942 if test "${ac_cv_header_time+set}" = set; then
4943 $as_echo_n "(cached) " >&6
4945 cat >conftest.$ac_ext <<_ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4951 #include <sys/types.h>
4952 #include <sys/time.h>
4958 if ((struct tm *) 0)
4964 rm -f conftest.$ac_objext
4965 if { (ac_try="$ac_compile"
4967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4968 *) ac_try_echo=$ac_try;;
4970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4971 $as_echo "$ac_try_echo") >&5
4972 (eval "$ac_compile") 2>conftest.er1
4974 grep -v '^ *+' conftest.er1 >conftest.err
4976 cat conftest.err >&5
4977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } && {
4979 test -z "$ac_c_werror_flag" ||
4980 test ! -s conftest.err
4981 } && test -s conftest.$ac_objext; then
4982 ac_cv_header_time=yes
4984 $as_echo "$as_me: failed program was:" >&5
4985 sed 's/^/| /' conftest.$ac_ext >&5
4987 ac_cv_header_time=no
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4993 $as_echo "$ac_cv_header_time" >&6; }
4994 if test $ac_cv_header_time = yes; then
4996 cat >>confdefs.h <<\_ACEOF
4997 #define TIME_WITH_SYS_TIME 1
5003 # Checks for library functions.
5005 for ac_header in vfork.h
5007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5009 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5010 $as_echo_n "checking for $ac_header... " >&6; }
5011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5012 $as_echo_n "(cached) " >&6
5014 ac_res=`eval 'as_val=${'$as_ac_Header'}
5015 $as_echo "$as_val"'`
5016 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5017 $as_echo "$ac_res" >&6; }
5019 # Is the header compilable?
5020 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5021 $as_echo_n "checking $ac_header usability... " >&6; }
5022 cat >conftest.$ac_ext <<_ACEOF
5025 cat confdefs.h >>conftest.$ac_ext
5026 cat >>conftest.$ac_ext <<_ACEOF
5027 /* end confdefs.h. */
5028 $ac_includes_default
5029 #include <$ac_header>
5031 rm -f conftest.$ac_objext
5032 if { (ac_try="$ac_compile"
5034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5038 $as_echo "$ac_try_echo") >&5
5039 (eval "$ac_compile") 2>conftest.er1
5041 grep -v '^ *+' conftest.er1 >conftest.err
5043 cat conftest.err >&5
5044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } && {
5046 test -z "$ac_c_werror_flag" ||
5047 test ! -s conftest.err
5048 } && test -s conftest.$ac_objext; then
5049 ac_header_compiler=yes
5051 $as_echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.$ac_ext >&5
5054 ac_header_compiler=no
5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5059 $as_echo "$ac_header_compiler" >&6; }
5061 # Is the header present?
5062 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5063 $as_echo_n "checking $ac_header presence... " >&6; }
5064 cat >conftest.$ac_ext <<_ACEOF
5067 cat confdefs.h >>conftest.$ac_ext
5068 cat >>conftest.$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 #include <$ac_header>
5072 if { (ac_try="$ac_cpp conftest.$ac_ext"
5074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5075 *) ac_try_echo=$ac_try;;
5077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5078 $as_echo "$ac_try_echo") >&5
5079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5081 grep -v '^ *+' conftest.er1 >conftest.err
5083 cat conftest.err >&5
5084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } >/dev/null && {
5086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5087 test ! -s conftest.err
5089 ac_header_preproc=yes
5091 $as_echo "$as_me: failed program was:" >&5
5092 sed 's/^/| /' conftest.$ac_ext >&5
5094 ac_header_preproc=no
5097 rm -f conftest.err conftest.$ac_ext
5098 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5099 $as_echo "$ac_header_preproc" >&6; }
5101 # So? What about this header?
5102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5104 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5105 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5107 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5108 ac_header_preproc=yes
5111 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5112 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5114 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5116 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5118 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5120 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5122 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5124 ## --------------------------------------------- ##
5125 ## Report this to michel.vandenbergh@uhasselt.be ##
5126 ## --------------------------------------------- ##
5128 ) | sed "s/^/$as_me: WARNING: /" >&2
5131 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5132 $as_echo_n "checking for $ac_header... " >&6; }
5133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5134 $as_echo_n "(cached) " >&6
5136 eval "$as_ac_Header=\$ac_header_preproc"
5138 ac_res=`eval 'as_val=${'$as_ac_Header'}
5139 $as_echo "$as_val"'`
5140 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5141 $as_echo "$ac_res" >&6; }
5144 as_val=`eval 'as_val=${'$as_ac_Header'}
5145 $as_echo "$as_val"'`
5146 if test "x$as_val" = x""yes; then
5147 cat >>confdefs.h <<_ACEOF
5148 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5157 for ac_func in fork vfork
5159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5160 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5161 $as_echo_n "checking for $ac_func... " >&6; }
5162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5163 $as_echo_n "(cached) " >&6
5165 cat >conftest.$ac_ext <<_ACEOF
5168 cat confdefs.h >>conftest.$ac_ext
5169 cat >>conftest.$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5173 #define $ac_func innocuous_$ac_func
5175 /* System header to define __stub macros and hopefully few prototypes,
5176 which can conflict with char $ac_func (); below.
5177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5178 <limits.h> exists even on freestanding compilers. */
5181 # include <limits.h>
5183 # include <assert.h>
5188 /* Override any GCC internal prototype to avoid an error.
5189 Use char because int might match the return type of a GCC
5190 builtin and then its argument prototype would still apply. */
5195 /* The GNU C library defines this for functions which it implements
5196 to always fail with ENOSYS. Some functions are actually named
5197 something starting with __ and the normal name is an alias. */
5198 #if defined __stub_$ac_func || defined __stub___$ac_func
5210 rm -f conftest.$ac_objext conftest$ac_exeext
5211 if { (ac_try="$ac_link"
5213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5217 $as_echo "$ac_try_echo") >&5
5218 (eval "$ac_link") 2>conftest.er1
5220 grep -v '^ *+' conftest.er1 >conftest.err
5222 cat conftest.err >&5
5223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } && {
5225 test -z "$ac_c_werror_flag" ||
5226 test ! -s conftest.err
5227 } && test -s conftest$ac_exeext && {
5228 test "$cross_compiling" = yes ||
5229 $as_test_x conftest$ac_exeext
5231 eval "$as_ac_var=yes"
5233 $as_echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 eval "$as_ac_var=no"
5239 rm -rf conftest.dSYM
5240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5241 conftest$ac_exeext conftest.$ac_ext
5243 ac_res=`eval 'as_val=${'$as_ac_var'}
5244 $as_echo "$as_val"'`
5245 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5246 $as_echo "$ac_res" >&6; }
5247 as_val=`eval 'as_val=${'$as_ac_var'}
5248 $as_echo "$as_val"'`
5249 if test "x$as_val" = x""yes; then
5250 cat >>confdefs.h <<_ACEOF
5251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5257 if test "x$ac_cv_func_fork" = xyes; then
5258 { $as_echo "$as_me:$LINENO: checking for working fork" >&5
5259 $as_echo_n "checking for working fork... " >&6; }
5260 if test "${ac_cv_func_fork_works+set}" = set; then
5261 $as_echo_n "(cached) " >&6
5263 if test "$cross_compiling" = yes; then
5264 ac_cv_func_fork_works=cross
5266 cat >conftest.$ac_ext <<_ACEOF
5269 cat confdefs.h >>conftest.$ac_ext
5270 cat >>conftest.$ac_ext <<_ACEOF
5271 /* end confdefs.h. */
5272 $ac_includes_default
5277 /* By Ruediger Kuhlmann. */
5284 rm -f conftest$ac_exeext
5285 if { (ac_try="$ac_link"
5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5291 $as_echo "$ac_try_echo") >&5
5292 (eval "$ac_link") 2>&5
5294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5296 { (case "(($ac_try" in
5297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5298 *) ac_try_echo=$ac_try;;
5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5301 $as_echo "$ac_try_echo") >&5
5302 (eval "$ac_try") 2>&5
5304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_func_fork_works=yes
5308 $as_echo "$as_me: program exited with status $ac_status" >&5
5309 $as_echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_func_fork_works=no
5315 rm -rf conftest.dSYM
5316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5321 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
5322 $as_echo "$ac_cv_func_fork_works" >&6; }
5325 ac_cv_func_fork_works=$ac_cv_func_fork
5327 if test "x$ac_cv_func_fork_works" = xcross; then
5329 *-*-amigaos* | *-*-msdosdjgpp*)
5330 # Override, as these systems have only a dummy fork() stub
5331 ac_cv_func_fork_works=no
5334 ac_cv_func_fork_works=yes
5337 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5338 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5340 ac_cv_func_vfork_works=$ac_cv_func_vfork
5341 if test "x$ac_cv_func_vfork" = xyes; then
5342 { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
5343 $as_echo_n "checking for working vfork... " >&6; }
5344 if test "${ac_cv_func_vfork_works+set}" = set; then
5345 $as_echo_n "(cached) " >&6
5347 if test "$cross_compiling" = yes; then
5348 ac_cv_func_vfork_works=cross
5350 cat >conftest.$ac_ext <<_ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 /* Thanks to Paul Eggert for this test. */
5357 $ac_includes_default
5358 #include <sys/wait.h>
5362 /* On some sparc systems, changes by the child to local and incoming
5363 argument registers are propagated back to the parent. The compiler
5364 is told about this with #include <vfork.h>, but some compilers
5365 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5366 static variable whose address is put into a register that is
5367 clobbered by the vfork. */
5370 sparc_address_test (int arg)
5372 sparc_address_test (arg) int arg;
5393 pid_t parent = getpid ();
5396 sparc_address_test (0);
5401 /* Here is another test for sparc vfork register problems. This
5402 test uses lots of local variables, at least as many local
5403 variables as main has allocated so far including compiler
5404 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5405 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5406 reuse the register of parent for one of the local variables,
5407 since it will think that parent can't possibly be used any more
5408 in this routine. Assigning to the local variable will thus
5409 munge parent in the parent process. */
5411 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5412 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5413 /* Convince the compiler that p..p7 are live; otherwise, it might
5414 use the same hardware register for all 8 local variables. */
5415 if (p != p1 || p != p2 || p != p3 || p != p4
5416 || p != p5 || p != p6 || p != p7)
5419 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5420 from child file descriptors. If the child closes a descriptor
5421 before it execs or exits, this munges the parent's descriptor
5422 as well. Test for this by closing stdout in the child. */
5423 _exit(close(fileno(stdout)) != 0);
5428 while (wait(&status) != child)
5431 /* Was there some problem with vforking? */
5434 /* Did the child fail? (This shouldn't happen.) */
5437 /* Did the vfork/compiler bug occur? */
5438 || parent != getpid()
5440 /* Did the file descriptor bug occur? */
5441 || fstat(fileno(stdout), &st) != 0
5446 rm -f conftest$ac_exeext
5447 if { (ac_try="$ac_link"
5449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5453 $as_echo "$ac_try_echo") >&5
5454 (eval "$ac_link") 2>&5
5456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5458 { (case "(($ac_try" in
5459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460 *) ac_try_echo=$ac_try;;
5462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5463 $as_echo "$ac_try_echo") >&5
5464 (eval "$ac_try") 2>&5
5466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5468 ac_cv_func_vfork_works=yes
5470 $as_echo "$as_me: program exited with status $ac_status" >&5
5471 $as_echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5475 ac_cv_func_vfork_works=no
5477 rm -rf conftest.dSYM
5478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5483 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5484 $as_echo "$ac_cv_func_vfork_works" >&6; }
5487 if test "x$ac_cv_func_fork_works" = xcross; then
5488 ac_cv_func_vfork_works=$ac_cv_func_vfork
5489 { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5490 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5493 if test "x$ac_cv_func_vfork_works" = xyes; then
5495 cat >>confdefs.h <<\_ACEOF
5496 #define HAVE_WORKING_VFORK 1
5501 cat >>confdefs.h <<\_ACEOF
5506 if test "x$ac_cv_func_fork_works" = xyes; then
5508 cat >>confdefs.h <<\_ACEOF
5509 #define HAVE_WORKING_FORK 1
5515 for ac_header in stdlib.h
5517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5519 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5520 $as_echo_n "checking for $ac_header... " >&6; }
5521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5522 $as_echo_n "(cached) " >&6
5524 ac_res=`eval 'as_val=${'$as_ac_Header'}
5525 $as_echo "$as_val"'`
5526 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5527 $as_echo "$ac_res" >&6; }
5529 # Is the header compilable?
5530 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5531 $as_echo_n "checking $ac_header usability... " >&6; }
5532 cat >conftest.$ac_ext <<_ACEOF
5535 cat confdefs.h >>conftest.$ac_ext
5536 cat >>conftest.$ac_ext <<_ACEOF
5537 /* end confdefs.h. */
5538 $ac_includes_default
5539 #include <$ac_header>
5541 rm -f conftest.$ac_objext
5542 if { (ac_try="$ac_compile"
5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5545 *) ac_try_echo=$ac_try;;
5547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5548 $as_echo "$ac_try_echo") >&5
5549 (eval "$ac_compile") 2>conftest.er1
5551 grep -v '^ *+' conftest.er1 >conftest.err
5553 cat conftest.err >&5
5554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } && {
5556 test -z "$ac_c_werror_flag" ||
5557 test ! -s conftest.err
5558 } && test -s conftest.$ac_objext; then
5559 ac_header_compiler=yes
5561 $as_echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.$ac_ext >&5
5564 ac_header_compiler=no
5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5568 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5569 $as_echo "$ac_header_compiler" >&6; }
5571 # Is the header present?
5572 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5573 $as_echo_n "checking $ac_header presence... " >&6; }
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 #include <$ac_header>
5582 if { (ac_try="$ac_cpp conftest.$ac_ext"
5584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5585 *) ac_try_echo=$ac_try;;
5587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5588 $as_echo "$ac_try_echo") >&5
5589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5591 grep -v '^ *+' conftest.er1 >conftest.err
5593 cat conftest.err >&5
5594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } >/dev/null && {
5596 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5597 test ! -s conftest.err
5599 ac_header_preproc=yes
5601 $as_echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.$ac_ext >&5
5604 ac_header_preproc=no
5607 rm -f conftest.err conftest.$ac_ext
5608 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5609 $as_echo "$ac_header_preproc" >&6; }
5611 # So? What about this header?
5612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5614 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5615 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5616 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5617 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5618 ac_header_preproc=yes
5621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5622 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5624 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5626 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5627 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5628 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5629 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5630 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5631 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5632 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5634 ## --------------------------------------------- ##
5635 ## Report this to michel.vandenbergh@uhasselt.be ##
5636 ## --------------------------------------------- ##
5638 ) | sed "s/^/$as_me: WARNING: /" >&2
5641 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5642 $as_echo_n "checking for $ac_header... " >&6; }
5643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5644 $as_echo_n "(cached) " >&6
5646 eval "$as_ac_Header=\$ac_header_preproc"
5648 ac_res=`eval 'as_val=${'$as_ac_Header'}
5649 $as_echo "$as_val"'`
5650 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5651 $as_echo "$ac_res" >&6; }
5654 as_val=`eval 'as_val=${'$as_ac_Header'}
5655 $as_echo "$as_val"'`
5656 if test "x$as_val" = x""yes; then
5657 cat >>confdefs.h <<_ACEOF
5658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5665 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5666 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5667 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5668 $as_echo_n "(cached) " >&6
5670 if test "$cross_compiling" = yes; then
5671 ac_cv_func_malloc_0_nonnull=no
5673 cat >conftest.$ac_ext <<_ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5680 # include <stdlib.h>
5688 return ! malloc (0);
5693 rm -f conftest$ac_exeext
5694 if { (ac_try="$ac_link"
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5700 $as_echo "$ac_try_echo") >&5
5701 (eval "$ac_link") 2>&5
5703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5705 { (case "(($ac_try" in
5706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5707 *) ac_try_echo=$ac_try;;
5709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5710 $as_echo "$ac_try_echo") >&5
5711 (eval "$ac_try") 2>&5
5713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); }; }; then
5715 ac_cv_func_malloc_0_nonnull=yes
5717 $as_echo "$as_me: program exited with status $ac_status" >&5
5718 $as_echo "$as_me: failed program was:" >&5
5719 sed 's/^/| /' conftest.$ac_ext >&5
5722 ac_cv_func_malloc_0_nonnull=no
5724 rm -rf conftest.dSYM
5725 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5731 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5732 if test $ac_cv_func_malloc_0_nonnull = yes; then
5734 cat >>confdefs.h <<\_ACEOF
5735 #define HAVE_MALLOC 1
5739 cat >>confdefs.h <<\_ACEOF
5740 #define HAVE_MALLOC 0
5743 case " $LIBOBJS " in
5744 *" malloc.$ac_objext "* ) ;;
5745 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5750 cat >>confdefs.h <<\_ACEOF
5751 #define malloc rpl_malloc
5759 for ac_header in stdlib.h
5761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5763 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5764 $as_echo_n "checking for $ac_header... " >&6; }
5765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5766 $as_echo_n "(cached) " >&6
5768 ac_res=`eval 'as_val=${'$as_ac_Header'}
5769 $as_echo "$as_val"'`
5770 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5771 $as_echo "$ac_res" >&6; }
5773 # Is the header compilable?
5774 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5775 $as_echo_n "checking $ac_header usability... " >&6; }
5776 cat >conftest.$ac_ext <<_ACEOF
5779 cat confdefs.h >>conftest.$ac_ext
5780 cat >>conftest.$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5783 #include <$ac_header>
5785 rm -f conftest.$ac_objext
5786 if { (ac_try="$ac_compile"
5788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5792 $as_echo "$ac_try_echo") >&5
5793 (eval "$ac_compile") 2>conftest.er1
5795 grep -v '^ *+' conftest.er1 >conftest.err
5797 cat conftest.err >&5
5798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } && {
5800 test -z "$ac_c_werror_flag" ||
5801 test ! -s conftest.err
5802 } && test -s conftest.$ac_objext; then
5803 ac_header_compiler=yes
5805 $as_echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5
5808 ac_header_compiler=no
5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5812 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5813 $as_echo "$ac_header_compiler" >&6; }
5815 # Is the header present?
5816 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5817 $as_echo_n "checking $ac_header presence... " >&6; }
5818 cat >conftest.$ac_ext <<_ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 #include <$ac_header>
5826 if { (ac_try="$ac_cpp conftest.$ac_ext"
5828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5829 *) ac_try_echo=$ac_try;;
5831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5832 $as_echo "$ac_try_echo") >&5
5833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5835 grep -v '^ *+' conftest.er1 >conftest.err
5837 cat conftest.err >&5
5838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } >/dev/null && {
5840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5841 test ! -s conftest.err
5843 ac_header_preproc=yes
5845 $as_echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.$ac_ext >&5
5848 ac_header_preproc=no
5851 rm -f conftest.err conftest.$ac_ext
5852 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5853 $as_echo "$ac_header_preproc" >&6; }
5855 # So? What about this header?
5856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5859 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5861 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5862 ac_header_preproc=yes
5865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5866 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5868 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5870 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5872 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5874 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5876 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5878 ## --------------------------------------------- ##
5879 ## Report this to michel.vandenbergh@uhasselt.be ##
5880 ## --------------------------------------------- ##
5882 ) | sed "s/^/$as_me: WARNING: /" >&2
5885 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5886 $as_echo_n "checking for $ac_header... " >&6; }
5887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5888 $as_echo_n "(cached) " >&6
5890 eval "$as_ac_Header=\$ac_header_preproc"
5892 ac_res=`eval 'as_val=${'$as_ac_Header'}
5893 $as_echo "$as_val"'`
5894 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5895 $as_echo "$ac_res" >&6; }
5898 as_val=`eval 'as_val=${'$as_ac_Header'}
5899 $as_echo "$as_val"'`
5900 if test "x$as_val" = x""yes; then
5901 cat >>confdefs.h <<_ACEOF
5902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5909 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
5910 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5911 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
5912 $as_echo_n "(cached) " >&6
5914 if test "$cross_compiling" = yes; then
5915 ac_cv_func_realloc_0_nonnull=no
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5924 # include <stdlib.h>
5932 return ! realloc (0, 0);
5937 rm -f conftest$ac_exeext
5938 if { (ac_try="$ac_link"
5940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5941 *) ac_try_echo=$ac_try;;
5943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5944 $as_echo "$ac_try_echo") >&5
5945 (eval "$ac_link") 2>&5
5947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5949 { (case "(($ac_try" in
5950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5951 *) ac_try_echo=$ac_try;;
5953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5954 $as_echo "$ac_try_echo") >&5
5955 (eval "$ac_try") 2>&5
5957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; }; then
5959 ac_cv_func_realloc_0_nonnull=yes
5961 $as_echo "$as_me: program exited with status $ac_status" >&5
5962 $as_echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5966 ac_cv_func_realloc_0_nonnull=no
5968 rm -rf conftest.dSYM
5969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5974 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
5975 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5976 if test $ac_cv_func_realloc_0_nonnull = yes; then
5978 cat >>confdefs.h <<\_ACEOF
5979 #define HAVE_REALLOC 1
5983 cat >>confdefs.h <<\_ACEOF
5984 #define HAVE_REALLOC 0
5987 case " $LIBOBJS " in
5988 *" realloc.$ac_objext "* ) ;;
5989 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5994 cat >>confdefs.h <<\_ACEOF
5995 #define realloc rpl_realloc
6004 for ac_header in sys/select.h sys/socket.h
6006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6008 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6009 $as_echo_n "checking for $ac_header... " >&6; }
6010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6011 $as_echo_n "(cached) " >&6
6013 ac_res=`eval 'as_val=${'$as_ac_Header'}
6014 $as_echo "$as_val"'`
6015 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6016 $as_echo "$ac_res" >&6; }
6018 # Is the header compilable?
6019 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6020 $as_echo_n "checking $ac_header usability... " >&6; }
6021 cat >conftest.$ac_ext <<_ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 $ac_includes_default
6028 #include <$ac_header>
6030 rm -f conftest.$ac_objext
6031 if { (ac_try="$ac_compile"
6033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6034 *) ac_try_echo=$ac_try;;
6036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6037 $as_echo "$ac_try_echo") >&5
6038 (eval "$ac_compile") 2>conftest.er1
6040 grep -v '^ *+' conftest.er1 >conftest.err
6042 cat conftest.err >&5
6043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } && {
6045 test -z "$ac_c_werror_flag" ||
6046 test ! -s conftest.err
6047 } && test -s conftest.$ac_objext; then
6048 ac_header_compiler=yes
6050 $as_echo "$as_me: failed program was:" >&5
6051 sed 's/^/| /' conftest.$ac_ext >&5
6053 ac_header_compiler=no
6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6058 $as_echo "$ac_header_compiler" >&6; }
6060 # Is the header present?
6061 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6062 $as_echo_n "checking $ac_header presence... " >&6; }
6063 cat >conftest.$ac_ext <<_ACEOF
6066 cat confdefs.h >>conftest.$ac_ext
6067 cat >>conftest.$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6069 #include <$ac_header>
6071 if { (ac_try="$ac_cpp conftest.$ac_ext"
6073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6074 *) ac_try_echo=$ac_try;;
6076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6077 $as_echo "$ac_try_echo") >&5
6078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6080 grep -v '^ *+' conftest.er1 >conftest.err
6082 cat conftest.err >&5
6083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } >/dev/null && {
6085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6086 test ! -s conftest.err
6088 ac_header_preproc=yes
6090 $as_echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_header_preproc=no
6096 rm -f conftest.err conftest.$ac_ext
6097 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6098 $as_echo "$ac_header_preproc" >&6; }
6100 # So? What about this header?
6101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6104 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6105 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6106 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6107 ac_header_preproc=yes
6110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6111 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6113 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6115 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6117 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6119 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6121 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6123 ## --------------------------------------------- ##
6124 ## Report this to michel.vandenbergh@uhasselt.be ##
6125 ## --------------------------------------------- ##
6127 ) | sed "s/^/$as_me: WARNING: /" >&2
6130 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6131 $as_echo_n "checking for $ac_header... " >&6; }
6132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6133 $as_echo_n "(cached) " >&6
6135 eval "$as_ac_Header=\$ac_header_preproc"
6137 ac_res=`eval 'as_val=${'$as_ac_Header'}
6138 $as_echo "$as_val"'`
6139 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6140 $as_echo "$ac_res" >&6; }
6143 as_val=`eval 'as_val=${'$as_ac_Header'}
6144 $as_echo "$as_val"'`
6145 if test "x$as_val" = x""yes; then
6146 cat >>confdefs.h <<_ACEOF
6147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6154 { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
6155 $as_echo_n "checking types of arguments for select... " >&6; }
6156 if test "${ac_cv_func_select_args+set}" = set; then
6157 $as_echo_n "(cached) " >&6
6159 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
6160 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
6161 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
6162 cat >conftest.$ac_ext <<_ACEOF
6165 cat confdefs.h >>conftest.$ac_ext
6166 cat >>conftest.$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6168 $ac_includes_default
6169 #ifdef HAVE_SYS_SELECT_H
6170 # include <sys/select.h>
6172 #ifdef HAVE_SYS_SOCKET_H
6173 # include <sys/socket.h>
6179 extern int select ($ac_arg1,
6180 $ac_arg234, $ac_arg234, $ac_arg234,
6186 rm -f conftest.$ac_objext
6187 if { (ac_try="$ac_compile"
6189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6190 *) ac_try_echo=$ac_try;;
6192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6193 $as_echo "$ac_try_echo") >&5
6194 (eval "$ac_compile") 2>conftest.er1
6196 grep -v '^ *+' conftest.er1 >conftest.err
6198 cat conftest.err >&5
6199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); } && {
6201 test -z "$ac_c_werror_flag" ||
6202 test ! -s conftest.err
6203 } && test -s conftest.$ac_objext; then
6204 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
6206 $as_echo "$as_me: failed program was:" >&5
6207 sed 's/^/| /' conftest.$ac_ext >&5
6212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6216 # Provide a safe default value.
6217 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
6220 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
6221 $as_echo "$ac_cv_func_select_args" >&6; }
6222 ac_save_IFS=$IFS; IFS=','
6223 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
6227 cat >>confdefs.h <<_ACEOF
6228 #define SELECT_TYPE_ARG1 $1
6232 cat >>confdefs.h <<_ACEOF
6233 #define SELECT_TYPE_ARG234 ($2)
6237 cat >>confdefs.h <<_ACEOF
6238 #define SELECT_TYPE_ARG5 ($3)
6243 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
6244 $as_echo_n "(cached) " >&6
6246 ac_cv_func_setvbuf_reversed=no
6250 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6251 $as_echo_n "checking return type of signal handlers... " >&6; }
6252 if test "${ac_cv_type_signal+set}" = set; then
6253 $as_echo_n "(cached) " >&6
6255 cat >conftest.$ac_ext <<_ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6261 #include <sys/types.h>
6267 return *(signal (0, 0)) (0) == 1;
6272 rm -f conftest.$ac_objext
6273 if { (ac_try="$ac_compile"
6275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276 *) ac_try_echo=$ac_try;;
6278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6279 $as_echo "$ac_try_echo") >&5
6280 (eval "$ac_compile") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } && {
6287 test -z "$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6289 } && test -s conftest.$ac_objext; then
6290 ac_cv_type_signal=int
6292 $as_echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_cv_type_signal=void
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6300 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6301 $as_echo "$ac_cv_type_signal" >&6; }
6303 cat >>confdefs.h <<_ACEOF
6304 #define RETSIGTYPE $ac_cv_type_signal
6309 for ac_func in vprintf
6311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6312 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6313 $as_echo_n "checking for $ac_func... " >&6; }
6314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6315 $as_echo_n "(cached) " >&6
6317 cat >conftest.$ac_ext <<_ACEOF
6320 cat confdefs.h >>conftest.$ac_ext
6321 cat >>conftest.$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6325 #define $ac_func innocuous_$ac_func
6327 /* System header to define __stub macros and hopefully few prototypes,
6328 which can conflict with char $ac_func (); below.
6329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6330 <limits.h> exists even on freestanding compilers. */
6333 # include <limits.h>
6335 # include <assert.h>
6340 /* Override any GCC internal prototype to avoid an error.
6341 Use char because int might match the return type of a GCC
6342 builtin and then its argument prototype would still apply. */
6347 /* The GNU C library defines this for functions which it implements
6348 to always fail with ENOSYS. Some functions are actually named
6349 something starting with __ and the normal name is an alias. */
6350 #if defined __stub_$ac_func || defined __stub___$ac_func
6362 rm -f conftest.$ac_objext conftest$ac_exeext
6363 if { (ac_try="$ac_link"
6365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6366 *) ac_try_echo=$ac_try;;
6368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6369 $as_echo "$ac_try_echo") >&5
6370 (eval "$ac_link") 2>conftest.er1
6372 grep -v '^ *+' conftest.er1 >conftest.err
6374 cat conftest.err >&5
6375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); } && {
6377 test -z "$ac_c_werror_flag" ||
6378 test ! -s conftest.err
6379 } && test -s conftest$ac_exeext && {
6380 test "$cross_compiling" = yes ||
6381 $as_test_x conftest$ac_exeext
6383 eval "$as_ac_var=yes"
6385 $as_echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6388 eval "$as_ac_var=no"
6391 rm -rf conftest.dSYM
6392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6393 conftest$ac_exeext conftest.$ac_ext
6395 ac_res=`eval 'as_val=${'$as_ac_var'}
6396 $as_echo "$as_val"'`
6397 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6398 $as_echo "$ac_res" >&6; }
6399 as_val=`eval 'as_val=${'$as_ac_var'}
6400 $as_echo "$as_val"'`
6401 if test "x$as_val" = x""yes; then
6402 cat >>confdefs.h <<_ACEOF
6403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6406 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
6407 $as_echo_n "checking for _doprnt... " >&6; }
6408 if test "${ac_cv_func__doprnt+set}" = set; then
6409 $as_echo_n "(cached) " >&6
6411 cat >conftest.$ac_ext <<_ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6417 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6419 #define _doprnt innocuous__doprnt
6421 /* System header to define __stub macros and hopefully few prototypes,
6422 which can conflict with char _doprnt (); below.
6423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6424 <limits.h> exists even on freestanding compilers. */
6427 # include <limits.h>
6429 # include <assert.h>
6434 /* Override any GCC internal prototype to avoid an error.
6435 Use char because int might match the return type of a GCC
6436 builtin and then its argument prototype would still apply. */
6441 /* The GNU C library defines this for functions which it implements
6442 to always fail with ENOSYS. Some functions are actually named
6443 something starting with __ and the normal name is an alias. */
6444 #if defined __stub__doprnt || defined __stub____doprnt
6456 rm -f conftest.$ac_objext conftest$ac_exeext
6457 if { (ac_try="$ac_link"
6459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6460 *) ac_try_echo=$ac_try;;
6462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6463 $as_echo "$ac_try_echo") >&5
6464 (eval "$ac_link") 2>conftest.er1
6466 grep -v '^ *+' conftest.er1 >conftest.err
6468 cat conftest.err >&5
6469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } && {
6471 test -z "$ac_c_werror_flag" ||
6472 test ! -s conftest.err
6473 } && test -s conftest$ac_exeext && {
6474 test "$cross_compiling" = yes ||
6475 $as_test_x conftest$ac_exeext
6477 ac_cv_func__doprnt=yes
6479 $as_echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 ac_cv_func__doprnt=no
6485 rm -rf conftest.dSYM
6486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6487 conftest$ac_exeext conftest.$ac_ext
6489 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6490 $as_echo "$ac_cv_func__doprnt" >&6; }
6491 if test "x$ac_cv_func__doprnt" = x""yes; then
6493 cat >>confdefs.h <<\_ACEOF
6494 #define HAVE_DOPRNT 1
6513 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
6515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6516 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6517 $as_echo_n "checking for $ac_func... " >&6; }
6518 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6519 $as_echo_n "(cached) " >&6
6521 cat >conftest.$ac_ext <<_ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6529 #define $ac_func innocuous_$ac_func
6531 /* System header to define __stub macros and hopefully few prototypes,
6532 which can conflict with char $ac_func (); below.
6533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6534 <limits.h> exists even on freestanding compilers. */
6537 # include <limits.h>
6539 # include <assert.h>
6544 /* Override any GCC internal prototype to avoid an error.
6545 Use char because int might match the return type of a GCC
6546 builtin and then its argument prototype would still apply. */
6551 /* The GNU C library defines this for functions which it implements
6552 to always fail with ENOSYS. Some functions are actually named
6553 something starting with __ and the normal name is an alias. */
6554 #if defined __stub_$ac_func || defined __stub___$ac_func
6566 rm -f conftest.$ac_objext conftest$ac_exeext
6567 if { (ac_try="$ac_link"
6569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6570 *) ac_try_echo=$ac_try;;
6572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6573 $as_echo "$ac_try_echo") >&5
6574 (eval "$ac_link") 2>conftest.er1
6576 grep -v '^ *+' conftest.er1 >conftest.err
6578 cat conftest.err >&5
6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); } && {
6581 test -z "$ac_c_werror_flag" ||
6582 test ! -s conftest.err
6583 } && test -s conftest$ac_exeext && {
6584 test "$cross_compiling" = yes ||
6585 $as_test_x conftest$ac_exeext
6587 eval "$as_ac_var=yes"
6589 $as_echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6592 eval "$as_ac_var=no"
6595 rm -rf conftest.dSYM
6596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6597 conftest$ac_exeext conftest.$ac_ext
6599 ac_res=`eval 'as_val=${'$as_ac_var'}
6600 $as_echo "$as_val"'`
6601 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6602 $as_echo "$ac_res" >&6; }
6603 as_val=`eval 'as_val=${'$as_ac_var'}
6604 $as_echo "$as_val"'`
6605 if test "x$as_val" = x""yes; then
6606 cat >>confdefs.h <<_ACEOF
6607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6615 ac_config_files="$ac_config_files Makefile"
6617 cat >confcache <<\_ACEOF
6618 # This file is a shell script that caches the results of configure
6619 # tests run on this system so they can be shared between configure
6620 # scripts and configure runs, see configure's option --config-cache.
6621 # It is not useful on other systems. If it contains results you don't
6622 # want to keep, you may remove or edit it.
6624 # config.status only pays attention to the cache file if you give it
6625 # the --recheck option to rerun configure.
6627 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6628 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6633 # The following way of writing the cache mishandles newlines in values,
6634 # but we know of no workaround that is simple, portable, and efficient.
6635 # So, we kill variables containing newlines.
6636 # Ultrix sh set writes to stderr and can't be redirected directly,
6637 # and sets the high bit in the cache file unless we assign to the vars.
6639 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6640 eval ac_val=\$$ac_var
6644 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6645 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6648 _ | IFS | as_nl) ;; #(
6649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6650 *) $as_unset $ac_var ;;
6656 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6657 *${as_nl}ac_space=\ *)
6658 # `set' does not quote correctly, so add quotes (double-quote
6659 # substitution turns \\\\ into \\, and sed turns \\ into \).
6662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6665 # `set' quotes correctly as required by POSIX, so do not add quotes.
6666 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6675 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6677 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6679 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6680 if test -w "$cache_file"; then
6681 test "x$cache_file" != "x/dev/null" &&
6682 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6683 $as_echo "$as_me: updating cache $cache_file" >&6;}
6684 cat confcache >$cache_file
6686 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6687 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6692 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6693 # Let make expand exec_prefix.
6694 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6696 DEFS=-DHAVE_CONFIG_H
6700 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6701 # 1. Remove the extension, and $U if already installed.
6702 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6703 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6704 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6705 # will be set to the directory where LIBOBJS objects are built.
6706 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6707 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6711 LTLIBOBJS=$ac_ltlibobjs
6714 if test -n "$EXEEXT"; then
6716 am__EXEEXT_FALSE='#'
6722 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6723 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6724 Usually this means the macro was only invoked conditionally." >&5
6725 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6726 Usually this means the macro was only invoked conditionally." >&2;}
6727 { (exit 1); exit 1; }; }
6729 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6730 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6731 Usually this means the macro was only invoked conditionally." >&5
6732 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6733 Usually this means the macro was only invoked conditionally." >&2;}
6734 { (exit 1); exit 1; }; }
6737 : ${CONFIG_STATUS=./config.status}
6739 ac_clean_files_save=$ac_clean_files
6740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6741 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6742 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6743 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6745 # Generated by $as_me.
6746 # Run this file to recreate the current configuration.
6747 # Compiler output produced by configure, useful for debugging
6748 # configure, is in config.log if it exists.
6753 SHELL=\${CONFIG_SHELL-$SHELL}
6756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6757 ## --------------------- ##
6758 ## M4sh Initialization. ##
6759 ## --------------------- ##
6761 # Be more Bourne compatible
6762 DUALCASE=1; export DUALCASE # for MKS sh
6763 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6766 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6767 # is contrary to our usage. Disable this feature.
6768 alias -g '${1+"$@"}'='"$@"'
6769 setopt NO_GLOB_SUBST
6771 case `(set -o) 2>/dev/null` in
6772 *posix*) set -o posix ;;
6781 # Avoid depending upon Character Ranges.
6782 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6783 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6784 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6785 as_cr_digits='0123456789'
6786 as_cr_alnum=$as_cr_Letters$as_cr_digits
6791 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6792 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6795 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6796 as_echo='printf %s\n'
6797 as_echo_n='printf %s'
6799 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6800 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6801 as_echo_n='/usr/ucb/echo -n'
6803 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6804 as_echo_n_body='eval
6808 expr "X$arg" : "X\\(.*\\)$as_nl";
6809 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6811 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6813 export as_echo_n_body
6814 as_echo_n='sh -c $as_echo_n_body as_echo'
6817 as_echo='sh -c $as_echo_body as_echo'
6820 # The user is always right.
6821 if test "${PATH_SEPARATOR+set}" != set; then
6823 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6824 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6829 # Support unset when possible.
6830 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6838 # We need space, tab and new line, in precisely that order. Quoting is
6839 # there to prevent editors from complaining about space-tab.
6840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6841 # splitting by setting IFS to empty value.)
6844 # Find who we are. Look in the path if we contain no directory separator.
6846 *[\\/]* ) as_myself=$0 ;;
6847 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6858 # We did not find ourselves, most probably we were run as `sh COMMAND'
6859 # in which case we are not to be found in the path.
6860 if test "x$as_myself" = x; then
6863 if test ! -f "$as_myself"; then
6864 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6865 { (exit 1); exit 1; }
6868 # Work around bugs in pre-3.0 UWIN ksh.
6869 for as_var in ENV MAIL MAILPATH
6870 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6882 # Required to use basename.
6883 if expr a : '\(a\)' >/dev/null 2>&1 &&
6884 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6890 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6891 as_basename=basename
6897 # Name of the executable.
6898 as_me=`$as_basename -- "$0" ||
6899 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6900 X"$0" : 'X\(//\)$' \| \
6901 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6903 sed '/^.*\/\([^/][^/]*\)\/*$/{
6924 test "x$as_lineno_1" != "x$as_lineno_2" &&
6925 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6927 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6928 # uniformly replaced by the line number. The first 'sed' inserts a
6929 # line-number line after each line using $LINENO; the second 'sed'
6930 # does the real work. The second script uses 'N' to pair each
6931 # line-number line with the line containing $LINENO, and appends
6932 # trailing '-' during substitution so that $LINENO is not a special
6934 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6935 # scripts with optimization help from Paolo Bonzini. Blame Lee
6936 # E. McMahon (1931-1989) for sed's syntax. :-)
6948 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6952 chmod +x "$as_me.lineno" ||
6953 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6954 { (exit 1); exit 1; }; }
6956 # Don't try to exec as it changes $[0], causing all sort of problems
6957 # (the dirname of $[0] is not the place where we might find the
6958 # original and so on. Autoconf is especially sensitive to this).
6960 # Exit status is that of the last command.
6965 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6971 ECHO_C= ECHO_N= ECHO_T=
6974 case `echo 'x\c'` in
6975 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6981 if expr a : '\(a\)' >/dev/null 2>&1 &&
6982 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6988 rm -f conf$$ conf$$.exe conf$$.file
6989 if test -d conf$$.dir; then
6990 rm -f conf$$.dir/conf$$.file
6993 mkdir conf$$.dir 2>/dev/null
6995 if (echo >conf$$.file) 2>/dev/null; then
6996 if ln -s conf$$.file conf$$ 2>/dev/null; then
6998 # ... but there are two gotchas:
6999 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7000 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7001 # In both cases, we have to default to `cp -p'.
7002 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7004 elif ln conf$$.file conf$$ 2>/dev/null; then
7012 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7013 rmdir conf$$.dir 2>/dev/null
7015 if mkdir -p . 2>/dev/null; then
7018 test -d ./-p && rmdir ./-p
7022 if test -x / >/dev/null 2>&1; then
7025 if ls -dL / >/dev/null 2>&1; then
7032 if test -d "$1"; then
7038 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7039 ???[sx]*):;;*)false;;esac;fi
7043 as_executable_p=$as_test_x
7045 # Sed expression to map a string onto a valid CPP name.
7046 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7048 # Sed expression to map a string onto a valid variable name.
7049 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7054 # Save the log message, to keep $[0] and so on meaningful, and to
7055 # report actual input values of CONFIG_FILES etc. instead of their
7056 # values after options handling.
7058 This file was extended by polyglot $as_me 1.4.70b, which was
7059 generated by GNU Autoconf 2.63. Invocation command line was
7061 CONFIG_FILES = $CONFIG_FILES
7062 CONFIG_HEADERS = $CONFIG_HEADERS
7063 CONFIG_LINKS = $CONFIG_LINKS
7064 CONFIG_COMMANDS = $CONFIG_COMMANDS
7067 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7072 case $ac_config_files in *"
7073 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7076 case $ac_config_headers in *"
7077 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7082 # Files that config.status was made for.
7083 config_files="$ac_config_files"
7084 config_headers="$ac_config_headers"
7085 config_commands="$ac_config_commands"
7089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7091 \`$as_me' instantiates files from templates according to the
7092 current configuration.
7094 Usage: $0 [OPTION]... [FILE]...
7096 -h, --help print this help, then exit
7097 -V, --version print version number and configuration settings, then exit
7098 -q, --quiet, --silent
7099 do not print progress messages
7100 -d, --debug don't remove temporary files
7101 --recheck update $as_me by reconfiguring in the same conditions
7102 --file=FILE[:TEMPLATE]
7103 instantiate the configuration file FILE
7104 --header=FILE[:TEMPLATE]
7105 instantiate the configuration header FILE
7107 Configuration files:
7110 Configuration headers:
7113 Configuration commands:
7116 Report bugs to <bug-autoconf@gnu.org>."
7119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7121 polyglot config.status 1.4.70b
7122 configured by $0, generated by GNU Autoconf 2.63,
7123 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7125 Copyright (C) 2008 Free Software Foundation, Inc.
7126 This config.status script is free software; the Free Software Foundation
7127 gives unlimited permission to copy, distribute and modify it."
7134 test -n "\$AWK" || AWK=awk
7137 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7138 # The default lists apply if the user does not specify any file.
7144 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7145 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7156 # Handling of the options.
7157 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7159 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7160 $as_echo "$ac_cs_version"; exit ;;
7161 --debug | --debu | --deb | --de | --d | -d )
7163 --file | --fil | --fi | --f )
7166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7168 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
7169 ac_need_defaults=false;;
7170 --header | --heade | --head | --hea )
7173 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7175 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
7176 ac_need_defaults=false;;
7178 # Conflict between --help and --header
7179 { $as_echo "$as_me: error: ambiguous option: $1
7180 Try \`$0 --help' for more information." >&2
7181 { (exit 1); exit 1; }; };;
7182 --help | --hel | -h )
7183 $as_echo "$ac_cs_usage"; exit ;;
7184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7185 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7189 -*) { $as_echo "$as_me: error: unrecognized option: $1
7190 Try \`$0 --help' for more information." >&2
7191 { (exit 1); exit 1; }; } ;;
7193 *) ac_config_targets="$ac_config_targets $1"
7194 ac_need_defaults=false ;;
7200 ac_configure_extra_args=
7202 if $ac_cs_silent; then
7204 ac_configure_extra_args="$ac_configure_extra_args --silent"
7208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7209 if \$ac_cs_recheck; then
7210 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7212 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7213 CONFIG_SHELL='$SHELL'
7219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7223 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7224 ## Running $as_me. ##
7230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7234 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7240 # Handling of arguments.
7241 for ac_config_target in $ac_config_targets
7243 case $ac_config_target in
7244 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7245 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7246 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7248 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7249 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7250 { (exit 1); exit 1; }; };;
7255 # If the user did not use the arguments to specify the items to instantiate,
7256 # then the envvar interface is used. Set only those that are not.
7257 # We use the long form for the default assignment because of an extremely
7258 # bizarre bug on SunOS 4.1.3.
7259 if $ac_need_defaults; then
7260 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7261 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7262 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7265 # Have a temporary directory for convenience. Make it in the build tree
7266 # simply because there is no reason against having it here, and in addition,
7267 # creating and moving files from /tmp can sometimes cause problems.
7268 # Hook for its removal unless debugging.
7269 # Note that there is a small window in which the directory will not be cleaned:
7270 # after its creation but before its name has been assigned to `$tmp'.
7274 trap 'exit_status=$?
7275 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7277 trap '{ (exit 1); exit 1; }' 1 2 13 15
7279 # Create a (secure) tmp directory for tmp files.
7282 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7283 test -n "$tmp" && test -d "$tmp"
7286 tmp=./conf$$-$RANDOM
7287 (umask 077 && mkdir "$tmp")
7290 $as_echo "$as_me: cannot create a temporary directory in ." >&2
7291 { (exit 1); exit 1; }
7294 # Set up the scripts for CONFIG_FILES section.
7295 # No need to generate them if there are no CONFIG_FILES.
7296 # This happens for instance with `./config.status config.h'.
7297 if test -n "$CONFIG_FILES"; then
7301 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7302 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7308 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7313 echo "cat >conf$$subs.awk <<_ACEOF" &&
7314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7317 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7318 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7319 { (exit 1); exit 1; }; }
7320 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7322 for ac_last_try in false false false false false :; do
7323 . ./conf$$subs.sh ||
7324 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7325 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7326 { (exit 1); exit 1; }; }
7328 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7329 if test $ac_delim_n = $ac_delim_num; then
7331 elif $ac_last_try; then
7332 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7333 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7334 { (exit 1); exit 1; }; }
7336 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7342 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7346 s/^/S["/; s/!.*/"]=/
7356 s/\(.\{148\}\).*/\1/
7358 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7363 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7370 s/\(.\{148\}\).*/\1/
7372 s/["\\]/\\&/g; s/^/"/; s/$/"/
7376 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7381 ' <conf$$subs.awk | sed '
7386 ' >>$CONFIG_STATUS || ac_write_fail=1
7387 rm -f conf$$subs.awk
7388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7390 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7391 for (key in S) S_is_set[key] = 1
7397 nfields = split(line, field, "@")
7399 len = length(field[1])
7400 for (i = 2; i < nfields; i++) {
7402 keylen = length(key)
7403 if (S_is_set[key]) {
7405 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7406 len += length(value) + length(field[++i])
7417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7418 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7419 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7422 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7423 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7424 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
7425 { (exit 1); exit 1; }; }
7428 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7429 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7430 # trailing colons and then remove the whole line if VPATH becomes empty
7431 # (actually we leave an empty line to preserve line numbers).
7432 if test "x$srcdir" = x.; then
7433 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7437 s/^\([^=]*=[ ]*\):*/\1/
7443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7444 fi # test -n "$CONFIG_FILES"
7446 # Set up the scripts for CONFIG_HEADERS section.
7447 # No need to generate them if there are no CONFIG_HEADERS.
7448 # This happens for instance with `./config.status Makefile'.
7449 if test -n "$CONFIG_HEADERS"; then
7450 cat >"$tmp/defines.awk" <<\_ACAWK ||
7454 # Transform confdefs.h into an awk script `defines.awk', embedded as
7455 # here-document in config.status, that substitutes the proper values into
7456 # config.h.in to produce config.h.
7458 # Create a delimiter string that does not exist in confdefs.h, to ease
7459 # handling of long lines.
7461 for ac_last_try in false false :; do
7462 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7463 if test -z "$ac_t"; then
7465 elif $ac_last_try; then
7466 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
7467 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
7468 { (exit 1); exit 1; }; }
7470 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7474 # For the awk script, D is an array of macro values keyed by name,
7475 # likewise P contains macro parameters if any. Preserve backslash
7476 # newline sequences.
7478 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7480 s/.\{148\}/&'"$ac_delim"'/g
7483 s/^[ ]*#[ ]*define[ ][ ]*/ /
7490 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7492 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7496 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7497 D["\1"]=" \3\\\\\\n"\\/p
7499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7504 s/.\{148\}/&'"$ac_delim"'/g
7509 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7512 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7514 ' <confdefs.h | sed '
7515 s/'"$ac_delim"'/"\\\
7516 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7519 for (key in D) D_is_set[key] = 1
7522 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7524 split(line, arg, " ")
7525 if (arg[1] == "#") {
7529 defundef = substr(arg[1], 2)
7532 split(mac1, mac2, "(") #)
7534 prefix = substr(line, 1, index(line, defundef) - 1)
7535 if (D_is_set[macro]) {
7536 # Preserve the white space surrounding the "#".
7537 print prefix "define", macro P[macro] D[macro]
7540 # Replace #undef with comments. This is necessary, for example,
7541 # in the case of _POSIX_SOURCE, which is predefined and required
7542 # on some systems where configure will not decide to define it.
7543 if (defundef == "undef") {
7544 print "/*", prefix defundef, macro, "*/"
7552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7553 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7554 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7555 { (exit 1); exit 1; }; }
7556 fi # test -n "$CONFIG_HEADERS"
7559 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7564 :[FHLC]) ac_mode=$ac_tag; continue;;
7566 case $ac_mode$ac_tag in
7568 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7569 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7570 { (exit 1); exit 1; }; };;
7571 :[FH]-) ac_tag=-:-;;
7572 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7589 -) ac_f="$tmp/stdin";;
7590 *) # Look for the file first in the build tree, then in the source tree
7591 # (if the path is not absolute). The absolute path cannot be DOS-style,
7592 # because $ac_f cannot contain `:'.
7596 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7598 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7599 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7600 { (exit 1); exit 1; }; };;
7602 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7603 ac_file_inputs="$ac_file_inputs '$ac_f'"
7606 # Let's still pretend it is `configure' which instantiates (i.e., don't
7607 # use $as_me), people would be surprised to read:
7608 # /* config.h. Generated by config.status. */
7609 configure_input='Generated from '`
7610 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7612 if test x"$ac_file" != x-; then
7613 configure_input="$ac_file. $configure_input"
7614 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7615 $as_echo "$as_me: creating $ac_file" >&6;}
7617 # Neutralize special characters interpreted by sed in replacement strings.
7618 case $configure_input in #(
7619 *\&* | *\|* | *\\* )
7620 ac_sed_conf_input=`$as_echo "$configure_input" |
7621 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7622 *) ac_sed_conf_input=$configure_input;;
7626 *:-:* | *:-) cat >"$tmp/stdin" \
7627 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7628 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7629 { (exit 1); exit 1; }; } ;;
7634 ac_dir=`$as_dirname -- "$ac_file" ||
7635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7636 X"$ac_file" : 'X\(//\)[^/]' \| \
7637 X"$ac_file" : 'X\(//\)$' \| \
7638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7639 $as_echo X"$ac_file" |
7640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7659 -*) as_dir=./$as_dir;;
7661 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7665 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7666 *) as_qdir=$as_dir;;
7668 as_dirs="'$as_qdir' $as_dirs"
7669 as_dir=`$as_dirname -- "$as_dir" ||
7670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7671 X"$as_dir" : 'X\(//\)[^/]' \| \
7672 X"$as_dir" : 'X\(//\)$' \| \
7673 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7674 $as_echo X"$as_dir" |
7675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7692 test -d "$as_dir" && break
7694 test -z "$as_dirs" || eval "mkdir $as_dirs"
7695 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7696 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7697 { (exit 1); exit 1; }; }; }
7701 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7703 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7704 # A ".." for each directory in $ac_dir_suffix.
7705 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7706 case $ac_top_builddir_sub in
7707 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7708 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7711 ac_abs_top_builddir=$ac_pwd
7712 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7713 # for backward compatibility:
7714 ac_top_builddir=$ac_top_build_prefix
7717 .) # We are building in place.
7719 ac_top_srcdir=$ac_top_builddir_sub
7720 ac_abs_top_srcdir=$ac_pwd ;;
7721 [\\/]* | ?:[\\/]* ) # Absolute name.
7722 ac_srcdir=$srcdir$ac_dir_suffix;
7723 ac_top_srcdir=$srcdir
7724 ac_abs_top_srcdir=$srcdir ;;
7726 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7727 ac_top_srcdir=$ac_top_build_prefix$srcdir
7728 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7730 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7740 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7741 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7745 [\\/$]* | ?:[\\/]* ) ;;
7746 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7751 # If the template does not know about datarootdir, expand it.
7752 # FIXME: This hack should be removed a few years after 2.60.
7753 ac_datarootdir_hack=; ac_datarootdir_seen=
7766 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7767 *datarootdir*) ac_datarootdir_seen=yes;;
7768 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7769 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7770 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7773 ac_datarootdir_hack='
7774 s&@datadir@&$datadir&g
7775 s&@docdir@&$docdir&g
7776 s&@infodir@&$infodir&g
7777 s&@localedir@&$localedir&g
7778 s&@mandir@&$mandir&g
7779 s&\\\${datarootdir}&$datarootdir&g' ;;
7783 # Neutralize VPATH when `$srcdir' = `.'.
7784 # Shell code in configure.ac might set extrasub.
7785 # FIXME: do we really want to maintain this feature?
7786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7787 ac_sed_extra="$ac_vpsub
7790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7792 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7793 s|@configure_input@|$ac_sed_conf_input|;t t
7794 s&@top_builddir@&$ac_top_builddir_sub&;t t
7795 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7796 s&@srcdir@&$ac_srcdir&;t t
7797 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7798 s&@top_srcdir@&$ac_top_srcdir&;t t
7799 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7800 s&@builddir@&$ac_builddir&;t t
7801 s&@abs_builddir@&$ac_abs_builddir&;t t
7802 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7803 s&@INSTALL@&$ac_INSTALL&;t t
7804 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7805 $ac_datarootdir_hack
7807 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7808 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7809 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7810 { (exit 1); exit 1; }; }
7812 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7813 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7814 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7815 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7816 which seems to be undefined. Please make sure it is defined." >&5
7817 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7818 which seems to be undefined. Please make sure it is defined." >&2;}
7822 -) cat "$tmp/out" && rm -f "$tmp/out";;
7823 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7825 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7826 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7827 { (exit 1); exit 1; }; }
7833 if test x"$ac_file" != x-; then
7835 $as_echo "/* $configure_input */" \
7836 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7837 } >"$tmp/config.h" \
7838 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7839 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7840 { (exit 1); exit 1; }; }
7841 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7842 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7843 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7846 mv "$tmp/config.h" "$ac_file" \
7847 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7848 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7849 { (exit 1); exit 1; }; }
7852 $as_echo "/* $configure_input */" \
7853 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7854 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7855 $as_echo "$as_me: error: could not create -" >&2;}
7856 { (exit 1); exit 1; }; }
7858 # Compute "$ac_file"'s index in $config_headers.
7861 for _am_header in $config_headers :; do
7863 $_am_arg | $_am_arg:* )
7866 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7869 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7870 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7871 X"$_am_arg" : 'X\(//\)[^/]' \| \
7872 X"$_am_arg" : 'X\(//\)$' \| \
7873 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7874 $as_echo X"$_am_arg" |
7875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7891 s/.*/./; q'`/stamp-h$_am_stamp_count
7894 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7895 $as_echo "$as_me: executing $ac_file commands" >&6;}
7900 case $ac_file$ac_mode in
7901 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7902 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7903 # are listed without --file. Let's play safe and only enable the eval
7904 # if we detect the quoting.
7905 case $CONFIG_FILES in
7906 *\'*) eval set x "$CONFIG_FILES" ;;
7907 *) set x $CONFIG_FILES ;;
7912 # Strip MF so we end up with the name of the file.
7913 mf=`echo "$mf" | sed -e 's/:.*$//'`
7914 # Check whether this is an Automake generated Makefile or not.
7915 # We used to match only the files named `Makefile.in', but
7916 # some people rename them; so instead we look at the file content.
7917 # Grep'ing the first line is not enough: some people post-process
7918 # each Makefile.in and add a new line on top of each file to say so.
7919 # Grep'ing the whole file is not good either: AIX grep has a line
7920 # limit of 2048, but all sed's we know have understand at least 4000.
7921 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7922 dirpart=`$as_dirname -- "$mf" ||
7923 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7924 X"$mf" : 'X\(//\)[^/]' \| \
7925 X"$mf" : 'X\(//\)$' \| \
7926 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7948 # Extract the definition of DEPDIR, am__include, and am__quote
7949 # from the Makefile without running `make'.
7950 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7951 test -z "$DEPDIR" && continue
7952 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7953 test -z "am__include" && continue
7954 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7955 # When using ansi2knr, U may be empty or an underscore; expand it
7956 U=`sed -n 's/^U = //p' < "$mf"`
7957 # Find all dependency output files, they are included files with
7958 # $(DEPDIR) in their names. We invoke sed twice because it is the
7959 # simplest approach to changing $(DEPDIR) to its actual value in the
7961 for file in `sed -n "
7962 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7963 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7964 # Make sure the directory exists.
7965 test -f "$dirpart/$file" && continue
7966 fdir=`$as_dirname -- "$file" ||
7967 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7968 X"$file" : 'X\(//\)[^/]' \| \
7969 X"$file" : 'X\(//\)$' \| \
7970 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7989 { as_dir=$dirpart/$fdir
7991 -*) as_dir=./$as_dir;;
7993 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7997 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7998 *) as_qdir=$as_dir;;
8000 as_dirs="'$as_qdir' $as_dirs"
8001 as_dir=`$as_dirname -- "$as_dir" ||
8002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8003 X"$as_dir" : 'X\(//\)[^/]' \| \
8004 X"$as_dir" : 'X\(//\)$' \| \
8005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8006 $as_echo X"$as_dir" |
8007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8024 test -d "$as_dir" && break
8026 test -z "$as_dirs" || eval "mkdir $as_dirs"
8027 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8028 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8029 { (exit 1); exit 1; }; }; }
8030 # echo "creating $dirpart/$file"
8031 echo '# dummy' > "$dirpart/$file"
8041 { (exit 0); exit 0; }
8043 chmod +x $CONFIG_STATUS
8044 ac_clean_files=$ac_clean_files_save
8046 test $ac_write_fail = 0 ||
8047 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8048 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8049 { (exit 1); exit 1; }; }
8052 # configure is writing to config.log, and then calls config.status.
8053 # config.status does its own redirection, appending to config.log.
8054 # Unfortunately, on DOS this fails, as config.log is still kept open
8055 # by configure, so config.status won't be able to write to it; its
8056 # output is simply discarded. So we exec the FD to /dev/null,
8057 # effectively closing config.log, so it can be properly (re)opened and
8058 # appended to by config.status. When coming back to configure, we
8059 # need to make the FD available again.
8060 if test "$no_create" != yes; then
8062 ac_config_status_args=
8063 test "$silent" = yes &&
8064 ac_config_status_args="$ac_config_status_args --quiet"
8066 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8068 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8069 # would make configure fail if this is the last instruction.
8070 $ac_cs_success || { (exit 1); exit 1; }
8072 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8073 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8074 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}