2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for polyglot 1.4.59b.
5 # Report bugs to <michel.vandenbergh@uhasselt.be>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: michel.vandenbergh@uhasselt.be about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status=$?; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
553 PACKAGE_NAME='polyglot'
554 PACKAGE_TARNAME='polyglot'
555 PACKAGE_VERSION='1.4.59b'
556 PACKAGE_STRING='polyglot 1.4.59b'
557 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
560 ac_unique_file="mainloop.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='am__EXEEXT_FALSE
628 INSTALL_STRIP_PROGRAM
670 program_transform_name
683 enable_option_checking
684 enable_dependency_tracking
686 ac_precious_vars='build_alias
697 # Initialize some variables set by options.
699 ac_init_version=false
700 ac_unrecognized_opts=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
711 program_transform_name=s,x,x,
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir='${exec_prefix}/bin'
726 sbindir='${exec_prefix}/sbin'
727 libexecdir='${exec_prefix}/libexec'
728 datarootdir='${prefix}/share'
729 datadir='${datarootdir}'
730 sysconfdir='${prefix}/etc'
731 sharedstatedir='${prefix}/com'
732 localstatedir='${prefix}/var'
733 includedir='${prefix}/include'
734 oldincludedir='/usr/include'
735 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
736 infodir='${datarootdir}/info'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\$ac_option
757 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
761 # Accept the important Cygnus configure options, so we can diagnose typos.
763 case $ac_dashdash$ac_option in
767 -bindir | --bindir | --bindi | --bind | --bin | --bi)
769 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
772 -build | --build | --buil | --bui | --bu)
773 ac_prev=build_alias ;;
774 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
775 build_alias=$ac_optarg ;;
777 -cache-file | --cache-file | --cache-fil | --cache-fi \
778 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
779 ac_prev=cache_file ;;
780 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
781 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
782 cache_file=$ac_optarg ;;
785 cache_file=config.cache ;;
787 -datadir | --datadir | --datadi | --datad)
789 -datadir=* | --datadir=* | --datadi=* | --datad=*)
790 datadir=$ac_optarg ;;
792 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
793 | --dataroo | --dataro | --datar)
794 ac_prev=datarootdir ;;
795 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
796 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
797 datarootdir=$ac_optarg ;;
799 -disable-* | --disable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 as_fn_error "invalid feature name: $ac_useropt"
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
813 eval enable_$ac_useropt=no ;;
815 -docdir | --docdir | --docdi | --doc | --do)
817 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
820 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
825 -enable-* | --enable-*)
826 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827 # Reject names that are not valid shell variable names.
828 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829 as_fn_error "invalid feature name: $ac_useropt"
830 ac_useropt_orig=$ac_useropt
831 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832 case $ac_user_opts in
836 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
837 ac_unrecognized_sep=', ';;
839 eval enable_$ac_useropt=\$ac_optarg ;;
841 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
842 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
843 | --exec | --exe | --ex)
844 ac_prev=exec_prefix ;;
845 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
846 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
847 | --exec=* | --exe=* | --ex=*)
848 exec_prefix=$ac_optarg ;;
850 -gas | --gas | --ga | --g)
851 # Obsolete; use --with-gas.
854 -help | --help | --hel | --he | -h)
856 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
857 ac_init_help=recursive ;;
858 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
859 ac_init_help=short ;;
861 -host | --host | --hos | --ho)
862 ac_prev=host_alias ;;
863 -host=* | --host=* | --hos=* | --ho=*)
864 host_alias=$ac_optarg ;;
866 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870 htmldir=$ac_optarg ;;
872 -includedir | --includedir | --includedi | --included | --include \
873 | --includ | --inclu | --incl | --inc)
874 ac_prev=includedir ;;
875 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
876 | --includ=* | --inclu=* | --incl=* | --inc=*)
877 includedir=$ac_optarg ;;
879 -infodir | --infodir | --infodi | --infod | --info | --inf)
881 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
882 infodir=$ac_optarg ;;
884 -libdir | --libdir | --libdi | --libd)
886 -libdir=* | --libdir=* | --libdi=* | --libd=*)
889 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
890 | --libexe | --libex | --libe)
891 ac_prev=libexecdir ;;
892 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
893 | --libexe=* | --libex=* | --libe=*)
894 libexecdir=$ac_optarg ;;
896 -localedir | --localedir | --localedi | --localed | --locale)
898 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
899 localedir=$ac_optarg ;;
901 -localstatedir | --localstatedir | --localstatedi | --localstated \
902 | --localstate | --localstat | --localsta | --localst | --locals)
903 ac_prev=localstatedir ;;
904 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
905 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
906 localstatedir=$ac_optarg ;;
908 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
914 # Obsolete; use --without-fp.
917 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
918 | --no-cr | --no-c | -n)
921 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
922 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
925 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
926 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
927 | --oldin | --oldi | --old | --ol | --o)
928 ac_prev=oldincludedir ;;
929 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
930 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
931 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
932 oldincludedir=$ac_optarg ;;
934 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
939 -program-prefix | --program-prefix | --program-prefi | --program-pref \
940 | --program-pre | --program-pr | --program-p)
941 ac_prev=program_prefix ;;
942 -program-prefix=* | --program-prefix=* | --program-prefi=* \
943 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
944 program_prefix=$ac_optarg ;;
946 -program-suffix | --program-suffix | --program-suffi | --program-suff \
947 | --program-suf | --program-su | --program-s)
948 ac_prev=program_suffix ;;
949 -program-suffix=* | --program-suffix=* | --program-suffi=* \
950 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
951 program_suffix=$ac_optarg ;;
953 -program-transform-name | --program-transform-name \
954 | --program-transform-nam | --program-transform-na \
955 | --program-transform-n | --program-transform- \
956 | --program-transform | --program-transfor \
957 | --program-transfo | --program-transf \
958 | --program-trans | --program-tran \
959 | --progr-tra | --program-tr | --program-t)
960 ac_prev=program_transform_name ;;
961 -program-transform-name=* | --program-transform-name=* \
962 | --program-transform-nam=* | --program-transform-na=* \
963 | --program-transform-n=* | --program-transform-=* \
964 | --program-transform=* | --program-transfor=* \
965 | --program-transfo=* | --program-transf=* \
966 | --program-trans=* | --program-tran=* \
967 | --progr-tra=* | --program-tr=* | --program-t=*)
968 program_transform_name=$ac_optarg ;;
970 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
975 -psdir | --psdir | --psdi | --psd | --ps)
977 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981 | -silent | --silent | --silen | --sile | --sil)
984 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988 sbindir=$ac_optarg ;;
990 -sharedstatedir | --sharedstatedir | --sharedstatedi \
991 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
992 | --sharedst | --shareds | --shared | --share | --shar \
994 ac_prev=sharedstatedir ;;
995 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
996 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
997 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999 sharedstatedir=$ac_optarg ;;
1001 -site | --site | --sit)
1003 -site=* | --site=* | --sit=*)
1006 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1009 srcdir=$ac_optarg ;;
1011 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1012 | --syscon | --sysco | --sysc | --sys | --sy)
1013 ac_prev=sysconfdir ;;
1014 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1015 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1016 sysconfdir=$ac_optarg ;;
1018 -target | --target | --targe | --targ | --tar | --ta | --t)
1019 ac_prev=target_alias ;;
1020 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1021 target_alias=$ac_optarg ;;
1023 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1026 -version | --version | --versio | --versi | --vers | -V)
1027 ac_init_version=: ;;
1030 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031 # Reject names that are not valid shell variable names.
1032 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033 as_fn_error "invalid package name: $ac_useropt"
1034 ac_useropt_orig=$ac_useropt
1035 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036 case $ac_user_opts in
1040 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1041 ac_unrecognized_sep=', ';;
1043 eval with_$ac_useropt=\$ac_optarg ;;
1045 -without-* | --without-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1059 eval with_$ac_useropt=no ;;
1062 # Obsolete; use --with-x.
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) as_fn_error "unrecognized option: \`$ac_option'
1080 Try \`$0 --help' for more information."
1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085 # Reject names that are not valid shell variable names.
1086 case $ac_envvar in #(
1087 '' | [0-9]* | *[!_$as_cr_alnum]* )
1088 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 as_fn_error "missing argument to $ac_option"
1109 if test -n "$ac_unrecognized_opts"; then
1110 case $enable_option_checking in
1112 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1113 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1117 # Check all directory arguments for consistency.
1118 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119 datadir sysconfdir sharedstatedir localstatedir includedir \
1120 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121 libdir localedir mandir
1123 eval ac_val=\$$ac_var
1124 # Remove trailing slashes.
1127 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128 eval $ac_var=\$ac_val;;
1130 # Be sure to have absolute directory names.
1132 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1135 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1143 target=$target_alias
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147 if test "x$build_alias" = x; then
1148 cross_compiling=maybe
1149 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150 If a cross compiler is detected then cross compile mode will be used." >&2
1151 elif test "x$build_alias" != "x$host_alias"; then
1157 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1159 test "$silent" = yes && exec 6>/dev/null
1162 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di=`ls -di .` &&
1164 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165 as_fn_error "working directory cannot be determined"
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167 as_fn_error "pwd does not report name of working directory"
1170 # Find the source files, if location was not specified.
1171 if test -z "$srcdir"; then
1172 ac_srcdir_defaulted=yes
1173 # Try the directory containing this script, then the parent directory.
1174 ac_confdir=`$as_dirname -- "$as_myself" ||
1175 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1176 X"$as_myself" : 'X\(//\)[^/]' \| \
1177 X"$as_myself" : 'X\(//\)$' \| \
1178 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1179 $as_echo X"$as_myself" |
1180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 if test ! -r "$srcdir/$ac_unique_file"; then
1202 ac_srcdir_defaulted=no
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1206 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1208 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1220 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 for ac_var in $ac_precious_vars; do
1223 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_${ac_var}_value=\$${ac_var}
1225 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1230 # Report the --help message.
1232 if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1236 \`configure' configures polyglot 1.4.59b to adapt to many kinds of systems.
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE. See below for descriptions of some of the useful variables.
1243 Defaults for the options are specified in brackets.
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256 Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1267 For better control, use the options below.
1269 Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1300 if test -n "$ac_init_help"; then
1301 case $ac_init_help in
1302 short | recursive ) echo "Configuration of polyglot 1.4.59b:";;
1307 --disable-option-checking ignore unrecognized --enable/--with options
1308 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1309 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1310 --disable-dependency-tracking speeds up one-time build
1311 --enable-dependency-tracking do not reject slow dependency extractors
1313 Some influential environment variables:
1314 CC C compiler command
1315 CFLAGS C compiler flags
1316 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1317 nonstandard directory <lib dir>
1318 LIBS libraries to pass to the linker, e.g. -l<library>
1319 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1320 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to <michel.vandenbergh@uhasselt.be>.
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1356 .) # We are building in place.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1389 polyglot configure 1.4.59b
1390 generated by GNU Autoconf 2.65
1392 Copyright (C) 2009 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1436 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1441 # ac_fn_c_try_link LINENO
1442 # -----------------------
1443 # Try to link conftest.$ac_ext, and return whether this succeeded.
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext conftest$ac_exeext
1448 if { { ac_try="$ac_link"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_link") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest$ac_exeext && {
1467 test "$cross_compiling" = yes ||
1468 $as_test_x conftest$ac_exeext
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1478 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1479 # interfere with the next link command; also delete a directory that is
1480 # left behind by Apple's compiler. We do this before executing the actions.
1481 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1485 } # ac_fn_c_try_link
1487 # ac_fn_c_try_cpp LINENO
1488 # ----------------------
1489 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 if { { ac_try="$ac_cpp conftest.$ac_ext"
1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1496 *) ac_try_echo=$ac_try;;
1498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1499 $as_echo "$ac_try_echo"; } >&5
1500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1502 if test -s conftest.err; then
1503 grep -v '^ *+' conftest.err >conftest.er1
1504 cat conftest.er1 >&5
1505 mv -f conftest.er1 conftest.err
1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1508 test $ac_status = 0; } >/dev/null && {
1509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1510 test ! -s conftest.err
1514 $as_echo "$as_me: failed program was:" >&5
1515 sed 's/^/| /' conftest.$ac_ext >&5
1519 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1520 as_fn_set_status $ac_retval
1524 # ac_fn_c_try_run LINENO
1525 # ----------------------
1526 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1527 # that executables *can* be run.
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 if { { ac_try="$ac_link"
1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_link") 2>&5
1540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1542 { { case "(($ac_try" in
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_try") 2>&5
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; }; }; then :
1554 $as_echo "$as_me: program exited with status $ac_status" >&5
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1558 ac_retval=$ac_status
1560 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562 as_fn_set_status $ac_retval
1566 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1567 # -------------------------------------------------------
1568 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1569 # the include files in INCLUDES and setting the cache variable VAR
1571 ac_fn_c_check_header_mongrel ()
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1576 $as_echo_n "checking for $2... " >&6; }
1577 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1578 $as_echo_n "(cached) " >&6
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582 $as_echo "$ac_res" >&6; }
1584 # Is the header compilable?
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1586 $as_echo_n "checking $2 usability... " >&6; }
1587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1588 /* end confdefs.h. */
1592 if ac_fn_c_try_compile "$LINENO"; then :
1593 ac_header_compiler=yes
1595 ac_header_compiler=no
1597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1599 $as_echo "$ac_header_compiler" >&6; }
1601 # Is the header present?
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1603 $as_echo_n "checking $2 presence... " >&6; }
1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1605 /* end confdefs.h. */
1608 if ac_fn_c_try_cpp "$LINENO"; then :
1609 ac_header_preproc=yes
1611 ac_header_preproc=no
1613 rm -f conftest.err conftest.$ac_ext
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1615 $as_echo "$ac_header_preproc" >&6; }
1617 # So? What about this header?
1618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1621 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1623 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1627 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1629 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1631 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1633 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1637 ## --------------------------------------------- ##
1638 ## Report this to michel.vandenbergh@uhasselt.be ##
1639 ## --------------------------------------------- ##
1641 ) | sed "s/^/$as_me: WARNING: /" >&2
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647 $as_echo_n "(cached) " >&6
1649 eval "$3=\$ac_header_compiler"
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657 } # ac_fn_c_check_header_mongrel
1659 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1660 # -------------------------------------------------------
1661 # Tests whether HEADER exists and can be compiled using the include files in
1662 # INCLUDES, setting the cache variable VAR accordingly.
1663 ac_fn_c_check_header_compile ()
1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667 $as_echo_n "checking for $2... " >&6; }
1668 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1669 $as_echo_n "(cached) " >&6
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1676 if ac_fn_c_try_compile "$LINENO"; then :
1681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 } # ac_fn_c_check_header_compile
1690 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1691 # -------------------------------------------
1692 # Tests whether TYPE exists after having included INCLUDES, setting cache
1693 # variable VAR accordingly.
1694 ac_fn_c_check_type ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1700 $as_echo_n "(cached) " >&6
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1715 if ac_fn_c_try_compile "$LINENO"; then :
1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1717 /* end confdefs.h. */
1728 if ac_fn_c_try_compile "$LINENO"; then :
1733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 } # ac_fn_c_check_type
1744 # ac_fn_c_check_func LINENO FUNC VAR
1745 # ----------------------------------
1746 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1747 ac_fn_c_check_func ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1757 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1759 #define $2 innocuous_$2
1761 /* System header to define __stub macros and hopefully few prototypes,
1762 which can conflict with char $2 (); below.
1763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1764 <limits.h> exists even on freestanding compilers. */
1767 # include <limits.h>
1769 # include <assert.h>
1774 /* Override any GCC internal prototype to avoid an error.
1775 Use char because int might match the return type of a GCC
1776 builtin and then its argument prototype would still apply. */
1781 /* The GNU C library defines this for functions which it implements
1782 to always fail with ENOSYS. Some functions are actually named
1783 something starting with __ and the normal name is an alias. */
1784 #if defined __stub_$2 || defined __stub___$2
1796 if ac_fn_c_try_link "$LINENO"; then :
1801 rm -f core conftest.err conftest.$ac_objext \
1802 conftest$ac_exeext conftest.$ac_ext
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 } # ac_fn_c_check_func
1810 cat >config.log <<_ACEOF
1811 This file contains any messages produced by compilers while
1812 running configure, to aid debugging if configure makes a mistake.
1814 It was created by polyglot $as_me 1.4.59b, which was
1815 generated by GNU Autoconf 2.65. Invocation command line was
1827 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1828 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1829 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1830 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1831 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1833 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1834 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1836 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1837 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1838 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1839 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1840 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1841 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1842 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1850 test -z "$as_dir" && as_dir=.
1851 $as_echo "PATH: $as_dir"
1867 # Keep a trace of the command line.
1868 # Strip out --no-create and --no-recursion so they do not pile up.
1869 # Strip out --silent because we don't want to record it for future runs.
1870 # Also quote any args containing shell meta-characters.
1871 # Make two passes to allow for proper duplicate-argument suppression.
1875 ac_must_keep_next=false
1881 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1883 | -silent | --silent | --silen | --sile | --sil)
1886 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1889 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1891 as_fn_append ac_configure_args1 " '$ac_arg'"
1892 if test $ac_must_keep_next = true; then
1893 ac_must_keep_next=false # Got value, back to normal.
1896 *=* | --config-cache | -C | -disable-* | --disable-* \
1897 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1898 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1899 | -with-* | --with-* | -without-* | --without-* | --x)
1900 case "$ac_configure_args0 " in
1901 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1904 -* ) ac_must_keep_next=true ;;
1907 as_fn_append ac_configure_args " '$ac_arg'"
1912 { ac_configure_args0=; unset ac_configure_args0;}
1913 { ac_configure_args1=; unset ac_configure_args1;}
1915 # When interrupted or exit'd, cleanup temporary files, and complete
1916 # config.log. We remove comments because anyway the quotes in there
1917 # would cause problems or look ugly.
1918 # WARNING: Use '\'' to represent an apostrophe within the trap.
1919 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1920 trap 'exit_status=$?
1921 # Save into config.log some information that might help in debugging.
1926 ## ---------------- ##
1927 ## Cache variables. ##
1928 ## ---------------- ##
1931 # The following way of writing the cache mishandles newlines in values,
1933 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1934 eval ac_val=\$$ac_var
1938 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1942 _ | IFS | as_nl) ;; #(
1943 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1944 *) { eval $ac_var=; unset $ac_var;} ;;
1949 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1950 *${as_nl}ac_space=\ *)
1952 "s/'\''/'\''\\\\'\'''\''/g;
1953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1956 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1964 ## ----------------- ##
1965 ## Output variables. ##
1966 ## ----------------- ##
1969 for ac_var in $ac_subst_vars
1971 eval ac_val=\$$ac_var
1973 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1975 $as_echo "$ac_var='\''$ac_val'\''"
1979 if test -n "$ac_subst_files"; then
1981 ## ------------------- ##
1982 ## File substitutions. ##
1983 ## ------------------- ##
1986 for ac_var in $ac_subst_files
1988 eval ac_val=\$$ac_var
1990 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1992 $as_echo "$ac_var='\''$ac_val'\''"
1997 if test -s confdefs.h; then
2007 test "$ac_signal" != 0 &&
2008 $as_echo "$as_me: caught signal $ac_signal"
2009 $as_echo "$as_me: exit $exit_status"
2011 rm -f core *.core core.conftest.* &&
2012 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2015 for ac_signal in 1 2 13 15; do
2016 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2020 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2021 rm -f -r conftest* confdefs.h
2023 $as_echo "/* confdefs.h */" > confdefs.h
2025 # Predefined preprocessor variables.
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_NAME "$PACKAGE_NAME"
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_STRING "$PACKAGE_STRING"
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_URL "$PACKAGE_URL"
2052 # Let the site file select an alternate cache file if it wants to.
2053 # Prefer an explicitly selected file to automatically selected ones.
2056 if test -n "$CONFIG_SITE"; then
2057 ac_site_file1=$CONFIG_SITE
2058 elif test "x$prefix" != xNONE; then
2059 ac_site_file1=$prefix/share/config.site
2060 ac_site_file2=$prefix/etc/config.site
2062 ac_site_file1=$ac_default_prefix/share/config.site
2063 ac_site_file2=$ac_default_prefix/etc/config.site
2065 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2067 test "x$ac_site_file" = xNONE && continue
2068 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2070 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2071 sed 's/^/| /' "$ac_site_file" >&5
2076 if test -r "$cache_file"; then
2077 # Some versions of bash will fail to source /dev/null (special files
2078 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2079 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2081 $as_echo "$as_me: loading cache $cache_file" >&6;}
2083 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2084 *) . "./$cache_file";;
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2089 $as_echo "$as_me: creating cache $cache_file" >&6;}
2093 # Check that the precious variables saved in the cache have kept the same
2095 ac_cache_corrupted=false
2096 for ac_var in $ac_precious_vars; do
2097 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2098 eval ac_new_set=\$ac_env_${ac_var}_set
2099 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2100 eval ac_new_val=\$ac_env_${ac_var}_value
2101 case $ac_old_set,$ac_new_set in
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2104 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2105 ac_cache_corrupted=: ;;
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2108 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2109 ac_cache_corrupted=: ;;
2112 if test "x$ac_old_val" != "x$ac_new_val"; then
2113 # differences in whitespace do not lead to failure.
2114 ac_old_val_w=`echo x $ac_old_val`
2115 ac_new_val_w=`echo x $ac_new_val`
2116 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2118 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2119 ac_cache_corrupted=:
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2122 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2123 eval $ac_var=\$ac_old_val
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2126 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2128 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2131 # Pass precious variables to config.status.
2132 if test "$ac_new_set" = set; then
2134 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2135 *) ac_arg=$ac_var=$ac_new_val ;;
2137 case " $ac_configure_args " in
2138 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2139 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2143 if $ac_cache_corrupted; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2147 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2148 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2150 ## -------------------- ##
2151 ## Main body of script. ##
2152 ## -------------------- ##
2155 ac_cpp='$CPP $CPPFLAGS'
2156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161 am__api_version='1.11'
2164 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2165 for ac_t in install-sh install.sh shtool; do
2166 if test -f "$ac_dir/$ac_t"; then
2168 ac_install_sh="$ac_aux_dir/$ac_t -c"
2173 if test -z "$ac_aux_dir"; then
2174 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2177 # These three variables are undocumented and unsupported,
2178 # and are intended to be withdrawn in a future Autoconf release.
2179 # They can cause serious problems if a builder's source tree is in a directory
2180 # whose full name contains unusual characters.
2181 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2182 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2183 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2186 # Find a good install program. We prefer a C program (faster),
2187 # so one script is as good as another. But avoid the broken or
2188 # incompatible versions:
2189 # SysV /etc/install, /usr/sbin/install
2190 # SunOS /usr/etc/install
2191 # IRIX /sbin/install
2193 # AmigaOS /C/install, which installs bootblocks on floppy discs
2194 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2195 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2196 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2197 # OS/2's system install, which has a completely different semantic
2198 # ./install, which can be erroneously created by make from ./install.sh.
2199 # Reject install programs that cannot install multiple files.
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2201 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2202 if test -z "$INSTALL"; then
2203 if test "${ac_cv_path_install+set}" = set; then :
2204 $as_echo_n "(cached) " >&6
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir=.
2211 # Account for people who put trailing slashes in PATH elements.
2212 case $as_dir/ in #((
2213 ./ | .// | /[cC]/* | \
2214 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2215 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2218 # OSF1 and SCO ODT 3.0 have their own names for install.
2219 # Don't use installbsd from OSF since it installs stuff as root
2221 for ac_prog in ginstall scoinst install; do
2222 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2224 if test $ac_prog = install &&
2225 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2226 # AIX install. It has an incompatible calling convention.
2228 elif test $ac_prog = install &&
2229 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2230 # program-specific install script used by HP pwplus--don't use.
2233 rm -rf conftest.one conftest.two conftest.dir
2234 echo one > conftest.one
2235 echo two > conftest.two
2237 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2238 test -s conftest.one && test -s conftest.two &&
2239 test -s conftest.dir/conftest.one &&
2240 test -s conftest.dir/conftest.two
2242 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2255 rm -rf conftest.one conftest.two conftest.dir
2258 if test "${ac_cv_path_install+set}" = set; then
2259 INSTALL=$ac_cv_path_install
2261 # As a last resort, use the slow shell script. Don't cache a
2262 # value for INSTALL within a source directory, because that will
2263 # break other packages using the cache if that directory is
2264 # removed, or if the value is a relative name.
2265 INSTALL=$ac_install_sh
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2269 $as_echo "$INSTALL" >&6; }
2271 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2272 # It thinks the first close brace ends the variable substitution.
2273 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2275 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2277 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2280 $as_echo_n "checking whether build environment is sane... " >&6; }
2283 echo timestamp > conftest.file
2284 # Reject unsafe characters in $srcdir or the absolute working directory
2285 # name. Accept space and tab only in the latter.
2289 *[\\\"\#\$\&\'\`$am_lf]*)
2290 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2293 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2294 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2297 # Do `set' in a subshell so we don't clobber the current shell's
2298 # arguments. Must try -L first in case configure is actually a
2299 # symlink; some systems play weird games with the mod time of symlinks
2300 # (eg FreeBSD returns the mod time of the symlink's containing
2303 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2304 if test "$*" = "X"; then
2306 set X `ls -t "$srcdir/configure" conftest.file`
2309 if test "$*" != "X $srcdir/configure conftest.file" \
2310 && test "$*" != "X conftest.file $srcdir/configure"; then
2312 # If neither matched, then we have a broken ls. This can happen
2313 # if, for instance, CONFIG_SHELL is bash and it inherits a
2314 # broken ls alias from the environment. This has actually
2315 # happened. Such a system could not be considered "sane".
2316 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2317 alias in your environment" "$LINENO" 5
2320 test "$2" = conftest.file
2326 as_fn_error "newly created file is older than distributed files!
2327 Check your system clock" "$LINENO" 5
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2330 $as_echo "yes" >&6; }
2331 test "$program_prefix" != NONE &&
2332 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2333 # Use a double $ so make ignores it.
2334 test "$program_suffix" != NONE &&
2335 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2336 # Double any \ or $.
2337 # By default was `s,x,x', remove it if useless.
2338 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2339 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2341 # expand $ac_aux_dir to an absolute path
2342 am_aux_dir=`cd $ac_aux_dir && pwd`
2344 if test x"${MISSING+set}" != xset; then
2347 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2349 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2352 # Use eval to expand $SHELL
2353 if eval "$MISSING --run true"; then
2354 am_missing_run="$MISSING --run "
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2358 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2361 if test x"${install_sh}" != xset; then
2364 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2366 install_sh="\${SHELL} $am_aux_dir/install-sh"
2370 # Installed binaries are usually stripped using `strip' when the user
2371 # run `make install-strip'. However `strip' might not be the right
2372 # tool to use in cross-compilation environments, therefore Automake
2373 # will honor the `STRIP' environment variable to overrule this program.
2374 if test "$cross_compiling" != no; then
2375 if test -n "$ac_tool_prefix"; then
2376 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2377 set dummy ${ac_tool_prefix}strip; ac_word=$2
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2379 $as_echo_n "checking for $ac_word... " >&6; }
2380 if test "${ac_cv_prog_STRIP+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test -n "$STRIP"; then
2384 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2393 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 STRIP=$ac_cv_prog_STRIP
2404 if test -n "$STRIP"; then
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2406 $as_echo "$STRIP" >&6; }
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2409 $as_echo "no" >&6; }
2414 if test -z "$ac_cv_prog_STRIP"; then
2416 # Extract the first word of "strip", so it can be a program name with args.
2417 set dummy strip; ac_word=$2
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$ac_ct_STRIP"; then
2424 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_ac_ct_STRIP="strip"
2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2444 if test -n "$ac_ct_STRIP"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2446 $as_echo "$ac_ct_STRIP" >&6; }
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2452 if test "x$ac_ct_STRIP" = x; then
2455 case $cross_compiling:$ac_tool_warned in
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2459 ac_tool_warned=yes ;;
2464 STRIP="$ac_cv_prog_STRIP"
2468 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2471 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2472 if test -z "$MKDIR_P"; then
2473 if test "${ac_cv_path_mkdir+set}" = set; then :
2474 $as_echo_n "(cached) " >&6
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2480 test -z "$as_dir" && as_dir=.
2481 for ac_prog in mkdir gmkdir; do
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2484 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2485 'mkdir (GNU coreutils) '* | \
2486 'mkdir (coreutils) '* | \
2487 'mkdir (fileutils) '4.1*)
2488 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2498 test -d ./--version && rmdir ./--version
2499 if test "${ac_cv_path_mkdir+set}" = set; then
2500 MKDIR_P="$ac_cv_path_mkdir -p"
2502 # As a last resort, use the slow shell script. Don't cache a
2503 # value for MKDIR_P within a source directory, because that will
2504 # break other packages using the cache if that directory is
2505 # removed, or if the value is a relative name.
2506 MKDIR_P="$ac_install_sh -d"
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2510 $as_echo "$MKDIR_P" >&6; }
2514 [\\/$]* | ?:[\\/]*) ;;
2515 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2518 for ac_prog in gawk mawk nawk awk
2520 # Extract the first word of "$ac_prog", so it can be a program name with args.
2521 set dummy $ac_prog; ac_word=$2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_AWK+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$AWK"; then
2528 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_AWK="$ac_prog"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$AWK"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2550 $as_echo "$AWK" >&6; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553 $as_echo "no" >&6; }
2557 test -n "$AWK" && break
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2561 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2563 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2564 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2565 $as_echo_n "(cached) " >&6
2567 cat >conftest.make <<\_ACEOF
2570 @echo '@@@%%%=$(MAKE)=@@@%%%'
2572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2575 eval ac_cv_prog_make_${ac_make}_set=yes;;
2577 eval ac_cv_prog_make_${ac_make}_set=no;;
2581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2583 $as_echo "yes" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2588 SET_MAKE="MAKE=${MAKE-make}"
2591 rm -rf .tst 2>/dev/null
2592 mkdir .tst 2>/dev/null
2593 if test -d .tst; then
2598 rmdir .tst 2>/dev/null
2600 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2601 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2602 # is not polluted with repeated "-I."
2603 am__isrc=' -I$(srcdir)'
2604 # test to see if srcdir already configured
2605 if test -f $srcdir/config.status; then
2606 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2610 # test whether we have cygpath
2611 if test -z "$CYGPATH_W"; then
2612 if (cygpath --version) >/dev/null 2>/dev/null; then
2613 CYGPATH_W='cygpath -w'
2620 # Define the identity of the package.
2625 cat >>confdefs.h <<_ACEOF
2626 #define PACKAGE "$PACKAGE"
2630 cat >>confdefs.h <<_ACEOF
2631 #define VERSION "$VERSION"
2634 # Some tools Automake needs.
2636 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2639 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2642 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2645 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2648 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2650 # We need awk for the "check" target. The system "awk" is bad on
2652 # Always define AMTAR for backward compatibility.
2654 AMTAR=${AMTAR-"${am_missing_run}tar"}
2656 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2663 ac_config_headers="$ac_config_headers config.h"
2666 # Checks for programs.
2668 ac_cpp='$CPP $CPPFLAGS'
2669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2672 if test -n "$ac_tool_prefix"; then
2673 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2674 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2676 $as_echo_n "checking for $ac_word... " >&6; }
2677 if test "${ac_cv_prog_CC+set}" = set; then :
2678 $as_echo_n "(cached) " >&6
2680 if test -n "$CC"; then
2681 ac_cv_prog_CC="$CC" # Let the user override the test.
2683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir=.
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2690 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$CC"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2703 $as_echo "$CC" >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2711 if test -z "$ac_cv_prog_CC"; then
2713 # Extract the first word of "gcc", so it can be a program name with args.
2714 set dummy gcc; ac_word=$2
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2716 $as_echo_n "checking for $ac_word... " >&6; }
2717 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2718 $as_echo_n "(cached) " >&6
2720 if test -n "$ac_ct_CC"; then
2721 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 test -z "$as_dir" && as_dir=.
2728 for ac_exec_ext in '' $ac_executable_extensions; do
2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2730 ac_cv_prog_ac_ct_CC="gcc"
2731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2740 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2741 if test -n "$ac_ct_CC"; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2743 $as_echo "$ac_ct_CC" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2749 if test "x$ac_ct_CC" = x; then
2752 case $cross_compiling:$ac_tool_warned in
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2756 ac_tool_warned=yes ;;
2764 if test -z "$CC"; then
2765 if test -n "$ac_tool_prefix"; then
2766 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2767 set dummy ${ac_tool_prefix}cc; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if test "${ac_cv_prog_CC+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$CC"; then
2774 ac_cv_prog_CC="$CC" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783 ac_cv_prog_CC="${ac_tool_prefix}cc"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$CC"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2796 $as_echo "$CC" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2805 if test -z "$CC"; then
2806 # Extract the first word of "cc", so it can be a program name with args.
2807 set dummy cc; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_CC+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC="$CC" # Let the user override the test.
2817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821 test -z "$as_dir" && as_dir=.
2822 for ac_exec_ext in '' $ac_executable_extensions; do
2823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2825 ac_prog_rejected=yes
2829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 if test $ac_prog_rejected = yes; then
2837 # We found a bogon in the path, so make sure we never use it.
2838 set dummy $ac_cv_prog_CC
2840 if test $# != 0; then
2841 # We chose a different compiler from the bogus one.
2842 # However, it has the same basename, so the bogon will be chosen
2843 # first if we set CC to just the basename; use the full file name.
2845 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2851 if test -n "$CC"; then
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2853 $as_echo "$CC" >&6; }
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2856 $as_echo "no" >&6; }
2861 if test -z "$CC"; then
2862 if test -n "$ac_tool_prefix"; then
2863 for ac_prog in cl.exe
2865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_CC+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$CC"; then
2873 ac_cv_prog_CC="$CC" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 if test -n "$CC"; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2895 $as_echo "$CC" >&6; }
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2898 $as_echo "no" >&6; }
2902 test -n "$CC" && break
2905 if test -z "$CC"; then
2907 for ac_prog in cl.exe
2909 # Extract the first word of "$ac_prog", so it can be a program name with args.
2910 set dummy $ac_prog; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$ac_ct_CC"; then
2917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_ac_ct_CC="$ac_prog"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2937 if test -n "$ac_ct_CC"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2939 $as_echo "$ac_ct_CC" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2946 test -n "$ac_ct_CC" && break
2949 if test "x$ac_ct_CC" = x; then
2952 case $cross_compiling:$ac_tool_warned in
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2956 ac_tool_warned=yes ;;
2965 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error "no acceptable C compiler found in \$PATH
2968 See \`config.log' for more details." "$LINENO" 5; }
2970 # Provide some information about the compiler.
2971 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2974 for ac_option in --version -v -V -qversion; do
2975 { { ac_try="$ac_compiler $ac_option >&5"
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2984 if test -s conftest.err; then
2986 ... rest of stderr output deleted ...
2987 10q' conftest.err >conftest.er1
2988 cat conftest.er1 >&5
2990 rm -f conftest.er1 conftest.err
2991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2992 test $ac_status = 0; }
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
3006 ac_clean_files_save=$ac_clean_files
3007 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3008 # Try to create an executable without -o first, disregard a.out.
3009 # It will help us diagnose broken compilers, and finding out an intuition
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3012 $as_echo_n "checking whether the C compiler works... " >&6; }
3013 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3015 # The possible output files:
3016 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3019 for ac_file in $ac_files
3022 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3023 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3028 if { { ac_try="$ac_link_default"
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3034 $as_echo "$ac_try_echo"; } >&5
3035 (eval "$ac_link_default") 2>&5
3037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3038 test $ac_status = 0; }; then :
3039 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3041 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3042 # so that the user can short-circuit this test for compilers unknown to
3044 for ac_file in $ac_files ''
3046 test -f "$ac_file" || continue
3048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3051 # We found the default executable, but exeext='' is most
3055 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3057 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3059 # We set ac_cv_exeext here because the later test for it is not
3060 # safe: cross compilers may not add the suffix if given an `-o'
3061 # argument, so we may need to know it at that point already.
3062 # Even if this section looks crufty: it has the advantage of
3069 test "$ac_cv_exeext" = no && ac_cv_exeext=
3074 if test -z "$ac_file"; then :
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3077 $as_echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 { as_fn_set_status 77
3083 as_fn_error "C compiler cannot create executables
3084 See \`config.log' for more details." "$LINENO" 5; }; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3090 $as_echo_n "checking for C compiler default output file name... " >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3092 $as_echo "$ac_file" >&6; }
3093 ac_exeext=$ac_cv_exeext
3095 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3096 ac_clean_files=$ac_clean_files_save
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3098 $as_echo_n "checking for suffix of executables... " >&6; }
3099 if { { ac_try="$ac_link"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_link") 2>&5
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; then :
3110 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3111 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3112 # work properly (i.e., refer to `conftest.exe'), while it won't with
3114 for ac_file in conftest.exe conftest conftest.*; do
3115 test -f "$ac_file" || continue
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3118 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 as_fn_error "cannot compute suffix of executables: cannot compile and link
3127 See \`config.log' for more details." "$LINENO" 5; }
3129 rm -f conftest conftest$ac_cv_exeext
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3131 $as_echo "$ac_cv_exeext" >&6; }
3133 rm -f conftest.$ac_ext
3134 EXEEXT=$ac_cv_exeext
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3142 FILE *f = fopen ("conftest.out", "w");
3143 return ferror (f) || fclose (f) != 0;
3149 ac_clean_files="$ac_clean_files conftest.out"
3150 # Check that the compiler produces executables we can run. If not, either
3151 # the compiler is broken, or we cross compile.
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3153 $as_echo_n "checking whether we are cross compiling... " >&6; }
3154 if test "$cross_compiling" != yes; then
3155 { { ac_try="$ac_link"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link") 2>&5
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }
3166 if { ac_try='./conftest$ac_cv_exeext'
3167 { { case "(($ac_try" in
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_try") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }; }; then
3179 if test "$cross_compiling" = maybe; then
3182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3184 as_fn_error "cannot run C compiled programs.
3185 If you meant to cross compile, use \`--host'.
3186 See \`config.log' for more details." "$LINENO" 5; }
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3191 $as_echo "$cross_compiling" >&6; }
3193 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3194 ac_clean_files=$ac_clean_files_save
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3196 $as_echo_n "checking for suffix of object files... " >&6; }
3197 if test "${ac_cv_objext+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 rm -f conftest.o conftest.obj
3212 if { { ac_try="$ac_compile"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_compile") 2>&5
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }; then :
3223 for ac_file in conftest.o conftest.obj conftest.*; do
3224 test -f "$ac_file" || continue;
3226 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3227 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3232 $as_echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3237 as_fn_error "cannot compute suffix of object files: cannot compile
3238 See \`config.log' for more details." "$LINENO" 5; }
3240 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3243 $as_echo "$ac_cv_objext" >&6; }
3244 OBJEXT=$ac_cv_objext
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3247 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3248 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3249 $as_echo_n "(cached) " >&6
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3265 if ac_fn_c_try_compile "$LINENO"; then :
3270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3275 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3276 if test $ac_compiler_gnu = yes; then
3281 ac_test_CFLAGS=${CFLAGS+set}
3282 ac_save_CFLAGS=$CFLAGS
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3284 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3285 if test "${ac_cv_prog_cc_g+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 ac_save_c_werror_flag=$ac_c_werror_flag
3289 ac_c_werror_flag=yes
3292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293 /* end confdefs.h. */
3303 if ac_fn_c_try_compile "$LINENO"; then :
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 if ac_fn_c_try_compile "$LINENO"; then :
3321 ac_c_werror_flag=$ac_save_c_werror_flag
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3334 if ac_fn_c_try_compile "$LINENO"; then :
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 ac_c_werror_flag=$ac_save_c_werror_flag
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3345 $as_echo "$ac_cv_prog_cc_g" >&6; }
3346 if test "$ac_test_CFLAGS" = set; then
3347 CFLAGS=$ac_save_CFLAGS
3348 elif test $ac_cv_prog_cc_g = yes; then
3349 if test "$GCC" = yes; then
3355 if test "$GCC" = yes; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3362 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3363 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3366 ac_cv_prog_cc_c89=no
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3372 #include <sys/types.h>
3373 #include <sys/stat.h>
3374 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3375 struct buf { int x; };
3376 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3377 static char *e (p, i)
3383 static char *f (char * (*g) (char **, int), char **p, ...)
3388 s = g (p, va_arg (v,int));
3393 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3394 function prototypes and stuff, but not '\xHH' hex character constants.
3395 These don't provoke an error unfortunately, instead are silently treated
3396 as 'x'. The following induces an error, until -std is added to get
3397 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3398 array size at least. It's necessary to write '\x00'==0 to get something
3399 that's true only with -std. */
3400 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3402 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3403 inside strings and character constants. */
3405 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3407 int test (int i, double x);
3408 struct s1 {int (*f) (int a);};
3409 struct s2 {int (*f) (double a);};
3410 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3421 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3422 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3424 CC="$ac_save_CC $ac_arg"
3425 if ac_fn_c_try_compile "$LINENO"; then :
3426 ac_cv_prog_cc_c89=$ac_arg
3428 rm -f core conftest.err conftest.$ac_objext
3429 test "x$ac_cv_prog_cc_c89" != "xno" && break
3431 rm -f conftest.$ac_ext
3436 case "x$ac_cv_prog_cc_c89" in
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3439 $as_echo "none needed" >&6; } ;;
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3442 $as_echo "unsupported" >&6; } ;;
3444 CC="$CC $ac_cv_prog_cc_c89"
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3446 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3448 if test "x$ac_cv_prog_cc_c89" != xno; then :
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 DEPDIR="${am__leading_dot}deps"
3459 ac_config_commands="$ac_config_commands depfiles"
3462 am_make=${MAKE-make}
3463 cat > confinc << 'END'
3465 @echo this is the am__doit target
3468 # If we don't find an include directive, just comment out the code.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3470 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3474 # First try GNU make style include.
3475 echo "include confinc" > confmf
3476 # Ignore all kinds of additional output from `make'.
3477 case `$am_make -s -f confmf 2> /dev/null` in #(
3478 *the\ am__doit\ target*)
3484 # Now try BSD make style include.
3485 if test "$am__include" = "#"; then
3486 echo '.include "confinc"' > confmf
3487 case `$am_make -s -f confmf 2> /dev/null` in #(
3488 *the\ am__doit\ target*)
3489 am__include=.include
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3498 $as_echo "$_am_result" >&6; }
3499 rm -f confinc confmf
3501 # Check whether --enable-dependency-tracking was given.
3502 if test "${enable_dependency_tracking+set}" = set; then :
3503 enableval=$enable_dependency_tracking;
3506 if test "x$enable_dependency_tracking" != xno; then
3507 am_depcomp="$ac_aux_dir/depcomp"
3510 if test "x$enable_dependency_tracking" != xno; then
3520 depcc="$CC" am_compiler_list=
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3523 $as_echo_n "checking dependency style of $depcc... " >&6; }
3524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528 # We make a subdir and do the tests there. Otherwise we can end up
3529 # making bogus files that we don't know about and never remove. For
3530 # instance it was reported that on HP-UX the gcc test will end up
3531 # making a dummy file named `D' -- because `-MD' means `put the output
3534 # Copy depcomp to subdir because otherwise we won't find it if we're
3535 # using a relative directory.
3536 cp "$am_depcomp" conftest.dir
3538 # We will build objects and dependencies in a subdirectory because
3539 # it helps to detect inapplicable dependency modes. For instance
3540 # both Tru64's cc and ICC support -MD to output dependencies as a
3541 # side effect of compilation, but ICC will put the dependencies in
3542 # the current directory while Tru64 will put them in the object
3546 am_cv_CC_dependencies_compiler_type=none
3547 if test "$am_compiler_list" = ""; then
3548 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3551 case " $depcc " in #(
3552 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3555 for depmode in $am_compiler_list; do
3556 # Setup a source with many dependencies, because some compilers
3557 # like to wrap large dependency lists on column 80 (with \), and
3558 # we should not choose a depcomp mode which is confused by this.
3560 # We need to recreate these files for each test, as the compiler may
3561 # overwrite some of them when testing with obscure command lines.
3562 # This happens at least with the AIX C compiler.
3564 for i in 1 2 3 4 5 6; do
3565 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3566 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3567 # Solaris 8's {/usr,}/bin/sh.
3568 touch sub/conftst$i.h
3570 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3573 # mode. It turns out that the SunPro C++ compiler does not properly
3574 # handle `-M -o', and we need to detect this. Also, some Intel
3575 # versions had trouble with output in subdirs
3576 am__obj=sub/conftest.${OBJEXT-o}
3577 am__minus_obj="-o $am__obj"
3580 # This depmode causes a compiler race in universal mode.
3581 test "$am__universal" = false || continue
3584 # after this tag, mechanisms are not by side-effect, so they'll
3585 # only be used when explicitly requested
3586 if test "x$enable_dependency_tracking" = xyes; then
3592 msvisualcpp | msvcmsys)
3593 # This compiler won't grok `-c -o', but also, the minuso test has
3594 # not run yet. These depmodes are late enough in the game, and
3595 # so weak that their functioning should not be impacted.
3596 am__obj=conftest.${OBJEXT-o}
3601 if depmode=$depmode \
3602 source=sub/conftest.c object=$am__obj \
3603 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3604 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3605 >/dev/null 2>conftest.err &&
3606 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3607 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3608 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3609 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3610 # icc doesn't choke on unknown options, it will just issue warnings
3611 # or remarks (even with -Werror). So we grep stderr for any message
3612 # that says an option was ignored or not supported.
3613 # When given -MP, icc 7.0 and 7.1 complain thusly:
3614 # icc: Command line warning: ignoring option '-M'; no argument required
3615 # The diagnosis changed in icc 8.0:
3616 # icc: Command line remark: option '-MP' not supported
3617 if (grep 'ignoring option' conftest.err ||
3618 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3619 am_cv_CC_dependencies_compiler_type=$depmode
3628 am_cv_CC_dependencies_compiler_type=none
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3633 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3634 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3637 test "x$enable_dependency_tracking" != xno \
3638 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3640 am__fastdepCC_FALSE='#'
3642 am__fastdepCC_TRUE='#'
3643 am__fastdepCC_FALSE=
3648 # Checks for libraries.
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
3652 $as_echo_n "checking for main in -lm... " >&6; }
3653 if test "${ac_cv_lib_m_main+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3656 ac_check_lib_save_LIBS=$LIBS
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3670 if ac_fn_c_try_link "$LINENO"; then :
3671 ac_cv_lib_m_main=yes
3675 rm -f core conftest.err conftest.$ac_objext \
3676 conftest$ac_exeext conftest.$ac_ext
3677 LIBS=$ac_check_lib_save_LIBS
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
3680 $as_echo "$ac_cv_lib_m_main" >&6; }
3681 if test "x$ac_cv_lib_m_main" = x""yes; then :
3682 cat >>confdefs.h <<_ACEOF
3691 # Checks for header files.
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3698 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3699 # On Suns, sometimes $CPP names a directory.
3700 if test -n "$CPP" && test -d "$CPP"; then
3703 if test -z "$CPP"; then
3704 if test "${ac_cv_prog_CPP+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 # Double quotes because CPP needs to be expanded
3708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3711 for ac_c_preproc_warn_flag in '' yes
3713 # Use a header file that comes with gcc, so configuring glibc
3714 # with a fresh cross-compiler works.
3715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3716 # <limits.h> exists even on freestanding compilers.
3717 # On the NeXT, cc -E runs the code through the compiler's parser,
3718 # not just through cpp. "Syntax error" is here to catch this case.
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3722 # include <limits.h>
3724 # include <assert.h>
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3731 # Broken: fails on valid input.
3734 rm -f conftest.err conftest.$ac_ext
3736 # OK, works on sane cases. Now check whether nonexistent headers
3737 # can be detected and how.
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3740 #include <ac_nonexistent.h>
3742 if ac_fn_c_try_cpp "$LINENO"; then :
3743 # Broken: success on invalid input.
3746 # Passes both tests.
3750 rm -f conftest.err conftest.$ac_ext
3753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754 rm -f conftest.err conftest.$ac_ext
3755 if $ac_preproc_ok; then :
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3768 $as_echo "$CPP" >&6; }
3770 for ac_c_preproc_warn_flag in '' yes
3772 # Use a header file that comes with gcc, so configuring glibc
3773 # with a fresh cross-compiler works.
3774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3775 # <limits.h> exists even on freestanding compilers.
3776 # On the NeXT, cc -E runs the code through the compiler's parser,
3777 # not just through cpp. "Syntax error" is here to catch this case.
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3781 # include <limits.h>
3783 # include <assert.h>
3787 if ac_fn_c_try_cpp "$LINENO"; then :
3790 # Broken: fails on valid input.
3793 rm -f conftest.err conftest.$ac_ext
3795 # OK, works on sane cases. Now check whether nonexistent headers
3796 # can be detected and how.
3797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3799 #include <ac_nonexistent.h>
3801 if ac_fn_c_try_cpp "$LINENO"; then :
3802 # Broken: success on invalid input.
3805 # Passes both tests.
3809 rm -f conftest.err conftest.$ac_ext
3812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3813 rm -f conftest.err conftest.$ac_ext
3814 if $ac_preproc_ok; then :
3817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3820 See \`config.log' for more details." "$LINENO" 5; }
3824 ac_cpp='$CPP $CPPFLAGS'
3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3831 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3832 if test "${ac_cv_path_GREP+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 if test -z "$GREP"; then
3836 ac_path_GREP_found=false
3837 # Loop through the user's path and test for each of PROGNAME-LIST
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3842 test -z "$as_dir" && as_dir=.
3843 for ac_prog in grep ggrep; do
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3846 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3847 # Check for GNU ac_path_GREP and select it if it is found.
3848 # Check for GNU $ac_path_GREP
3849 case `"$ac_path_GREP" --version 2>&1` in
3851 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3854 $as_echo_n 0123456789 >"conftest.in"
3857 cat "conftest.in" "conftest.in" >"conftest.tmp"
3858 mv "conftest.tmp" "conftest.in"
3859 cp "conftest.in" "conftest.nl"
3860 $as_echo 'GREP' >> "conftest.nl"
3861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3863 as_fn_arith $ac_count + 1 && ac_count=$as_val
3864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3865 # Best one so far, save it but keep looking for a better one
3866 ac_cv_path_GREP="$ac_path_GREP"
3867 ac_path_GREP_max=$ac_count
3869 # 10*(2^10) chars as input seems more than enough
3870 test $ac_count -gt 10 && break
3872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3875 $ac_path_GREP_found && break 3
3880 if test -z "$ac_cv_path_GREP"; then
3881 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3884 ac_cv_path_GREP=$GREP
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3889 $as_echo "$ac_cv_path_GREP" >&6; }
3890 GREP="$ac_cv_path_GREP"
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3894 $as_echo_n "checking for egrep... " >&6; }
3895 if test "${ac_cv_path_EGREP+set}" = set; then :
3896 $as_echo_n "(cached) " >&6
3898 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3899 then ac_cv_path_EGREP="$GREP -E"
3901 if test -z "$EGREP"; then
3902 ac_path_EGREP_found=false
3903 # Loop through the user's path and test for each of PROGNAME-LIST
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3908 test -z "$as_dir" && as_dir=.
3909 for ac_prog in egrep; do
3910 for ac_exec_ext in '' $ac_executable_extensions; do
3911 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3912 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3913 # Check for GNU ac_path_EGREP and select it if it is found.
3914 # Check for GNU $ac_path_EGREP
3915 case `"$ac_path_EGREP" --version 2>&1` in
3917 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3920 $as_echo_n 0123456789 >"conftest.in"
3923 cat "conftest.in" "conftest.in" >"conftest.tmp"
3924 mv "conftest.tmp" "conftest.in"
3925 cp "conftest.in" "conftest.nl"
3926 $as_echo 'EGREP' >> "conftest.nl"
3927 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3928 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3929 as_fn_arith $ac_count + 1 && ac_count=$as_val
3930 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3931 # Best one so far, save it but keep looking for a better one
3932 ac_cv_path_EGREP="$ac_path_EGREP"
3933 ac_path_EGREP_max=$ac_count
3935 # 10*(2^10) chars as input seems more than enough
3936 test $ac_count -gt 10 && break
3938 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3941 $ac_path_EGREP_found && break 3
3946 if test -z "$ac_cv_path_EGREP"; then
3947 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3950 ac_cv_path_EGREP=$EGREP
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3956 $as_echo "$ac_cv_path_EGREP" >&6; }
3957 EGREP="$ac_cv_path_EGREP"
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3961 $as_echo_n "checking for ANSI C header files... " >&6; }
3962 if test "${ac_cv_header_stdc+set}" = set; then :
3963 $as_echo_n "(cached) " >&6
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3980 if ac_fn_c_try_compile "$LINENO"; then :
3981 ac_cv_header_stdc=yes
3983 ac_cv_header_stdc=no
3985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987 if test $ac_cv_header_stdc = yes; then
3988 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3995 $EGREP "memchr" >/dev/null 2>&1; then :
3998 ac_cv_header_stdc=no
4004 if test $ac_cv_header_stdc = yes; then
4005 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4012 $EGREP "free" >/dev/null 2>&1; then :
4015 ac_cv_header_stdc=no
4021 if test $ac_cv_header_stdc = yes; then
4022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4023 if test "$cross_compiling" = yes; then :
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4030 #if ((' ' & 0x0FF) == 0x020)
4031 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4032 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4034 # define ISLOWER(c) \
4035 (('a' <= (c) && (c) <= 'i') \
4036 || ('j' <= (c) && (c) <= 'r') \
4037 || ('s' <= (c) && (c) <= 'z'))
4038 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4046 for (i = 0; i < 256; i++)
4047 if (XOR (islower (i), ISLOWER (i))
4048 || toupper (i) != TOUPPER (i))
4053 if ac_fn_c_try_run "$LINENO"; then :
4056 ac_cv_header_stdc=no
4058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4059 conftest.$ac_objext conftest.beam conftest.$ac_ext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4065 $as_echo "$ac_cv_header_stdc" >&6; }
4066 if test $ac_cv_header_stdc = yes; then
4068 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4072 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4073 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4074 inttypes.h stdint.h unistd.h
4076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4079 eval as_val=\$$as_ac_Header
4080 if test "x$as_val" = x""yes; then :
4081 cat >>confdefs.h <<_ACEOF
4082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4090 for ac_header in stdlib.h string.h sys/time.h unistd.h
4092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4093 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4094 eval as_val=\$$as_ac_Header
4095 if test "x$as_val" = x""yes; then :
4096 cat >>confdefs.h <<_ACEOF
4097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4105 # Checks for typedefs, structures, and compiler characteristics.
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4107 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4108 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4114 #include <stdbool.h>
4116 "error: bool is not defined"
4119 "error: false is not defined"
4122 "error: false is not 0"
4125 "error: true is not defined"
4128 "error: true is not 1"
4130 #ifndef __bool_true_false_are_defined
4131 "error: __bool_true_false_are_defined is not defined"
4134 struct s { _Bool s: 1; _Bool t; } s;
4136 char a[true == 1 ? 1 : -1];
4137 char b[false == 0 ? 1 : -1];
4138 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4139 char d[(bool) 0.5 == true ? 1 : -1];
4141 char f[(_Bool) 0.0 == false ? 1 : -1];
4143 char h[sizeof (_Bool)];
4145 enum { j = false, k = true, l = false * true, m = true * 256 };
4146 /* The following fails for
4147 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4149 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4150 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4151 # if defined __xlc__ || defined __GNUC__
4152 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4153 reported by James Lemley on 2005-10-05; see
4154 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4155 This test is not quite right, since xlc is allowed to
4156 reject this program, as the initializer for xlcbug is
4157 not one of the forms that C requires support for.
4158 However, doing the test right would require a runtime
4159 test, and that would make cross-compilation harder.
4160 Let us hope that IBM fixes the xlc bug, and also adds
4161 support for this kind of constant expression. In the
4162 meantime, this test will reject xlc, which is OK, since
4163 our stdbool.h substitute should suffice. We also test
4164 this with GCC, where it should work, to detect more
4165 quickly whether someone messes up the test in the
4167 char digs[] = "0123456789";
4168 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4170 /* Catch a bug in an HP-UX C compiler. See
4171 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4172 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4183 /* Refer to every declared value, to avoid compiler optimizations. */
4184 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4185 + !m + !n + !o + !p + !q + !pq);
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_header_stdbool_h=yes
4194 ac_cv_header_stdbool_h=no
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4199 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4200 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4201 if test "x$ac_cv_type__Bool" = x""yes; then :
4203 cat >>confdefs.h <<_ACEOF
4204 #define HAVE__BOOL 1
4210 if test $ac_cv_header_stdbool_h = yes; then
4212 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4217 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4218 if test "${ac_cv_c_const+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4227 /* FIXME: Include the comments suggested by Paul. */
4229 /* Ultrix mips cc rejects this. */
4230 typedef int charset[2];
4232 /* SunOS 4.1.1 cc rejects this. */
4233 char const *const *pcpcc;
4235 /* NEC SVR4.0.2 mips cc rejects this. */
4236 struct point {int x, y;};
4237 static struct point const zero = {0,0};
4238 /* AIX XL C 1.02.0.0 rejects this.
4239 It does not let you subtract one const X* pointer from another in
4240 an arm of an if-expression whose if-part is not a constant
4242 const char *g = "string";
4243 pcpcc = &g + (g ? g-g : 0);
4244 /* HPUX 7.0 cc rejects these. */
4246 ppc = (char**) pcpcc;
4247 pcpcc = (char const *const *) ppc;
4248 { /* SCO 3.2v4 cc rejects this. */
4250 char const *s = 0 ? (char *) 0 : (char const *) 0;
4255 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4257 const int *foo = &x[0];
4260 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4261 typedef const int *iptr;
4265 { /* AIX XL C 1.02.0.0 rejects this saying
4266 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4267 struct s { int j; const int *ap[3]; };
4268 struct s *b; b->j = 5;
4270 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4274 return !cs[0] && !zero.x;
4281 if ac_fn_c_try_compile "$LINENO"; then :
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4289 $as_echo "$ac_cv_c_const" >&6; }
4290 if test $ac_cv_c_const = no; then
4292 $as_echo "#define const /**/" >>confdefs.h
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4297 $as_echo_n "checking for inline... " >&6; }
4298 if test "${ac_cv_c_inline+set}" = set; then :
4299 $as_echo_n "(cached) " >&6
4302 for ac_kw in inline __inline__ __inline; do
4303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4307 static $ac_kw foo_t static_foo () {return 0; }
4308 $ac_kw foo_t foo () {return 0; }
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_c_inline=$ac_kw
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 test "$ac_cv_c_inline" != no && break
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4321 $as_echo "$ac_cv_c_inline" >&6; }
4323 case $ac_cv_c_inline in
4326 case $ac_cv_c_inline in
4328 *) ac_val=$ac_cv_c_inline;;
4330 cat >>confdefs.h <<_ACEOF
4332 #define inline $ac_val
4338 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4339 if test "x$ac_cv_type_pid_t" = x""yes; then :
4343 cat >>confdefs.h <<_ACEOF
4349 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4350 if test "x$ac_cv_type_size_t" = x""yes; then :
4354 cat >>confdefs.h <<_ACEOF
4355 #define size_t unsigned int
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4361 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4362 if test "${ac_cv_header_time+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #include <sys/types.h>
4368 #include <sys/time.h>
4374 if ((struct tm *) 0)
4380 if ac_fn_c_try_compile "$LINENO"; then :
4381 ac_cv_header_time=yes
4383 ac_cv_header_time=no
4385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4388 $as_echo "$ac_cv_header_time" >&6; }
4389 if test $ac_cv_header_time = yes; then
4391 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4396 # Checks for library functions.
4397 for ac_header in vfork.h
4399 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4400 if test "x$ac_cv_header_vfork_h" = x""yes; then :
4401 cat >>confdefs.h <<_ACEOF
4402 #define HAVE_VFORK_H 1
4409 for ac_func in fork vfork
4411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4413 eval as_val=\$$as_ac_var
4414 if test "x$as_val" = x""yes; then :
4415 cat >>confdefs.h <<_ACEOF
4416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4422 if test "x$ac_cv_func_fork" = xyes; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4424 $as_echo_n "checking for working fork... " >&6; }
4425 if test "${ac_cv_func_fork_works+set}" = set; then :
4426 $as_echo_n "(cached) " >&6
4428 if test "$cross_compiling" = yes; then :
4429 ac_cv_func_fork_works=cross
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4433 $ac_includes_default
4438 /* By Ruediger Kuhlmann. */
4445 if ac_fn_c_try_run "$LINENO"; then :
4446 ac_cv_func_fork_works=yes
4448 ac_cv_func_fork_works=no
4450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4451 conftest.$ac_objext conftest.beam conftest.$ac_ext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4456 $as_echo "$ac_cv_func_fork_works" >&6; }
4459 ac_cv_func_fork_works=$ac_cv_func_fork
4461 if test "x$ac_cv_func_fork_works" = xcross; then
4463 *-*-amigaos* | *-*-msdosdjgpp*)
4464 # Override, as these systems have only a dummy fork() stub
4465 ac_cv_func_fork_works=no
4468 ac_cv_func_fork_works=yes
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4472 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4474 ac_cv_func_vfork_works=$ac_cv_func_vfork
4475 if test "x$ac_cv_func_vfork" = xyes; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4477 $as_echo_n "checking for working vfork... " >&6; }
4478 if test "${ac_cv_func_vfork_works+set}" = set; then :
4479 $as_echo_n "(cached) " >&6
4481 if test "$cross_compiling" = yes; then :
4482 ac_cv_func_vfork_works=cross
4484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4485 /* end confdefs.h. */
4486 /* Thanks to Paul Eggert for this test. */
4487 $ac_includes_default
4488 #include <sys/wait.h>
4492 /* On some sparc systems, changes by the child to local and incoming
4493 argument registers are propagated back to the parent. The compiler
4494 is told about this with #include <vfork.h>, but some compilers
4495 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4496 static variable whose address is put into a register that is
4497 clobbered by the vfork. */
4500 sparc_address_test (int arg)
4502 sparc_address_test (arg) int arg;
4523 pid_t parent = getpid ();
4526 sparc_address_test (0);
4531 /* Here is another test for sparc vfork register problems. This
4532 test uses lots of local variables, at least as many local
4533 variables as main has allocated so far including compiler
4534 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4535 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4536 reuse the register of parent for one of the local variables,
4537 since it will think that parent can't possibly be used any more
4538 in this routine. Assigning to the local variable will thus
4539 munge parent in the parent process. */
4541 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4542 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4543 /* Convince the compiler that p..p7 are live; otherwise, it might
4544 use the same hardware register for all 8 local variables. */
4545 if (p != p1 || p != p2 || p != p3 || p != p4
4546 || p != p5 || p != p6 || p != p7)
4549 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4550 from child file descriptors. If the child closes a descriptor
4551 before it execs or exits, this munges the parent's descriptor
4552 as well. Test for this by closing stdout in the child. */
4553 _exit(close(fileno(stdout)) != 0);
4558 while (wait(&status) != child)
4561 /* Was there some problem with vforking? */
4564 /* Did the child fail? (This shouldn't happen.) */
4567 /* Did the vfork/compiler bug occur? */
4568 || parent != getpid()
4570 /* Did the file descriptor bug occur? */
4571 || fstat(fileno(stdout), &st) != 0
4576 if ac_fn_c_try_run "$LINENO"; then :
4577 ac_cv_func_vfork_works=yes
4579 ac_cv_func_vfork_works=no
4581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4582 conftest.$ac_objext conftest.beam conftest.$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
4587 $as_echo "$ac_cv_func_vfork_works" >&6; }
4590 if test "x$ac_cv_func_fork_works" = xcross; then
4591 ac_cv_func_vfork_works=$ac_cv_func_vfork
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4593 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4596 if test "x$ac_cv_func_vfork_works" = xyes; then
4598 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
4602 $as_echo "#define vfork fork" >>confdefs.h
4605 if test "x$ac_cv_func_fork_works" = xyes; then
4607 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
4611 for ac_header in stdlib.h
4613 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4614 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4615 cat >>confdefs.h <<_ACEOF
4616 #define HAVE_STDLIB_H 1
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4624 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4625 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4628 if test "$cross_compiling" = yes; then :
4629 ac_cv_func_malloc_0_nonnull=no
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4634 # include <stdlib.h>
4642 return ! malloc (0);
4647 if ac_fn_c_try_run "$LINENO"; then :
4648 ac_cv_func_malloc_0_nonnull=yes
4650 ac_cv_func_malloc_0_nonnull=no
4652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4653 conftest.$ac_objext conftest.beam conftest.$ac_ext
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4658 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4659 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4661 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4664 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4666 case " $LIBOBJS " in
4667 *" malloc.$ac_objext "* ) ;;
4668 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4673 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4678 for ac_header in stdlib.h
4680 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4681 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4682 cat >>confdefs.h <<_ACEOF
4683 #define HAVE_STDLIB_H 1
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4691 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4692 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4695 if test "$cross_compiling" = yes; then :
4696 ac_cv_func_realloc_0_nonnull=no
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4701 # include <stdlib.h>
4709 return ! realloc (0, 0);
4714 if ac_fn_c_try_run "$LINENO"; then :
4715 ac_cv_func_realloc_0_nonnull=yes
4717 ac_cv_func_realloc_0_nonnull=no
4719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4720 conftest.$ac_objext conftest.beam conftest.$ac_ext
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4725 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4726 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4728 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4731 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4733 case " $LIBOBJS " in
4734 *" realloc.$ac_objext "* ) ;;
4735 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4740 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4745 for ac_header in sys/select.h sys/socket.h
4747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4748 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4749 eval as_val=\$$as_ac_Header
4750 if test "x$as_val" = x""yes; then :
4751 cat >>confdefs.h <<_ACEOF
4752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4760 $as_echo_n "checking types of arguments for select... " >&6; }
4761 if test "${ac_cv_func_select_args+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
4765 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4766 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4769 $ac_includes_default
4770 #ifdef HAVE_SYS_SELECT_H
4771 # include <sys/select.h>
4773 #ifdef HAVE_SYS_SOCKET_H
4774 # include <sys/socket.h>
4780 extern int select ($ac_arg1,
4781 $ac_arg234, $ac_arg234, $ac_arg234,
4787 if ac_fn_c_try_compile "$LINENO"; then :
4788 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 # Provide a safe default value.
4795 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4799 $as_echo "$ac_cv_func_select_args" >&6; }
4800 ac_save_IFS=$IFS; IFS=','
4801 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4805 cat >>confdefs.h <<_ACEOF
4806 #define SELECT_TYPE_ARG1 $1
4810 cat >>confdefs.h <<_ACEOF
4811 #define SELECT_TYPE_ARG234 ($2)
4815 cat >>confdefs.h <<_ACEOF
4816 #define SELECT_TYPE_ARG5 ($3)
4821 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
4822 $as_echo_n "(cached) " >&6
4824 ac_cv_func_setvbuf_reversed=no
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4829 $as_echo_n "checking return type of signal handlers... " >&6; }
4830 if test "${ac_cv_type_signal+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4835 #include <sys/types.h>
4841 return *(signal (0, 0)) (0) == 1;
4846 if ac_fn_c_try_compile "$LINENO"; then :
4847 ac_cv_type_signal=int
4849 ac_cv_type_signal=void
4851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4854 $as_echo "$ac_cv_type_signal" >&6; }
4856 cat >>confdefs.h <<_ACEOF
4857 #define RETSIGTYPE $ac_cv_type_signal
4861 for ac_func in vprintf
4863 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4864 if test "x$ac_cv_func_vprintf" = x""yes; then :
4865 cat >>confdefs.h <<_ACEOF
4866 #define HAVE_VPRINTF 1
4869 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4870 if test "x$ac_cv_func__doprnt" = x""yes; then :
4872 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4880 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
4882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4884 eval as_val=\$$as_ac_var
4885 if test "x$as_val" = x""yes; then :
4886 cat >>confdefs.h <<_ACEOF
4887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4895 ac_config_files="$ac_config_files Makefile"
4897 cat >confcache <<\_ACEOF
4898 # This file is a shell script that caches the results of configure
4899 # tests run on this system so they can be shared between configure
4900 # scripts and configure runs, see configure's option --config-cache.
4901 # It is not useful on other systems. If it contains results you don't
4902 # want to keep, you may remove or edit it.
4904 # config.status only pays attention to the cache file if you give it
4905 # the --recheck option to rerun configure.
4907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4913 # The following way of writing the cache mishandles newlines in values,
4914 # but we know of no workaround that is simple, portable, and efficient.
4915 # So, we kill variables containing newlines.
4916 # Ultrix sh set writes to stderr and can't be redirected directly,
4917 # and sets the high bit in the cache file unless we assign to the vars.
4919 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4920 eval ac_val=\$$ac_var
4924 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4925 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4928 _ | IFS | as_nl) ;; #(
4929 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4930 *) { eval $ac_var=; unset $ac_var;} ;;
4936 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4937 *${as_nl}ac_space=\ *)
4938 # `set' does not quote correctly, so add quotes: double-quote
4939 # substitution turns \\\\ into \\, and sed turns \\ into \.
4942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4945 # `set' quotes correctly as required by POSIX, so do not add quotes.
4946 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4957 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4959 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4960 if test -w "$cache_file"; then
4961 test "x$cache_file" != "x/dev/null" &&
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4963 $as_echo "$as_me: updating cache $cache_file" >&6;}
4964 cat confcache >$cache_file
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4967 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4973 # Let make expand exec_prefix.
4974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4976 DEFS=-DHAVE_CONFIG_H
4980 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4981 # 1. Remove the extension, and $U if already installed.
4982 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4983 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4984 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4985 # will be set to the directory where LIBOBJS objects are built.
4986 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4987 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4991 LTLIBOBJS=$ac_ltlibobjs
4994 if test -n "$EXEEXT"; then
4996 am__EXEEXT_FALSE='#'
5002 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5003 as_fn_error "conditional \"AMDEP\" was never defined.
5004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5006 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5007 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5011 : ${CONFIG_STATUS=./config.status}
5013 ac_clean_files_save=$ac_clean_files
5014 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5016 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5020 # Generated by $as_me.
5021 # Run this file to recreate the current configuration.
5022 # Compiler output produced by configure, useful for debugging
5023 # configure, is in config.log if it exists.
5029 SHELL=\${CONFIG_SHELL-$SHELL}
5032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5033 ## -------------------- ##
5034 ## M4sh Initialization. ##
5035 ## -------------------- ##
5037 # Be more Bourne compatible
5038 DUALCASE=1; export DUALCASE # for MKS sh
5039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5043 # is contrary to our usage. Disable this feature.
5044 alias -g '${1+"$@"}'='"$@"'
5045 setopt NO_GLOB_SUBST
5047 case `(set -o) 2>/dev/null` in #(
5059 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5060 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5063 # Prefer a ksh shell builtin over an external printf program on Solaris,
5064 # but without wasting forks for bash or zsh.
5065 if test -z "$BASH_VERSION$ZSH_VERSION" \
5066 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5067 as_echo='print -r --'
5068 as_echo_n='print -rn --'
5069 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5070 as_echo='printf %s\n'
5071 as_echo_n='printf %s'
5073 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5074 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5075 as_echo_n='/usr/ucb/echo -n'
5077 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5078 as_echo_n_body='eval
5082 expr "X$arg" : "X\\(.*\\)$as_nl";
5083 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5085 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5087 export as_echo_n_body
5088 as_echo_n='sh -c $as_echo_n_body as_echo'
5091 as_echo='sh -c $as_echo_body as_echo'
5094 # The user is always right.
5095 if test "${PATH_SEPARATOR+set}" != set; then
5097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5105 # We need space, tab and new line, in precisely that order. Quoting is
5106 # there to prevent editors from complaining about space-tab.
5107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5108 # splitting by setting IFS to empty value.)
5111 # Find who we are. Look in the path if we contain no directory separator.
5113 *[\\/]* ) as_myself=$0 ;;
5114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir=.
5119 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5125 # We did not find ourselves, most probably we were run as `sh COMMAND'
5126 # in which case we are not to be found in the path.
5127 if test "x$as_myself" = x; then
5130 if test ! -f "$as_myself"; then
5131 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5135 # Unset variables that we do not need and which cause bugs (e.g. in
5136 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5137 # suppresses any "Segmentation fault" message there. '((' could
5138 # trigger a bug in pdksh 5.2.14.
5139 for as_var in BASH_ENV ENV MAIL MAILPATH
5140 do eval test x\${$as_var+set} = xset \
5141 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5154 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5157 # as_fn_error ERROR [LINENO LOG_FD]
5158 # ---------------------------------
5159 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5160 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5161 # script with status $?, using 1 if that was 0.
5164 as_status=$?; test $as_status -eq 0 && as_status=1
5166 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5167 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5169 $as_echo "$as_me: error: $1" >&2
5170 as_fn_exit $as_status
5174 # as_fn_set_status STATUS
5175 # -----------------------
5176 # Set $? to STATUS, without forking.
5180 } # as_fn_set_status
5184 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5194 # Portably unset VAR.
5197 { eval $1=; unset $1;}
5199 as_unset=as_fn_unset
5200 # as_fn_append VAR VALUE
5201 # ----------------------
5202 # Append the text in VALUE to the end of the definition contained in VAR. Take
5203 # advantage of any shell optimizations that allow amortized linear growth over
5204 # repeated appends, instead of the typical quadratic growth present in naive
5206 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5207 eval 'as_fn_append ()
5218 # as_fn_arith ARG...
5219 # ------------------
5220 # Perform arithmetic evaluation on the ARGs, and store the result in the
5221 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5222 # must be portable across $(()) and expr.
5223 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5224 eval 'as_fn_arith ()
5231 as_val=`expr "$@" || test $? -eq 1`
5236 if expr a : '\(a\)' >/dev/null 2>&1 &&
5237 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5243 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5244 as_basename=basename
5249 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5255 as_me=`$as_basename -- "$0" ||
5256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5257 X"$0" : 'X\(//\)$' \| \
5258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5260 sed '/^.*\/\([^/][^/]*\)\/*$/{
5274 # Avoid depending upon Character Ranges.
5275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5278 as_cr_digits='0123456789'
5279 as_cr_alnum=$as_cr_Letters$as_cr_digits
5281 ECHO_C= ECHO_N= ECHO_T=
5282 case `echo -n x` in #(((((
5284 case `echo 'xy\c'` in
5285 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5287 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5294 rm -f conf$$ conf$$.exe conf$$.file
5295 if test -d conf$$.dir; then
5296 rm -f conf$$.dir/conf$$.file
5299 mkdir conf$$.dir 2>/dev/null
5301 if (echo >conf$$.file) 2>/dev/null; then
5302 if ln -s conf$$.file conf$$ 2>/dev/null; then
5304 # ... but there are two gotchas:
5305 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5306 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5307 # In both cases, we have to default to `cp -p'.
5308 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5310 elif ln conf$$.file conf$$ 2>/dev/null; then
5318 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5319 rmdir conf$$.dir 2>/dev/null
5324 # Create "$as_dir" as a directory, including parents if necessary.
5329 -*) as_dir=./$as_dir;;
5331 test -d "$as_dir" || eval $as_mkdir_p || {
5335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5336 *) as_qdir=$as_dir;;
5338 as_dirs="'$as_qdir' $as_dirs"
5339 as_dir=`$as_dirname -- "$as_dir" ||
5340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5341 X"$as_dir" : 'X\(//\)[^/]' \| \
5342 X"$as_dir" : 'X\(//\)$' \| \
5343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5344 $as_echo X"$as_dir" |
5345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5362 test -d "$as_dir" && break
5364 test -z "$as_dirs" || eval "mkdir $as_dirs"
5365 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5369 if mkdir -p . 2>/dev/null; then
5370 as_mkdir_p='mkdir -p "$as_dir"'
5372 test -d ./-p && rmdir ./-p
5376 if test -x / >/dev/null 2>&1; then
5379 if ls -dL / >/dev/null 2>&1; then
5386 if test -d "$1"; then
5392 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5393 ???[sx]*):;;*)false;;esac;fi
5397 as_executable_p=$as_test_x
5399 # Sed expression to map a string onto a valid CPP name.
5400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5402 # Sed expression to map a string onto a valid variable name.
5403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5407 ## ----------------------------------- ##
5408 ## Main body of $CONFIG_STATUS script. ##
5409 ## ----------------------------------- ##
5411 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5414 # Save the log message, to keep $0 and so on meaningful, and to
5415 # report actual input values of CONFIG_FILES etc. instead of their
5416 # values after options handling.
5418 This file was extended by polyglot $as_me 1.4.59b, which was
5419 generated by GNU Autoconf 2.65. Invocation command line was
5421 CONFIG_FILES = $CONFIG_FILES
5422 CONFIG_HEADERS = $CONFIG_HEADERS
5423 CONFIG_LINKS = $CONFIG_LINKS
5424 CONFIG_COMMANDS = $CONFIG_COMMANDS
5427 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5432 case $ac_config_files in *"
5433 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5436 case $ac_config_headers in *"
5437 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5442 # Files that config.status was made for.
5443 config_files="$ac_config_files"
5444 config_headers="$ac_config_headers"
5445 config_commands="$ac_config_commands"
5449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5451 \`$as_me' instantiates files and other configuration actions
5452 from templates according to the current configuration. Unless the files
5453 and actions are specified as TAGs, all are instantiated by default.
5455 Usage: $0 [OPTION]... [TAG]...
5457 -h, --help print this help, then exit
5458 -V, --version print version number and configuration settings, then exit
5459 --config print configuration, then exit
5460 -q, --quiet, --silent
5461 do not print progress messages
5462 -d, --debug don't remove temporary files
5463 --recheck update $as_me by reconfiguring in the same conditions
5464 --file=FILE[:TEMPLATE]
5465 instantiate the configuration file FILE
5466 --header=FILE[:TEMPLATE]
5467 instantiate the configuration header FILE
5469 Configuration files:
5472 Configuration headers:
5475 Configuration commands:
5478 Report bugs to <michel.vandenbergh@uhasselt.be>."
5481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5482 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5484 polyglot config.status 1.4.59b
5485 configured by $0, generated by GNU Autoconf 2.65,
5486 with options \\"\$ac_cs_config\\"
5488 Copyright (C) 2009 Free Software Foundation, Inc.
5489 This config.status script is free software; the Free Software Foundation
5490 gives unlimited permission to copy, distribute and modify it."
5497 test -n "\$AWK" || AWK=awk
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 # The default lists apply if the user does not specify any file.
5507 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5508 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5519 # Handling of the options.
5520 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5522 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5523 $as_echo "$ac_cs_version"; exit ;;
5524 --config | --confi | --conf | --con | --co | --c )
5525 $as_echo "$ac_cs_config"; exit ;;
5526 --debug | --debu | --deb | --de | --d | -d )
5528 --file | --fil | --fi | --f )
5531 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5533 as_fn_append CONFIG_FILES " '$ac_optarg'"
5534 ac_need_defaults=false;;
5535 --header | --heade | --head | --hea )
5538 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5540 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5541 ac_need_defaults=false;;
5543 # Conflict between --help and --header
5544 as_fn_error "ambiguous option: \`$1'
5545 Try \`$0 --help' for more information.";;
5546 --help | --hel | -h )
5547 $as_echo "$ac_cs_usage"; exit ;;
5548 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5549 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5553 -*) as_fn_error "unrecognized option: \`$1'
5554 Try \`$0 --help' for more information." ;;
5556 *) as_fn_append ac_config_targets " $1"
5557 ac_need_defaults=false ;;
5563 ac_configure_extra_args=
5565 if $ac_cs_silent; then
5567 ac_configure_extra_args="$ac_configure_extra_args --silent"
5571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5572 if \$ac_cs_recheck; then
5573 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5575 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5576 CONFIG_SHELL='$SHELL'
5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5587 ## Running $as_me. ##
5593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5597 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5603 # Handling of arguments.
5604 for ac_config_target in $ac_config_targets
5606 case $ac_config_target in
5607 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5608 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5609 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5611 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5616 # If the user did not use the arguments to specify the items to instantiate,
5617 # then the envvar interface is used. Set only those that are not.
5618 # We use the long form for the default assignment because of an extremely
5619 # bizarre bug on SunOS 4.1.3.
5620 if $ac_need_defaults; then
5621 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5622 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5623 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5626 # Have a temporary directory for convenience. Make it in the build tree
5627 # simply because there is no reason against having it here, and in addition,
5628 # creating and moving files from /tmp can sometimes cause problems.
5629 # Hook for its removal unless debugging.
5630 # Note that there is a small window in which the directory will not be cleaned:
5631 # after its creation but before its name has been assigned to `$tmp'.
5635 trap 'exit_status=$?
5636 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5638 trap 'as_fn_exit 1' 1 2 13 15
5640 # Create a (secure) tmp directory for tmp files.
5643 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5644 test -n "$tmp" && test -d "$tmp"
5647 tmp=./conf$$-$RANDOM
5648 (umask 077 && mkdir "$tmp")
5649 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5651 # Set up the scripts for CONFIG_FILES section.
5652 # No need to generate them if there are no CONFIG_FILES.
5653 # This happens for instance with `./config.status config.h'.
5654 if test -n "$CONFIG_FILES"; then
5657 ac_cr=`echo X | tr X '\015'`
5658 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5659 # But we know of no other shell where ac_cr would be empty at this
5660 # point, so we can use a bashism as a fallback.
5661 if test "x$ac_cr" = x; then
5662 eval ac_cr=\$\'\\r\'
5664 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5665 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5671 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5676 echo "cat >conf$$subs.awk <<_ACEOF" &&
5677 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5680 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5681 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5683 for ac_last_try in false false false false false :; do
5684 . ./conf$$subs.sh ||
5685 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5687 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5688 if test $ac_delim_n = $ac_delim_num; then
5690 elif $ac_last_try; then
5691 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5693 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5699 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5703 s/^/S["/; s/!.*/"]=/
5713 s/\(.\{148\}\)..*/\1/
5715 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5720 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5727 s/\(.\{148\}\)..*/\1/
5729 s/["\\]/\\&/g; s/^/"/; s/$/"/
5733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5738 ' <conf$$subs.awk | sed '
5743 ' >>$CONFIG_STATUS || ac_write_fail=1
5744 rm -f conf$$subs.awk
5745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5747 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5748 for (key in S) S_is_set[key] = 1
5754 nfields = split(line, field, "@")
5756 len = length(field[1])
5757 for (i = 2; i < nfields; i++) {
5759 keylen = length(key)
5760 if (S_is_set[key]) {
5762 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5763 len += length(value) + length(field[++i])
5774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5775 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5776 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5779 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5780 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5783 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5784 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5785 # trailing colons and then remove the whole line if VPATH becomes empty
5786 # (actually we leave an empty line to preserve line numbers).
5787 if test "x$srcdir" = x.; then
5788 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5792 s/^\([^=]*=[ ]*\):*/\1/
5798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5799 fi # test -n "$CONFIG_FILES"
5801 # Set up the scripts for CONFIG_HEADERS section.
5802 # No need to generate them if there are no CONFIG_HEADERS.
5803 # This happens for instance with `./config.status Makefile'.
5804 if test -n "$CONFIG_HEADERS"; then
5805 cat >"$tmp/defines.awk" <<\_ACAWK ||
5809 # Transform confdefs.h into an awk script `defines.awk', embedded as
5810 # here-document in config.status, that substitutes the proper values into
5811 # config.h.in to produce config.h.
5813 # Create a delimiter string that does not exist in confdefs.h, to ease
5814 # handling of long lines.
5816 for ac_last_try in false false :; do
5817 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5818 if test -z "$ac_t"; then
5820 elif $ac_last_try; then
5821 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5823 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5827 # For the awk script, D is an array of macro values keyed by name,
5828 # likewise P contains macro parameters if any. Preserve backslash
5829 # newline sequences.
5831 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5833 s/.\{148\}/&'"$ac_delim"'/g
5836 s/^[ ]*#[ ]*define[ ][ ]*/ /
5843 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5845 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5849 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5850 D["\1"]=" \3\\\\\\n"\\/p
5852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5857 s/.\{148\}/&'"$ac_delim"'/g
5862 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5865 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5867 ' <confdefs.h | sed '
5868 s/'"$ac_delim"'/"\\\
5869 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5872 for (key in D) D_is_set[key] = 1
5875 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5877 split(line, arg, " ")
5878 if (arg[1] == "#") {
5882 defundef = substr(arg[1], 2)
5885 split(mac1, mac2, "(") #)
5887 prefix = substr(line, 1, index(line, defundef) - 1)
5888 if (D_is_set[macro]) {
5889 # Preserve the white space surrounding the "#".
5890 print prefix "define", macro P[macro] D[macro]
5893 # Replace #undef with comments. This is necessary, for example,
5894 # in the case of _POSIX_SOURCE, which is predefined and required
5895 # on some systems where configure will not decide to define it.
5896 if (defundef == "undef") {
5897 print "/*", prefix defundef, macro, "*/"
5905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5906 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5907 fi # test -n "$CONFIG_HEADERS"
5910 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5915 :[FHLC]) ac_mode=$ac_tag; continue;;
5917 case $ac_mode$ac_tag in
5919 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5920 :[FH]-) ac_tag=-:-;;
5921 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5938 -) ac_f="$tmp/stdin";;
5939 *) # Look for the file first in the build tree, then in the source tree
5940 # (if the path is not absolute). The absolute path cannot be DOS-style,
5941 # because $ac_f cannot contain `:'.
5945 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5947 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5949 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5950 as_fn_append ac_file_inputs " '$ac_f'"
5953 # Let's still pretend it is `configure' which instantiates (i.e., don't
5954 # use $as_me), people would be surprised to read:
5955 # /* config.h. Generated by config.status. */
5956 configure_input='Generated from '`
5957 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5959 if test x"$ac_file" != x-; then
5960 configure_input="$ac_file. $configure_input"
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5962 $as_echo "$as_me: creating $ac_file" >&6;}
5964 # Neutralize special characters interpreted by sed in replacement strings.
5965 case $configure_input in #(
5966 *\&* | *\|* | *\\* )
5967 ac_sed_conf_input=`$as_echo "$configure_input" |
5968 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5969 *) ac_sed_conf_input=$configure_input;;
5973 *:-:* | *:-) cat >"$tmp/stdin" \
5974 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5979 ac_dir=`$as_dirname -- "$ac_file" ||
5980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5981 X"$ac_file" : 'X\(//\)[^/]' \| \
5982 X"$ac_file" : 'X\(//\)$' \| \
5983 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5984 $as_echo X"$ac_file" |
5985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6002 as_dir="$ac_dir"; as_fn_mkdir_p
6006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6008 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6009 # A ".." for each directory in $ac_dir_suffix.
6010 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6011 case $ac_top_builddir_sub in
6012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6016 ac_abs_top_builddir=$ac_pwd
6017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6018 # for backward compatibility:
6019 ac_top_builddir=$ac_top_build_prefix
6022 .) # We are building in place.
6024 ac_top_srcdir=$ac_top_builddir_sub
6025 ac_abs_top_srcdir=$ac_pwd ;;
6026 [\\/]* | ?:[\\/]* ) # Absolute name.
6027 ac_srcdir=$srcdir$ac_dir_suffix;
6028 ac_top_srcdir=$srcdir
6029 ac_abs_top_srcdir=$srcdir ;;
6031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6032 ac_top_srcdir=$ac_top_build_prefix$srcdir
6033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6045 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6046 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6050 [\\/$]* | ?:[\\/]* ) ;;
6051 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6056 # If the template does not know about datarootdir, expand it.
6057 # FIXME: This hack should be removed a few years after 2.60.
6058 ac_datarootdir_hack=; ac_datarootdir_seen=
6069 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6070 *datarootdir*) ac_datarootdir_seen=yes;;
6071 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6073 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6076 ac_datarootdir_hack='
6077 s&@datadir@&$datadir&g
6078 s&@docdir@&$docdir&g
6079 s&@infodir@&$infodir&g
6080 s&@localedir@&$localedir&g
6081 s&@mandir@&$mandir&g
6082 s&\\\${datarootdir}&$datarootdir&g' ;;
6086 # Neutralize VPATH when `$srcdir' = `.'.
6087 # Shell code in configure.ac might set extrasub.
6088 # FIXME: do we really want to maintain this feature?
6089 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6090 ac_sed_extra="$ac_vpsub
6093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6095 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6096 s|@configure_input@|$ac_sed_conf_input|;t t
6097 s&@top_builddir@&$ac_top_builddir_sub&;t t
6098 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6099 s&@srcdir@&$ac_srcdir&;t t
6100 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6101 s&@top_srcdir@&$ac_top_srcdir&;t t
6102 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6103 s&@builddir@&$ac_builddir&;t t
6104 s&@abs_builddir@&$ac_abs_builddir&;t t
6105 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6106 s&@INSTALL@&$ac_INSTALL&;t t
6107 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6108 $ac_datarootdir_hack
6110 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6111 || as_fn_error "could not create $ac_file" "$LINENO" 5
6113 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6114 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6115 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6117 which seems to be undefined. Please make sure it is defined." >&5
6118 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6119 which seems to be undefined. Please make sure it is defined." >&2;}
6123 -) cat "$tmp/out" && rm -f "$tmp/out";;
6124 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6126 || as_fn_error "could not create $ac_file" "$LINENO" 5
6132 if test x"$ac_file" != x-; then
6134 $as_echo "/* $configure_input */" \
6135 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6136 } >"$tmp/config.h" \
6137 || as_fn_error "could not create $ac_file" "$LINENO" 5
6138 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6140 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6143 mv "$tmp/config.h" "$ac_file" \
6144 || as_fn_error "could not create $ac_file" "$LINENO" 5
6147 $as_echo "/* $configure_input */" \
6148 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6149 || as_fn_error "could not create -" "$LINENO" 5
6151 # Compute "$ac_file"'s index in $config_headers.
6154 for _am_header in $config_headers :; do
6156 $_am_arg | $_am_arg:* )
6159 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6162 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6163 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6164 X"$_am_arg" : 'X\(//\)[^/]' \| \
6165 X"$_am_arg" : 'X\(//\)$' \| \
6166 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6167 $as_echo X"$_am_arg" |
6168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6184 s/.*/./; q'`/stamp-h$_am_stamp_count
6187 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6188 $as_echo "$as_me: executing $ac_file commands" >&6;}
6193 case $ac_file$ac_mode in
6194 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6195 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6196 # are listed without --file. Let's play safe and only enable the eval
6197 # if we detect the quoting.
6198 case $CONFIG_FILES in
6199 *\'*) eval set x "$CONFIG_FILES" ;;
6200 *) set x $CONFIG_FILES ;;
6205 # Strip MF so we end up with the name of the file.
6206 mf=`echo "$mf" | sed -e 's/:.*$//'`
6207 # Check whether this is an Automake generated Makefile or not.
6208 # We used to match only the files named `Makefile.in', but
6209 # some people rename them; so instead we look at the file content.
6210 # Grep'ing the first line is not enough: some people post-process
6211 # each Makefile.in and add a new line on top of each file to say so.
6212 # Grep'ing the whole file is not good either: AIX grep has a line
6213 # limit of 2048, but all sed's we know have understand at least 4000.
6214 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6215 dirpart=`$as_dirname -- "$mf" ||
6216 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6217 X"$mf" : 'X\(//\)[^/]' \| \
6218 X"$mf" : 'X\(//\)$' \| \
6219 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6241 # Extract the definition of DEPDIR, am__include, and am__quote
6242 # from the Makefile without running `make'.
6243 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6244 test -z "$DEPDIR" && continue
6245 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6246 test -z "am__include" && continue
6247 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6248 # When using ansi2knr, U may be empty or an underscore; expand it
6249 U=`sed -n 's/^U = //p' < "$mf"`
6250 # Find all dependency output files, they are included files with
6251 # $(DEPDIR) in their names. We invoke sed twice because it is the
6252 # simplest approach to changing $(DEPDIR) to its actual value in the
6254 for file in `sed -n "
6255 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6256 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6257 # Make sure the directory exists.
6258 test -f "$dirpart/$file" && continue
6259 fdir=`$as_dirname -- "$file" ||
6260 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6261 X"$file" : 'X\(//\)[^/]' \| \
6262 X"$file" : 'X\(//\)$' \| \
6263 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6282 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6283 # echo "creating $dirpart/$file"
6284 echo '# dummy' > "$dirpart/$file"
6296 ac_clean_files=$ac_clean_files_save
6298 test $ac_write_fail = 0 ||
6299 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6302 # configure is writing to config.log, and then calls config.status.
6303 # config.status does its own redirection, appending to config.log.
6304 # Unfortunately, on DOS this fails, as config.log is still kept open
6305 # by configure, so config.status won't be able to write to it; its
6306 # output is simply discarded. So we exec the FD to /dev/null,
6307 # effectively closing config.log, so it can be properly (re)opened and
6308 # appended to by config.status. When coming back to configure, we
6309 # need to make the FD available again.
6310 if test "$no_create" != yes; then
6312 ac_config_status_args=
6313 test "$silent" = yes &&
6314 ac_config_status_args="$ac_config_status_args --quiet"
6316 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6318 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6319 # would make configure fail if this is the last instruction.
6320 $ac_cs_success || as_fn_exit $?
6322 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6324 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}