2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for polyglot 1.4.60b.
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, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (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 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: michel.vandenbergh@uhasselt.be about your system,
233 $0: including any error possibly output before this
234 $0: message. Then install a modern shell, or manually run
235 $0: the script under such a shell if you do have one."
241 SHELL=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir=./$as_dir;;
286 test -d "$as_dir" || eval $as_mkdir_p || {
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 as_val=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status=$?; test $as_status -eq 0 && as_status=1
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
471 mkdir conf$$.dir 2>/dev/null
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 elif ln conf$$.file conf$$ 2>/dev/null; then
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
496 test -d ./-p && rmdir ./-p
500 if test -x / >/dev/null 2>&1; then
503 if ls -dL / >/dev/null 2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev/null 6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
550 PACKAGE_NAME='polyglot'
551 PACKAGE_TARNAME='polyglot'
552 PACKAGE_VERSION='1.4.60b'
553 PACKAGE_STRING='polyglot 1.4.60b'
554 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
557 ac_unique_file="mainloop.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='am__EXEEXT_FALSE
625 INSTALL_STRIP_PROGRAM
667 program_transform_name
680 enable_option_checking
681 enable_dependency_tracking
683 ac_precious_vars='build_alias
694 # Initialize some variables set by options.
696 ac_init_version=false
697 ac_unrecognized_opts=
699 # The variables have the same names as the options, with
700 # dashes changed to underlines.
708 program_transform_name=s,x,x,
716 # Installation directory options.
717 # These are left unexpanded so users can "make install exec_prefix=/foo"
718 # and all the variables that are supposed to be based on exec_prefix
719 # by default will actually change.
720 # Use braces instead of parens because sh, perl, etc. also accept them.
721 # (The list follows the same order as the GNU Coding Standards.)
722 bindir='${exec_prefix}/bin'
723 sbindir='${exec_prefix}/sbin'
724 libexecdir='${exec_prefix}/libexec'
725 datarootdir='${prefix}/share'
726 datadir='${datarootdir}'
727 sysconfdir='${prefix}/etc'
728 sharedstatedir='${prefix}/com'
729 localstatedir='${prefix}/var'
730 includedir='${prefix}/include'
731 oldincludedir='/usr/include'
732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
733 infodir='${datarootdir}/info'
738 libdir='${exec_prefix}/lib'
739 localedir='${datarootdir}/locale'
740 mandir='${datarootdir}/man'
746 # If the previous option needs an argument, assign it.
747 if test -n "$ac_prev"; then
748 eval $ac_prev=\$ac_option
754 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758 # Accept the important Cygnus configure options, so we can diagnose typos.
760 case $ac_dashdash$ac_option in
764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 -build | --build | --buil | --bui | --bu)
770 ac_prev=build_alias ;;
771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772 build_alias=$ac_optarg ;;
774 -cache-file | --cache-file | --cache-fil | --cache-fi \
775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776 ac_prev=cache_file ;;
777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779 cache_file=$ac_optarg ;;
782 cache_file=config.cache ;;
784 -datadir | --datadir | --datadi | --datad)
786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
787 datadir=$ac_optarg ;;
789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790 | --dataroo | --dataro | --datar)
791 ac_prev=datarootdir ;;
792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794 datarootdir=$ac_optarg ;;
796 -disable-* | --disable-*)
797 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800 as_fn_error "invalid feature name: $ac_useropt"
801 ac_useropt_orig=$ac_useropt
802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803 case $ac_user_opts in
807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808 ac_unrecognized_sep=', ';;
810 eval enable_$ac_useropt=no ;;
812 -docdir | --docdir | --docdi | --doc | --do)
814 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
817 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
819 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
822 -enable-* | --enable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error "invalid feature name: $ac_useropt"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
836 eval enable_$ac_useropt=\$ac_optarg ;;
838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840 | --exec | --exe | --ex)
841 ac_prev=exec_prefix ;;
842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844 | --exec=* | --exe=* | --ex=*)
845 exec_prefix=$ac_optarg ;;
847 -gas | --gas | --ga | --g)
848 # Obsolete; use --with-gas.
851 -help | --help | --hel | --he | -h)
853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854 ac_init_help=recursive ;;
855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856 ac_init_help=short ;;
858 -host | --host | --hos | --ho)
859 ac_prev=host_alias ;;
860 -host=* | --host=* | --hos=* | --ho=*)
861 host_alias=$ac_optarg ;;
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 htmldir=$ac_optarg ;;
869 -includedir | --includedir | --includedi | --included | --include \
870 | --includ | --inclu | --incl | --inc)
871 ac_prev=includedir ;;
872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873 | --includ=* | --inclu=* | --incl=* | --inc=*)
874 includedir=$ac_optarg ;;
876 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879 infodir=$ac_optarg ;;
881 -libdir | --libdir | --libdi | --libd)
883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887 | --libexe | --libex | --libe)
888 ac_prev=libexecdir ;;
889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890 | --libexe=* | --libex=* | --libe=*)
891 libexecdir=$ac_optarg ;;
893 -localedir | --localedir | --localedi | --localed | --locale)
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896 localedir=$ac_optarg ;;
898 -localstatedir | --localstatedir | --localstatedi | --localstated \
899 | --localstate | --localstat | --localsta | --localst | --locals)
900 ac_prev=localstatedir ;;
901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903 localstatedir=$ac_optarg ;;
905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911 # Obsolete; use --without-fp.
914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915 | --no-cr | --no-c | -n)
918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924 | --oldin | --oldi | --old | --ol | --o)
925 ac_prev=oldincludedir ;;
926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929 oldincludedir=$ac_optarg ;;
931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
937 | --program-pre | --program-pr | --program-p)
938 ac_prev=program_prefix ;;
939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941 program_prefix=$ac_optarg ;;
943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
944 | --program-suf | --program-su | --program-s)
945 ac_prev=program_suffix ;;
946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948 program_suffix=$ac_optarg ;;
950 -program-transform-name | --program-transform-name \
951 | --program-transform-nam | --program-transform-na \
952 | --program-transform-n | --program-transform- \
953 | --program-transform | --program-transfor \
954 | --program-transfo | --program-transf \
955 | --program-trans | --program-tran \
956 | --progr-tra | --program-tr | --program-t)
957 ac_prev=program_transform_name ;;
958 -program-transform-name=* | --program-transform-name=* \
959 | --program-transform-nam=* | --program-transform-na=* \
960 | --program-transform-n=* | --program-transform-=* \
961 | --program-transform=* | --program-transfor=* \
962 | --program-transfo=* | --program-transf=* \
963 | --program-trans=* | --program-tran=* \
964 | --progr-tra=* | --program-tr=* | --program-t=*)
965 program_transform_name=$ac_optarg ;;
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 -psdir | --psdir | --psdi | --psd | --ps)
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978 | -silent | --silent | --silen | --sile | --sil)
981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
985 sbindir=$ac_optarg ;;
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
996 sharedstatedir=$ac_optarg ;;
998 -site | --site | --sit)
1000 -site=* | --site=* | --sit=*)
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1027 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid package name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1040 eval with_$ac_useropt=\$ac_optarg ;;
1042 -without-* | --without-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1056 eval with_$ac_useropt=no ;;
1059 # Obsolete; use --with-x.
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1076 -*) as_fn_error "unrecognized option: \`$ac_option'
1077 Try \`$0 --help' for more information."
1081 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' | [0-9]* | *[!_$as_cr_alnum]* )
1085 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1101 if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error "missing argument to $ac_option"
1106 if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1109 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114 # Check all directory arguments for consistency.
1115 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1118 libdir localedir mandir
1120 eval ac_val=\$$ac_var
1121 # Remove trailing slashes.
1124 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\$ac_val;;
1127 # Be sure to have absolute directory names.
1129 [\\/$]* | ?:[\\/]* ) continue;;
1130 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1132 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x; then
1144 if test "x$build_alias" = x; then
1145 cross_compiling=maybe
1146 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147 If a cross compiler is detected then cross compile mode will be used." >&2
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1156 test "$silent" = yes && exec 6>/dev/null
1159 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di=`ls -di .` &&
1161 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 as_fn_error "working directory cannot be determined"
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 as_fn_error "pwd does not report name of working directory"
1167 # Find the source files, if location was not specified.
1168 if test -z "$srcdir"; then
1169 ac_srcdir_defaulted=yes
1170 # Try the directory containing this script, then the parent directory.
1171 ac_confdir=`$as_dirname -- "$as_myself" ||
1172 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173 X"$as_myself" : 'X\(//\)[^/]' \| \
1174 X"$as_myself" : 'X\(//\)$' \| \
1175 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176 $as_echo X"$as_myself" |
1177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1199 ac_srcdir_defaulted=no
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1203 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1205 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1207 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1217 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1219 for ac_var in $ac_precious_vars; do
1220 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_${ac_var}_value=\$${ac_var}
1222 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1233 \`configure' configures polyglot 1.4.60b to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297 if test -n "$ac_init_help"; then
1298 case $ac_init_help in
1299 short | recursive ) echo "Configuration of polyglot 1.4.60b:";;
1304 --disable-option-checking ignore unrecognized --enable/--with options
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1307 --disable-dependency-tracking speeds up one-time build
1308 --enable-dependency-tracking do not reject slow dependency extractors
1310 Some influential environment variables:
1311 CC C compiler command
1312 CFLAGS C compiler flags
1313 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1314 nonstandard directory <lib dir>
1315 LIBS libraries to pass to the linker, e.g. -l<library>
1316 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1317 you have headers in a nonstandard directory <include dir>
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1323 Report bugs to <michel.vandenbergh@uhasselt.be>.
1328 if test "$ac_init_help" = "recursive"; then
1329 # If there are subdirs, report their specific --help.
1330 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1331 test -d "$ac_dir" ||
1332 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1337 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1339 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1340 # A ".." for each directory in $ac_dir_suffix.
1341 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1342 case $ac_top_builddir_sub in
1343 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1347 ac_abs_top_builddir=$ac_pwd
1348 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1349 # for backward compatibility:
1350 ac_top_builddir=$ac_top_build_prefix
1353 .) # We are building in place.
1355 ac_top_srcdir=$ac_top_builddir_sub
1356 ac_abs_top_srcdir=$ac_pwd ;;
1357 [\\/]* | ?:[\\/]* ) # Absolute name.
1358 ac_srcdir=$srcdir$ac_dir_suffix;
1359 ac_top_srcdir=$srcdir
1360 ac_abs_top_srcdir=$srcdir ;;
1362 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1363 ac_top_srcdir=$ac_top_build_prefix$srcdir
1364 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1366 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1368 cd "$ac_dir" || { ac_status=$?; continue; }
1369 # Check for guested configure.
1370 if test -f "$ac_srcdir/configure.gnu"; then
1372 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1373 elif test -f "$ac_srcdir/configure"; then
1375 $SHELL "$ac_srcdir/configure" --help=recursive
1377 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1379 cd "$ac_pwd" || { ac_status=$?; break; }
1383 test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1386 polyglot configure 1.4.60b
1387 generated by GNU Autoconf 2.64
1389 Copyright (C) 2009 Free Software Foundation, Inc.
1390 This configure script is free software; the Free Software Foundation
1391 gives unlimited permission to copy, distribute and modify it.
1396 ## ------------------------ ##
1397 ## Autoconf initialization. ##
1398 ## ------------------------ ##
1400 # ac_fn_c_try_compile LINENO
1401 # --------------------------
1402 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1403 ac_fn_c_try_compile ()
1405 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1406 rm -f conftest.$ac_objext
1407 if { { ac_try="$ac_compile"
1409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1410 *) ac_try_echo=$ac_try;;
1412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1413 $as_echo "$ac_try_echo"; } >&5
1414 (eval "$ac_compile") 2>conftest.err
1416 if test -s conftest.err; then
1417 grep -v '^ *+' conftest.err >conftest.er1
1418 cat conftest.er1 >&5
1419 mv -f conftest.er1 conftest.err
1421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1422 test $ac_status = 0; } && {
1423 test -z "$ac_c_werror_flag" ||
1424 test ! -s conftest.err
1425 } && test -s conftest.$ac_objext; then :
1428 $as_echo "$as_me: failed program was:" >&5
1429 sed 's/^/| /' conftest.$ac_ext >&5
1433 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1436 } # ac_fn_c_try_compile
1438 # ac_fn_c_try_link LINENO
1439 # -----------------------
1440 # Try to link conftest.$ac_ext, and return whether this succeeded.
1443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1444 rm -f conftest.$ac_objext conftest$ac_exeext
1445 if { { ac_try="$ac_link"
1447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1448 *) ac_try_echo=$ac_try;;
1450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1451 $as_echo "$ac_try_echo"; } >&5
1452 (eval "$ac_link") 2>conftest.err
1454 if test -s conftest.err; then
1455 grep -v '^ *+' conftest.err >conftest.er1
1456 cat conftest.er1 >&5
1457 mv -f conftest.er1 conftest.err
1459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1460 test $ac_status = 0; } && {
1461 test -z "$ac_c_werror_flag" ||
1462 test ! -s conftest.err
1463 } && test -s conftest$ac_exeext && {
1464 test "$cross_compiling" = yes ||
1465 $as_test_x conftest$ac_exeext
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1475 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1476 # interfere with the next link command; also delete a directory that is
1477 # left behind by Apple's compiler. We do this before executing the actions.
1478 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1479 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1482 } # ac_fn_c_try_link
1484 # ac_fn_c_try_cpp LINENO
1485 # ----------------------
1486 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 if { { ac_try="$ac_cpp conftest.$ac_ext"
1492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1493 *) ac_try_echo=$ac_try;;
1495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1496 $as_echo "$ac_try_echo"; } >&5
1497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1499 if test -s conftest.err; then
1500 grep -v '^ *+' conftest.err >conftest.er1
1501 cat conftest.er1 >&5
1502 mv -f conftest.er1 conftest.err
1504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1505 test $ac_status = 0; } >/dev/null && {
1506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1507 test ! -s conftest.err
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.$ac_ext >&5
1516 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1521 # ac_fn_c_try_run LINENO
1522 # ----------------------
1523 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1524 # that executables *can* be run.
1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1528 if { { ac_try="$ac_link"
1530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1531 *) ac_try_echo=$ac_try;;
1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1534 $as_echo "$ac_try_echo"; } >&5
1535 (eval "$ac_link") 2>&5
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1539 { { case "(($ac_try" in
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_try") 2>&5
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; }; }; then :
1551 $as_echo "$as_me: program exited with status $ac_status" >&5
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1555 ac_retval=$ac_status
1557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1558 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1564 # -------------------------------------------------------
1565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1566 # the include files in INCLUDES and setting the cache variable VAR
1568 ac_fn_c_check_header_mongrel ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 $as_echo_n "(cached) " >&6
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579 $as_echo "$ac_res" >&6; }
1581 # Is the header compilable?
1582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1583 $as_echo_n "checking $2 usability... " >&6; }
1584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585 /* end confdefs.h. */
1589 if ac_fn_c_try_compile "$LINENO"; then :
1590 ac_header_compiler=yes
1592 ac_header_compiler=no
1594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1596 $as_echo "$ac_header_compiler" >&6; }
1598 # Is the header present?
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1600 $as_echo_n "checking $2 presence... " >&6; }
1601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1602 /* end confdefs.h. */
1605 if ac_fn_c_try_cpp "$LINENO"; then :
1606 ac_header_preproc=yes
1608 ac_header_preproc=no
1610 rm -f conftest.err conftest.$ac_ext
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1612 $as_echo "$ac_header_preproc" >&6; }
1614 # So? What about this header?
1615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 ## --------------------------------------------- ##
1635 ## Report this to michel.vandenbergh@uhasselt.be ##
1636 ## --------------------------------------------- ##
1638 ) | sed "s/^/$as_me: WARNING: /" >&2
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1644 $as_echo_n "(cached) " >&6
1646 eval "$3=\$ac_header_compiler"
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1654 } # ac_fn_c_check_header_mongrel
1656 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1657 # -------------------------------------------------------
1658 # Tests whether HEADER exists and can be compiled using the include files in
1659 # INCLUDES, setting the cache variable VAR accordingly.
1660 ac_fn_c_check_header_compile ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1664 $as_echo_n "checking for $2... " >&6; }
1665 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1666 $as_echo_n "(cached) " >&6
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669 /* end confdefs.h. */
1673 if ac_fn_c_try_compile "$LINENO"; then :
1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1683 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 } # ac_fn_c_check_header_compile
1687 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1688 # -------------------------------------------
1689 # Tests whether TYPE exists after having included INCLUDES, setting cache
1690 # variable VAR accordingly.
1691 ac_fn_c_check_type ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1697 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1725 if ac_fn_c_try_compile "$LINENO"; then :
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 } # ac_fn_c_check_type
1741 # ac_fn_c_check_func LINENO FUNC VAR
1742 # ----------------------------------
1743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1744 ac_fn_c_check_func ()
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 /* end confdefs.h. */
1754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1756 #define $2 innocuous_$2
1758 /* System header to define __stub macros and hopefully few prototypes,
1759 which can conflict with char $2 (); below.
1760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1761 <limits.h> exists even on freestanding compilers. */
1764 # include <limits.h>
1766 # include <assert.h>
1771 /* Override any GCC internal prototype to avoid an error.
1772 Use char because int might match the return type of a GCC
1773 builtin and then its argument prototype would still apply. */
1778 /* The GNU C library defines this for functions which it implements
1779 to always fail with ENOSYS. Some functions are actually named
1780 something starting with __ and the normal name is an alias. */
1781 #if defined __stub_$2 || defined __stub___$2
1793 if ac_fn_c_try_link "$LINENO"; then :
1798 rm -f core conftest.err conftest.$ac_objext \
1799 conftest$ac_exeext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_check_func
1807 cat >config.log <<_ACEOF
1808 This file contains any messages produced by compilers while
1809 running configure, to aid debugging if configure makes a mistake.
1811 It was created by polyglot $as_me 1.4.60b, which was
1812 generated by GNU Autoconf 2.64. Invocation command line was
1824 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1825 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1826 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1827 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1828 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1830 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1831 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1833 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1834 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1835 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1836 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1837 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1838 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1839 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 $as_echo "PATH: $as_dir"
1864 # Keep a trace of the command line.
1865 # Strip out --no-create and --no-recursion so they do not pile up.
1866 # Strip out --silent because we don't want to record it for future runs.
1867 # Also quote any args containing shell meta-characters.
1868 # Make two passes to allow for proper duplicate-argument suppression.
1872 ac_must_keep_next=false
1878 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1880 | -silent | --silent | --silen | --sile | --sil)
1883 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1886 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1888 as_fn_append ac_configure_args1 " '$ac_arg'"
1889 if test $ac_must_keep_next = true; then
1890 ac_must_keep_next=false # Got value, back to normal.
1893 *=* | --config-cache | -C | -disable-* | --disable-* \
1894 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1895 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1896 | -with-* | --with-* | -without-* | --without-* | --x)
1897 case "$ac_configure_args0 " in
1898 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1901 -* ) ac_must_keep_next=true ;;
1904 as_fn_append ac_configure_args " '$ac_arg'"
1909 { ac_configure_args0=; unset ac_configure_args0;}
1910 { ac_configure_args1=; unset ac_configure_args1;}
1912 # When interrupted or exit'd, cleanup temporary files, and complete
1913 # config.log. We remove comments because anyway the quotes in there
1914 # would cause problems or look ugly.
1915 # WARNING: Use '\'' to represent an apostrophe within the trap.
1916 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1917 trap 'exit_status=$?
1918 # Save into config.log some information that might help in debugging.
1923 ## ---------------- ##
1924 ## Cache variables. ##
1925 ## ---------------- ##
1928 # The following way of writing the cache mishandles newlines in values,
1930 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1931 eval ac_val=\$$ac_var
1935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1939 _ | IFS | as_nl) ;; #(
1940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941 *) { eval $ac_var=; unset $ac_var;} ;;
1946 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1947 *${as_nl}ac_space=\ *)
1949 "s/'\''/'\''\\\\'\'''\''/g;
1950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1961 ## ----------------- ##
1962 ## Output variables. ##
1963 ## ----------------- ##
1966 for ac_var in $ac_subst_vars
1968 eval ac_val=\$$ac_var
1970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 $as_echo "$ac_var='\''$ac_val'\''"
1976 if test -n "$ac_subst_files"; then
1978 ## ------------------- ##
1979 ## File substitutions. ##
1980 ## ------------------- ##
1983 for ac_var in $ac_subst_files
1985 eval ac_val=\$$ac_var
1987 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1989 $as_echo "$ac_var='\''$ac_val'\''"
1994 if test -s confdefs.h; then
2004 test "$ac_signal" != 0 &&
2005 $as_echo "$as_me: caught signal $ac_signal"
2006 $as_echo "$as_me: exit $exit_status"
2008 rm -f core *.core core.conftest.* &&
2009 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2012 for ac_signal in 1 2 13 15; do
2013 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2017 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2018 rm -f -r conftest* confdefs.h
2020 $as_echo "/* confdefs.h */" > confdefs.h
2022 # Predefined preprocessor variables.
2024 cat >>confdefs.h <<_ACEOF
2025 #define PACKAGE_NAME "$PACKAGE_NAME"
2028 cat >>confdefs.h <<_ACEOF
2029 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_STRING "$PACKAGE_STRING"
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_URL "$PACKAGE_URL"
2049 # Let the site file select an alternate cache file if it wants to.
2050 # Prefer an explicitly selected file to automatically selected ones.
2053 if test -n "$CONFIG_SITE"; then
2054 ac_site_file1=$CONFIG_SITE
2055 elif test "x$prefix" != xNONE; then
2056 ac_site_file1=$prefix/share/config.site
2057 ac_site_file2=$prefix/etc/config.site
2059 ac_site_file1=$ac_default_prefix/share/config.site
2060 ac_site_file2=$ac_default_prefix/etc/config.site
2062 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2064 test "x$ac_site_file" = xNONE && continue
2065 if test -r "$ac_site_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2067 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2068 sed 's/^/| /' "$ac_site_file" >&5
2073 if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special
2075 # files actually), so we avoid doing that.
2076 if test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078 $as_echo "$as_me: loading cache $cache_file" >&6;}
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086 $as_echo "$as_me: creating cache $cache_file" >&6;}
2090 # Check that the precious variables saved in the cache have kept the same
2092 ac_cache_corrupted=false
2093 for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2105 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x $ac_old_val`
2112 ac_new_val_w=`echo x $ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2116 ac_cache_corrupted=:
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2119 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2140 if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2147 ## -------------------- ##
2148 ## Main body of script. ##
2149 ## -------------------- ##
2152 ac_cpp='$CPP $CPPFLAGS'
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158 am__api_version='1.11'
2161 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2162 for ac_t in install-sh install.sh shtool; do
2163 if test -f "$ac_dir/$ac_t"; then
2165 ac_install_sh="$ac_aux_dir/$ac_t -c"
2170 if test -z "$ac_aux_dir"; then
2171 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2174 # These three variables are undocumented and unsupported,
2175 # and are intended to be withdrawn in a future Autoconf release.
2176 # They can cause serious problems if a builder's source tree is in a directory
2177 # whose full name contains unusual characters.
2178 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2179 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2180 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2183 # Find a good install program. We prefer a C program (faster),
2184 # so one script is as good as another. But avoid the broken or
2185 # incompatible versions:
2186 # SysV /etc/install, /usr/sbin/install
2187 # SunOS /usr/etc/install
2188 # IRIX /sbin/install
2190 # AmigaOS /C/install, which installs bootblocks on floppy discs
2191 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2192 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2193 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2194 # OS/2's system install, which has a completely different semantic
2195 # ./install, which can be erroneously created by make from ./install.sh.
2196 # Reject install programs that cannot install multiple files.
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2198 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2199 if test -z "$INSTALL"; then
2200 if test "${ac_cv_path_install+set}" = set; then :
2201 $as_echo_n "(cached) " >&6
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 # Account for people who put trailing slashes in PATH elements.
2209 case $as_dir/ in #((
2210 ./ | .// | /[cC]/* | \
2211 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2212 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2215 # OSF1 and SCO ODT 3.0 have their own names for install.
2216 # Don't use installbsd from OSF since it installs stuff as root
2218 for ac_prog in ginstall scoinst install; do
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2221 if test $ac_prog = install &&
2222 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2223 # AIX install. It has an incompatible calling convention.
2225 elif test $ac_prog = install &&
2226 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2227 # program-specific install script used by HP pwplus--don't use.
2230 rm -rf conftest.one conftest.two conftest.dir
2231 echo one > conftest.one
2232 echo two > conftest.two
2234 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2235 test -s conftest.one && test -s conftest.two &&
2236 test -s conftest.dir/conftest.one &&
2237 test -s conftest.dir/conftest.two
2239 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2252 rm -rf conftest.one conftest.two conftest.dir
2255 if test "${ac_cv_path_install+set}" = set; then
2256 INSTALL=$ac_cv_path_install
2258 # As a last resort, use the slow shell script. Don't cache a
2259 # value for INSTALL within a source directory, because that will
2260 # break other packages using the cache if that directory is
2261 # removed, or if the value is a relative name.
2262 INSTALL=$ac_install_sh
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2266 $as_echo "$INSTALL" >&6; }
2268 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2269 # It thinks the first close brace ends the variable substitution.
2270 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2272 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2274 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2277 $as_echo_n "checking whether build environment is sane... " >&6; }
2280 echo timestamp > conftest.file
2281 # Reject unsafe characters in $srcdir or the absolute working directory
2282 # name. Accept space and tab only in the latter.
2286 *[\\\"\#\$\&\'\`$am_lf]*)
2287 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2290 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2291 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2294 # Do `set' in a subshell so we don't clobber the current shell's
2295 # arguments. Must try -L first in case configure is actually a
2296 # symlink; some systems play weird games with the mod time of symlinks
2297 # (eg FreeBSD returns the mod time of the symlink's containing
2300 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2301 if test "$*" = "X"; then
2303 set X `ls -t "$srcdir/configure" conftest.file`
2306 if test "$*" != "X $srcdir/configure conftest.file" \
2307 && test "$*" != "X conftest.file $srcdir/configure"; then
2309 # If neither matched, then we have a broken ls. This can happen
2310 # if, for instance, CONFIG_SHELL is bash and it inherits a
2311 # broken ls alias from the environment. This has actually
2312 # happened. Such a system could not be considered "sane".
2313 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2314 alias in your environment" "$LINENO" 5
2317 test "$2" = conftest.file
2323 as_fn_error "newly created file is older than distributed files!
2324 Check your system clock" "$LINENO" 5
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2327 $as_echo "yes" >&6; }
2328 test "$program_prefix" != NONE &&
2329 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2330 # Use a double $ so make ignores it.
2331 test "$program_suffix" != NONE &&
2332 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2333 # Double any \ or $.
2334 # By default was `s,x,x', remove it if useless.
2335 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2336 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2338 # expand $ac_aux_dir to an absolute path
2339 am_aux_dir=`cd $ac_aux_dir && pwd`
2341 if test x"${MISSING+set}" != xset; then
2344 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2346 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2349 # Use eval to expand $SHELL
2350 if eval "$MISSING --run true"; then
2351 am_missing_run="$MISSING --run "
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2355 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2358 if test x"${install_sh}" != xset; then
2361 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2363 install_sh="\${SHELL} $am_aux_dir/install-sh"
2367 # Installed binaries are usually stripped using `strip' when the user
2368 # run `make install-strip'. However `strip' might not be the right
2369 # tool to use in cross-compilation environments, therefore Automake
2370 # will honor the `STRIP' environment variable to overrule this program.
2371 if test "$cross_compiling" != no; then
2372 if test -n "$ac_tool_prefix"; then
2373 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2374 set dummy ${ac_tool_prefix}strip; ac_word=$2
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2376 $as_echo_n "checking for $ac_word... " >&6; }
2377 if test "${ac_cv_prog_STRIP+set}" = set; then :
2378 $as_echo_n "(cached) " >&6
2380 if test -n "$STRIP"; then
2381 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2387 test -z "$as_dir" && as_dir=.
2388 for ac_exec_ext in '' $ac_executable_extensions; do
2389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 STRIP=$ac_cv_prog_STRIP
2401 if test -n "$STRIP"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2403 $as_echo "$STRIP" >&6; }
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406 $as_echo "no" >&6; }
2411 if test -z "$ac_cv_prog_STRIP"; then
2413 # Extract the first word of "strip", so it can be a program name with args.
2414 set dummy strip; ac_word=$2
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2416 $as_echo_n "checking for $ac_word... " >&6; }
2417 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2418 $as_echo_n "(cached) " >&6
2420 if test -n "$ac_ct_STRIP"; then
2421 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 ac_cv_prog_ac_ct_STRIP="strip"
2431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2441 if test -n "$ac_ct_STRIP"; then
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2443 $as_echo "$ac_ct_STRIP" >&6; }
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2446 $as_echo "no" >&6; }
2449 if test "x$ac_ct_STRIP" = x; then
2452 case $cross_compiling:$ac_tool_warned in
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2456 ac_tool_warned=yes ;;
2461 STRIP="$ac_cv_prog_STRIP"
2465 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2468 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2469 if test -z "$MKDIR_P"; then
2470 if test "${ac_cv_path_mkdir+set}" = set; then :
2471 $as_echo_n "(cached) " >&6
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2477 test -z "$as_dir" && as_dir=.
2478 for ac_prog in mkdir gmkdir; do
2479 for ac_exec_ext in '' $ac_executable_extensions; do
2480 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2481 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2482 'mkdir (GNU coreutils) '* | \
2483 'mkdir (coreutils) '* | \
2484 'mkdir (fileutils) '4.1*)
2485 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2495 if test "${ac_cv_path_mkdir+set}" = set; then
2496 MKDIR_P="$ac_cv_path_mkdir -p"
2498 # As a last resort, use the slow shell script. Don't cache a
2499 # value for MKDIR_P within a source directory, because that will
2500 # break other packages using the cache if that directory is
2501 # removed, or if the value is a relative name.
2502 test -d ./--version && rmdir ./--version
2503 MKDIR_P="$ac_install_sh -d"
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2507 $as_echo "$MKDIR_P" >&6; }
2511 [\\/$]* | ?:[\\/]*) ;;
2512 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2515 for ac_prog in gawk mawk nawk awk
2517 # Extract the first word of "$ac_prog", so it can be a program name with args.
2518 set dummy $ac_prog; ac_word=$2
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520 $as_echo_n "checking for $ac_word... " >&6; }
2521 if test "${ac_cv_prog_AWK+set}" = set; then :
2522 $as_echo_n "(cached) " >&6
2524 if test -n "$AWK"; then
2525 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir=.
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_AWK="$ac_prog"
2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 if test -n "$AWK"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2547 $as_echo "$AWK" >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550 $as_echo "no" >&6; }
2554 test -n "$AWK" && break
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2558 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2560 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2561 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2562 $as_echo_n "(cached) " >&6
2564 cat >conftest.make <<\_ACEOF
2567 @echo '@@@%%%=$(MAKE)=@@@%%%'
2569 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2570 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2572 eval ac_cv_prog_make_${ac_make}_set=yes;;
2574 eval ac_cv_prog_make_${ac_make}_set=no;;
2578 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2580 $as_echo "yes" >&6; }
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2584 $as_echo "no" >&6; }
2585 SET_MAKE="MAKE=${MAKE-make}"
2588 rm -rf .tst 2>/dev/null
2589 mkdir .tst 2>/dev/null
2590 if test -d .tst; then
2595 rmdir .tst 2>/dev/null
2597 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2598 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2599 # is not polluted with repeated "-I."
2600 am__isrc=' -I$(srcdir)'
2601 # test to see if srcdir already configured
2602 if test -f $srcdir/config.status; then
2603 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2607 # test whether we have cygpath
2608 if test -z "$CYGPATH_W"; then
2609 if (cygpath --version) >/dev/null 2>/dev/null; then
2610 CYGPATH_W='cygpath -w'
2617 # Define the identity of the package.
2622 cat >>confdefs.h <<_ACEOF
2623 #define PACKAGE "$PACKAGE"
2627 cat >>confdefs.h <<_ACEOF
2628 #define VERSION "$VERSION"
2631 # Some tools Automake needs.
2633 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2636 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2639 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2642 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2645 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2647 # We need awk for the "check" target. The system "awk" is bad on
2649 # Always define AMTAR for backward compatibility.
2651 AMTAR=${AMTAR-"${am_missing_run}tar"}
2653 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2660 ac_config_headers="$ac_config_headers config.h"
2663 # Checks for programs.
2665 ac_cpp='$CPP $CPPFLAGS'
2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2669 if test -n "$ac_tool_prefix"; then
2670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2671 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_CC+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$CC"; then
2678 ac_cv_prog_CC="$CC" # Let the user override the test.
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir=.
2685 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 if test -n "$CC"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2700 $as_echo "$CC" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2708 if test -z "$ac_cv_prog_CC"; then
2710 # Extract the first word of "gcc", so it can be a program name with args.
2711 set dummy gcc; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$ac_ct_CC"; then
2718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir=.
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_ac_ct_CC="gcc"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2738 if test -n "$ac_ct_CC"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2740 $as_echo "$ac_ct_CC" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2746 if test "x$ac_ct_CC" = x; then
2749 case $cross_compiling:$ac_tool_warned in
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned=yes ;;
2761 if test -z "$CC"; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2764 set dummy ${ac_tool_prefix}cc; ac_word=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC="$CC" # Let the user override the test.
2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir=.
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_CC="${ac_tool_prefix}cc"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 # Extract the first word of "cc", so it can be a program name with args.
2804 set dummy cc; ac_word=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC="$CC" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2822 ac_prog_rejected=yes
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test $ac_prog_rejected = yes; then
2834 # We found a bogon in the path, so make sure we never use it.
2835 set dummy $ac_cv_prog_CC
2837 if test $# != 0; then
2838 # We chose a different compiler from the bogus one.
2839 # However, it has the same basename, so the bogon will be chosen
2840 # first if we set CC to just the basename; use the full file name.
2842 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2848 if test -n "$CC"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2850 $as_echo "$CC" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2858 if test -z "$CC"; then
2859 if test -n "$ac_tool_prefix"; then
2860 for ac_prog in cl.exe
2862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_CC+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CC"; then
2870 ac_cv_prog_CC="$CC" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CC"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2892 $as_echo "$CC" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$CC" && break
2902 if test -z "$CC"; then
2904 for ac_prog in cl.exe
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy $ac_prog; ac_word=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_CC"; then
2914 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir=.
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_ac_ct_CC="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2934 if test -n "$ac_ct_CC"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2936 $as_echo "$ac_ct_CC" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$ac_ct_CC" && break
2946 if test "x$ac_ct_CC" = x; then
2949 case $cross_compiling:$ac_tool_warned in
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2953 ac_tool_warned=yes ;;
2962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 as_fn_error "no acceptable C compiler found in \$PATH
2965 See \`config.log' for more details." "$LINENO" 5; }
2967 # Provide some information about the compiler.
2968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2971 for ac_option in --version -v -V -qversion; do
2972 { { ac_try="$ac_compiler $ac_option >&5"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2981 if test -s conftest.err; then
2983 ... rest of stderr output deleted ...
2984 10q' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2986 rm -f conftest.er1 conftest.err
2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; }
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2998 FILE *f = fopen ("conftest.out", "w");
2999 return ferror (f) || fclose (f) != 0;
3005 ac_clean_files_save=$ac_clean_files
3006 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3007 # Try to create an executable without -o first, disregard a.out.
3008 # It will help us diagnose broken compilers, and finding out an intuition
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3011 $as_echo_n "checking for C compiler default output file name... " >&6; }
3012 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3014 # The possible output files:
3015 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3018 for ac_file in $ac_files
3021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3022 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3027 if { { ac_try="$ac_link_default"
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3033 $as_echo "$ac_try_echo"; } >&5
3034 (eval "$ac_link_default") 2>&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3037 test $ac_status = 0; }; then :
3038 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3039 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3040 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3041 # so that the user can short-circuit this test for compilers unknown to
3043 for ac_file in $ac_files ''
3045 test -f "$ac_file" || continue
3047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3050 # We found the default executable, but exeext='' is most
3054 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3056 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3058 # We set ac_cv_exeext here because the later test for it is not
3059 # safe: cross compilers may not add the suffix if given an `-o'
3060 # argument, so we may need to know it at that point already.
3061 # Even if this section looks crufty: it has the advantage of
3068 test "$ac_cv_exeext" = no && ac_cv_exeext=
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3074 $as_echo "$ac_file" >&6; }
3075 if test -z "$ac_file"; then :
3076 $as_echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.$ac_ext >&5
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 { as_fn_set_status 77
3082 as_fn_error "C compiler cannot create executables
3083 See \`config.log' for more details." "$LINENO" 5; }; }
3085 ac_exeext=$ac_cv_exeext
3087 # Check that the compiler produces executables we can run. If not, either
3088 # the compiler is broken, or we cross compile.
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3090 $as_echo_n "checking whether the C compiler works... " >&6; }
3091 # If not cross compiling, check that we can run a simple program.
3092 if test "$cross_compiling" != yes; then
3093 if { ac_try='./$ac_file'
3094 { { case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_try") 2>&5
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; }; then
3106 if test "$cross_compiling" = maybe; then
3109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111 as_fn_error "cannot run C compiled programs.
3112 If you meant to cross compile, use \`--host'.
3113 See \`config.log' for more details." "$LINENO" 5; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3118 $as_echo "yes" >&6; }
3120 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3121 ac_clean_files=$ac_clean_files_save
3122 # Check that the compiler produces executables we can run. If not, either
3123 # the compiler is broken, or we cross compile.
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3125 $as_echo_n "checking whether we are cross compiling... " >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3127 $as_echo "$cross_compiling" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3130 $as_echo_n "checking for suffix of executables... " >&6; }
3131 if { { ac_try="$ac_link"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link") 2>&5
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }; then :
3142 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3143 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3144 # work properly (i.e., refer to `conftest.exe'), while it won't with
3146 for ac_file in conftest.exe conftest conftest.*; do
3147 test -f "$ac_file" || continue
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3150 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3158 as_fn_error "cannot compute suffix of executables: cannot compile and link
3159 See \`config.log' for more details." "$LINENO" 5; }
3161 rm -f conftest$ac_cv_exeext
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3163 $as_echo "$ac_cv_exeext" >&6; }
3165 rm -f conftest.$ac_ext
3166 EXEEXT=$ac_cv_exeext
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3169 $as_echo_n "checking for suffix of object files... " >&6; }
3170 if test "${ac_cv_objext+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 rm -f conftest.o conftest.obj
3185 if { { ac_try="$ac_compile"
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3191 $as_echo "$ac_try_echo"; } >&5
3192 (eval "$ac_compile") 2>&5
3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195 test $ac_status = 0; }; then :
3196 for ac_file in conftest.o conftest.obj conftest.*; do
3197 test -f "$ac_file" || continue;
3199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3205 $as_echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3210 as_fn_error "cannot compute suffix of object files: cannot compile
3211 See \`config.log' for more details." "$LINENO" 5; }
3213 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3216 $as_echo "$ac_cv_objext" >&6; }
3217 OBJEXT=$ac_cv_objext
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3220 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3221 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3222 $as_echo_n "(cached) " >&6
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3238 if ac_fn_c_try_compile "$LINENO"; then :
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3248 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3249 if test $ac_compiler_gnu = yes; then
3254 ac_test_CFLAGS=${CFLAGS+set}
3255 ac_save_CFLAGS=$CFLAGS
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3257 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3258 if test "${ac_cv_prog_cc_g+set}" = set; then :
3259 $as_echo_n "(cached) " >&6
3261 ac_save_c_werror_flag=$ac_c_werror_flag
3262 ac_c_werror_flag=yes
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3276 if ac_fn_c_try_compile "$LINENO"; then :
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3294 ac_c_werror_flag=$ac_save_c_werror_flag
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3307 if ac_fn_c_try_compile "$LINENO"; then :
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 ac_c_werror_flag=$ac_save_c_werror_flag
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3318 $as_echo "$ac_cv_prog_cc_g" >&6; }
3319 if test "$ac_test_CFLAGS" = set; then
3320 CFLAGS=$ac_save_CFLAGS
3321 elif test $ac_cv_prog_cc_g = yes; then
3322 if test "$GCC" = yes; then
3328 if test "$GCC" = yes; then
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3335 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3336 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3337 $as_echo_n "(cached) " >&6
3339 ac_cv_prog_cc_c89=no
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3345 #include <sys/types.h>
3346 #include <sys/stat.h>
3347 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3348 struct buf { int x; };
3349 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3350 static char *e (p, i)
3356 static char *f (char * (*g) (char **, int), char **p, ...)
3361 s = g (p, va_arg (v,int));
3366 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3367 function prototypes and stuff, but not '\xHH' hex character constants.
3368 These don't provoke an error unfortunately, instead are silently treated
3369 as 'x'. The following induces an error, until -std is added to get
3370 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3371 array size at least. It's necessary to write '\x00'==0 to get something
3372 that's true only with -std. */
3373 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3375 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3376 inside strings and character constants. */
3378 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3380 int test (int i, double x);
3381 struct s1 {int (*f) (int a);};
3382 struct s2 {int (*f) (double a);};
3383 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3389 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3394 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3395 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3397 CC="$ac_save_CC $ac_arg"
3398 if ac_fn_c_try_compile "$LINENO"; then :
3399 ac_cv_prog_cc_c89=$ac_arg
3401 rm -f core conftest.err conftest.$ac_objext
3402 test "x$ac_cv_prog_cc_c89" != "xno" && break
3404 rm -f conftest.$ac_ext
3409 case "x$ac_cv_prog_cc_c89" in
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3412 $as_echo "none needed" >&6; } ;;
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3415 $as_echo "unsupported" >&6; } ;;
3417 CC="$CC $ac_cv_prog_cc_c89"
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3419 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3421 if test "x$ac_cv_prog_cc_c89" != xno; then :
3426 ac_cpp='$CPP $CPPFLAGS'
3427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3430 DEPDIR="${am__leading_dot}deps"
3432 ac_config_commands="$ac_config_commands depfiles"
3435 am_make=${MAKE-make}
3436 cat > confinc << 'END'
3438 @echo this is the am__doit target
3441 # If we don't find an include directive, just comment out the code.
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3443 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3447 # First try GNU make style include.
3448 echo "include confinc" > confmf
3449 # Ignore all kinds of additional output from `make'.
3450 case `$am_make -s -f confmf 2> /dev/null` in #(
3451 *the\ am__doit\ target*)
3457 # Now try BSD make style include.
3458 if test "$am__include" = "#"; then
3459 echo '.include "confinc"' > confmf
3460 case `$am_make -s -f confmf 2> /dev/null` in #(
3461 *the\ am__doit\ target*)
3462 am__include=.include
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3471 $as_echo "$_am_result" >&6; }
3472 rm -f confinc confmf
3474 # Check whether --enable-dependency-tracking was given.
3475 if test "${enable_dependency_tracking+set}" = set; then :
3476 enableval=$enable_dependency_tracking;
3479 if test "x$enable_dependency_tracking" != xno; then
3480 am_depcomp="$ac_aux_dir/depcomp"
3483 if test "x$enable_dependency_tracking" != xno; then
3493 depcc="$CC" am_compiler_list=
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3496 $as_echo_n "checking dependency style of $depcc... " >&6; }
3497 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3500 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3501 # We make a subdir and do the tests there. Otherwise we can end up
3502 # making bogus files that we don't know about and never remove. For
3503 # instance it was reported that on HP-UX the gcc test will end up
3504 # making a dummy file named `D' -- because `-MD' means `put the output
3507 # Copy depcomp to subdir because otherwise we won't find it if we're
3508 # using a relative directory.
3509 cp "$am_depcomp" conftest.dir
3511 # We will build objects and dependencies in a subdirectory because
3512 # it helps to detect inapplicable dependency modes. For instance
3513 # both Tru64's cc and ICC support -MD to output dependencies as a
3514 # side effect of compilation, but ICC will put the dependencies in
3515 # the current directory while Tru64 will put them in the object
3519 am_cv_CC_dependencies_compiler_type=none
3520 if test "$am_compiler_list" = ""; then
3521 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3524 case " $depcc " in #(
3525 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3528 for depmode in $am_compiler_list; do
3529 # Setup a source with many dependencies, because some compilers
3530 # like to wrap large dependency lists on column 80 (with \), and
3531 # we should not choose a depcomp mode which is confused by this.
3533 # We need to recreate these files for each test, as the compiler may
3534 # overwrite some of them when testing with obscure command lines.
3535 # This happens at least with the AIX C compiler.
3537 for i in 1 2 3 4 5 6; do
3538 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3539 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3540 # Solaris 8's {/usr,}/bin/sh.
3541 touch sub/conftst$i.h
3543 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3545 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3546 # mode. It turns out that the SunPro C++ compiler does not properly
3547 # handle `-M -o', and we need to detect this. Also, some Intel
3548 # versions had trouble with output in subdirs
3549 am__obj=sub/conftest.${OBJEXT-o}
3550 am__minus_obj="-o $am__obj"
3553 # This depmode causes a compiler race in universal mode.
3554 test "$am__universal" = false || continue
3557 # after this tag, mechanisms are not by side-effect, so they'll
3558 # only be used when explicitly requested
3559 if test "x$enable_dependency_tracking" = xyes; then
3565 msvisualcpp | msvcmsys)
3566 # This compiler won't grok `-c -o', but also, the minuso test has
3567 # not run yet. These depmodes are late enough in the game, and
3568 # so weak that their functioning should not be impacted.
3569 am__obj=conftest.${OBJEXT-o}
3574 if depmode=$depmode \
3575 source=sub/conftest.c object=$am__obj \
3576 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3577 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3578 >/dev/null 2>conftest.err &&
3579 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3580 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3581 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3582 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3583 # icc doesn't choke on unknown options, it will just issue warnings
3584 # or remarks (even with -Werror). So we grep stderr for any message
3585 # that says an option was ignored or not supported.
3586 # When given -MP, icc 7.0 and 7.1 complain thusly:
3587 # icc: Command line warning: ignoring option '-M'; no argument required
3588 # The diagnosis changed in icc 8.0:
3589 # icc: Command line remark: option '-MP' not supported
3590 if (grep 'ignoring option' conftest.err ||
3591 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3592 am_cv_CC_dependencies_compiler_type=$depmode
3601 am_cv_CC_dependencies_compiler_type=none
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3606 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3607 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3610 test "x$enable_dependency_tracking" != xno \
3611 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3613 am__fastdepCC_FALSE='#'
3615 am__fastdepCC_TRUE='#'
3616 am__fastdepCC_FALSE=
3621 # Checks for libraries.
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
3625 $as_echo_n "checking for main in -lm... " >&6; }
3626 if test "${ac_cv_lib_m_main+set}" = set; then :
3627 $as_echo_n "(cached) " >&6
3629 ac_check_lib_save_LIBS=$LIBS
3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3643 if ac_fn_c_try_link "$LINENO"; then :
3644 ac_cv_lib_m_main=yes
3648 rm -f core conftest.err conftest.$ac_objext \
3649 conftest$ac_exeext conftest.$ac_ext
3650 LIBS=$ac_check_lib_save_LIBS
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
3653 $as_echo "$ac_cv_lib_m_main" >&6; }
3654 if test "x$ac_cv_lib_m_main" = x""yes; then :
3655 cat >>confdefs.h <<_ACEOF
3664 # Checks for header files.
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3671 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3672 # On Suns, sometimes $CPP names a directory.
3673 if test -n "$CPP" && test -d "$CPP"; then
3676 if test -z "$CPP"; then
3677 if test "${ac_cv_prog_CPP+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 # Double quotes because CPP needs to be expanded
3681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3684 for ac_c_preproc_warn_flag in '' yes
3686 # Use a header file that comes with gcc, so configuring glibc
3687 # with a fresh cross-compiler works.
3688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3689 # <limits.h> exists even on freestanding compilers.
3690 # On the NeXT, cc -E runs the code through the compiler's parser,
3691 # not just through cpp. "Syntax error" is here to catch this case.
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3695 # include <limits.h>
3697 # include <assert.h>
3701 if ac_fn_c_try_cpp "$LINENO"; then :
3704 # Broken: fails on valid input.
3707 rm -f conftest.err conftest.$ac_ext
3709 # OK, works on sane cases. Now check whether nonexistent headers
3710 # can be detected and how.
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3713 #include <ac_nonexistent.h>
3715 if ac_fn_c_try_cpp "$LINENO"; then :
3716 # Broken: success on invalid input.
3719 # Passes both tests.
3723 rm -f conftest.err conftest.$ac_ext
3726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3727 rm -f conftest.err conftest.$ac_ext
3728 if $ac_preproc_ok; then :
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3741 $as_echo "$CPP" >&6; }
3743 for ac_c_preproc_warn_flag in '' yes
3745 # Use a header file that comes with gcc, so configuring glibc
3746 # with a fresh cross-compiler works.
3747 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3748 # <limits.h> exists even on freestanding compilers.
3749 # On the NeXT, cc -E runs the code through the compiler's parser,
3750 # not just through cpp. "Syntax error" is here to catch this case.
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3754 # include <limits.h>
3756 # include <assert.h>
3760 if ac_fn_c_try_cpp "$LINENO"; then :
3763 # Broken: fails on valid input.
3766 rm -f conftest.err conftest.$ac_ext
3768 # OK, works on sane cases. Now check whether nonexistent headers
3769 # can be detected and how.
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3772 #include <ac_nonexistent.h>
3774 if ac_fn_c_try_cpp "$LINENO"; then :
3775 # Broken: success on invalid input.
3778 # Passes both tests.
3782 rm -f conftest.err conftest.$ac_ext
3785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3786 rm -f conftest.err conftest.$ac_ext
3787 if $ac_preproc_ok; then :
3790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3792 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3793 See \`config.log' for more details." "$LINENO" 5; }
3797 ac_cpp='$CPP $CPPFLAGS'
3798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3804 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3805 if test "${ac_cv_path_GREP+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -z "$GREP"; then
3809 ac_path_GREP_found=false
3810 # Loop through the user's path and test for each of PROGNAME-LIST
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3815 test -z "$as_dir" && as_dir=.
3816 for ac_prog in grep ggrep; do
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3819 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3820 # Check for GNU ac_path_GREP and select it if it is found.
3821 # Check for GNU $ac_path_GREP
3822 case `"$ac_path_GREP" --version 2>&1` in
3824 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3827 $as_echo_n 0123456789 >"conftest.in"
3830 cat "conftest.in" "conftest.in" >"conftest.tmp"
3831 mv "conftest.tmp" "conftest.in"
3832 cp "conftest.in" "conftest.nl"
3833 $as_echo 'GREP' >> "conftest.nl"
3834 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3836 as_fn_arith $ac_count + 1 && ac_count=$as_val
3837 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3838 # Best one so far, save it but keep looking for a better one
3839 ac_cv_path_GREP="$ac_path_GREP"
3840 ac_path_GREP_max=$ac_count
3842 # 10*(2^10) chars as input seems more than enough
3843 test $ac_count -gt 10 && break
3845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3848 $ac_path_GREP_found && break 3
3853 if test -z "$ac_cv_path_GREP"; then
3854 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3857 ac_cv_path_GREP=$GREP
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3862 $as_echo "$ac_cv_path_GREP" >&6; }
3863 GREP="$ac_cv_path_GREP"
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3867 $as_echo_n "checking for egrep... " >&6; }
3868 if test "${ac_cv_path_EGREP+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3872 then ac_cv_path_EGREP="$GREP -E"
3874 if test -z "$EGREP"; then
3875 ac_path_EGREP_found=false
3876 # Loop through the user's path and test for each of PROGNAME-LIST
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3881 test -z "$as_dir" && as_dir=.
3882 for ac_prog in egrep; do
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3885 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3886 # Check for GNU ac_path_EGREP and select it if it is found.
3887 # Check for GNU $ac_path_EGREP
3888 case `"$ac_path_EGREP" --version 2>&1` in
3890 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3893 $as_echo_n 0123456789 >"conftest.in"
3896 cat "conftest.in" "conftest.in" >"conftest.tmp"
3897 mv "conftest.tmp" "conftest.in"
3898 cp "conftest.in" "conftest.nl"
3899 $as_echo 'EGREP' >> "conftest.nl"
3900 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3901 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3902 as_fn_arith $ac_count + 1 && ac_count=$as_val
3903 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3904 # Best one so far, save it but keep looking for a better one
3905 ac_cv_path_EGREP="$ac_path_EGREP"
3906 ac_path_EGREP_max=$ac_count
3908 # 10*(2^10) chars as input seems more than enough
3909 test $ac_count -gt 10 && break
3911 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3914 $ac_path_EGREP_found && break 3
3919 if test -z "$ac_cv_path_EGREP"; then
3920 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3923 ac_cv_path_EGREP=$EGREP
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3929 $as_echo "$ac_cv_path_EGREP" >&6; }
3930 EGREP="$ac_cv_path_EGREP"
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3934 $as_echo_n "checking for ANSI C header files... " >&6; }
3935 if test "${ac_cv_header_stdc+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3953 if ac_fn_c_try_compile "$LINENO"; then :
3954 ac_cv_header_stdc=yes
3956 ac_cv_header_stdc=no
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 if test $ac_cv_header_stdc = yes; then
3961 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3968 $EGREP "memchr" >/dev/null 2>&1; then :
3971 ac_cv_header_stdc=no
3977 if test $ac_cv_header_stdc = yes; then
3978 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3985 $EGREP "free" >/dev/null 2>&1; then :
3988 ac_cv_header_stdc=no
3994 if test $ac_cv_header_stdc = yes; then
3995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3996 if test "$cross_compiling" = yes; then :
3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4003 #if ((' ' & 0x0FF) == 0x020)
4004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4007 # define ISLOWER(c) \
4008 (('a' <= (c) && (c) <= 'i') \
4009 || ('j' <= (c) && (c) <= 'r') \
4010 || ('s' <= (c) && (c) <= 'z'))
4011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4019 for (i = 0; i < 256; i++)
4020 if (XOR (islower (i), ISLOWER (i))
4021 || toupper (i) != TOUPPER (i))
4026 if ac_fn_c_try_run "$LINENO"; then :
4029 ac_cv_header_stdc=no
4031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4032 conftest.$ac_objext conftest.beam conftest.$ac_ext
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4038 $as_echo "$ac_cv_header_stdc" >&6; }
4039 if test $ac_cv_header_stdc = yes; then
4041 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4045 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4046 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4047 inttypes.h stdint.h unistd.h
4049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4052 eval as_val=\$$as_ac_Header
4053 if test "x$as_val" = x""yes; then :
4054 cat >>confdefs.h <<_ACEOF
4055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4063 for ac_header in stdlib.h string.h sys/time.h unistd.h
4065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4066 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4067 eval as_val=\$$as_ac_Header
4068 if test "x$as_val" = x""yes; then :
4069 cat >>confdefs.h <<_ACEOF
4070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4078 # Checks for typedefs, structures, and compiler characteristics.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4080 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4081 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4087 #include <stdbool.h>
4089 "error: bool is not defined"
4092 "error: false is not defined"
4095 "error: false is not 0"
4098 "error: true is not defined"
4101 "error: true is not 1"
4103 #ifndef __bool_true_false_are_defined
4104 "error: __bool_true_false_are_defined is not defined"
4107 struct s { _Bool s: 1; _Bool t; } s;
4109 char a[true == 1 ? 1 : -1];
4110 char b[false == 0 ? 1 : -1];
4111 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4112 char d[(bool) 0.5 == true ? 1 : -1];
4114 char f[(_Bool) 0.0 == false ? 1 : -1];
4116 char h[sizeof (_Bool)];
4118 enum { j = false, k = true, l = false * true, m = true * 256 };
4119 /* The following fails for
4120 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4122 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4123 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4124 # if defined __xlc__ || defined __GNUC__
4125 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4126 reported by James Lemley on 2005-10-05; see
4127 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4128 This test is not quite right, since xlc is allowed to
4129 reject this program, as the initializer for xlcbug is
4130 not one of the forms that C requires support for.
4131 However, doing the test right would require a runtime
4132 test, and that would make cross-compilation harder.
4133 Let us hope that IBM fixes the xlc bug, and also adds
4134 support for this kind of constant expression. In the
4135 meantime, this test will reject xlc, which is OK, since
4136 our stdbool.h substitute should suffice. We also test
4137 this with GCC, where it should work, to detect more
4138 quickly whether someone messes up the test in the
4140 char digs[] = "0123456789";
4141 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4143 /* Catch a bug in an HP-UX C compiler. See
4144 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4145 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4156 /* Refer to every declared value, to avoid compiler optimizations. */
4157 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4158 + !m + !n + !o + !p + !q + !pq);
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_cv_header_stdbool_h=yes
4167 ac_cv_header_stdbool_h=no
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4172 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4173 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4174 if test "x$ac_cv_type__Bool" = x""yes; then :
4176 cat >>confdefs.h <<_ACEOF
4177 #define HAVE__BOOL 1
4183 if test $ac_cv_header_stdbool_h = yes; then
4185 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4190 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4191 if test "${ac_cv_c_const+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4200 /* FIXME: Include the comments suggested by Paul. */
4202 /* Ultrix mips cc rejects this. */
4203 typedef int charset[2];
4205 /* SunOS 4.1.1 cc rejects this. */
4206 char const *const *pcpcc;
4208 /* NEC SVR4.0.2 mips cc rejects this. */
4209 struct point {int x, y;};
4210 static struct point const zero = {0,0};
4211 /* AIX XL C 1.02.0.0 rejects this.
4212 It does not let you subtract one const X* pointer from another in
4213 an arm of an if-expression whose if-part is not a constant
4215 const char *g = "string";
4216 pcpcc = &g + (g ? g-g : 0);
4217 /* HPUX 7.0 cc rejects these. */
4219 ppc = (char**) pcpcc;
4220 pcpcc = (char const *const *) ppc;
4221 { /* SCO 3.2v4 cc rejects this. */
4223 char const *s = 0 ? (char *) 0 : (char const *) 0;
4228 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4230 const int *foo = &x[0];
4233 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4234 typedef const int *iptr;
4238 { /* AIX XL C 1.02.0.0 rejects this saying
4239 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4240 struct s { int j; const int *ap[3]; };
4241 struct s *b; b->j = 5;
4243 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4247 return !cs[0] && !zero.x;
4254 if ac_fn_c_try_compile "$LINENO"; then :
4259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4262 $as_echo "$ac_cv_c_const" >&6; }
4263 if test $ac_cv_c_const = no; then
4265 $as_echo "#define const /**/" >>confdefs.h
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4270 $as_echo_n "checking for inline... " >&6; }
4271 if test "${ac_cv_c_inline+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4275 for ac_kw in inline __inline__ __inline; do
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4280 static $ac_kw foo_t static_foo () {return 0; }
4281 $ac_kw foo_t foo () {return 0; }
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 ac_cv_c_inline=$ac_kw
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4289 test "$ac_cv_c_inline" != no && break
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4294 $as_echo "$ac_cv_c_inline" >&6; }
4296 case $ac_cv_c_inline in
4299 case $ac_cv_c_inline in
4301 *) ac_val=$ac_cv_c_inline;;
4303 cat >>confdefs.h <<_ACEOF
4305 #define inline $ac_val
4311 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4312 if test "x$ac_cv_type_pid_t" = x""yes; then :
4316 cat >>confdefs.h <<_ACEOF
4322 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4323 if test "x$ac_cv_type_size_t" = x""yes; then :
4327 cat >>confdefs.h <<_ACEOF
4328 #define size_t unsigned int
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4334 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4335 if test "${ac_cv_header_time+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4340 #include <sys/types.h>
4341 #include <sys/time.h>
4347 if ((struct tm *) 0)
4353 if ac_fn_c_try_compile "$LINENO"; then :
4354 ac_cv_header_time=yes
4356 ac_cv_header_time=no
4358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4361 $as_echo "$ac_cv_header_time" >&6; }
4362 if test $ac_cv_header_time = yes; then
4364 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4369 # Checks for library functions.
4370 for ac_header in vfork.h
4372 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4373 if test "x$ac_cv_header_vfork_h" = x""yes; then :
4374 cat >>confdefs.h <<_ACEOF
4375 #define HAVE_VFORK_H 1
4382 for ac_func in fork vfork
4384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4386 eval as_val=\$$as_ac_var
4387 if test "x$as_val" = x""yes; then :
4388 cat >>confdefs.h <<_ACEOF
4389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4395 if test "x$ac_cv_func_fork" = xyes; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4397 $as_echo_n "checking for working fork... " >&6; }
4398 if test "${ac_cv_func_fork_works+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4401 if test "$cross_compiling" = yes; then :
4402 ac_cv_func_fork_works=cross
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4406 $ac_includes_default
4411 /* By Ruediger Kuhlmann. */
4418 if ac_fn_c_try_run "$LINENO"; then :
4419 ac_cv_func_fork_works=yes
4421 ac_cv_func_fork_works=no
4423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4424 conftest.$ac_objext conftest.beam conftest.$ac_ext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4429 $as_echo "$ac_cv_func_fork_works" >&6; }
4432 ac_cv_func_fork_works=$ac_cv_func_fork
4434 if test "x$ac_cv_func_fork_works" = xcross; then
4436 *-*-amigaos* | *-*-msdosdjgpp*)
4437 # Override, as these systems have only a dummy fork() stub
4438 ac_cv_func_fork_works=no
4441 ac_cv_func_fork_works=yes
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4445 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4447 ac_cv_func_vfork_works=$ac_cv_func_vfork
4448 if test "x$ac_cv_func_vfork" = xyes; then
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4450 $as_echo_n "checking for working vfork... " >&6; }
4451 if test "${ac_cv_func_vfork_works+set}" = set; then :
4452 $as_echo_n "(cached) " >&6
4454 if test "$cross_compiling" = yes; then :
4455 ac_cv_func_vfork_works=cross
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4459 /* Thanks to Paul Eggert for this test. */
4460 $ac_includes_default
4461 #include <sys/wait.h>
4465 /* On some sparc systems, changes by the child to local and incoming
4466 argument registers are propagated back to the parent. The compiler
4467 is told about this with #include <vfork.h>, but some compilers
4468 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4469 static variable whose address is put into a register that is
4470 clobbered by the vfork. */
4473 sparc_address_test (int arg)
4475 sparc_address_test (arg) int arg;
4496 pid_t parent = getpid ();
4499 sparc_address_test (0);
4504 /* Here is another test for sparc vfork register problems. This
4505 test uses lots of local variables, at least as many local
4506 variables as main has allocated so far including compiler
4507 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4508 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4509 reuse the register of parent for one of the local variables,
4510 since it will think that parent can't possibly be used any more
4511 in this routine. Assigning to the local variable will thus
4512 munge parent in the parent process. */
4514 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4515 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4516 /* Convince the compiler that p..p7 are live; otherwise, it might
4517 use the same hardware register for all 8 local variables. */
4518 if (p != p1 || p != p2 || p != p3 || p != p4
4519 || p != p5 || p != p6 || p != p7)
4522 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4523 from child file descriptors. If the child closes a descriptor
4524 before it execs or exits, this munges the parent's descriptor
4525 as well. Test for this by closing stdout in the child. */
4526 _exit(close(fileno(stdout)) != 0);
4531 while (wait(&status) != child)
4534 /* Was there some problem with vforking? */
4537 /* Did the child fail? (This shouldn't happen.) */
4540 /* Did the vfork/compiler bug occur? */
4541 || parent != getpid()
4543 /* Did the file descriptor bug occur? */
4544 || fstat(fileno(stdout), &st) != 0
4549 if ac_fn_c_try_run "$LINENO"; then :
4550 ac_cv_func_vfork_works=yes
4552 ac_cv_func_vfork_works=no
4554 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4555 conftest.$ac_objext conftest.beam conftest.$ac_ext
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
4560 $as_echo "$ac_cv_func_vfork_works" >&6; }
4563 if test "x$ac_cv_func_fork_works" = xcross; then
4564 ac_cv_func_vfork_works=$ac_cv_func_vfork
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4566 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4569 if test "x$ac_cv_func_vfork_works" = xyes; then
4571 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
4575 $as_echo "#define vfork fork" >>confdefs.h
4578 if test "x$ac_cv_func_fork_works" = xyes; then
4580 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
4584 for ac_header in stdlib.h
4586 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4587 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4588 cat >>confdefs.h <<_ACEOF
4589 #define HAVE_STDLIB_H 1
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4597 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4598 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 if test "$cross_compiling" = yes; then :
4602 ac_cv_func_malloc_0_nonnull=no
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4606 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4607 # include <stdlib.h>
4615 return ! malloc (0);
4620 if ac_fn_c_try_run "$LINENO"; then :
4621 ac_cv_func_malloc_0_nonnull=yes
4623 ac_cv_func_malloc_0_nonnull=no
4625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4626 conftest.$ac_objext conftest.beam conftest.$ac_ext
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4631 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4632 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4634 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4637 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4639 case " $LIBOBJS " in
4640 *" malloc.$ac_objext "* ) ;;
4641 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4646 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4651 for ac_header in stdlib.h
4653 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4654 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4655 cat >>confdefs.h <<_ACEOF
4656 #define HAVE_STDLIB_H 1
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4664 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4665 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4666 $as_echo_n "(cached) " >&6
4668 if test "$cross_compiling" = yes; then :
4669 ac_cv_func_realloc_0_nonnull=no
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4674 # include <stdlib.h>
4682 return ! realloc (0, 0);
4687 if ac_fn_c_try_run "$LINENO"; then :
4688 ac_cv_func_realloc_0_nonnull=yes
4690 ac_cv_func_realloc_0_nonnull=no
4692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4693 conftest.$ac_objext conftest.beam conftest.$ac_ext
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4698 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4699 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4701 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4704 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4706 case " $LIBOBJS " in
4707 *" realloc.$ac_objext "* ) ;;
4708 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4713 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4718 for ac_header in sys/select.h sys/socket.h
4720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4722 eval as_val=\$$as_ac_Header
4723 if test "x$as_val" = x""yes; then :
4724 cat >>confdefs.h <<_ACEOF
4725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4733 $as_echo_n "checking types of arguments for select... " >&6; }
4734 if test "${ac_cv_func_select_args+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4737 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
4738 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4739 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4742 $ac_includes_default
4743 #ifdef HAVE_SYS_SELECT_H
4744 # include <sys/select.h>
4746 #ifdef HAVE_SYS_SOCKET_H
4747 # include <sys/socket.h>
4753 extern int select ($ac_arg1,
4754 $ac_arg234, $ac_arg234, $ac_arg234,
4760 if ac_fn_c_try_compile "$LINENO"; then :
4761 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767 # Provide a safe default value.
4768 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4772 $as_echo "$ac_cv_func_select_args" >&6; }
4773 ac_save_IFS=$IFS; IFS=','
4774 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4778 cat >>confdefs.h <<_ACEOF
4779 #define SELECT_TYPE_ARG1 $1
4783 cat >>confdefs.h <<_ACEOF
4784 #define SELECT_TYPE_ARG234 ($2)
4788 cat >>confdefs.h <<_ACEOF
4789 #define SELECT_TYPE_ARG5 ($3)
4794 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4797 ac_cv_func_setvbuf_reversed=no
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4802 $as_echo_n "checking return type of signal handlers... " >&6; }
4803 if test "${ac_cv_type_signal+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4808 #include <sys/types.h>
4814 return *(signal (0, 0)) (0) == 1;
4819 if ac_fn_c_try_compile "$LINENO"; then :
4820 ac_cv_type_signal=int
4822 ac_cv_type_signal=void
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4827 $as_echo "$ac_cv_type_signal" >&6; }
4829 cat >>confdefs.h <<_ACEOF
4830 #define RETSIGTYPE $ac_cv_type_signal
4834 for ac_func in vprintf
4836 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4837 if test "x$ac_cv_func_vprintf" = x""yes; then :
4838 cat >>confdefs.h <<_ACEOF
4839 #define HAVE_VPRINTF 1
4842 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4843 if test "x$ac_cv_func__doprnt" = x""yes; then :
4845 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4853 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
4855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4857 eval as_val=\$$as_ac_var
4858 if test "x$as_val" = x""yes; then :
4859 cat >>confdefs.h <<_ACEOF
4860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4868 ac_config_files="$ac_config_files Makefile"
4870 cat >confcache <<\_ACEOF
4871 # This file is a shell script that caches the results of configure
4872 # tests run on this system so they can be shared between configure
4873 # scripts and configure runs, see configure's option --config-cache.
4874 # It is not useful on other systems. If it contains results you don't
4875 # want to keep, you may remove or edit it.
4877 # config.status only pays attention to the cache file if you give it
4878 # the --recheck option to rerun configure.
4880 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4886 # The following way of writing the cache mishandles newlines in values,
4887 # but we know of no workaround that is simple, portable, and efficient.
4888 # So, we kill variables containing newlines.
4889 # Ultrix sh set writes to stderr and can't be redirected directly,
4890 # and sets the high bit in the cache file unless we assign to the vars.
4892 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4893 eval ac_val=\$$ac_var
4897 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4898 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4901 _ | IFS | as_nl) ;; #(
4902 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4903 *) { eval $ac_var=; unset $ac_var;} ;;
4909 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4910 *${as_nl}ac_space=\ *)
4911 # `set' does not quote correctly, so add quotes: double-quote
4912 # substitution turns \\\\ into \\, and sed turns \\ into \.
4915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4918 # `set' quotes correctly as required by POSIX, so do not add quotes.
4919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4930 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4932 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4933 if test -w "$cache_file"; then
4934 test "x$cache_file" != "x/dev/null" &&
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4936 $as_echo "$as_me: updating cache $cache_file" >&6;}
4937 cat confcache >$cache_file
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4940 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4945 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4946 # Let make expand exec_prefix.
4947 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4949 DEFS=-DHAVE_CONFIG_H
4953 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4954 # 1. Remove the extension, and $U if already installed.
4955 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4956 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4957 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4958 # will be set to the directory where LIBOBJS objects are built.
4959 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4960 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4964 LTLIBOBJS=$ac_ltlibobjs
4967 if test -n "$EXEEXT"; then
4969 am__EXEEXT_FALSE='#'
4975 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4976 as_fn_error "conditional \"AMDEP\" was never defined.
4977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4979 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4980 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4984 : ${CONFIG_STATUS=./config.status}
4986 ac_clean_files_save=$ac_clean_files
4987 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4989 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4991 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4993 # Generated by $as_me.
4994 # Run this file to recreate the current configuration.
4995 # Compiler output produced by configure, useful for debugging
4996 # configure, is in config.log if it exists.
5002 SHELL=\${CONFIG_SHELL-$SHELL}
5005 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5006 ## -------------------- ##
5007 ## M4sh Initialization. ##
5008 ## -------------------- ##
5010 # Be more Bourne compatible
5011 DUALCASE=1; export DUALCASE # for MKS sh
5012 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5015 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5016 # is contrary to our usage. Disable this feature.
5017 alias -g '${1+"$@"}'='"$@"'
5018 setopt NO_GLOB_SUBST
5020 case `(set -o) 2>/dev/null` in #(
5032 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5033 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5034 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5035 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5036 # Prefer a ksh shell builtin over an external printf program on Solaris,
5037 # but without wasting forks for bash or zsh.
5038 if test -z "$BASH_VERSION$ZSH_VERSION" \
5039 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5040 as_echo='print -r --'
5041 as_echo_n='print -rn --'
5042 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5043 as_echo='printf %s\n'
5044 as_echo_n='printf %s'
5046 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5047 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5048 as_echo_n='/usr/ucb/echo -n'
5050 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5051 as_echo_n_body='eval
5055 expr "X$arg" : "X\\(.*\\)$as_nl";
5056 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5058 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5060 export as_echo_n_body
5061 as_echo_n='sh -c $as_echo_n_body as_echo'
5064 as_echo='sh -c $as_echo_body as_echo'
5067 # The user is always right.
5068 if test "${PATH_SEPARATOR+set}" != set; then
5070 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5071 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5078 # We need space, tab and new line, in precisely that order. Quoting is
5079 # there to prevent editors from complaining about space-tab.
5080 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5081 # splitting by setting IFS to empty value.)
5084 # Find who we are. Look in the path if we contain no directory separator.
5086 *[\\/]* ) as_myself=$0 ;;
5087 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir=.
5092 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5098 # We did not find ourselves, most probably we were run as `sh COMMAND'
5099 # in which case we are not to be found in the path.
5100 if test "x$as_myself" = x; then
5103 if test ! -f "$as_myself"; then
5104 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5108 # Unset variables that we do not need and which cause bugs (e.g. in
5109 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5110 # suppresses any "Segmentation fault" message there. '((' could
5111 # trigger a bug in pdksh 5.2.14.
5112 for as_var in BASH_ENV ENV MAIL MAILPATH
5113 do eval test x\${$as_var+set} = xset \
5114 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5127 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5130 # as_fn_error ERROR [LINENO LOG_FD]
5131 # ---------------------------------
5132 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5133 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5134 # script with status $?, using 1 if that was 0.
5137 as_status=$?; test $as_status -eq 0 && as_status=1
5139 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5140 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5142 $as_echo "$as_me: error: $1" >&2
5143 as_fn_exit $as_status
5147 # as_fn_set_status STATUS
5148 # -----------------------
5149 # Set $? to STATUS, without forking.
5153 } # as_fn_set_status
5157 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5167 # Portably unset VAR.
5170 { eval $1=; unset $1;}
5172 as_unset=as_fn_unset
5173 # as_fn_append VAR VALUE
5174 # ----------------------
5175 # Append the text in VALUE to the end of the definition contained in VAR. Take
5176 # advantage of any shell optimizations that allow amortized linear growth over
5177 # repeated appends, instead of the typical quadratic growth present in naive
5179 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5180 eval 'as_fn_append ()
5191 # as_fn_arith ARG...
5192 # ------------------
5193 # Perform arithmetic evaluation on the ARGs, and store the result in the
5194 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5195 # must be portable across $(()) and expr.
5196 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5197 eval 'as_fn_arith ()
5204 as_val=`expr "$@" || test $? -eq 1`
5209 if expr a : '\(a\)' >/dev/null 2>&1 &&
5210 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5216 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5217 as_basename=basename
5222 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5228 as_me=`$as_basename -- "$0" ||
5229 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5230 X"$0" : 'X\(//\)$' \| \
5231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5233 sed '/^.*\/\([^/][^/]*\)\/*$/{
5247 # Avoid depending upon Character Ranges.
5248 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5249 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5250 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5251 as_cr_digits='0123456789'
5252 as_cr_alnum=$as_cr_Letters$as_cr_digits
5254 ECHO_C= ECHO_N= ECHO_T=
5255 case `echo -n x` in #(((((
5257 case `echo 'xy\c'` in
5258 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5260 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5267 rm -f conf$$ conf$$.exe conf$$.file
5268 if test -d conf$$.dir; then
5269 rm -f conf$$.dir/conf$$.file
5272 mkdir conf$$.dir 2>/dev/null
5274 if (echo >conf$$.file) 2>/dev/null; then
5275 if ln -s conf$$.file conf$$ 2>/dev/null; then
5277 # ... but there are two gotchas:
5278 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5279 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5280 # In both cases, we have to default to `cp -p'.
5281 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5283 elif ln conf$$.file conf$$ 2>/dev/null; then
5291 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5292 rmdir conf$$.dir 2>/dev/null
5297 # Create "$as_dir" as a directory, including parents if necessary.
5302 -*) as_dir=./$as_dir;;
5304 test -d "$as_dir" || eval $as_mkdir_p || {
5308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5309 *) as_qdir=$as_dir;;
5311 as_dirs="'$as_qdir' $as_dirs"
5312 as_dir=`$as_dirname -- "$as_dir" ||
5313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5314 X"$as_dir" : 'X\(//\)[^/]' \| \
5315 X"$as_dir" : 'X\(//\)$' \| \
5316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5317 $as_echo X"$as_dir" |
5318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5335 test -d "$as_dir" && break
5337 test -z "$as_dirs" || eval "mkdir $as_dirs"
5338 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5342 if mkdir -p . 2>/dev/null; then
5343 as_mkdir_p='mkdir -p "$as_dir"'
5345 test -d ./-p && rmdir ./-p
5349 if test -x / >/dev/null 2>&1; then
5352 if ls -dL / >/dev/null 2>&1; then
5359 if test -d "$1"; then
5365 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5366 ???[sx]*):;;*)false;;esac;fi
5370 as_executable_p=$as_test_x
5372 # Sed expression to map a string onto a valid CPP name.
5373 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5375 # Sed expression to map a string onto a valid variable name.
5376 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5380 ## ----------------------------------- ##
5381 ## Main body of $CONFIG_STATUS script. ##
5382 ## ----------------------------------- ##
5384 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5386 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5387 # Save the log message, to keep $0 and so on meaningful, and to
5388 # report actual input values of CONFIG_FILES etc. instead of their
5389 # values after options handling.
5391 This file was extended by polyglot $as_me 1.4.60b, which was
5392 generated by GNU Autoconf 2.64. Invocation command line was
5394 CONFIG_FILES = $CONFIG_FILES
5395 CONFIG_HEADERS = $CONFIG_HEADERS
5396 CONFIG_LINKS = $CONFIG_LINKS
5397 CONFIG_COMMANDS = $CONFIG_COMMANDS
5400 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5405 case $ac_config_files in *"
5406 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5409 case $ac_config_headers in *"
5410 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5415 # Files that config.status was made for.
5416 config_files="$ac_config_files"
5417 config_headers="$ac_config_headers"
5418 config_commands="$ac_config_commands"
5422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5424 \`$as_me' instantiates files and other configuration actions
5425 from templates according to the current configuration. Unless the files
5426 and actions are specified as TAGs, all are instantiated by default.
5428 Usage: $0 [OPTION]... [TAG]...
5430 -h, --help print this help, then exit
5431 -V, --version print version number and configuration settings, then exit
5432 -q, --quiet, --silent
5433 do not print progress messages
5434 -d, --debug don't remove temporary files
5435 --recheck update $as_me by reconfiguring in the same conditions
5436 --file=FILE[:TEMPLATE]
5437 instantiate the configuration file FILE
5438 --header=FILE[:TEMPLATE]
5439 instantiate the configuration header FILE
5441 Configuration files:
5444 Configuration headers:
5447 Configuration commands:
5450 Report bugs to <michel.vandenbergh@uhasselt.be>."
5453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5455 polyglot config.status 1.4.60b
5456 configured by $0, generated by GNU Autoconf 2.64,
5457 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5459 Copyright (C) 2009 Free Software Foundation, Inc.
5460 This config.status script is free software; the Free Software Foundation
5461 gives unlimited permission to copy, distribute and modify it."
5468 test -n "\$AWK" || AWK=awk
5471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5472 # The default lists apply if the user does not specify any file.
5478 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5479 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5490 # Handling of the options.
5491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5493 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5494 $as_echo "$ac_cs_version"; exit ;;
5495 --debug | --debu | --deb | --de | --d | -d )
5497 --file | --fil | --fi | --f )
5500 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5502 as_fn_append CONFIG_FILES " '$ac_optarg'"
5503 ac_need_defaults=false;;
5504 --header | --heade | --head | --hea )
5507 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5509 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5510 ac_need_defaults=false;;
5512 # Conflict between --help and --header
5513 as_fn_error "ambiguous option: \`$1'
5514 Try \`$0 --help' for more information.";;
5515 --help | --hel | -h )
5516 $as_echo "$ac_cs_usage"; exit ;;
5517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5518 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5522 -*) as_fn_error "unrecognized option: \`$1'
5523 Try \`$0 --help' for more information." ;;
5525 *) as_fn_append ac_config_targets " $1"
5526 ac_need_defaults=false ;;
5532 ac_configure_extra_args=
5534 if $ac_cs_silent; then
5536 ac_configure_extra_args="$ac_configure_extra_args --silent"
5540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5541 if \$ac_cs_recheck; then
5542 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5544 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5545 CONFIG_SHELL='$SHELL'
5551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5556 ## Running $as_me. ##
5562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5566 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5572 # Handling of arguments.
5573 for ac_config_target in $ac_config_targets
5575 case $ac_config_target in
5576 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5577 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5578 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5580 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5585 # If the user did not use the arguments to specify the items to instantiate,
5586 # then the envvar interface is used. Set only those that are not.
5587 # We use the long form for the default assignment because of an extremely
5588 # bizarre bug on SunOS 4.1.3.
5589 if $ac_need_defaults; then
5590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5592 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5595 # Have a temporary directory for convenience. Make it in the build tree
5596 # simply because there is no reason against having it here, and in addition,
5597 # creating and moving files from /tmp can sometimes cause problems.
5598 # Hook for its removal unless debugging.
5599 # Note that there is a small window in which the directory will not be cleaned:
5600 # after its creation but before its name has been assigned to `$tmp'.
5604 trap 'exit_status=$?
5605 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5607 trap 'as_fn_exit 1' 1 2 13 15
5609 # Create a (secure) tmp directory for tmp files.
5612 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5613 test -n "$tmp" && test -d "$tmp"
5616 tmp=./conf$$-$RANDOM
5617 (umask 077 && mkdir "$tmp")
5618 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5620 # Set up the scripts for CONFIG_FILES section.
5621 # No need to generate them if there are no CONFIG_FILES.
5622 # This happens for instance with `./config.status config.h'.
5623 if test -n "$CONFIG_FILES"; then
5626 ac_cr=`echo X | tr X '\015'`
5627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5628 # But we know of no other shell where ac_cr would be empty at this
5629 # point, so we can use a bashism as a fallback.
5630 if test "x$ac_cr" = x; then
5631 eval ac_cr=\$\'\\r\'
5633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5640 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5645 echo "cat >conf$$subs.awk <<_ACEOF" &&
5646 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5649 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5652 for ac_last_try in false false false false false :; do
5653 . ./conf$$subs.sh ||
5654 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5656 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5657 if test $ac_delim_n = $ac_delim_num; then
5659 elif $ac_last_try; then
5660 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5668 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5672 s/^/S["/; s/!.*/"]=/
5682 s/\(.\{148\}\).*/\1/
5684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5696 s/\(.\{148\}\).*/\1/
5698 s/["\\]/\\&/g; s/^/"/; s/$/"/
5702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5707 ' <conf$$subs.awk | sed '
5712 ' >>$CONFIG_STATUS || ac_write_fail=1
5713 rm -f conf$$subs.awk
5714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5716 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5717 for (key in S) S_is_set[key] = 1
5723 nfields = split(line, field, "@")
5725 len = length(field[1])
5726 for (i = 2; i < nfields; i++) {
5728 keylen = length(key)
5729 if (S_is_set[key]) {
5731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5732 len += length(value) + length(field[++i])
5743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5745 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5748 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5749 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5754 # trailing colons and then remove the whole line if VPATH becomes empty
5755 # (actually we leave an empty line to preserve line numbers).
5756 if test "x$srcdir" = x.; then
5757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5761 s/^\([^=]*=[ ]*\):*/\1/
5767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5768 fi # test -n "$CONFIG_FILES"
5770 # Set up the scripts for CONFIG_HEADERS section.
5771 # No need to generate them if there are no CONFIG_HEADERS.
5772 # This happens for instance with `./config.status Makefile'.
5773 if test -n "$CONFIG_HEADERS"; then
5774 cat >"$tmp/defines.awk" <<\_ACAWK ||
5778 # Transform confdefs.h into an awk script `defines.awk', embedded as
5779 # here-document in config.status, that substitutes the proper values into
5780 # config.h.in to produce config.h.
5782 # Create a delimiter string that does not exist in confdefs.h, to ease
5783 # handling of long lines.
5785 for ac_last_try in false false :; do
5786 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5787 if test -z "$ac_t"; then
5789 elif $ac_last_try; then
5790 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5792 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5796 # For the awk script, D is an array of macro values keyed by name,
5797 # likewise P contains macro parameters if any. Preserve backslash
5798 # newline sequences.
5800 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5802 s/.\{148\}/&'"$ac_delim"'/g
5805 s/^[ ]*#[ ]*define[ ][ ]*/ /
5812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5814 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5818 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5819 D["\1"]=" \3\\\\\\n"\\/p
5821 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5826 s/.\{148\}/&'"$ac_delim"'/g
5831 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5834 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5836 ' <confdefs.h | sed '
5837 s/'"$ac_delim"'/"\\\
5838 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5841 for (key in D) D_is_set[key] = 1
5844 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5846 split(line, arg, " ")
5847 if (arg[1] == "#") {
5851 defundef = substr(arg[1], 2)
5854 split(mac1, mac2, "(") #)
5856 prefix = substr(line, 1, index(line, defundef) - 1)
5857 if (D_is_set[macro]) {
5858 # Preserve the white space surrounding the "#".
5859 print prefix "define", macro P[macro] D[macro]
5862 # Replace #undef with comments. This is necessary, for example,
5863 # in the case of _POSIX_SOURCE, which is predefined and required
5864 # on some systems where configure will not decide to define it.
5865 if (defundef == "undef") {
5866 print "/*", prefix defundef, macro, "*/"
5874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5875 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5876 fi # test -n "$CONFIG_HEADERS"
5879 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5884 :[FHLC]) ac_mode=$ac_tag; continue;;
5886 case $ac_mode$ac_tag in
5888 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5889 :[FH]-) ac_tag=-:-;;
5890 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5907 -) ac_f="$tmp/stdin";;
5908 *) # Look for the file first in the build tree, then in the source tree
5909 # (if the path is not absolute). The absolute path cannot be DOS-style,
5910 # because $ac_f cannot contain `:'.
5914 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5916 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5918 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5919 as_fn_append ac_file_inputs " '$ac_f'"
5922 # Let's still pretend it is `configure' which instantiates (i.e., don't
5923 # use $as_me), people would be surprised to read:
5924 # /* config.h. Generated by config.status. */
5925 configure_input='Generated from '`
5926 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5928 if test x"$ac_file" != x-; then
5929 configure_input="$ac_file. $configure_input"
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5931 $as_echo "$as_me: creating $ac_file" >&6;}
5933 # Neutralize special characters interpreted by sed in replacement strings.
5934 case $configure_input in #(
5935 *\&* | *\|* | *\\* )
5936 ac_sed_conf_input=`$as_echo "$configure_input" |
5937 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5938 *) ac_sed_conf_input=$configure_input;;
5942 *:-:* | *:-) cat >"$tmp/stdin" \
5943 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5948 ac_dir=`$as_dirname -- "$ac_file" ||
5949 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5950 X"$ac_file" : 'X\(//\)[^/]' \| \
5951 X"$ac_file" : 'X\(//\)$' \| \
5952 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5953 $as_echo X"$ac_file" |
5954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5971 as_dir="$ac_dir"; as_fn_mkdir_p
5975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5977 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5978 # A ".." for each directory in $ac_dir_suffix.
5979 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5980 case $ac_top_builddir_sub in
5981 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5982 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5985 ac_abs_top_builddir=$ac_pwd
5986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5987 # for backward compatibility:
5988 ac_top_builddir=$ac_top_build_prefix
5991 .) # We are building in place.
5993 ac_top_srcdir=$ac_top_builddir_sub
5994 ac_abs_top_srcdir=$ac_pwd ;;
5995 [\\/]* | ?:[\\/]* ) # Absolute name.
5996 ac_srcdir=$srcdir$ac_dir_suffix;
5997 ac_top_srcdir=$srcdir
5998 ac_abs_top_srcdir=$srcdir ;;
6000 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6001 ac_top_srcdir=$ac_top_build_prefix$srcdir
6002 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6014 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6015 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6019 [\\/$]* | ?:[\\/]* ) ;;
6020 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6025 # If the template does not know about datarootdir, expand it.
6026 # FIXME: This hack should be removed a few years after 2.60.
6027 ac_datarootdir_hack=; ac_datarootdir_seen=
6038 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6039 *datarootdir*) ac_datarootdir_seen=yes;;
6040 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6042 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6045 ac_datarootdir_hack='
6046 s&@datadir@&$datadir&g
6047 s&@docdir@&$docdir&g
6048 s&@infodir@&$infodir&g
6049 s&@localedir@&$localedir&g
6050 s&@mandir@&$mandir&g
6051 s&\\\${datarootdir}&$datarootdir&g' ;;
6055 # Neutralize VPATH when `$srcdir' = `.'.
6056 # Shell code in configure.ac might set extrasub.
6057 # FIXME: do we really want to maintain this feature?
6058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6059 ac_sed_extra="$ac_vpsub
6062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6065 s|@configure_input@|$ac_sed_conf_input|;t t
6066 s&@top_builddir@&$ac_top_builddir_sub&;t t
6067 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6068 s&@srcdir@&$ac_srcdir&;t t
6069 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6070 s&@top_srcdir@&$ac_top_srcdir&;t t
6071 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6072 s&@builddir@&$ac_builddir&;t t
6073 s&@abs_builddir@&$ac_abs_builddir&;t t
6074 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6075 s&@INSTALL@&$ac_INSTALL&;t t
6076 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6077 $ac_datarootdir_hack
6079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6080 || as_fn_error "could not create $ac_file" "$LINENO" 5
6082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6083 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6084 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6086 which seems to be undefined. Please make sure it is defined." >&5
6087 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6088 which seems to be undefined. Please make sure it is defined." >&2;}
6092 -) cat "$tmp/out" && rm -f "$tmp/out";;
6093 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6095 || as_fn_error "could not create $ac_file" "$LINENO" 5
6101 if test x"$ac_file" != x-; then
6103 $as_echo "/* $configure_input */" \
6104 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6105 } >"$tmp/config.h" \
6106 || as_fn_error "could not create $ac_file" "$LINENO" 5
6107 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6109 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6112 mv "$tmp/config.h" "$ac_file" \
6113 || as_fn_error "could not create $ac_file" "$LINENO" 5
6116 $as_echo "/* $configure_input */" \
6117 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6118 || as_fn_error "could not create -" "$LINENO" 5
6120 # Compute "$ac_file"'s index in $config_headers.
6123 for _am_header in $config_headers :; do
6125 $_am_arg | $_am_arg:* )
6128 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6131 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6132 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6133 X"$_am_arg" : 'X\(//\)[^/]' \| \
6134 X"$_am_arg" : 'X\(//\)$' \| \
6135 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6136 $as_echo X"$_am_arg" |
6137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6153 s/.*/./; q'`/stamp-h$_am_stamp_count
6156 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6157 $as_echo "$as_me: executing $ac_file commands" >&6;}
6162 case $ac_file$ac_mode in
6163 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6164 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6165 # are listed without --file. Let's play safe and only enable the eval
6166 # if we detect the quoting.
6167 case $CONFIG_FILES in
6168 *\'*) eval set x "$CONFIG_FILES" ;;
6169 *) set x $CONFIG_FILES ;;
6174 # Strip MF so we end up with the name of the file.
6175 mf=`echo "$mf" | sed -e 's/:.*$//'`
6176 # Check whether this is an Automake generated Makefile or not.
6177 # We used to match only the files named `Makefile.in', but
6178 # some people rename them; so instead we look at the file content.
6179 # Grep'ing the first line is not enough: some people post-process
6180 # each Makefile.in and add a new line on top of each file to say so.
6181 # Grep'ing the whole file is not good either: AIX grep has a line
6182 # limit of 2048, but all sed's we know have understand at least 4000.
6183 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6184 dirpart=`$as_dirname -- "$mf" ||
6185 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6186 X"$mf" : 'X\(//\)[^/]' \| \
6187 X"$mf" : 'X\(//\)$' \| \
6188 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6210 # Extract the definition of DEPDIR, am__include, and am__quote
6211 # from the Makefile without running `make'.
6212 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6213 test -z "$DEPDIR" && continue
6214 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6215 test -z "am__include" && continue
6216 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6217 # When using ansi2knr, U may be empty or an underscore; expand it
6218 U=`sed -n 's/^U = //p' < "$mf"`
6219 # Find all dependency output files, they are included files with
6220 # $(DEPDIR) in their names. We invoke sed twice because it is the
6221 # simplest approach to changing $(DEPDIR) to its actual value in the
6223 for file in `sed -n "
6224 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6225 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6226 # Make sure the directory exists.
6227 test -f "$dirpart/$file" && continue
6228 fdir=`$as_dirname -- "$file" ||
6229 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6230 X"$file" : 'X\(//\)[^/]' \| \
6231 X"$file" : 'X\(//\)$' \| \
6232 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6251 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6252 # echo "creating $dirpart/$file"
6253 echo '# dummy' > "$dirpart/$file"
6265 ac_clean_files=$ac_clean_files_save
6267 test $ac_write_fail = 0 ||
6268 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6271 # configure is writing to config.log, and then calls config.status.
6272 # config.status does its own redirection, appending to config.log.
6273 # Unfortunately, on DOS this fails, as config.log is still kept open
6274 # by configure, so config.status won't be able to write to it; its
6275 # output is simply discarded. So we exec the FD to /dev/null,
6276 # effectively closing config.log, so it can be properly (re)opened and
6277 # appended to by config.status. When coming back to configure, we
6278 # need to make the FD available again.
6279 if test "$no_create" != yes; then
6281 ac_config_status_args=
6282 test "$silent" = yes &&
6283 ac_config_status_args="$ac_config_status_args --quiet"
6285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6288 # would make configure fail if this is the last instruction.
6289 $ac_cs_success || as_fn_exit $?
6291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}