2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for polyglot 1.4.56b.
5 # Report bugs to <michel.vandenbergh@uhasselt.be>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: michel.vandenbergh@uhasselt.be about your system,
233 $0: including any error possibly output before this
234 $0: message. Then install a modern shell, or manually run
235 $0: the script under such a shell if you do have one."
241 SHELL=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE= GREP_OPTIONS=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir=./$as_dir;;
286 test -d "$as_dir" || eval $as_mkdir_p || {
290 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs="'$as_qdir' $as_dirs"
294 as_dir=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" || eval "mkdir $as_dirs"
320 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 as_val=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status=$?; test $as_status -eq 0 && as_status=1
369 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit $as_status
376 if expr a : '\(a\)' >/dev/null 2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_me=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits='0123456789'
419 as_cr_alnum=$as_cr_Letters$as_cr_digits
422 as_lineno_1=$LINENO as_lineno_1a=$LINENO
423 as_lineno_2=$LINENO as_lineno_2a=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x "$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C= ECHO_N= ECHO_T=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 rm -f conf$$ conf$$.exe conf$$.file
467 if test -d conf$$.dir; then
468 rm -f conf$$.dir/conf$$.file
471 mkdir conf$$.dir 2>/dev/null
473 if (echo >conf$$.file) 2>/dev/null; then
474 if ln -s conf$$.file conf$$ 2>/dev/null; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482 elif ln conf$$.file conf$$ 2>/dev/null; then
490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491 rmdir conf$$.dir 2>/dev/null
493 if mkdir -p . 2>/dev/null; then
494 as_mkdir_p='mkdir -p "$as_dir"'
496 test -d ./-p && rmdir ./-p
500 if test -x / >/dev/null 2>&1; then
503 if ls -dL / >/dev/null 2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 exec 7<&0 </dev/null 6>&1
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix=/usr/local
542 ac_config_libobj_dir=.
549 # Identity of this package.
550 PACKAGE_NAME='polyglot'
551 PACKAGE_TARNAME='polyglot'
552 PACKAGE_VERSION='1.4.56b'
553 PACKAGE_STRING='polyglot 1.4.56b'
554 PACKAGE_BUGREPORT='michel.vandenbergh@uhasselt.be'
557 ac_unique_file="mainloop.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars='LTLIBOBJS
623 INSTALL_STRIP_PROGRAM
665 program_transform_name
678 enable_option_checking
679 enable_dependency_tracking
681 ac_precious_vars='build_alias
692 # Initialize some variables set by options.
694 ac_init_version=false
695 ac_unrecognized_opts=
697 # The variables have the same names as the options, with
698 # dashes changed to underlines.
706 program_transform_name=s,x,x,
714 # Installation directory options.
715 # These are left unexpanded so users can "make install exec_prefix=/foo"
716 # and all the variables that are supposed to be based on exec_prefix
717 # by default will actually change.
718 # Use braces instead of parens because sh, perl, etc. also accept them.
719 # (The list follows the same order as the GNU Coding Standards.)
720 bindir='${exec_prefix}/bin'
721 sbindir='${exec_prefix}/sbin'
722 libexecdir='${exec_prefix}/libexec'
723 datarootdir='${prefix}/share'
724 datadir='${datarootdir}'
725 sysconfdir='${prefix}/etc'
726 sharedstatedir='${prefix}/com'
727 localstatedir='${prefix}/var'
728 includedir='${prefix}/include'
729 oldincludedir='/usr/include'
730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
731 infodir='${datarootdir}/info'
736 libdir='${exec_prefix}/lib'
737 localedir='${datarootdir}/locale'
738 mandir='${datarootdir}/man'
744 # If the previous option needs an argument, assign it.
745 if test -n "$ac_prev"; then
746 eval $ac_prev=\$ac_option
752 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 # Accept the important Cygnus configure options, so we can diagnose typos.
758 case $ac_dashdash$ac_option in
762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
767 -build | --build | --buil | --bui | --bu)
768 ac_prev=build_alias ;;
769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
770 build_alias=$ac_optarg ;;
772 -cache-file | --cache-file | --cache-fil | --cache-fi \
773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
774 ac_prev=cache_file ;;
775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
777 cache_file=$ac_optarg ;;
780 cache_file=config.cache ;;
782 -datadir | --datadir | --datadi | --datad)
784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
785 datadir=$ac_optarg ;;
787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
788 | --dataroo | --dataro | --datar)
789 ac_prev=datarootdir ;;
790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
792 datarootdir=$ac_optarg ;;
794 -disable-* | --disable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 as_fn_error "invalid feature name: $ac_useropt"
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
808 eval enable_$ac_useropt=no ;;
810 -docdir | --docdir | --docdi | --doc | --do)
812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820 -enable-* | --enable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 as_fn_error "invalid feature name: $ac_useropt"
825 ac_useropt_orig=$ac_useropt
826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
827 case $ac_user_opts in
831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
832 ac_unrecognized_sep=', ';;
834 eval enable_$ac_useropt=\$ac_optarg ;;
836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
838 | --exec | --exe | --ex)
839 ac_prev=exec_prefix ;;
840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
842 | --exec=* | --exe=* | --ex=*)
843 exec_prefix=$ac_optarg ;;
845 -gas | --gas | --ga | --g)
846 # Obsolete; use --with-gas.
849 -help | --help | --hel | --he | -h)
851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
852 ac_init_help=recursive ;;
853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
854 ac_init_help=short ;;
856 -host | --host | --hos | --ho)
857 ac_prev=host_alias ;;
858 -host=* | --host=* | --hos=* | --ho=*)
859 host_alias=$ac_optarg ;;
861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
865 htmldir=$ac_optarg ;;
867 -includedir | --includedir | --includedi | --included | --include \
868 | --includ | --inclu | --incl | --inc)
869 ac_prev=includedir ;;
870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
871 | --includ=* | --inclu=* | --incl=* | --inc=*)
872 includedir=$ac_optarg ;;
874 -infodir | --infodir | --infodi | --infod | --info | --inf)
876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
877 infodir=$ac_optarg ;;
879 -libdir | --libdir | --libdi | --libd)
881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
885 | --libexe | --libex | --libe)
886 ac_prev=libexecdir ;;
887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
888 | --libexe=* | --libex=* | --libe=*)
889 libexecdir=$ac_optarg ;;
891 -localedir | --localedir | --localedi | --localed | --locale)
893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
894 localedir=$ac_optarg ;;
896 -localstatedir | --localstatedir | --localstatedi | --localstated \
897 | --localstate | --localstat | --localsta | --localst | --locals)
898 ac_prev=localstatedir ;;
899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
901 localstatedir=$ac_optarg ;;
903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909 # Obsolete; use --without-fp.
912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
913 | --no-cr | --no-c | -n)
916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
922 | --oldin | --oldi | --old | --ol | --o)
923 ac_prev=oldincludedir ;;
924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
927 oldincludedir=$ac_optarg ;;
929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
935 | --program-pre | --program-pr | --program-p)
936 ac_prev=program_prefix ;;
937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
939 program_prefix=$ac_optarg ;;
941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
942 | --program-suf | --program-su | --program-s)
943 ac_prev=program_suffix ;;
944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
946 program_suffix=$ac_optarg ;;
948 -program-transform-name | --program-transform-name \
949 | --program-transform-nam | --program-transform-na \
950 | --program-transform-n | --program-transform- \
951 | --program-transform | --program-transfor \
952 | --program-transfo | --program-transf \
953 | --program-trans | --program-tran \
954 | --progr-tra | --program-tr | --program-t)
955 ac_prev=program_transform_name ;;
956 -program-transform-name=* | --program-transform-name=* \
957 | --program-transform-nam=* | --program-transform-na=* \
958 | --program-transform-n=* | --program-transform-=* \
959 | --program-transform=* | --program-transfor=* \
960 | --program-transfo=* | --program-transf=* \
961 | --program-trans=* | --program-tran=* \
962 | --progr-tra=* | --program-tr=* | --program-t=*)
963 program_transform_name=$ac_optarg ;;
965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970 -psdir | --psdir | --psdi | --psd | --ps)
972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
976 | -silent | --silent | --silen | --sile | --sil)
979 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
981 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
983 sbindir=$ac_optarg ;;
985 -sharedstatedir | --sharedstatedir | --sharedstatedi \
986 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
987 | --sharedst | --shareds | --shared | --share | --shar \
989 ac_prev=sharedstatedir ;;
990 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
991 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
992 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
994 sharedstatedir=$ac_optarg ;;
996 -site | --site | --sit)
998 -site=* | --site=* | --sit=*)
1001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1004 srcdir=$ac_optarg ;;
1006 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1007 | --syscon | --sysco | --sysc | --sys | --sy)
1008 ac_prev=sysconfdir ;;
1009 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1010 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1011 sysconfdir=$ac_optarg ;;
1013 -target | --target | --targe | --targ | --tar | --ta | --t)
1014 ac_prev=target_alias ;;
1015 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1016 target_alias=$ac_optarg ;;
1018 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021 -version | --version | --versio | --versi | --vers | -V)
1022 ac_init_version=: ;;
1025 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error "invalid package name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1038 eval with_$ac_useropt=\$ac_optarg ;;
1040 -without-* | --without-*)
1041 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044 as_fn_error "invalid package name: $ac_useropt"
1045 ac_useropt_orig=$ac_useropt
1046 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1051 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1052 ac_unrecognized_sep=', ';;
1054 eval with_$ac_useropt=no ;;
1057 # Obsolete; use --with-x.
1060 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1061 | --x-incl | --x-inc | --x-in | --x-i)
1062 ac_prev=x_includes ;;
1063 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1064 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1065 x_includes=$ac_optarg ;;
1067 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1068 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1069 ac_prev=x_libraries ;;
1070 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1071 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1072 x_libraries=$ac_optarg ;;
1074 -*) as_fn_error "unrecognized option: \`$ac_option'
1075 Try \`$0 --help' for more information."
1079 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1080 # Reject names that are not valid shell variable names.
1081 case $ac_envvar in #(
1082 '' | [0-9]* | *[!_$as_cr_alnum]* )
1083 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1085 eval $ac_envvar=\$ac_optarg
1086 export $ac_envvar ;;
1089 # FIXME: should be removed in autoconf 3.0.
1090 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1091 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1092 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1093 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1099 if test -n "$ac_prev"; then
1100 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1101 as_fn_error "missing argument to $ac_option"
1104 if test -n "$ac_unrecognized_opts"; then
1105 case $enable_option_checking in
1107 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1108 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1112 # Check all directory arguments for consistency.
1113 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114 datadir sysconfdir sharedstatedir localstatedir includedir \
1115 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116 libdir localedir mandir
1118 eval ac_val=\$$ac_var
1119 # Remove trailing slashes.
1122 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1123 eval $ac_var=\$ac_val;;
1125 # Be sure to have absolute directory names.
1127 [\\/$]* | ?:[\\/]* ) continue;;
1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1130 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1133 # There might be people who depend on the old broken behavior: `$host'
1134 # used to hold the argument of --host etc.
1135 # FIXME: To remove some day.
1138 target=$target_alias
1140 # FIXME: To remove some day.
1141 if test "x$host_alias" != x; then
1142 if test "x$build_alias" = x; then
1143 cross_compiling=maybe
1144 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1145 If a cross compiler is detected then cross compile mode will be used." >&2
1146 elif test "x$build_alias" != "x$host_alias"; then
1152 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154 test "$silent" = yes && exec 6>/dev/null
1157 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1158 ac_ls_di=`ls -di .` &&
1159 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1160 as_fn_error "working directory cannot be determined"
1161 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 as_fn_error "pwd does not report name of working directory"
1165 # Find the source files, if location was not specified.
1166 if test -z "$srcdir"; then
1167 ac_srcdir_defaulted=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir=`$as_dirname -- "$as_myself" ||
1170 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$as_myself" : 'X\(//\)[^/]' \| \
1172 X"$as_myself" : 'X\(//\)$' \| \
1173 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1174 $as_echo X"$as_myself" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1197 ac_srcdir_defaulted=no
1199 if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1203 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1205 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1207 # When building in place, set srcdir=.
1208 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 # Remove unnecessary trailing slashes from srcdir.
1212 # Double slashes in file names in object file debugging info
1213 # mess up M-x gdb in Emacs.
1215 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1217 for ac_var in $ac_precious_vars; do
1218 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_${ac_var}_value=\$${ac_var}
1220 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1225 # Report the --help message.
1227 if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1231 \`configure' configures polyglot 1.4.56b to adapt to many kinds of systems.
1233 Usage: $0 [OPTION]... [VAR=VALUE]...
1235 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236 VAR=VALUE. See below for descriptions of some of the useful variables.
1238 Defaults for the options are specified in brackets.
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1251 Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 By default, \`make install' will install all the files in
1258 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260 for instance \`--prefix=\$HOME'.
1262 For better control, use the options below.
1264 Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/polyglot]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1289 --program-prefix=PREFIX prepend PREFIX to installed program names
1290 --program-suffix=SUFFIX append SUFFIX to installed program names
1291 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1295 if test -n "$ac_init_help"; then
1296 case $ac_init_help in
1297 short | recursive ) echo "Configuration of polyglot 1.4.56b:";;
1302 --disable-option-checking ignore unrecognized --enable/--with options
1303 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1304 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1305 --disable-dependency-tracking speeds up one-time build
1306 --enable-dependency-tracking do not reject slow dependency extractors
1308 Some influential environment variables:
1309 CC C compiler command
1310 CFLAGS C compiler flags
1311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1312 nonstandard directory <lib dir>
1313 LIBS libraries to pass to the linker, e.g. -l<library>
1314 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1315 you have headers in a nonstandard directory <include dir>
1318 Use these variables to override the choices made by `configure' or to help
1319 it to find libraries and programs with nonstandard names/locations.
1321 Report bugs to <michel.vandenbergh@uhasselt.be>.
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" ||
1330 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1384 polyglot configure 1.4.56b
1385 generated by GNU Autoconf 2.64
1387 Copyright (C) 2009 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1394 ## ------------------------ ##
1395 ## Autoconf initialization. ##
1396 ## ------------------------ ##
1398 # ac_fn_c_try_compile LINENO
1399 # --------------------------
1400 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1401 ac_fn_c_try_compile ()
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 rm -f conftest.$ac_objext
1405 if { { ac_try="$ac_compile"
1407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1408 *) ac_try_echo=$ac_try;;
1410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411 $as_echo "$ac_try_echo"; } >&5
1412 (eval "$ac_compile") 2>conftest.err
1414 if test -s conftest.err; then
1415 grep -v '^ *+' conftest.err >conftest.er1
1416 cat conftest.er1 >&5
1417 mv -f conftest.er1 conftest.err
1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420 test $ac_status = 0; } && {
1421 test -z "$ac_c_werror_flag" ||
1422 test ! -s conftest.err
1423 } && test -s conftest.$ac_objext; then :
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.$ac_ext >&5
1431 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1434 } # ac_fn_c_try_compile
1436 # ac_fn_c_try_link LINENO
1437 # -----------------------
1438 # Try to link conftest.$ac_ext, and return whether this succeeded.
1441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1442 rm -f conftest.$ac_objext conftest$ac_exeext
1443 if { { ac_try="$ac_link"
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_link") 2>conftest.err
1452 if test -s conftest.err; then
1453 grep -v '^ *+' conftest.err >conftest.er1
1454 cat conftest.er1 >&5
1455 mv -f conftest.er1 conftest.err
1457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1458 test $ac_status = 0; } && {
1459 test -z "$ac_c_werror_flag" ||
1460 test ! -s conftest.err
1461 } && test -s conftest$ac_exeext && {
1462 test "$cross_compiling" = yes ||
1463 $as_test_x conftest$ac_exeext
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1472 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1473 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1474 # interfere with the next link command; also delete a directory that is
1475 # left behind by Apple's compiler. We do this before executing the actions.
1476 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1477 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1480 } # ac_fn_c_try_link
1482 # ac_fn_c_try_cpp LINENO
1483 # ----------------------
1484 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 if { { ac_try="$ac_cpp conftest.$ac_ext"
1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491 *) ac_try_echo=$ac_try;;
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 $as_echo "$ac_try_echo"; } >&5
1495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1497 if test -s conftest.err; then
1498 grep -v '^ *+' conftest.err >conftest.er1
1499 cat conftest.er1 >&5
1500 mv -f conftest.er1 conftest.err
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } >/dev/null && {
1504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1505 test ! -s conftest.err
1509 $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1514 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519 # ac_fn_c_try_run LINENO
1520 # ----------------------
1521 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1522 # that executables *can* be run.
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 if { { ac_try="$ac_link"
1528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529 *) ac_try_echo=$ac_try;;
1531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532 $as_echo "$ac_try_echo"; } >&5
1533 (eval "$ac_link") 2>&5
1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1537 { { case "(($ac_try" in
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_try") 2>&5
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; }; }; then :
1549 $as_echo "$as_me: program exited with status $ac_status" >&5
1550 $as_echo "$as_me: failed program was:" >&5
1551 sed 's/^/| /' conftest.$ac_ext >&5
1553 ac_retval=$ac_status
1555 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1562 # -------------------------------------------------------
1563 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1564 # the include files in INCLUDES and setting the cache variable VAR
1566 ac_fn_c_check_header_mongrel ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; }
1572 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1573 $as_echo_n "(cached) " >&6
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1577 $as_echo "$ac_res" >&6; }
1579 # Is the header compilable?
1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1581 $as_echo_n "checking $2 usability... " >&6; }
1582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1583 /* end confdefs.h. */
1587 if ac_fn_c_try_compile "$LINENO"; then :
1588 ac_header_compiler=yes
1590 ac_header_compiler=no
1592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1594 $as_echo "$ac_header_compiler" >&6; }
1596 # Is the header present?
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1598 $as_echo_n "checking $2 presence... " >&6; }
1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1600 /* end confdefs.h. */
1603 if ac_fn_c_try_cpp "$LINENO"; then :
1604 ac_header_preproc=yes
1606 ac_header_preproc=no
1608 rm -f conftest.err conftest.$ac_ext
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1610 $as_echo "$ac_header_preproc" >&6; }
1612 # So? What about this header?
1613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1616 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1618 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1622 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1624 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1626 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1628 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1630 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1632 ## --------------------------------------------- ##
1633 ## Report this to michel.vandenbergh@uhasselt.be ##
1634 ## --------------------------------------------- ##
1636 ) | sed "s/^/$as_me: WARNING: /" >&2
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1640 $as_echo_n "checking for $2... " >&6; }
1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1642 $as_echo_n "(cached) " >&6
1644 eval "$3=\$ac_header_compiler"
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1650 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652 } # ac_fn_c_check_header_mongrel
1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists and can be compiled using the include files in
1657 # INCLUDES, setting the cache variable VAR accordingly.
1658 ac_fn_c_check_header_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1664 $as_echo_n "(cached) " >&6
1666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h. */
1671 if ac_fn_c_try_compile "$LINENO"; then :
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683 } # ac_fn_c_check_header_compile
1685 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1686 # -------------------------------------------
1687 # Tests whether TYPE exists after having included INCLUDES, setting cache
1688 # variable VAR accordingly.
1689 ac_fn_c_check_type ()
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1693 $as_echo_n "checking for $2... " >&6; }
1694 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1695 $as_echo_n "(cached) " >&6
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1710 if ac_fn_c_try_compile "$LINENO"; then :
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1723 if ac_fn_c_try_compile "$LINENO"; then :
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 } # ac_fn_c_check_type
1739 # ac_fn_c_check_func LINENO FUNC VAR
1740 # ----------------------------------
1741 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1742 ac_fn_c_check_func ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748 $as_echo_n "(cached) " >&6
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1752 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1754 #define $2 innocuous_$2
1756 /* System header to define __stub macros and hopefully few prototypes,
1757 which can conflict with char $2 (); below.
1758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1759 <limits.h> exists even on freestanding compilers. */
1762 # include <limits.h>
1764 # include <assert.h>
1769 /* Override any GCC internal prototype to avoid an error.
1770 Use char because int might match the return type of a GCC
1771 builtin and then its argument prototype would still apply. */
1776 /* The GNU C library defines this for functions which it implements
1777 to always fail with ENOSYS. Some functions are actually named
1778 something starting with __ and the normal name is an alias. */
1779 #if defined __stub_$2 || defined __stub___$2
1791 if ac_fn_c_try_link "$LINENO"; then :
1796 rm -f core conftest.err conftest.$ac_objext \
1797 conftest$ac_exeext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804 } # ac_fn_c_check_func
1805 cat >config.log <<_ACEOF
1806 This file contains any messages produced by compilers while
1807 running configure, to aid debugging if configure makes a mistake.
1809 It was created by polyglot $as_me 1.4.56b, which was
1810 generated by GNU Autoconf 2.64. Invocation command line was
1822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1829 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1831 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1832 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1834 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1835 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1836 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1837 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir=.
1846 $as_echo "PATH: $as_dir"
1862 # Keep a trace of the command line.
1863 # Strip out --no-create and --no-recursion so they do not pile up.
1864 # Strip out --silent because we don't want to record it for future runs.
1865 # Also quote any args containing shell meta-characters.
1866 # Make two passes to allow for proper duplicate-argument suppression.
1870 ac_must_keep_next=false
1876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878 | -silent | --silent | --silen | --sile | --sil)
1881 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1884 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1886 as_fn_append ac_configure_args1 " '$ac_arg'"
1887 if test $ac_must_keep_next = true; then
1888 ac_must_keep_next=false # Got value, back to normal.
1891 *=* | --config-cache | -C | -disable-* | --disable-* \
1892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894 | -with-* | --with-* | -without-* | --without-* | --x)
1895 case "$ac_configure_args0 " in
1896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1899 -* ) ac_must_keep_next=true ;;
1902 as_fn_append ac_configure_args " '$ac_arg'"
1907 { ac_configure_args0=; unset ac_configure_args0;}
1908 { ac_configure_args1=; unset ac_configure_args1;}
1910 # When interrupted or exit'd, cleanup temporary files, and complete
1911 # config.log. We remove comments because anyway the quotes in there
1912 # would cause problems or look ugly.
1913 # WARNING: Use '\'' to represent an apostrophe within the trap.
1914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915 trap 'exit_status=$?
1916 # Save into config.log some information that might help in debugging.
1921 ## ---------------- ##
1922 ## Cache variables. ##
1923 ## ---------------- ##
1926 # The following way of writing the cache mishandles newlines in values,
1928 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1929 eval ac_val=\$$ac_var
1933 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1934 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1937 _ | IFS | as_nl) ;; #(
1938 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1939 *) { eval $ac_var=; unset $ac_var;} ;;
1944 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1945 *${as_nl}ac_space=\ *)
1947 "s/'\''/'\''\\\\'\'''\''/g;
1948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1951 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1959 ## ----------------- ##
1960 ## Output variables. ##
1961 ## ----------------- ##
1964 for ac_var in $ac_subst_vars
1966 eval ac_val=\$$ac_var
1968 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1970 $as_echo "$ac_var='\''$ac_val'\''"
1974 if test -n "$ac_subst_files"; then
1976 ## ------------------- ##
1977 ## File substitutions. ##
1978 ## ------------------- ##
1981 for ac_var in $ac_subst_files
1983 eval ac_val=\$$ac_var
1985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1987 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -s confdefs.h; then
2002 test "$ac_signal" != 0 &&
2003 $as_echo "$as_me: caught signal $ac_signal"
2004 $as_echo "$as_me: exit $exit_status"
2006 rm -f core *.core core.conftest.* &&
2007 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2010 for ac_signal in 1 2 13 15; do
2011 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2015 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2016 rm -f -r conftest* confdefs.h
2018 $as_echo "/* confdefs.h */" > confdefs.h
2020 # Predefined preprocessor variables.
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_NAME "$PACKAGE_NAME"
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_STRING "$PACKAGE_STRING"
2038 cat >>confdefs.h <<_ACEOF
2039 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2042 cat >>confdefs.h <<_ACEOF
2043 #define PACKAGE_URL "$PACKAGE_URL"
2047 # Let the site file select an alternate cache file if it wants to.
2048 # Prefer an explicitly selected file to automatically selected ones.
2051 if test -n "$CONFIG_SITE"; then
2052 ac_site_file1=$CONFIG_SITE
2053 elif test "x$prefix" != xNONE; then
2054 ac_site_file1=$prefix/share/config.site
2055 ac_site_file2=$prefix/etc/config.site
2057 ac_site_file1=$ac_default_prefix/share/config.site
2058 ac_site_file2=$ac_default_prefix/etc/config.site
2060 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2062 test "x$ac_site_file" = xNONE && continue
2063 if test -r "$ac_site_file"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2065 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2066 sed 's/^/| /' "$ac_site_file" >&5
2071 if test -r "$cache_file"; then
2072 # Some versions of bash will fail to source /dev/null (special
2073 # files actually), so we avoid doing that.
2074 if test -f "$cache_file"; then
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2076 $as_echo "$as_me: loading cache $cache_file" >&6;}
2078 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2079 *) . "./$cache_file";;
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2084 $as_echo "$as_me: creating cache $cache_file" >&6;}
2088 # Check that the precious variables saved in the cache have kept the same
2090 ac_cache_corrupted=false
2091 for ac_var in $ac_precious_vars; do
2092 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2093 eval ac_new_set=\$ac_env_${ac_var}_set
2094 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2095 eval ac_new_val=\$ac_env_${ac_var}_value
2096 case $ac_old_set,$ac_new_set in
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2099 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2100 ac_cache_corrupted=: ;;
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2103 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2104 ac_cache_corrupted=: ;;
2107 if test "x$ac_old_val" != "x$ac_new_val"; then
2108 # differences in whitespace do not lead to failure.
2109 ac_old_val_w=`echo x $ac_old_val`
2110 ac_new_val_w=`echo x $ac_new_val`
2111 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2113 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2114 ac_cache_corrupted=:
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2117 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2118 eval $ac_var=\$ac_old_val
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2121 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2123 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2126 # Pass precious variables to config.status.
2127 if test "$ac_new_set" = set; then
2129 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2130 *) ac_arg=$ac_var=$ac_new_val ;;
2132 case " $ac_configure_args " in
2133 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2134 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2138 if $ac_cache_corrupted; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2142 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2143 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2145 ## -------------------- ##
2146 ## Main body of script. ##
2147 ## -------------------- ##
2150 ac_cpp='$CPP $CPPFLAGS'
2151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156 am__api_version='1.10'
2159 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2160 for ac_t in install-sh install.sh shtool; do
2161 if test -f "$ac_dir/$ac_t"; then
2163 ac_install_sh="$ac_aux_dir/$ac_t -c"
2168 if test -z "$ac_aux_dir"; then
2169 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2172 # These three variables are undocumented and unsupported,
2173 # and are intended to be withdrawn in a future Autoconf release.
2174 # They can cause serious problems if a builder's source tree is in a directory
2175 # whose full name contains unusual characters.
2176 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2177 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2178 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2181 # Find a good install program. We prefer a C program (faster),
2182 # so one script is as good as another. But avoid the broken or
2183 # incompatible versions:
2184 # SysV /etc/install, /usr/sbin/install
2185 # SunOS /usr/etc/install
2186 # IRIX /sbin/install
2188 # AmigaOS /C/install, which installs bootblocks on floppy discs
2189 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2190 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2191 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2192 # OS/2's system install, which has a completely different semantic
2193 # ./install, which can be erroneously created by make from ./install.sh.
2194 # Reject install programs that cannot install multiple files.
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2196 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2197 if test -z "$INSTALL"; then
2198 if test "${ac_cv_path_install+set}" = set; then :
2199 $as_echo_n "(cached) " >&6
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 # Account for people who put trailing slashes in PATH elements.
2207 case $as_dir/ in #((
2208 ./ | .// | /[cC]/* | \
2209 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2210 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2213 # OSF1 and SCO ODT 3.0 have their own names for install.
2214 # Don't use installbsd from OSF since it installs stuff as root
2216 for ac_prog in ginstall scoinst install; do
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2219 if test $ac_prog = install &&
2220 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2221 # AIX install. It has an incompatible calling convention.
2223 elif test $ac_prog = install &&
2224 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2225 # program-specific install script used by HP pwplus--don't use.
2228 rm -rf conftest.one conftest.two conftest.dir
2229 echo one > conftest.one
2230 echo two > conftest.two
2232 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2233 test -s conftest.one && test -s conftest.two &&
2234 test -s conftest.dir/conftest.one &&
2235 test -s conftest.dir/conftest.two
2237 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2250 rm -rf conftest.one conftest.two conftest.dir
2253 if test "${ac_cv_path_install+set}" = set; then
2254 INSTALL=$ac_cv_path_install
2256 # As a last resort, use the slow shell script. Don't cache a
2257 # value for INSTALL within a source directory, because that will
2258 # break other packages using the cache if that directory is
2259 # removed, or if the value is a relative name.
2260 INSTALL=$ac_install_sh
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2264 $as_echo "$INSTALL" >&6; }
2266 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2267 # It thinks the first close brace ends the variable substitution.
2268 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2270 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2272 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2275 $as_echo_n "checking whether build environment is sane... " >&6; }
2278 echo timestamp > conftest.file
2279 # Do `set' in a subshell so we don't clobber the current shell's
2280 # arguments. Must try -L first in case configure is actually a
2281 # symlink; some systems play weird games with the mod time of symlinks
2282 # (eg FreeBSD returns the mod time of the symlink's containing
2285 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2286 if test "$*" = "X"; then
2288 set X `ls -t $srcdir/configure conftest.file`
2291 if test "$*" != "X $srcdir/configure conftest.file" \
2292 && test "$*" != "X conftest.file $srcdir/configure"; then
2294 # If neither matched, then we have a broken ls. This can happen
2295 # if, for instance, CONFIG_SHELL is bash and it inherits a
2296 # broken ls alias from the environment. This has actually
2297 # happened. Such a system could not be considered "sane".
2298 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2299 alias in your environment" "$LINENO" 5
2302 test "$2" = conftest.file
2308 as_fn_error "newly created file is older than distributed files!
2309 Check your system clock" "$LINENO" 5
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2312 $as_echo "yes" >&6; }
2313 test "$program_prefix" != NONE &&
2314 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2315 # Use a double $ so make ignores it.
2316 test "$program_suffix" != NONE &&
2317 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2318 # Double any \ or $.
2319 # By default was `s,x,x', remove it if useless.
2320 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2321 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2323 # expand $ac_aux_dir to an absolute path
2324 am_aux_dir=`cd $ac_aux_dir && pwd`
2326 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2327 # Use eval to expand $SHELL
2328 if eval "$MISSING --run true"; then
2329 am_missing_run="$MISSING --run "
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2333 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2337 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2338 if test -z "$MKDIR_P"; then
2339 if test "${ac_cv_path_mkdir+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2346 test -z "$as_dir" && as_dir=.
2347 for ac_prog in mkdir gmkdir; do
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2350 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2351 'mkdir (GNU coreutils) '* | \
2352 'mkdir (coreutils) '* | \
2353 'mkdir (fileutils) '4.1*)
2354 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2364 if test "${ac_cv_path_mkdir+set}" = set; then
2365 MKDIR_P="$ac_cv_path_mkdir -p"
2367 # As a last resort, use the slow shell script. Don't cache a
2368 # value for MKDIR_P within a source directory, because that will
2369 # break other packages using the cache if that directory is
2370 # removed, or if the value is a relative name.
2371 test -d ./--version && rmdir ./--version
2372 MKDIR_P="$ac_install_sh -d"
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2376 $as_echo "$MKDIR_P" >&6; }
2380 [\\/$]* | ?:[\\/]*) ;;
2381 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2384 for ac_prog in gawk mawk nawk awk
2386 # Extract the first word of "$ac_prog", so it can be a program name with args.
2387 set dummy $ac_prog; ac_word=$2
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389 $as_echo_n "checking for $ac_word... " >&6; }
2390 if test "${ac_cv_prog_AWK+set}" = set; then :
2391 $as_echo_n "(cached) " >&6
2393 if test -n "$AWK"; then
2394 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 test -z "$as_dir" && as_dir=.
2401 for ac_exec_ext in '' $ac_executable_extensions; do
2402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_AWK="$ac_prog"
2404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 if test -n "$AWK"; then
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2416 $as_echo "$AWK" >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419 $as_echo "no" >&6; }
2423 test -n "$AWK" && break
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2427 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2429 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2430 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2433 cat >conftest.make <<\_ACEOF
2436 @echo '@@@%%%=$(MAKE)=@@@%%%'
2438 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2439 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2441 eval ac_cv_prog_make_${ac_make}_set=yes;;
2443 eval ac_cv_prog_make_${ac_make}_set=no;;
2447 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2449 $as_echo "yes" >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2453 $as_echo "no" >&6; }
2454 SET_MAKE="MAKE=${MAKE-make}"
2457 rm -rf .tst 2>/dev/null
2458 mkdir .tst 2>/dev/null
2459 if test -d .tst; then
2464 rmdir .tst 2>/dev/null
2466 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2467 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2468 # is not polluted with repeated "-I."
2469 am__isrc=' -I$(srcdir)'
2470 # test to see if srcdir already configured
2471 if test -f $srcdir/config.status; then
2472 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2476 # test whether we have cygpath
2477 if test -z "$CYGPATH_W"; then
2478 if (cygpath --version) >/dev/null 2>/dev/null; then
2479 CYGPATH_W='cygpath -w'
2486 # Define the identity of the package.
2491 cat >>confdefs.h <<_ACEOF
2492 #define PACKAGE "$PACKAGE"
2496 cat >>confdefs.h <<_ACEOF
2497 #define VERSION "$VERSION"
2500 # Some tools Automake needs.
2502 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2505 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2508 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2511 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2514 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2516 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2518 # Installed binaries are usually stripped using `strip' when the user
2519 # run `make install-strip'. However `strip' might not be the right
2520 # tool to use in cross-compilation environments, therefore Automake
2521 # will honor the `STRIP' environment variable to overrule this program.
2522 if test "$cross_compiling" != no; then
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2525 set dummy ${ac_tool_prefix}strip; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if test "${ac_cv_prog_STRIP+set}" = set; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$STRIP"; then
2532 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2541 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 STRIP=$ac_cv_prog_STRIP
2552 if test -n "$STRIP"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2554 $as_echo "$STRIP" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2562 if test -z "$ac_cv_prog_STRIP"; then
2564 # Extract the first word of "strip", so it can be a program name with args.
2565 set dummy strip; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_STRIP"; then
2572 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 ac_cv_prog_ac_ct_STRIP="strip"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2592 if test -n "$ac_ct_STRIP"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2594 $as_echo "$ac_ct_STRIP" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2600 if test "x$ac_ct_STRIP" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2607 ac_tool_warned=yes ;;
2612 STRIP="$ac_cv_prog_STRIP"
2616 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2618 # We need awk for the "check" target. The system "awk" is bad on
2620 # Always define AMTAR for backward compatibility.
2622 AMTAR=${AMTAR-"${am_missing_run}tar"}
2624 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2631 ac_config_headers="$ac_config_headers config.h"
2634 # Checks for programs.
2636 ac_cpp='$CPP $CPPFLAGS'
2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2640 if test -n "$ac_tool_prefix"; then
2641 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_CC+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$CC"; then
2649 ac_cv_prog_CC="$CC" # Let the user override the test.
2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir=.
2656 for ac_exec_ext in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$CC"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2671 $as_echo "$CC" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2679 if test -z "$ac_cv_prog_CC"; then
2681 # Extract the first word of "gcc", so it can be a program name with args.
2682 set dummy gcc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$ac_ct_CC"; then
2689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_ac_ct_CC="gcc"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2709 if test -n "$ac_ct_CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2711 $as_echo "$ac_ct_CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2717 if test "x$ac_ct_CC" = x; then
2720 case $cross_compiling:$ac_tool_warned in
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2724 ac_tool_warned=yes ;;
2732 if test -z "$CC"; then
2733 if test -n "$ac_tool_prefix"; then
2734 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2735 set dummy ${ac_tool_prefix}cc; ac_word=$2
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2737 $as_echo_n "checking for $ac_word... " >&6; }
2738 if test "${ac_cv_prog_CC+set}" = set; then :
2739 $as_echo_n "(cached) " >&6
2741 if test -n "$CC"; then
2742 ac_cv_prog_CC="$CC" # Let the user override the test.
2744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir=.
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2751 ac_cv_prog_CC="${ac_tool_prefix}cc"
2752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 if test -n "$CC"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 $as_echo "no" >&6; }
2773 if test -z "$CC"; then
2774 # Extract the first word of "cc", so it can be a program name with args.
2775 set dummy cc; ac_word=$2
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2777 $as_echo_n "checking for $ac_word... " >&6; }
2778 if test "${ac_cv_prog_CC+set}" = set; then :
2779 $as_echo_n "(cached) " >&6
2781 if test -n "$CC"; then
2782 ac_cv_prog_CC="$CC" # Let the user override the test.
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2793 ac_prog_rejected=yes
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test $ac_prog_rejected = yes; then
2805 # We found a bogon in the path, so make sure we never use it.
2806 set dummy $ac_cv_prog_CC
2808 if test $# != 0; then
2809 # We chose a different compiler from the bogus one.
2810 # However, it has the same basename, so the bogon will be chosen
2811 # first if we set CC to just the basename; use the full file name.
2813 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2819 if test -n "$CC"; then
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2821 $as_echo "$CC" >&6; }
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2829 if test -z "$CC"; then
2830 if test -n "$ac_tool_prefix"; then
2831 for ac_prog in cl.exe
2833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if test "${ac_cv_prog_CC+set}" = set; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC="$CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 if test -n "$CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2870 test -n "$CC" && break
2873 if test -z "$CC"; then
2875 for ac_prog in cl.exe
2877 # Extract the first word of "$ac_prog", so it can be a program name with args.
2878 set dummy $ac_prog; ac_word=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$ac_ct_CC"; then
2885 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 for ac_exec_ext in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_ac_ct_CC="$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2905 if test -n "$ac_ct_CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2907 $as_echo "$ac_ct_CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2914 test -n "$ac_ct_CC" && break
2917 if test "x$ac_ct_CC" = x; then
2920 case $cross_compiling:$ac_tool_warned in
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2924 ac_tool_warned=yes ;;
2933 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 as_fn_error "no acceptable C compiler found in \$PATH
2936 See \`config.log' for more details." "$LINENO" 5; }
2938 # Provide some information about the compiler.
2939 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2942 for ac_option in --version -v -V -qversion; do
2943 { { ac_try="$ac_compiler $ac_option >&5"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2952 if test -s conftest.err; then
2954 ... rest of stderr output deleted ...
2955 10q' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2957 rm -f conftest.er1 conftest.err
2959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; }
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2969 FILE *f = fopen ("conftest.out", "w");
2970 return ferror (f) || fclose (f) != 0;
2976 ac_clean_files_save=$ac_clean_files
2977 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2978 # Try to create an executable without -o first, disregard a.out.
2979 # It will help us diagnose broken compilers, and finding out an intuition
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2982 $as_echo_n "checking for C compiler default output file name... " >&6; }
2983 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985 # The possible output files:
2986 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2989 for ac_file in $ac_files
2992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998 if { { ac_try="$ac_link_default"
3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001 *) ac_try_echo=$ac_try;;
3003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004 $as_echo "$ac_try_echo"; } >&5
3005 (eval "$ac_link_default") 2>&5
3007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; }; then :
3009 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3012 # so that the user can short-circuit this test for compilers unknown to
3014 for ac_file in $ac_files ''
3016 test -f "$ac_file" || continue
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021 # We found the default executable, but exeext='' is most
3025 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029 # We set ac_cv_exeext here because the later test for it is not
3030 # safe: cross compilers may not add the suffix if given an `-o'
3031 # argument, so we may need to know it at that point already.
3032 # Even if this section looks crufty: it has the advantage of
3039 test "$ac_cv_exeext" = no && ac_cv_exeext=
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3045 $as_echo "$ac_file" >&6; }
3046 if test -z "$ac_file"; then :
3047 $as_echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052 { as_fn_set_status 77
3053 as_fn_error "C compiler cannot create executables
3054 See \`config.log' for more details." "$LINENO" 5; }; }
3056 ac_exeext=$ac_cv_exeext
3058 # Check that the compiler produces executables we can run. If not, either
3059 # the compiler is broken, or we cross compile.
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3061 $as_echo_n "checking whether the C compiler works... " >&6; }
3062 # If not cross compiling, check that we can run a simple program.
3063 if test "$cross_compiling" != yes; then
3064 if { ac_try='./$ac_file'
3065 { { case "(($ac_try" in
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_try") 2>&5
3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3074 test $ac_status = 0; }; }; then
3077 if test "$cross_compiling" = maybe; then
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_error "cannot run C compiled programs.
3083 If you meant to cross compile, use \`--host'.
3084 See \`config.log' for more details." "$LINENO" 5; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3089 $as_echo "yes" >&6; }
3091 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3092 ac_clean_files=$ac_clean_files_save
3093 # Check that the compiler produces executables we can run. If not, either
3094 # the compiler is broken, or we cross compile.
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3096 $as_echo_n "checking whether we are cross compiling... " >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3098 $as_echo "$cross_compiling" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3101 $as_echo_n "checking for suffix of executables... " >&6; }
3102 if { { ac_try="$ac_link"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_link") 2>&5
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; }; then :
3113 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3114 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3115 # work properly (i.e., refer to `conftest.exe'), while it won't with
3117 for ac_file in conftest.exe conftest conftest.*; do
3118 test -f "$ac_file" || continue
3120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3121 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error "cannot compute suffix of executables: cannot compile and link
3130 See \`config.log' for more details." "$LINENO" 5; }
3132 rm -f conftest$ac_cv_exeext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3134 $as_echo "$ac_cv_exeext" >&6; }
3136 rm -f conftest.$ac_ext
3137 EXEEXT=$ac_cv_exeext
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3140 $as_echo_n "checking for suffix of object files... " >&6; }
3141 if test "${ac_cv_objext+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3155 rm -f conftest.o conftest.obj
3156 if { { ac_try="$ac_compile"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162 $as_echo "$ac_try_echo"; } >&5
3163 (eval "$ac_compile") 2>&5
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; }; then :
3167 for ac_file in conftest.o conftest.obj conftest.*; do
3168 test -f "$ac_file" || continue;
3170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3171 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3176 $as_echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error "cannot compute suffix of object files: cannot compile
3182 See \`config.log' for more details." "$LINENO" 5; }
3184 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3187 $as_echo "$ac_cv_objext" >&6; }
3188 OBJEXT=$ac_cv_objext
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3191 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3192 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3193 $as_echo_n "(cached) " >&6
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3209 if ac_fn_c_try_compile "$LINENO"; then :
3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3219 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3220 if test $ac_compiler_gnu = yes; then
3225 ac_test_CFLAGS=${CFLAGS+set}
3226 ac_save_CFLAGS=$CFLAGS
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3228 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3229 if test "${ac_cv_prog_cc_g+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3232 ac_save_c_werror_flag=$ac_c_werror_flag
3233 ac_c_werror_flag=yes
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3247 if ac_fn_c_try_compile "$LINENO"; then :
3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3252 /* end confdefs.h. */
3262 if ac_fn_c_try_compile "$LINENO"; then :
3265 ac_c_werror_flag=$ac_save_c_werror_flag
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3278 if ac_fn_c_try_compile "$LINENO"; then :
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 ac_c_werror_flag=$ac_save_c_werror_flag
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3289 $as_echo "$ac_cv_prog_cc_g" >&6; }
3290 if test "$ac_test_CFLAGS" = set; then
3291 CFLAGS=$ac_save_CFLAGS
3292 elif test $ac_cv_prog_cc_g = yes; then
3293 if test "$GCC" = yes; then
3299 if test "$GCC" = yes; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3306 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3307 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3308 $as_echo_n "(cached) " >&6
3310 ac_cv_prog_cc_c89=no
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3316 #include <sys/types.h>
3317 #include <sys/stat.h>
3318 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3319 struct buf { int x; };
3320 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3321 static char *e (p, i)
3327 static char *f (char * (*g) (char **, int), char **p, ...)
3332 s = g (p, va_arg (v,int));
3337 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3338 function prototypes and stuff, but not '\xHH' hex character constants.
3339 These don't provoke an error unfortunately, instead are silently treated
3340 as 'x'. The following induces an error, until -std is added to get
3341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3342 array size at least. It's necessary to write '\x00'==0 to get something
3343 that's true only with -std. */
3344 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3346 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3347 inside strings and character constants. */
3349 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3351 int test (int i, double x);
3352 struct s1 {int (*f) (int a);};
3353 struct s2 {int (*f) (double a);};
3354 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3360 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3365 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3366 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3368 CC="$ac_save_CC $ac_arg"
3369 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_cv_prog_cc_c89=$ac_arg
3372 rm -f core conftest.err conftest.$ac_objext
3373 test "x$ac_cv_prog_cc_c89" != "xno" && break
3375 rm -f conftest.$ac_ext
3380 case "x$ac_cv_prog_cc_c89" in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3383 $as_echo "none needed" >&6; } ;;
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3386 $as_echo "unsupported" >&6; } ;;
3388 CC="$CC $ac_cv_prog_cc_c89"
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3390 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3392 if test "x$ac_cv_prog_cc_c89" != xno; then :
3397 ac_cpp='$CPP $CPPFLAGS'
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3401 DEPDIR="${am__leading_dot}deps"
3403 ac_config_commands="$ac_config_commands depfiles"
3406 am_make=${MAKE-make}
3407 cat > confinc << 'END'
3412 # If we don't find an include directive, just comment out the code.
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3414 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3418 # First try GNU make style include.
3419 echo "include confinc" > confmf
3420 # We grep out `Entering directory' and `Leaving directory'
3421 # messages which can occur if `w' ends up in MAKEFLAGS.
3422 # In particular we don't look at `^make:' because GNU make might
3423 # be invoked under some other name (usually "gmake"), in which
3424 # case it prints its new name instead of `make'.
3425 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3430 # Now try BSD make style include.
3431 if test "$am__include" = "#"; then
3432 echo '.include "confinc"' > confmf
3433 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3434 am__include=.include
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3442 $as_echo "$_am_result" >&6; }
3443 rm -f confinc confmf
3445 # Check whether --enable-dependency-tracking was given.
3446 if test "${enable_dependency_tracking+set}" = set; then :
3447 enableval=$enable_dependency_tracking;
3450 if test "x$enable_dependency_tracking" != xno; then
3451 am_depcomp="$ac_aux_dir/depcomp"
3454 if test "x$enable_dependency_tracking" != xno; then
3464 depcc="$CC" am_compiler_list=
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3467 $as_echo_n "checking dependency style of $depcc... " >&6; }
3468 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3469 $as_echo_n "(cached) " >&6
3471 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3472 # We make a subdir and do the tests there. Otherwise we can end up
3473 # making bogus files that we don't know about and never remove. For
3474 # instance it was reported that on HP-UX the gcc test will end up
3475 # making a dummy file named `D' -- because `-MD' means `put the output
3478 # Copy depcomp to subdir because otherwise we won't find it if we're
3479 # using a relative directory.
3480 cp "$am_depcomp" conftest.dir
3482 # We will build objects and dependencies in a subdirectory because
3483 # it helps to detect inapplicable dependency modes. For instance
3484 # both Tru64's cc and ICC support -MD to output dependencies as a
3485 # side effect of compilation, but ICC will put the dependencies in
3486 # the current directory while Tru64 will put them in the object
3490 am_cv_CC_dependencies_compiler_type=none
3491 if test "$am_compiler_list" = ""; then
3492 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3494 for depmode in $am_compiler_list; do
3495 # Setup a source with many dependencies, because some compilers
3496 # like to wrap large dependency lists on column 80 (with \), and
3497 # we should not choose a depcomp mode which is confused by this.
3499 # We need to recreate these files for each test, as the compiler may
3500 # overwrite some of them when testing with obscure command lines.
3501 # This happens at least with the AIX C compiler.
3503 for i in 1 2 3 4 5 6; do
3504 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3505 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3506 # Solaris 8's {/usr,}/bin/sh.
3507 touch sub/conftst$i.h
3509 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3513 # after this tag, mechanisms are not by side-effect, so they'll
3514 # only be used when explicitly requested
3515 if test "x$enable_dependency_tracking" = xyes; then
3523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3524 # mode. It turns out that the SunPro C++ compiler does not properly
3525 # handle `-M -o', and we need to detect this.
3526 if depmode=$depmode \
3527 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3528 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3529 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3530 >/dev/null 2>conftest.err &&
3531 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3532 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3533 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3534 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3535 # icc doesn't choke on unknown options, it will just issue warnings
3536 # or remarks (even with -Werror). So we grep stderr for any message
3537 # that says an option was ignored or not supported.
3538 # When given -MP, icc 7.0 and 7.1 complain thusly:
3539 # icc: Command line warning: ignoring option '-M'; no argument required
3540 # The diagnosis changed in icc 8.0:
3541 # icc: Command line remark: option '-MP' not supported
3542 if (grep 'ignoring option' conftest.err ||
3543 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3544 am_cv_CC_dependencies_compiler_type=$depmode
3553 am_cv_CC_dependencies_compiler_type=none
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3558 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3559 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3562 test "x$enable_dependency_tracking" != xno \
3563 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3565 am__fastdepCC_FALSE='#'
3567 am__fastdepCC_TRUE='#'
3568 am__fastdepCC_FALSE=
3573 # Checks for libraries.
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
3577 $as_echo_n "checking for main in -lm... " >&6; }
3578 if test "${ac_cv_lib_m_main+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 ac_check_lib_save_LIBS=$LIBS
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3595 if ac_fn_c_try_link "$LINENO"; then :
3596 ac_cv_lib_m_main=yes
3600 rm -f core conftest.err conftest.$ac_objext \
3601 conftest$ac_exeext conftest.$ac_ext
3602 LIBS=$ac_check_lib_save_LIBS
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
3605 $as_echo "$ac_cv_lib_m_main" >&6; }
3606 if test "x$ac_cv_lib_m_main" = x""yes; then :
3607 cat >>confdefs.h <<_ACEOF
3616 # Checks for header files.
3618 ac_cpp='$CPP $CPPFLAGS'
3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3623 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3624 # On Suns, sometimes $CPP names a directory.
3625 if test -n "$CPP" && test -d "$CPP"; then
3628 if test -z "$CPP"; then
3629 if test "${ac_cv_prog_CPP+set}" = set; then :
3630 $as_echo_n "(cached) " >&6
3632 # Double quotes because CPP needs to be expanded
3633 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3636 for ac_c_preproc_warn_flag in '' yes
3638 # Use a header file that comes with gcc, so configuring glibc
3639 # with a fresh cross-compiler works.
3640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3641 # <limits.h> exists even on freestanding compilers.
3642 # On the NeXT, cc -E runs the code through the compiler's parser,
3643 # not just through cpp. "Syntax error" is here to catch this case.
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3647 # include <limits.h>
3649 # include <assert.h>
3653 if ac_fn_c_try_cpp "$LINENO"; then :
3656 # Broken: fails on valid input.
3659 rm -f conftest.err conftest.$ac_ext
3661 # OK, works on sane cases. Now check whether nonexistent headers
3662 # can be detected and how.
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3665 #include <ac_nonexistent.h>
3667 if ac_fn_c_try_cpp "$LINENO"; then :
3668 # Broken: success on invalid input.
3671 # Passes both tests.
3675 rm -f conftest.err conftest.$ac_ext
3678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3679 rm -f conftest.err conftest.$ac_ext
3680 if $ac_preproc_ok; then :
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3693 $as_echo "$CPP" >&6; }
3695 for ac_c_preproc_warn_flag in '' yes
3697 # Use a header file that comes with gcc, so configuring glibc
3698 # with a fresh cross-compiler works.
3699 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3700 # <limits.h> exists even on freestanding compilers.
3701 # On the NeXT, cc -E runs the code through the compiler's parser,
3702 # not just through cpp. "Syntax error" is here to catch this case.
3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3706 # include <limits.h>
3708 # include <assert.h>
3712 if ac_fn_c_try_cpp "$LINENO"; then :
3715 # Broken: fails on valid input.
3718 rm -f conftest.err conftest.$ac_ext
3720 # OK, works on sane cases. Now check whether nonexistent headers
3721 # can be detected and how.
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3724 #include <ac_nonexistent.h>
3726 if ac_fn_c_try_cpp "$LINENO"; then :
3727 # Broken: success on invalid input.
3730 # Passes both tests.
3734 rm -f conftest.err conftest.$ac_ext
3737 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3738 rm -f conftest.err conftest.$ac_ext
3739 if $ac_preproc_ok; then :
3742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3745 See \`config.log' for more details." "$LINENO" 5; }
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3756 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3757 if test "${ac_cv_path_GREP+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -z "$GREP"; then
3761 ac_path_GREP_found=false
3762 # Loop through the user's path and test for each of PROGNAME-LIST
3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3767 test -z "$as_dir" && as_dir=.
3768 for ac_prog in grep ggrep; do
3769 for ac_exec_ext in '' $ac_executable_extensions; do
3770 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3771 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3772 # Check for GNU ac_path_GREP and select it if it is found.
3773 # Check for GNU $ac_path_GREP
3774 case `"$ac_path_GREP" --version 2>&1` in
3776 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3779 $as_echo_n 0123456789 >"conftest.in"
3782 cat "conftest.in" "conftest.in" >"conftest.tmp"
3783 mv "conftest.tmp" "conftest.in"
3784 cp "conftest.in" "conftest.nl"
3785 $as_echo 'GREP' >> "conftest.nl"
3786 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3787 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3788 as_fn_arith $ac_count + 1 && ac_count=$as_val
3789 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3790 # Best one so far, save it but keep looking for a better one
3791 ac_cv_path_GREP="$ac_path_GREP"
3792 ac_path_GREP_max=$ac_count
3794 # 10*(2^10) chars as input seems more than enough
3795 test $ac_count -gt 10 && break
3797 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3800 $ac_path_GREP_found && break 3
3805 if test -z "$ac_cv_path_GREP"; then
3806 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3809 ac_cv_path_GREP=$GREP
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3814 $as_echo "$ac_cv_path_GREP" >&6; }
3815 GREP="$ac_cv_path_GREP"
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3819 $as_echo_n "checking for egrep... " >&6; }
3820 if test "${ac_cv_path_EGREP+set}" = set; then :
3821 $as_echo_n "(cached) " >&6
3823 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3824 then ac_cv_path_EGREP="$GREP -E"
3826 if test -z "$EGREP"; then
3827 ac_path_EGREP_found=false
3828 # Loop through the user's path and test for each of PROGNAME-LIST
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3833 test -z "$as_dir" && as_dir=.
3834 for ac_prog in egrep; do
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3837 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3838 # Check for GNU ac_path_EGREP and select it if it is found.
3839 # Check for GNU $ac_path_EGREP
3840 case `"$ac_path_EGREP" --version 2>&1` in
3842 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3845 $as_echo_n 0123456789 >"conftest.in"
3848 cat "conftest.in" "conftest.in" >"conftest.tmp"
3849 mv "conftest.tmp" "conftest.in"
3850 cp "conftest.in" "conftest.nl"
3851 $as_echo 'EGREP' >> "conftest.nl"
3852 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3854 as_fn_arith $ac_count + 1 && ac_count=$as_val
3855 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3856 # Best one so far, save it but keep looking for a better one
3857 ac_cv_path_EGREP="$ac_path_EGREP"
3858 ac_path_EGREP_max=$ac_count
3860 # 10*(2^10) chars as input seems more than enough
3861 test $ac_count -gt 10 && break
3863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3866 $ac_path_EGREP_found && break 3
3871 if test -z "$ac_cv_path_EGREP"; then
3872 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3875 ac_cv_path_EGREP=$EGREP
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3881 $as_echo "$ac_cv_path_EGREP" >&6; }
3882 EGREP="$ac_cv_path_EGREP"
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3886 $as_echo_n "checking for ANSI C header files... " >&6; }
3887 if test "${ac_cv_header_stdc+set}" = set; then :
3888 $as_echo_n "(cached) " >&6
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3905 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_cv_header_stdc=yes
3908 ac_cv_header_stdc=no
3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3912 if test $ac_cv_header_stdc = yes; then
3913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3920 $EGREP "memchr" >/dev/null 2>&1; then :
3923 ac_cv_header_stdc=no
3929 if test $ac_cv_header_stdc = yes; then
3930 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3937 $EGREP "free" >/dev/null 2>&1; then :
3940 ac_cv_header_stdc=no
3946 if test $ac_cv_header_stdc = yes; then
3947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3948 if test "$cross_compiling" = yes; then :
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3955 #if ((' ' & 0x0FF) == 0x020)
3956 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3957 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3959 # define ISLOWER(c) \
3960 (('a' <= (c) && (c) <= 'i') \
3961 || ('j' <= (c) && (c) <= 'r') \
3962 || ('s' <= (c) && (c) <= 'z'))
3963 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3966 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3971 for (i = 0; i < 256; i++)
3972 if (XOR (islower (i), ISLOWER (i))
3973 || toupper (i) != TOUPPER (i))
3978 if ac_fn_c_try_run "$LINENO"; then :
3981 ac_cv_header_stdc=no
3983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3984 conftest.$ac_objext conftest.beam conftest.$ac_ext
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3990 $as_echo "$ac_cv_header_stdc" >&6; }
3991 if test $ac_cv_header_stdc = yes; then
3993 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3997 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3998 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3999 inttypes.h stdint.h unistd.h
4001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4002 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4004 eval as_val=\$$as_ac_Header
4005 if test "x$as_val" = x""yes; then :
4006 cat >>confdefs.h <<_ACEOF
4007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4015 for ac_header in stdlib.h string.h sys/time.h unistd.h
4017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4018 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4019 eval as_val=\$$as_ac_Header
4020 if test "x$as_val" = x""yes; then :
4021 cat >>confdefs.h <<_ACEOF
4022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4030 # Checks for typedefs, structures, and compiler characteristics.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4032 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4033 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h. */
4039 #include <stdbool.h>
4041 "error: bool is not defined"
4044 "error: false is not defined"
4047 "error: false is not 0"
4050 "error: true is not defined"
4053 "error: true is not 1"
4055 #ifndef __bool_true_false_are_defined
4056 "error: __bool_true_false_are_defined is not defined"
4059 struct s { _Bool s: 1; _Bool t; } s;
4061 char a[true == 1 ? 1 : -1];
4062 char b[false == 0 ? 1 : -1];
4063 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4064 char d[(bool) 0.5 == true ? 1 : -1];
4066 char f[(_Bool) 0.0 == false ? 1 : -1];
4068 char h[sizeof (_Bool)];
4070 enum { j = false, k = true, l = false * true, m = true * 256 };
4071 /* The following fails for
4072 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4074 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4075 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4076 # if defined __xlc__ || defined __GNUC__
4077 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4078 reported by James Lemley on 2005-10-05; see
4079 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4080 This test is not quite right, since xlc is allowed to
4081 reject this program, as the initializer for xlcbug is
4082 not one of the forms that C requires support for.
4083 However, doing the test right would require a runtime
4084 test, and that would make cross-compilation harder.
4085 Let us hope that IBM fixes the xlc bug, and also adds
4086 support for this kind of constant expression. In the
4087 meantime, this test will reject xlc, which is OK, since
4088 our stdbool.h substitute should suffice. We also test
4089 this with GCC, where it should work, to detect more
4090 quickly whether someone messes up the test in the
4092 char digs[] = "0123456789";
4093 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4095 /* Catch a bug in an HP-UX C compiler. See
4096 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4097 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4108 /* Refer to every declared value, to avoid compiler optimizations. */
4109 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4110 + !m + !n + !o + !p + !q + !pq);
4116 if ac_fn_c_try_compile "$LINENO"; then :
4117 ac_cv_header_stdbool_h=yes
4119 ac_cv_header_stdbool_h=no
4121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4124 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4125 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4126 if test "x$ac_cv_type__Bool" = x""yes; then :
4128 cat >>confdefs.h <<_ACEOF
4129 #define HAVE__BOOL 1
4135 if test $ac_cv_header_stdbool_h = yes; then
4137 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4142 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4143 if test "${ac_cv_c_const+set}" = set; then :
4144 $as_echo_n "(cached) " >&6
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4152 /* FIXME: Include the comments suggested by Paul. */
4154 /* Ultrix mips cc rejects this. */
4155 typedef int charset[2];
4157 /* SunOS 4.1.1 cc rejects this. */
4158 char const *const *pcpcc;
4160 /* NEC SVR4.0.2 mips cc rejects this. */
4161 struct point {int x, y;};
4162 static struct point const zero = {0,0};
4163 /* AIX XL C 1.02.0.0 rejects this.
4164 It does not let you subtract one const X* pointer from another in
4165 an arm of an if-expression whose if-part is not a constant
4167 const char *g = "string";
4168 pcpcc = &g + (g ? g-g : 0);
4169 /* HPUX 7.0 cc rejects these. */
4171 ppc = (char**) pcpcc;
4172 pcpcc = (char const *const *) ppc;
4173 { /* SCO 3.2v4 cc rejects this. */
4175 char const *s = 0 ? (char *) 0 : (char const *) 0;
4180 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4182 const int *foo = &x[0];
4185 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4186 typedef const int *iptr;
4190 { /* AIX XL C 1.02.0.0 rejects this saying
4191 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4192 struct s { int j; const int *ap[3]; };
4193 struct s *b; b->j = 5;
4195 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4199 return !cs[0] && !zero.x;
4206 if ac_fn_c_try_compile "$LINENO"; then :
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4214 $as_echo "$ac_cv_c_const" >&6; }
4215 if test $ac_cv_c_const = no; then
4217 $as_echo "#define const /**/" >>confdefs.h
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4222 $as_echo_n "checking for inline... " >&6; }
4223 if test "${ac_cv_c_inline+set}" = set; then :
4224 $as_echo_n "(cached) " >&6
4227 for ac_kw in inline __inline__ __inline; do
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4232 static $ac_kw foo_t static_foo () {return 0; }
4233 $ac_kw foo_t foo () {return 0; }
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_c_inline=$ac_kw
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 test "$ac_cv_c_inline" != no && break
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4246 $as_echo "$ac_cv_c_inline" >&6; }
4248 case $ac_cv_c_inline in
4251 case $ac_cv_c_inline in
4253 *) ac_val=$ac_cv_c_inline;;
4255 cat >>confdefs.h <<_ACEOF
4257 #define inline $ac_val
4263 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4264 if test "x$ac_cv_type_pid_t" = x""yes; then :
4268 cat >>confdefs.h <<_ACEOF
4274 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4275 if test "x$ac_cv_type_size_t" = x""yes; then :
4279 cat >>confdefs.h <<_ACEOF
4280 #define size_t unsigned int
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4286 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4287 if test "${ac_cv_header_time+set}" = set; then :
4288 $as_echo_n "(cached) " >&6
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4292 #include <sys/types.h>
4293 #include <sys/time.h>
4299 if ((struct tm *) 0)
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_header_time=yes
4308 ac_cv_header_time=no
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4313 $as_echo "$ac_cv_header_time" >&6; }
4314 if test $ac_cv_header_time = yes; then
4316 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4321 # Checks for library functions.
4322 for ac_header in vfork.h
4324 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4325 if test "x$ac_cv_header_vfork_h" = x""yes; then :
4326 cat >>confdefs.h <<_ACEOF
4327 #define HAVE_VFORK_H 1
4334 for ac_func in fork vfork
4336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4338 eval as_val=\$$as_ac_var
4339 if test "x$as_val" = x""yes; then :
4340 cat >>confdefs.h <<_ACEOF
4341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4347 if test "x$ac_cv_func_fork" = xyes; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4349 $as_echo_n "checking for working fork... " >&6; }
4350 if test "${ac_cv_func_fork_works+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4353 if test "$cross_compiling" = yes; then :
4354 ac_cv_func_fork_works=cross
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 $ac_includes_default
4363 /* By Ruediger Kuhlmann. */
4370 if ac_fn_c_try_run "$LINENO"; then :
4371 ac_cv_func_fork_works=yes
4373 ac_cv_func_fork_works=no
4375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4376 conftest.$ac_objext conftest.beam conftest.$ac_ext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
4381 $as_echo "$ac_cv_func_fork_works" >&6; }
4384 ac_cv_func_fork_works=$ac_cv_func_fork
4386 if test "x$ac_cv_func_fork_works" = xcross; then
4388 *-*-amigaos* | *-*-msdosdjgpp*)
4389 # Override, as these systems have only a dummy fork() stub
4390 ac_cv_func_fork_works=no
4393 ac_cv_func_fork_works=yes
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4397 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4399 ac_cv_func_vfork_works=$ac_cv_func_vfork
4400 if test "x$ac_cv_func_vfork" = xyes; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
4402 $as_echo_n "checking for working vfork... " >&6; }
4403 if test "${ac_cv_func_vfork_works+set}" = set; then :
4404 $as_echo_n "(cached) " >&6
4406 if test "$cross_compiling" = yes; then :
4407 ac_cv_func_vfork_works=cross
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 /* Thanks to Paul Eggert for this test. */
4412 $ac_includes_default
4413 #include <sys/wait.h>
4417 /* On some sparc systems, changes by the child to local and incoming
4418 argument registers are propagated back to the parent. The compiler
4419 is told about this with #include <vfork.h>, but some compilers
4420 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4421 static variable whose address is put into a register that is
4422 clobbered by the vfork. */
4425 sparc_address_test (int arg)
4427 sparc_address_test (arg) int arg;
4448 pid_t parent = getpid ();
4451 sparc_address_test (0);
4456 /* Here is another test for sparc vfork register problems. This
4457 test uses lots of local variables, at least as many local
4458 variables as main has allocated so far including compiler
4459 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4460 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4461 reuse the register of parent for one of the local variables,
4462 since it will think that parent can't possibly be used any more
4463 in this routine. Assigning to the local variable will thus
4464 munge parent in the parent process. */
4466 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4467 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4468 /* Convince the compiler that p..p7 are live; otherwise, it might
4469 use the same hardware register for all 8 local variables. */
4470 if (p != p1 || p != p2 || p != p3 || p != p4
4471 || p != p5 || p != p6 || p != p7)
4474 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4475 from child file descriptors. If the child closes a descriptor
4476 before it execs or exits, this munges the parent's descriptor
4477 as well. Test for this by closing stdout in the child. */
4478 _exit(close(fileno(stdout)) != 0);
4483 while (wait(&status) != child)
4486 /* Was there some problem with vforking? */
4489 /* Did the child fail? (This shouldn't happen.) */
4492 /* Did the vfork/compiler bug occur? */
4493 || parent != getpid()
4495 /* Did the file descriptor bug occur? */
4496 || fstat(fileno(stdout), &st) != 0
4501 if ac_fn_c_try_run "$LINENO"; then :
4502 ac_cv_func_vfork_works=yes
4504 ac_cv_func_vfork_works=no
4506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4507 conftest.$ac_objext conftest.beam conftest.$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
4512 $as_echo "$ac_cv_func_vfork_works" >&6; }
4515 if test "x$ac_cv_func_fork_works" = xcross; then
4516 ac_cv_func_vfork_works=$ac_cv_func_vfork
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4518 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4521 if test "x$ac_cv_func_vfork_works" = xyes; then
4523 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
4527 $as_echo "#define vfork fork" >>confdefs.h
4530 if test "x$ac_cv_func_fork_works" = xyes; then
4532 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
4536 for ac_header in stdlib.h
4538 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4539 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4540 cat >>confdefs.h <<_ACEOF
4541 #define HAVE_STDLIB_H 1
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4549 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4550 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
4551 $as_echo_n "(cached) " >&6
4553 if test "$cross_compiling" = yes; then :
4554 ac_cv_func_malloc_0_nonnull=no
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4558 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4559 # include <stdlib.h>
4567 return ! malloc (0);
4572 if ac_fn_c_try_run "$LINENO"; then :
4573 ac_cv_func_malloc_0_nonnull=yes
4575 ac_cv_func_malloc_0_nonnull=no
4577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4578 conftest.$ac_objext conftest.beam conftest.$ac_ext
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4583 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4584 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4586 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4589 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4591 case " $LIBOBJS " in
4592 *" malloc.$ac_objext "* ) ;;
4593 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4598 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4603 for ac_header in stdlib.h
4605 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4606 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
4607 cat >>confdefs.h <<_ACEOF
4608 #define HAVE_STDLIB_H 1
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4616 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4617 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 if test "$cross_compiling" = yes; then :
4621 ac_cv_func_realloc_0_nonnull=no
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4626 # include <stdlib.h>
4634 return ! realloc (0, 0);
4639 if ac_fn_c_try_run "$LINENO"; then :
4640 ac_cv_func_realloc_0_nonnull=yes
4642 ac_cv_func_realloc_0_nonnull=no
4644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4645 conftest.$ac_objext conftest.beam conftest.$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4650 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4651 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4653 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4656 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4658 case " $LIBOBJS " in
4659 *" realloc.$ac_objext "* ) ;;
4660 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4665 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4670 for ac_header in sys/select.h sys/socket.h
4672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4673 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4674 eval as_val=\$$as_ac_Header
4675 if test "x$as_val" = x""yes; then :
4676 cat >>confdefs.h <<_ACEOF
4677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
4685 $as_echo_n "checking types of arguments for select... " >&6; }
4686 if test "${ac_cv_func_select_args+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
4690 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
4691 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 $ac_includes_default
4695 #ifdef HAVE_SYS_SELECT_H
4696 # include <sys/select.h>
4698 #ifdef HAVE_SYS_SOCKET_H
4699 # include <sys/socket.h>
4705 extern int select ($ac_arg1,
4706 $ac_arg234, $ac_arg234, $ac_arg234,
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
4715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719 # Provide a safe default value.
4720 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
4724 $as_echo "$ac_cv_func_select_args" >&6; }
4725 ac_save_IFS=$IFS; IFS=','
4726 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
4730 cat >>confdefs.h <<_ACEOF
4731 #define SELECT_TYPE_ARG1 $1
4735 cat >>confdefs.h <<_ACEOF
4736 #define SELECT_TYPE_ARG234 ($2)
4740 cat >>confdefs.h <<_ACEOF
4741 #define SELECT_TYPE_ARG5 ($3)
4746 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then :
4747 $as_echo_n "(cached) " >&6
4749 ac_cv_func_setvbuf_reversed=no
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4754 $as_echo_n "checking return type of signal handlers... " >&6; }
4755 if test "${ac_cv_type_signal+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4759 /* end confdefs.h. */
4760 #include <sys/types.h>
4766 return *(signal (0, 0)) (0) == 1;
4771 if ac_fn_c_try_compile "$LINENO"; then :
4772 ac_cv_type_signal=int
4774 ac_cv_type_signal=void
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4779 $as_echo "$ac_cv_type_signal" >&6; }
4781 cat >>confdefs.h <<_ACEOF
4782 #define RETSIGTYPE $ac_cv_type_signal
4786 for ac_func in vprintf
4788 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
4789 if test "x$ac_cv_func_vprintf" = x""yes; then :
4790 cat >>confdefs.h <<_ACEOF
4791 #define HAVE_VPRINTF 1
4794 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
4795 if test "x$ac_cv_func__doprnt" = x""yes; then :
4797 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4805 for ac_func in dup2 floor gettimeofday memchr memmove select strchr strdup strerror strstr
4807 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4808 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4809 eval as_val=\$$as_ac_var
4810 if test "x$as_val" = x""yes; then :
4811 cat >>confdefs.h <<_ACEOF
4812 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4820 ac_config_files="$ac_config_files Makefile"
4822 cat >confcache <<\_ACEOF
4823 # This file is a shell script that caches the results of configure
4824 # tests run on this system so they can be shared between configure
4825 # scripts and configure runs, see configure's option --config-cache.
4826 # It is not useful on other systems. If it contains results you don't
4827 # want to keep, you may remove or edit it.
4829 # config.status only pays attention to the cache file if you give it
4830 # the --recheck option to rerun configure.
4832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4838 # The following way of writing the cache mishandles newlines in values,
4839 # but we know of no workaround that is simple, portable, and efficient.
4840 # So, we kill variables containing newlines.
4841 # Ultrix sh set writes to stderr and can't be redirected directly,
4842 # and sets the high bit in the cache file unless we assign to the vars.
4844 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4845 eval ac_val=\$$ac_var
4849 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4853 _ | IFS | as_nl) ;; #(
4854 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4855 *) { eval $ac_var=; unset $ac_var;} ;;
4861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4862 *${as_nl}ac_space=\ *)
4863 # `set' does not quote correctly, so add quotes: double-quote
4864 # substitution turns \\\\ into \\, and sed turns \\ into \.
4867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4870 # `set' quotes correctly as required by POSIX, so do not add quotes.
4871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4884 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4885 if test -w "$cache_file"; then
4886 test "x$cache_file" != "x/dev/null" &&
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4888 $as_echo "$as_me: updating cache $cache_file" >&6;}
4889 cat confcache >$cache_file
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4892 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4897 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4898 # Let make expand exec_prefix.
4899 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4901 DEFS=-DHAVE_CONFIG_H
4905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4906 # 1. Remove the extension, and $U if already installed.
4907 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4908 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4910 # will be set to the directory where LIBOBJS objects are built.
4911 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4912 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4916 LTLIBOBJS=$ac_ltlibobjs
4919 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4920 as_fn_error "conditional \"AMDEP\" was never defined.
4921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4923 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4924 as_fn_error "conditional \"am__fastdepCC\" was never defined.
4925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4928 : ${CONFIG_STATUS=./config.status}
4930 ac_clean_files_save=$ac_clean_files
4931 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4933 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4935 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4937 # Generated by $as_me.
4938 # Run this file to recreate the current configuration.
4939 # Compiler output produced by configure, useful for debugging
4940 # configure, is in config.log if it exists.
4946 SHELL=\${CONFIG_SHELL-$SHELL}
4949 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4950 ## -------------------- ##
4951 ## M4sh Initialization. ##
4952 ## -------------------- ##
4954 # Be more Bourne compatible
4955 DUALCASE=1; export DUALCASE # for MKS sh
4956 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4959 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4960 # is contrary to our usage. Disable this feature.
4961 alias -g '${1+"$@"}'='"$@"'
4962 setopt NO_GLOB_SUBST
4964 case `(set -o) 2>/dev/null` in #(
4976 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4977 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4978 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4979 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4980 # Prefer a ksh shell builtin over an external printf program on Solaris,
4981 # but without wasting forks for bash or zsh.
4982 if test -z "$BASH_VERSION$ZSH_VERSION" \
4983 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4984 as_echo='print -r --'
4985 as_echo_n='print -rn --'
4986 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4987 as_echo='printf %s\n'
4988 as_echo_n='printf %s'
4990 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4991 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4992 as_echo_n='/usr/ucb/echo -n'
4994 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4995 as_echo_n_body='eval
4999 expr "X$arg" : "X\\(.*\\)$as_nl";
5000 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5002 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5004 export as_echo_n_body
5005 as_echo_n='sh -c $as_echo_n_body as_echo'
5008 as_echo='sh -c $as_echo_body as_echo'
5011 # The user is always right.
5012 if test "${PATH_SEPARATOR+set}" != set; then
5014 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5015 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5022 # We need space, tab and new line, in precisely that order. Quoting is
5023 # there to prevent editors from complaining about space-tab.
5024 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5025 # splitting by setting IFS to empty value.)
5028 # Find who we are. Look in the path if we contain no directory separator.
5030 *[\\/]* ) as_myself=$0 ;;
5031 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir=.
5036 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5042 # We did not find ourselves, most probably we were run as `sh COMMAND'
5043 # in which case we are not to be found in the path.
5044 if test "x$as_myself" = x; then
5047 if test ! -f "$as_myself"; then
5048 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5052 # Unset variables that we do not need and which cause bugs (e.g. in
5053 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5054 # suppresses any "Segmentation fault" message there. '((' could
5055 # trigger a bug in pdksh 5.2.14.
5056 for as_var in BASH_ENV ENV MAIL MAILPATH
5057 do eval test x\${$as_var+set} = xset \
5058 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5071 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5074 # as_fn_error ERROR [LINENO LOG_FD]
5075 # ---------------------------------
5076 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5077 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5078 # script with status $?, using 1 if that was 0.
5081 as_status=$?; test $as_status -eq 0 && as_status=1
5083 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5084 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5086 $as_echo "$as_me: error: $1" >&2
5087 as_fn_exit $as_status
5091 # as_fn_set_status STATUS
5092 # -----------------------
5093 # Set $? to STATUS, without forking.
5097 } # as_fn_set_status
5101 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5111 # Portably unset VAR.
5114 { eval $1=; unset $1;}
5116 as_unset=as_fn_unset
5117 # as_fn_append VAR VALUE
5118 # ----------------------
5119 # Append the text in VALUE to the end of the definition contained in VAR. Take
5120 # advantage of any shell optimizations that allow amortized linear growth over
5121 # repeated appends, instead of the typical quadratic growth present in naive
5123 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5124 eval 'as_fn_append ()
5135 # as_fn_arith ARG...
5136 # ------------------
5137 # Perform arithmetic evaluation on the ARGs, and store the result in the
5138 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5139 # must be portable across $(()) and expr.
5140 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5141 eval 'as_fn_arith ()
5148 as_val=`expr "$@" || test $? -eq 1`
5153 if expr a : '\(a\)' >/dev/null 2>&1 &&
5154 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5160 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5161 as_basename=basename
5166 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5172 as_me=`$as_basename -- "$0" ||
5173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5174 X"$0" : 'X\(//\)$' \| \
5175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5177 sed '/^.*\/\([^/][^/]*\)\/*$/{
5191 # Avoid depending upon Character Ranges.
5192 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5193 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5194 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5195 as_cr_digits='0123456789'
5196 as_cr_alnum=$as_cr_Letters$as_cr_digits
5198 ECHO_C= ECHO_N= ECHO_T=
5199 case `echo -n x` in #(((((
5201 case `echo 'xy\c'` in
5202 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5204 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5211 rm -f conf$$ conf$$.exe conf$$.file
5212 if test -d conf$$.dir; then
5213 rm -f conf$$.dir/conf$$.file
5216 mkdir conf$$.dir 2>/dev/null
5218 if (echo >conf$$.file) 2>/dev/null; then
5219 if ln -s conf$$.file conf$$ 2>/dev/null; then
5221 # ... but there are two gotchas:
5222 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5223 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5224 # In both cases, we have to default to `cp -p'.
5225 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5227 elif ln conf$$.file conf$$ 2>/dev/null; then
5235 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5236 rmdir conf$$.dir 2>/dev/null
5241 # Create "$as_dir" as a directory, including parents if necessary.
5246 -*) as_dir=./$as_dir;;
5248 test -d "$as_dir" || eval $as_mkdir_p || {
5252 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5253 *) as_qdir=$as_dir;;
5255 as_dirs="'$as_qdir' $as_dirs"
5256 as_dir=`$as_dirname -- "$as_dir" ||
5257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5258 X"$as_dir" : 'X\(//\)[^/]' \| \
5259 X"$as_dir" : 'X\(//\)$' \| \
5260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5261 $as_echo X"$as_dir" |
5262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5279 test -d "$as_dir" && break
5281 test -z "$as_dirs" || eval "mkdir $as_dirs"
5282 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5286 if mkdir -p . 2>/dev/null; then
5287 as_mkdir_p='mkdir -p "$as_dir"'
5289 test -d ./-p && rmdir ./-p
5293 if test -x / >/dev/null 2>&1; then
5296 if ls -dL / >/dev/null 2>&1; then
5303 if test -d "$1"; then
5309 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5310 ???[sx]*):;;*)false;;esac;fi
5314 as_executable_p=$as_test_x
5316 # Sed expression to map a string onto a valid CPP name.
5317 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5319 # Sed expression to map a string onto a valid variable name.
5320 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5324 ## ----------------------------------- ##
5325 ## Main body of $CONFIG_STATUS script. ##
5326 ## ----------------------------------- ##
5328 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5331 # Save the log message, to keep $0 and so on meaningful, and to
5332 # report actual input values of CONFIG_FILES etc. instead of their
5333 # values after options handling.
5335 This file was extended by polyglot $as_me 1.4.56b, which was
5336 generated by GNU Autoconf 2.64. Invocation command line was
5338 CONFIG_FILES = $CONFIG_FILES
5339 CONFIG_HEADERS = $CONFIG_HEADERS
5340 CONFIG_LINKS = $CONFIG_LINKS
5341 CONFIG_COMMANDS = $CONFIG_COMMANDS
5344 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5349 case $ac_config_files in *"
5350 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5353 case $ac_config_headers in *"
5354 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5359 # Files that config.status was made for.
5360 config_files="$ac_config_files"
5361 config_headers="$ac_config_headers"
5362 config_commands="$ac_config_commands"
5366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5368 \`$as_me' instantiates files and other configuration actions
5369 from templates according to the current configuration. Unless the files
5370 and actions are specified as TAGs, all are instantiated by default.
5372 Usage: $0 [OPTION]... [TAG]...
5374 -h, --help print this help, then exit
5375 -V, --version print version number and configuration settings, then exit
5376 -q, --quiet, --silent
5377 do not print progress messages
5378 -d, --debug don't remove temporary files
5379 --recheck update $as_me by reconfiguring in the same conditions
5380 --file=FILE[:TEMPLATE]
5381 instantiate the configuration file FILE
5382 --header=FILE[:TEMPLATE]
5383 instantiate the configuration header FILE
5385 Configuration files:
5388 Configuration headers:
5391 Configuration commands:
5394 Report bugs to <michel.vandenbergh@uhasselt.be>."
5397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5399 polyglot config.status 1.4.56b
5400 configured by $0, generated by GNU Autoconf 2.64,
5401 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5403 Copyright (C) 2009 Free Software Foundation, Inc.
5404 This config.status script is free software; the Free Software Foundation
5405 gives unlimited permission to copy, distribute and modify it."
5412 test -n "\$AWK" || AWK=awk
5415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5416 # The default lists apply if the user does not specify any file.
5422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5423 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5434 # Handling of the options.
5435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5437 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5438 $as_echo "$ac_cs_version"; exit ;;
5439 --debug | --debu | --deb | --de | --d | -d )
5441 --file | --fil | --fi | --f )
5444 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5446 as_fn_append CONFIG_FILES " '$ac_optarg'"
5447 ac_need_defaults=false;;
5448 --header | --heade | --head | --hea )
5451 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5453 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5454 ac_need_defaults=false;;
5456 # Conflict between --help and --header
5457 as_fn_error "ambiguous option: \`$1'
5458 Try \`$0 --help' for more information.";;
5459 --help | --hel | -h )
5460 $as_echo "$ac_cs_usage"; exit ;;
5461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5462 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5466 -*) as_fn_error "unrecognized option: \`$1'
5467 Try \`$0 --help' for more information." ;;
5469 *) as_fn_append ac_config_targets " $1"
5470 ac_need_defaults=false ;;
5476 ac_configure_extra_args=
5478 if $ac_cs_silent; then
5480 ac_configure_extra_args="$ac_configure_extra_args --silent"
5484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5485 if \$ac_cs_recheck; then
5486 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5488 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5489 CONFIG_SHELL='$SHELL'
5495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5500 ## Running $as_me. ##
5506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5510 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5516 # Handling of arguments.
5517 for ac_config_target in $ac_config_targets
5519 case $ac_config_target in
5520 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5521 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5522 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5524 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5529 # If the user did not use the arguments to specify the items to instantiate,
5530 # then the envvar interface is used. Set only those that are not.
5531 # We use the long form for the default assignment because of an extremely
5532 # bizarre bug on SunOS 4.1.3.
5533 if $ac_need_defaults; then
5534 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5535 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5536 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5539 # Have a temporary directory for convenience. Make it in the build tree
5540 # simply because there is no reason against having it here, and in addition,
5541 # creating and moving files from /tmp can sometimes cause problems.
5542 # Hook for its removal unless debugging.
5543 # Note that there is a small window in which the directory will not be cleaned:
5544 # after its creation but before its name has been assigned to `$tmp'.
5548 trap 'exit_status=$?
5549 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5551 trap 'as_fn_exit 1' 1 2 13 15
5553 # Create a (secure) tmp directory for tmp files.
5556 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5557 test -n "$tmp" && test -d "$tmp"
5560 tmp=./conf$$-$RANDOM
5561 (umask 077 && mkdir "$tmp")
5562 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5564 # Set up the scripts for CONFIG_FILES section.
5565 # No need to generate them if there are no CONFIG_FILES.
5566 # This happens for instance with `./config.status config.h'.
5567 if test -n "$CONFIG_FILES"; then
5570 ac_cr=`echo X | tr X '\015'`
5571 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5572 # But we know of no other shell where ac_cr would be empty at this
5573 # point, so we can use a bashism as a fallback.
5574 if test "x$ac_cr" = x; then
5575 eval ac_cr=\$\'\\r\'
5577 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5578 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5584 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5589 echo "cat >conf$$subs.awk <<_ACEOF" &&
5590 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5593 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5594 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5596 for ac_last_try in false false false false false :; do
5597 . ./conf$$subs.sh ||
5598 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5600 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5601 if test $ac_delim_n = $ac_delim_num; then
5603 elif $ac_last_try; then
5604 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5606 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5612 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5616 s/^/S["/; s/!.*/"]=/
5626 s/\(.\{148\}\).*/\1/
5628 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5633 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5640 s/\(.\{148\}\).*/\1/
5642 s/["\\]/\\&/g; s/^/"/; s/$/"/
5646 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5651 ' <conf$$subs.awk | sed '
5656 ' >>$CONFIG_STATUS || ac_write_fail=1
5657 rm -f conf$$subs.awk
5658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5660 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5661 for (key in S) S_is_set[key] = 1
5667 nfields = split(line, field, "@")
5669 len = length(field[1])
5670 for (i = 2; i < nfields; i++) {
5672 keylen = length(key)
5673 if (S_is_set[key]) {
5675 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5676 len += length(value) + length(field[++i])
5687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5688 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5689 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5692 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5693 || as_fn_error "could not setup config files machinery" "$LINENO" 5
5696 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5697 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5698 # trailing colons and then remove the whole line if VPATH becomes empty
5699 # (actually we leave an empty line to preserve line numbers).
5700 if test "x$srcdir" = x.; then
5701 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5705 s/^\([^=]*=[ ]*\):*/\1/
5711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5712 fi # test -n "$CONFIG_FILES"
5714 # Set up the scripts for CONFIG_HEADERS section.
5715 # No need to generate them if there are no CONFIG_HEADERS.
5716 # This happens for instance with `./config.status Makefile'.
5717 if test -n "$CONFIG_HEADERS"; then
5718 cat >"$tmp/defines.awk" <<\_ACAWK ||
5722 # Transform confdefs.h into an awk script `defines.awk', embedded as
5723 # here-document in config.status, that substitutes the proper values into
5724 # config.h.in to produce config.h.
5726 # Create a delimiter string that does not exist in confdefs.h, to ease
5727 # handling of long lines.
5729 for ac_last_try in false false :; do
5730 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5731 if test -z "$ac_t"; then
5733 elif $ac_last_try; then
5734 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5736 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5740 # For the awk script, D is an array of macro values keyed by name,
5741 # likewise P contains macro parameters if any. Preserve backslash
5742 # newline sequences.
5744 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5746 s/.\{148\}/&'"$ac_delim"'/g
5749 s/^[ ]*#[ ]*define[ ][ ]*/ /
5756 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5762 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5763 D["\1"]=" \3\\\\\\n"\\/p
5765 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5770 s/.\{148\}/&'"$ac_delim"'/g
5775 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5778 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5780 ' <confdefs.h | sed '
5781 s/'"$ac_delim"'/"\\\
5782 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5785 for (key in D) D_is_set[key] = 1
5788 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5790 split(line, arg, " ")
5791 if (arg[1] == "#") {
5795 defundef = substr(arg[1], 2)
5798 split(mac1, mac2, "(") #)
5800 prefix = substr(line, 1, index(line, defundef) - 1)
5801 if (D_is_set[macro]) {
5802 # Preserve the white space surrounding the "#".
5803 print prefix "define", macro P[macro] D[macro]
5806 # Replace #undef with comments. This is necessary, for example,
5807 # in the case of _POSIX_SOURCE, which is predefined and required
5808 # on some systems where configure will not decide to define it.
5809 if (defundef == "undef") {
5810 print "/*", prefix defundef, macro, "*/"
5818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5819 as_fn_error "could not setup config headers machinery" "$LINENO" 5
5820 fi # test -n "$CONFIG_HEADERS"
5823 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5828 :[FHLC]) ac_mode=$ac_tag; continue;;
5830 case $ac_mode$ac_tag in
5832 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
5833 :[FH]-) ac_tag=-:-;;
5834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5851 -) ac_f="$tmp/stdin";;
5852 *) # Look for the file first in the build tree, then in the source tree
5853 # (if the path is not absolute). The absolute path cannot be DOS-style,
5854 # because $ac_f cannot contain `:'.
5858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5860 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5863 as_fn_append ac_file_inputs " '$ac_f'"
5866 # Let's still pretend it is `configure' which instantiates (i.e., don't
5867 # use $as_me), people would be surprised to read:
5868 # /* config.h. Generated by config.status. */
5869 configure_input='Generated from '`
5870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5872 if test x"$ac_file" != x-; then
5873 configure_input="$ac_file. $configure_input"
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5875 $as_echo "$as_me: creating $ac_file" >&6;}
5877 # Neutralize special characters interpreted by sed in replacement strings.
5878 case $configure_input in #(
5879 *\&* | *\|* | *\\* )
5880 ac_sed_conf_input=`$as_echo "$configure_input" |
5881 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5882 *) ac_sed_conf_input=$configure_input;;
5886 *:-:* | *:-) cat >"$tmp/stdin" \
5887 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5892 ac_dir=`$as_dirname -- "$ac_file" ||
5893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5894 X"$ac_file" : 'X\(//\)[^/]' \| \
5895 X"$ac_file" : 'X\(//\)$' \| \
5896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5897 $as_echo X"$ac_file" |
5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5915 as_dir="$ac_dir"; as_fn_mkdir_p
5919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5922 # A ".." for each directory in $ac_dir_suffix.
5923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5924 case $ac_top_builddir_sub in
5925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5929 ac_abs_top_builddir=$ac_pwd
5930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5931 # for backward compatibility:
5932 ac_top_builddir=$ac_top_build_prefix
5935 .) # We are building in place.
5937 ac_top_srcdir=$ac_top_builddir_sub
5938 ac_abs_top_srcdir=$ac_pwd ;;
5939 [\\/]* | ?:[\\/]* ) # Absolute name.
5940 ac_srcdir=$srcdir$ac_dir_suffix;
5941 ac_top_srcdir=$srcdir
5942 ac_abs_top_srcdir=$srcdir ;;
5944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5945 ac_top_srcdir=$ac_top_build_prefix$srcdir
5946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5963 [\\/$]* | ?:[\\/]* ) ;;
5964 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5969 # If the template does not know about datarootdir, expand it.
5970 # FIXME: This hack should be removed a few years after 2.60.
5971 ac_datarootdir_hack=; ac_datarootdir_seen=
5982 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5983 *datarootdir*) ac_datarootdir_seen=yes;;
5984 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5986 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5989 ac_datarootdir_hack='
5990 s&@datadir@&$datadir&g
5991 s&@docdir@&$docdir&g
5992 s&@infodir@&$infodir&g
5993 s&@localedir@&$localedir&g
5994 s&@mandir@&$mandir&g
5995 s&\\\${datarootdir}&$datarootdir&g' ;;
5999 # Neutralize VPATH when `$srcdir' = `.'.
6000 # Shell code in configure.ac might set extrasub.
6001 # FIXME: do we really want to maintain this feature?
6002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6003 ac_sed_extra="$ac_vpsub
6006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6009 s|@configure_input@|$ac_sed_conf_input|;t t
6010 s&@top_builddir@&$ac_top_builddir_sub&;t t
6011 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6012 s&@srcdir@&$ac_srcdir&;t t
6013 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6014 s&@top_srcdir@&$ac_top_srcdir&;t t
6015 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6016 s&@builddir@&$ac_builddir&;t t
6017 s&@abs_builddir@&$ac_abs_builddir&;t t
6018 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6019 s&@INSTALL@&$ac_INSTALL&;t t
6020 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6021 $ac_datarootdir_hack
6023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6024 || as_fn_error "could not create $ac_file" "$LINENO" 5
6026 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6027 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6030 which seems to be undefined. Please make sure it is defined." >&5
6031 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6032 which seems to be undefined. Please make sure it is defined." >&2;}
6036 -) cat "$tmp/out" && rm -f "$tmp/out";;
6037 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6039 || as_fn_error "could not create $ac_file" "$LINENO" 5
6045 if test x"$ac_file" != x-; then
6047 $as_echo "/* $configure_input */" \
6048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6049 } >"$tmp/config.h" \
6050 || as_fn_error "could not create $ac_file" "$LINENO" 5
6051 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6053 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6056 mv "$tmp/config.h" "$ac_file" \
6057 || as_fn_error "could not create $ac_file" "$LINENO" 5
6060 $as_echo "/* $configure_input */" \
6061 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6062 || as_fn_error "could not create -" "$LINENO" 5
6064 # Compute "$ac_file"'s index in $config_headers.
6067 for _am_header in $config_headers :; do
6069 $_am_arg | $_am_arg:* )
6072 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6075 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6076 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6077 X"$_am_arg" : 'X\(//\)[^/]' \| \
6078 X"$_am_arg" : 'X\(//\)$' \| \
6079 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6080 $as_echo X"$_am_arg" |
6081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6097 s/.*/./; q'`/stamp-h$_am_stamp_count
6100 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6101 $as_echo "$as_me: executing $ac_file commands" >&6;}
6106 case $ac_file$ac_mode in
6107 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6108 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6109 # are listed without --file. Let's play safe and only enable the eval
6110 # if we detect the quoting.
6111 case $CONFIG_FILES in
6112 *\'*) eval set x "$CONFIG_FILES" ;;
6113 *) set x $CONFIG_FILES ;;
6118 # Strip MF so we end up with the name of the file.
6119 mf=`echo "$mf" | sed -e 's/:.*$//'`
6120 # Check whether this is an Automake generated Makefile or not.
6121 # We used to match only the files named `Makefile.in', but
6122 # some people rename them; so instead we look at the file content.
6123 # Grep'ing the first line is not enough: some people post-process
6124 # each Makefile.in and add a new line on top of each file to say so.
6125 # Grep'ing the whole file is not good either: AIX grep has a line
6126 # limit of 2048, but all sed's we know have understand at least 4000.
6127 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6128 dirpart=`$as_dirname -- "$mf" ||
6129 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6130 X"$mf" : 'X\(//\)[^/]' \| \
6131 X"$mf" : 'X\(//\)$' \| \
6132 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6154 # Extract the definition of DEPDIR, am__include, and am__quote
6155 # from the Makefile without running `make'.
6156 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6157 test -z "$DEPDIR" && continue
6158 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6159 test -z "am__include" && continue
6160 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6161 # When using ansi2knr, U may be empty or an underscore; expand it
6162 U=`sed -n 's/^U = //p' < "$mf"`
6163 # Find all dependency output files, they are included files with
6164 # $(DEPDIR) in their names. We invoke sed twice because it is the
6165 # simplest approach to changing $(DEPDIR) to its actual value in the
6167 for file in `sed -n "
6168 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6169 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6170 # Make sure the directory exists.
6171 test -f "$dirpart/$file" && continue
6172 fdir=`$as_dirname -- "$file" ||
6173 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6174 X"$file" : 'X\(//\)[^/]' \| \
6175 X"$file" : 'X\(//\)$' \| \
6176 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6195 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6196 # echo "creating $dirpart/$file"
6197 echo '# dummy' > "$dirpart/$file"
6209 ac_clean_files=$ac_clean_files_save
6211 test $ac_write_fail = 0 ||
6212 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6215 # configure is writing to config.log, and then calls config.status.
6216 # config.status does its own redirection, appending to config.log.
6217 # Unfortunately, on DOS this fails, as config.log is still kept open
6218 # by configure, so config.status won't be able to write to it; its
6219 # output is simply discarded. So we exec the FD to /dev/null,
6220 # effectively closing config.log, so it can be properly (re)opened and
6221 # appended to by config.status. When coming back to configure, we
6222 # need to make the FD available again.
6223 if test "$no_create" != yes; then
6225 ac_config_status_args=
6226 test "$silent" = yes &&
6227 ac_config_status_args="$ac_config_status_args --quiet"
6229 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6231 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6232 # would make configure fail if this is the last instruction.
6233 $ac_cs_success || as_fn_exit $?
6235 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6237 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}