2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 # Factoring default headers for most tests.
586 ac_includes_default="\
588 #ifdef HAVE_SYS_TYPES_H
589 # include <sys/types.h>
591 #ifdef HAVE_SYS_STAT_H
592 # include <sys/stat.h>
598 # ifdef HAVE_STDLIB_H
603 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #ifdef HAVE_STRINGS_H
609 # include <strings.h>
611 #ifdef HAVE_INTTYPES_H
612 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
679 program_transform_name
692 enable_option_checking
695 ac_precious_vars='build_alias
706 # Initialize some variables set by options.
708 ac_init_version=false
709 ac_unrecognized_opts=
711 # The variables have the same names as the options, with
712 # dashes changed to underlines.
720 program_transform_name=s,x,x,
728 # Installation directory options.
729 # These are left unexpanded so users can "make install exec_prefix=/foo"
730 # and all the variables that are supposed to be based on exec_prefix
731 # by default will actually change.
732 # Use braces instead of parens because sh, perl, etc. also accept them.
733 # (The list follows the same order as the GNU Coding Standards.)
734 bindir='${exec_prefix}/bin'
735 sbindir='${exec_prefix}/sbin'
736 libexecdir='${exec_prefix}/libexec'
737 datarootdir='${prefix}/share'
738 datadir='${datarootdir}'
739 sysconfdir='${prefix}/etc'
740 sharedstatedir='${prefix}/com'
741 localstatedir='${prefix}/var'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE}'
745 infodir='${datarootdir}/info'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
766 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 # Accept the important Cygnus configure options, so we can diagnose typos.
773 case $ac_dashdash$ac_option in
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
795 cache_file=config.cache ;;
797 -datadir | --datadir | --datadi | --datad)
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
823 eval enable_$ac_useropt=no ;;
825 -docdir | --docdir | --docdi | --doc | --do)
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
849 eval enable_$ac_useropt=\$ac_optarg ;;
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
864 -help | --help | --hel | --he | -h)
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880 htmldir=$ac_optarg ;;
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
894 -libdir | --libdir | --libdi | --libd)
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
906 -localedir | --localedir | --localedi | --localed | --locale)
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
924 # Obsolete; use --without-fp.
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
985 -psdir | --psdir | --psdi | --psd | --ps)
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 sbindir=$ac_optarg ;;
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 sharedstatedir=$ac_optarg ;;
1011 -site | --site | --sit)
1013 -site=* | --site=* | --sit=*)
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval with_$ac_useropt=\$ac_optarg ;;
1055 -without-* | --without-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval with_$ac_useropt=no ;;
1072 # Obsolete; use --with-x.
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' | [0-9]* | *[!_$as_cr_alnum]* )
1098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error $? "missing argument to $ac_option"
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127 # Check all directory arguments for consistency.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val=\$$ac_var
1134 # Remove trailing slashes.
1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\$ac_val;;
1140 # Be sure to have absolute directory names.
1142 [\\/$]* | ?:[\\/]* ) continue;;
1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1153 target=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x; then
1157 if test "x$build_alias" = x; then
1158 cross_compiling=maybe
1159 elif test "x$build_alias" != "x$host_alias"; then
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167 test "$silent" = yes && exec 6>/dev/null
1170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di=`ls -di .` &&
1172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1173 as_fn_error $? "working directory cannot be determined"
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 as_fn_error $? "pwd does not report name of working directory"
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir=`$as_dirname -- "$as_myself" ||
1183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$as_myself" : 'X\(//\)[^/]' \| \
1185 X"$as_myself" : 'X\(//\)$' \| \
1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$as_myself" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1210 ac_srcdir_defaulted=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var in $ac_precious_vars; do
1231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_${ac_var}_value=\$${ac_var}
1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures this package to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking ...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1302 --build=BUILD configure for building on BUILD [guessed]
1303 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1307 if test -n "$ac_init_help"; then
1312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1314 --with-bundled-zlib use bundled zlib instead of the system's default
1317 Some influential environment variables:
1318 CC C compiler command
1319 CFLAGS C compiler flags
1320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1321 nonstandard directory <lib dir>
1322 LIBS libraries to pass to the linker, e.g. -l<library>
1323 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1324 you have headers in a nonstandard directory <include dir>
1327 Use these variables to override the choices made by `configure' or to help
1328 it to find libraries and programs with nonstandard names/locations.
1330 Report bugs to the package provider.
1335 if test "$ac_init_help" = "recursive"; then
1336 # If there are subdirs, report their specific --help.
1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1338 test -d "$ac_dir" ||
1339 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1347 # A ".." for each directory in $ac_dir_suffix.
1348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1349 case $ac_top_builddir_sub in
1350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1354 ac_abs_top_builddir=$ac_pwd
1355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1356 # for backward compatibility:
1357 ac_top_builddir=$ac_top_build_prefix
1360 .) # We are building in place.
1362 ac_top_srcdir=$ac_top_builddir_sub
1363 ac_abs_top_srcdir=$ac_pwd ;;
1364 [\\/]* | ?:[\\/]* ) # Absolute name.
1365 ac_srcdir=$srcdir$ac_dir_suffix;
1366 ac_top_srcdir=$srcdir
1367 ac_abs_top_srcdir=$srcdir ;;
1369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1370 ac_top_srcdir=$ac_top_build_prefix$srcdir
1371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1375 cd "$ac_dir" || { ac_status=$?; continue; }
1376 # Check for guested configure.
1377 if test -f "$ac_srcdir/configure.gnu"; then
1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1380 elif test -f "$ac_srcdir/configure"; then
1382 $SHELL "$ac_srcdir/configure" --help=recursive
1384 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1386 cd "$ac_pwd" || { ac_status=$?; break; }
1390 test -n "$ac_init_help" && exit $ac_status
1391 if $ac_init_version; then
1394 generated by GNU Autoconf 2.69
1396 Copyright (C) 2012 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1403 ## ------------------------ ##
1404 ## Autoconf initialization. ##
1405 ## ------------------------ ##
1407 # ac_fn_c_try_compile LINENO
1408 # --------------------------
1409 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1410 ac_fn_c_try_compile ()
1412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1413 rm -f conftest.$ac_objext
1414 if { { ac_try="$ac_compile"
1416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1417 *) ac_try_echo=$ac_try;;
1419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1420 $as_echo "$ac_try_echo"; } >&5
1421 (eval "$ac_compile") 2>conftest.err
1423 if test -s conftest.err; then
1424 grep -v '^ *+' conftest.err >conftest.er1
1425 cat conftest.er1 >&5
1426 mv -f conftest.er1 conftest.err
1428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1429 test $ac_status = 0; } && {
1430 test -z "$ac_c_werror_flag" ||
1431 test ! -s conftest.err
1432 } && test -s conftest.$ac_objext; then :
1435 $as_echo "$as_me: failed program was:" >&5
1436 sed 's/^/| /' conftest.$ac_ext >&5
1440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1441 as_fn_set_status $ac_retval
1443 } # ac_fn_c_try_compile
1445 # ac_fn_c_try_cpp LINENO
1446 # ----------------------
1447 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1451 if { { ac_try="$ac_cpp conftest.$ac_ext"
1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454 *) ac_try_echo=$ac_try;;
1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457 $as_echo "$ac_try_echo"; } >&5
1458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1460 if test -s conftest.err; then
1461 grep -v '^ *+' conftest.err >conftest.er1
1462 cat conftest.er1 >&5
1463 mv -f conftest.er1 conftest.err
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466 test $ac_status = 0; } > conftest.i && {
1467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1468 test ! -s conftest.err
1472 $as_echo "$as_me: failed program was:" >&5
1473 sed 's/^/| /' conftest.$ac_ext >&5
1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1478 as_fn_set_status $ac_retval
1482 # ac_fn_c_try_link LINENO
1483 # -----------------------
1484 # Try to link conftest.$ac_ext, and return whether this succeeded.
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488 rm -f conftest.$ac_objext conftest$ac_exeext
1489 if { { ac_try="$ac_link"
1491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492 *) ac_try_echo=$ac_try;;
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496 (eval "$ac_link") 2>conftest.err
1498 if test -s conftest.err; then
1499 grep -v '^ *+' conftest.err >conftest.er1
1500 cat conftest.er1 >&5
1501 mv -f conftest.er1 conftest.err
1503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504 test $ac_status = 0; } && {
1505 test -z "$ac_c_werror_flag" ||
1506 test ! -s conftest.err
1507 } && test -s conftest$ac_exeext && {
1508 test "$cross_compiling" = yes ||
1509 test -x conftest$ac_exeext
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1518 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1519 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1520 # interfere with the next link command; also delete a directory that is
1521 # left behind by Apple's compiler. We do this before executing the actions.
1522 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_link
1528 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1529 # -------------------------------------------
1530 # Tests whether TYPE exists after having included INCLUDES, setting cache
1531 # variable VAR accordingly.
1532 ac_fn_c_check_type ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1536 $as_echo_n "checking for $2... " >&6; }
1537 if eval \${$3+:} false; then :
1538 $as_echo_n "(cached) " >&6
1541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1542 /* end confdefs.h. */
1553 if ac_fn_c_try_compile "$LINENO"; then :
1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555 /* end confdefs.h. */
1566 if ac_fn_c_try_compile "$LINENO"; then :
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1577 $as_echo "$ac_res" >&6; }
1578 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 } # ac_fn_c_check_type
1582 # ac_fn_c_try_run LINENO
1583 # ----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1585 # that executables *can* be run.
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>&5
1598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1600 { { case "(($ac_try" in
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_try") 2>&5
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; }; }; then :
1612 $as_echo "$as_me: program exited with status $ac_status" >&5
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1616 ac_retval=$ac_status
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 } # ac_fn_c_check_header_compile
1655 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1656 # -------------------------------------------------------
1657 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1658 # the include files in INCLUDES and setting the cache variable VAR
1660 ac_fn_c_check_header_mongrel ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 if eval \${$3+:} false; then :
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1673 # Is the header compilable?
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1675 $as_echo_n "checking $2 usability... " >&6; }
1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1677 /* end confdefs.h. */
1681 if ac_fn_c_try_compile "$LINENO"; then :
1682 ac_header_compiler=yes
1684 ac_header_compiler=no
1686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1688 $as_echo "$ac_header_compiler" >&6; }
1690 # Is the header present?
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1692 $as_echo_n "checking $2 presence... " >&6; }
1693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1694 /* end confdefs.h. */
1697 if ac_fn_c_try_cpp "$LINENO"; then :
1698 ac_header_preproc=yes
1700 ac_header_preproc=no
1702 rm -f conftest.err conftest.i conftest.$ac_ext
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1704 $as_echo "$ac_header_preproc" >&6; }
1706 # So? What about this header?
1707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1710 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1712 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1716 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1718 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1720 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1722 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1724 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728 $as_echo_n "checking for $2... " >&6; }
1729 if eval \${$3+:} false; then :
1730 $as_echo_n "(cached) " >&6
1732 eval "$3=\$ac_header_compiler"
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1740 } # ac_fn_c_check_header_mongrel
1742 # ac_fn_c_check_func LINENO FUNC VAR
1743 # ----------------------------------
1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1745 ac_fn_c_check_func ()
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if eval \${$3+:} false; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1757 #define $2 innocuous_$2
1759 /* System header to define __stub macros and hopefully few prototypes,
1760 which can conflict with char $2 (); below.
1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1762 <limits.h> exists even on freestanding compilers. */
1765 # include <limits.h>
1767 # include <assert.h>
1772 /* Override any GCC internal prototype to avoid an error.
1773 Use char because int might match the return type of a GCC
1774 builtin and then its argument prototype would still apply. */
1779 /* The GNU C library defines this for functions which it implements
1780 to always fail with ENOSYS. Some functions are actually named
1781 something starting with __ and the normal name is an alias. */
1782 #if defined __stub_$2 || defined __stub___$2
1794 if ac_fn_c_try_link "$LINENO"; then :
1799 rm -f core conftest.err conftest.$ac_objext \
1800 conftest$ac_exeext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807 } # ac_fn_c_check_func
1809 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1810 # ----------------------------------------------------
1811 # Tries to find if the field MEMBER exists in type AGGR, after including
1812 # INCLUDES, setting cache variable VAR accordingly.
1813 ac_fn_c_check_member ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1817 $as_echo_n "checking for $2.$3... " >&6; }
1818 if eval \${$4+:} false; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1834 if ac_fn_c_try_compile "$LINENO"; then :
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h. */
1844 if (sizeof ac_aggr.$3)
1850 if ac_fn_c_try_compile "$LINENO"; then :
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 } # ac_fn_c_check_member
1865 cat >config.log <<_ACEOF
1866 This file contains any messages produced by compilers while
1867 running configure, to aid debugging if configure makes a mistake.
1869 It was created by $as_me, which was
1870 generated by GNU Autoconf 2.69. Invocation command line was
1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1889 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1891 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1892 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1894 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1895 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1896 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1897 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 $as_echo "PATH: $as_dir"
1922 # Keep a trace of the command line.
1923 # Strip out --no-create and --no-recursion so they do not pile up.
1924 # Strip out --silent because we don't want to record it for future runs.
1925 # Also quote any args containing shell meta-characters.
1926 # Make two passes to allow for proper duplicate-argument suppression.
1930 ac_must_keep_next=false
1936 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1938 | -silent | --silent | --silen | --sile | --sil)
1941 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1944 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1946 as_fn_append ac_configure_args1 " '$ac_arg'"
1947 if test $ac_must_keep_next = true; then
1948 ac_must_keep_next=false # Got value, back to normal.
1951 *=* | --config-cache | -C | -disable-* | --disable-* \
1952 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1953 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1954 | -with-* | --with-* | -without-* | --without-* | --x)
1955 case "$ac_configure_args0 " in
1956 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1959 -* ) ac_must_keep_next=true ;;
1962 as_fn_append ac_configure_args " '$ac_arg'"
1967 { ac_configure_args0=; unset ac_configure_args0;}
1968 { ac_configure_args1=; unset ac_configure_args1;}
1970 # When interrupted or exit'd, cleanup temporary files, and complete
1971 # config.log. We remove comments because anyway the quotes in there
1972 # would cause problems or look ugly.
1973 # WARNING: Use '\'' to represent an apostrophe within the trap.
1974 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1975 trap 'exit_status=$?
1976 # Save into config.log some information that might help in debugging.
1980 $as_echo "## ---------------- ##
1981 ## Cache variables. ##
1982 ## ---------------- ##"
1984 # The following way of writing the cache mishandles newlines in values,
1986 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1987 eval ac_val=\$$ac_var
1991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1995 _ | IFS | as_nl) ;; #(
1996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1997 *) { eval $ac_var=; unset $ac_var;} ;;
2002 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2003 *${as_nl}ac_space=\ *)
2005 "s/'\''/'\''\\\\'\'''\''/g;
2006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2016 $as_echo "## ----------------- ##
2017 ## Output variables. ##
2018 ## ----------------- ##"
2020 for ac_var in $ac_subst_vars
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2030 if test -n "$ac_subst_files"; then
2031 $as_echo "## ------------------- ##
2032 ## File substitutions. ##
2033 ## ------------------- ##"
2035 for ac_var in $ac_subst_files
2037 eval ac_val=\$$ac_var
2039 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2041 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -s confdefs.h; then
2047 $as_echo "## ----------- ##
2054 test "$ac_signal" != 0 &&
2055 $as_echo "$as_me: caught signal $ac_signal"
2056 $as_echo "$as_me: exit $exit_status"
2058 rm -f core *.core core.conftest.* &&
2059 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2062 for ac_signal in 1 2 13 15; do
2063 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2067 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2068 rm -f -r conftest* confdefs.h
2070 $as_echo "/* confdefs.h */" > confdefs.h
2072 # Predefined preprocessor variables.
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_NAME "$PACKAGE_NAME"
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_STRING "$PACKAGE_STRING"
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_URL "$PACKAGE_URL"
2099 # Let the site file select an alternate cache file if it wants to.
2100 # Prefer an explicitly selected file to automatically selected ones.
2103 if test -n "$CONFIG_SITE"; then
2104 # We do not want a PATH search for config.site.
2105 case $CONFIG_SITE in #((
2106 -*) ac_site_file1=./$CONFIG_SITE;;
2107 */*) ac_site_file1=$CONFIG_SITE;;
2108 *) ac_site_file1=./$CONFIG_SITE;;
2110 elif test "x$prefix" != xNONE; then
2111 ac_site_file1=$prefix/share/config.site
2112 ac_site_file2=$prefix/etc/config.site
2114 ac_site_file1=$ac_default_prefix/share/config.site
2115 ac_site_file2=$ac_default_prefix/etc/config.site
2117 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2119 test "x$ac_site_file" = xNONE && continue
2120 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2123 sed 's/^/| /' "$ac_site_file" >&5
2125 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 as_fn_error $? "failed to load site script $ac_site_file
2128 See \`config.log' for more details" "$LINENO" 5; }
2132 if test -r "$cache_file"; then
2133 # Some versions of bash will fail to source /dev/null (special files
2134 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2135 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2137 $as_echo "$as_me: loading cache $cache_file" >&6;}
2139 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2140 *) . "./$cache_file";;
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2145 $as_echo "$as_me: creating cache $cache_file" >&6;}
2149 as_fn_append ac_header_list " stdarg.h"
2150 as_fn_append ac_header_list " varargs.h"
2151 # Check that the precious variables saved in the cache have kept the same
2153 ac_cache_corrupted=false
2154 for ac_var in $ac_precious_vars; do
2155 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2156 eval ac_new_set=\$ac_env_${ac_var}_set
2157 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2158 eval ac_new_val=\$ac_env_${ac_var}_value
2159 case $ac_old_set,$ac_new_set in
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2162 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2163 ac_cache_corrupted=: ;;
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2166 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2167 ac_cache_corrupted=: ;;
2170 if test "x$ac_old_val" != "x$ac_new_val"; then
2171 # differences in whitespace do not lead to failure.
2172 ac_old_val_w=`echo x $ac_old_val`
2173 ac_new_val_w=`echo x $ac_new_val`
2174 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2176 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2177 ac_cache_corrupted=:
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2180 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2181 eval $ac_var=\$ac_old_val
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2184 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2186 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2189 # Pass precious variables to config.status.
2190 if test "$ac_new_set" = set; then
2192 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 *) ac_arg=$ac_var=$ac_new_val ;;
2195 case " $ac_configure_args " in
2196 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2197 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2201 if $ac_cache_corrupted; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2205 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2206 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2208 ## -------------------- ##
2209 ## Main body of script. ##
2210 ## -------------------- ##
2213 ac_cpp='$CPP $CPPFLAGS'
2214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring ccache" >&5
2222 $as_echo "$as_me: Configuring ccache" >&6;}
2224 ac_config_headers="$ac_config_headers config.h"
2228 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2229 if test -f "$ac_dir/install-sh"; then
2231 ac_install_sh="$ac_aux_dir/install-sh -c"
2233 elif test -f "$ac_dir/install.sh"; then
2235 ac_install_sh="$ac_aux_dir/install.sh -c"
2237 elif test -f "$ac_dir/shtool"; then
2239 ac_install_sh="$ac_aux_dir/shtool install -c"
2243 if test -z "$ac_aux_dir"; then
2244 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2247 # These three variables are undocumented and unsupported,
2248 # and are intended to be withdrawn in a future Autoconf release.
2249 # They can cause serious problems if a builder's source tree is in a directory
2250 # whose full name contains unusual characters.
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2253 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2256 # Make sure we can run config.sub.
2257 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2258 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2261 $as_echo_n "checking build system type... " >&6; }
2262 if ${ac_cv_build+:} false; then :
2263 $as_echo_n "(cached) " >&6
2265 ac_build_alias=$build_alias
2266 test "x$ac_build_alias" = x &&
2267 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2268 test "x$ac_build_alias" = x &&
2269 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2270 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2271 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2275 $as_echo "$ac_cv_build" >&6; }
2276 case $ac_cv_build in
2278 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2281 ac_save_IFS=$IFS; IFS='-'
2287 # Remember, the first character of IFS is used to create $*,
2288 # except with old shells:
2291 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2295 $as_echo_n "checking host system type... " >&6; }
2296 if ${ac_cv_host+:} false; then :
2297 $as_echo_n "(cached) " >&6
2299 if test "x$host_alias" = x; then
2300 ac_cv_host=$ac_cv_build
2302 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2303 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2308 $as_echo "$ac_cv_host" >&6; }
2311 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2314 ac_save_IFS=$IFS; IFS='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2329 *mingw32* | *cygwin* | *wince* | *mingwce*)
2332 $as_echo "#define _WIN32_WINNT 0x0600" >>confdefs.h
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_CC+:} false; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 if test -n "$CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2387 if test -z "$ac_cv_prog_CC"; then
2389 # Extract the first word of "gcc", so it can be a program name with args.
2390 set dummy gcc; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2394 $as_echo_n "(cached) " >&6
2396 if test -n "$ac_ct_CC"; then
2397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2406 ac_cv_prog_ac_ct_CC="gcc"
2407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2417 if test -n "$ac_ct_CC"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2419 $as_echo "$ac_ct_CC" >&6; }
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422 $as_echo "no" >&6; }
2425 if test "x$ac_ct_CC" = x; then
2428 case $cross_compiling:$ac_tool_warned in
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2432 ac_tool_warned=yes ;;
2440 if test -z "$CC"; then
2441 if test -n "$ac_tool_prefix"; then
2442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2443 set dummy ${ac_tool_prefix}cc; ac_word=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if ${ac_cv_prog_CC+:} false; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$CC"; then
2450 ac_cv_prog_CC="$CC" # Let the user override the test.
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CC="${ac_tool_prefix}cc"
2460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 if test -n "$CC"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2472 $as_echo "$CC" >&6; }
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2481 if test -z "$CC"; then
2482 # Extract the first word of "cc", so it can be a program name with args.
2483 set dummy cc; ac_word=$2
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2485 $as_echo_n "checking for $ac_word... " >&6; }
2486 if ${ac_cv_prog_CC+:} false; then :
2487 $as_echo_n "(cached) " >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501 ac_prog_rejected=yes
2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2512 if test $ac_prog_rejected = yes; then
2513 # We found a bogon in the path, so make sure we never use it.
2514 set dummy $ac_cv_prog_CC
2516 if test $# != 0; then
2517 # We chose a different compiler from the bogus one.
2518 # However, it has the same basename, so the bogon will be chosen
2519 # first if we set CC to just the basename; use the full file name.
2521 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2527 if test -n "$CC"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2529 $as_echo "$CC" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2537 if test -z "$CC"; then
2538 if test -n "$ac_tool_prefix"; then
2539 for ac_prog in cl.exe
2541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2544 $as_echo_n "checking for $ac_word... " >&6; }
2545 if ${ac_cv_prog_CC+:} false; then :
2546 $as_echo_n "(cached) " >&6
2548 if test -n "$CC"; then
2549 ac_cv_prog_CC="$CC" # Let the user override the test.
2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir=.
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$CC"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2571 $as_echo "$CC" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2574 $as_echo "no" >&6; }
2578 test -n "$CC" && break
2581 if test -z "$CC"; then
2583 for ac_prog in cl.exe
2585 # Extract the first word of "$ac_prog", so it can be a program name with args.
2586 set dummy $ac_prog; ac_word=$2
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588 $as_echo_n "checking for $ac_word... " >&6; }
2589 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2590 $as_echo_n "(cached) " >&6
2592 if test -n "$ac_ct_CC"; then
2593 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602 ac_cv_prog_ac_ct_CC="$ac_prog"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2613 if test -n "$ac_ct_CC"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2615 $as_echo "$ac_ct_CC" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2622 test -n "$ac_ct_CC" && break
2625 if test "x$ac_ct_CC" = x; then
2628 case $cross_compiling:$ac_tool_warned in
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2632 ac_tool_warned=yes ;;
2641 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2643 as_fn_error $? "no acceptable C compiler found in \$PATH
2644 See \`config.log' for more details" "$LINENO" 5; }
2646 # Provide some information about the compiler.
2647 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2650 for ac_option in --version -v -V -qversion; do
2651 { { ac_try="$ac_compiler $ac_option >&5"
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657 $as_echo "$ac_try_echo"; } >&5
2658 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2660 if test -s conftest.err; then
2662 ... rest of stderr output deleted ...
2663 10q' conftest.err >conftest.er1
2664 cat conftest.er1 >&5
2666 rm -f conftest.er1 conftest.err
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; }
2671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2672 /* end confdefs.h. */
2682 ac_clean_files_save=$ac_clean_files
2683 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2684 # Try to create an executable without -o first, disregard a.out.
2685 # It will help us diagnose broken compilers, and finding out an intuition
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2688 $as_echo_n "checking whether the C compiler works... " >&6; }
2689 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2691 # The possible output files:
2692 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2695 for ac_file in $ac_files
2698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2699 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2704 if { { ac_try="$ac_link_default"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2710 $as_echo "$ac_try_echo"; } >&5
2711 (eval "$ac_link_default") 2>&5
2713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714 test $ac_status = 0; }; then :
2715 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2716 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2717 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2718 # so that the user can short-circuit this test for compilers unknown to
2720 for ac_file in $ac_files ''
2722 test -f "$ac_file" || continue
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2727 # We found the default executable, but exeext='' is most
2731 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2733 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 # We set ac_cv_exeext here because the later test for it is not
2736 # safe: cross compilers may not add the suffix if given an `-o'
2737 # argument, so we may need to know it at that point already.
2738 # Even if this section looks crufty: it has the advantage of
2745 test "$ac_cv_exeext" = no && ac_cv_exeext=
2750 if test -z "$ac_file"; then :
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2753 $as_echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2758 as_fn_error 77 "C compiler cannot create executables
2759 See \`config.log' for more details" "$LINENO" 5; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2762 $as_echo "yes" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2765 $as_echo_n "checking for C compiler default output file name... " >&6; }
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2767 $as_echo "$ac_file" >&6; }
2768 ac_exeext=$ac_cv_exeext
2770 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2773 $as_echo_n "checking for suffix of executables... " >&6; }
2774 if { { ac_try="$ac_link"
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 $as_echo "$ac_try_echo"; } >&5
2781 (eval "$ac_link") 2>&5
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; }; then :
2785 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2786 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2787 # work properly (i.e., refer to `conftest.exe'), while it won't with
2789 for ac_file in conftest.exe conftest conftest.*; do
2790 test -f "$ac_file" || continue
2792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2793 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2802 See \`config.log' for more details" "$LINENO" 5; }
2804 rm -f conftest conftest$ac_cv_exeext
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2806 $as_echo "$ac_cv_exeext" >&6; }
2808 rm -f conftest.$ac_ext
2809 EXEEXT=$ac_cv_exeext
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2817 FILE *f = fopen ("conftest.out", "w");
2818 return ferror (f) || fclose (f) != 0;
2824 ac_clean_files="$ac_clean_files conftest.out"
2825 # Check that the compiler produces executables we can run. If not, either
2826 # the compiler is broken, or we cross compile.
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2828 $as_echo_n "checking whether we are cross compiling... " >&6; }
2829 if test "$cross_compiling" != yes; then
2830 { { ac_try="$ac_link"
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2836 $as_echo "$ac_try_echo"; } >&5
2837 (eval "$ac_link") 2>&5
2839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2840 test $ac_status = 0; }
2841 if { ac_try='./conftest$ac_cv_exeext'
2842 { { case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_try") 2>&5
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; }; }; then
2854 if test "$cross_compiling" = maybe; then
2857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2859 as_fn_error $? "cannot run C compiled programs.
2860 If you meant to cross compile, use \`--host'.
2861 See \`config.log' for more details" "$LINENO" 5; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2866 $as_echo "$cross_compiling" >&6; }
2868 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2869 ac_clean_files=$ac_clean_files_save
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2871 $as_echo_n "checking for suffix of object files... " >&6; }
2872 if ${ac_cv_objext+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2886 rm -f conftest.o conftest.obj
2887 if { { ac_try="$ac_compile"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893 $as_echo "$ac_try_echo"; } >&5
2894 (eval "$ac_compile") 2>&5
2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; }; then :
2898 for ac_file in conftest.o conftest.obj conftest.*; do
2899 test -f "$ac_file" || continue;
2901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2902 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2907 $as_echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912 as_fn_error $? "cannot compute suffix of object files: cannot compile
2913 See \`config.log' for more details" "$LINENO" 5; }
2915 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2918 $as_echo "$ac_cv_objext" >&6; }
2919 OBJEXT=$ac_cv_objext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2922 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2923 if ${ac_cv_c_compiler_gnu+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2940 if ac_fn_c_try_compile "$LINENO"; then :
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2946 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2950 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2951 if test $ac_compiler_gnu = yes; then
2956 ac_test_CFLAGS=${CFLAGS+set}
2957 ac_save_CFLAGS=$CFLAGS
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2959 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2960 if ${ac_cv_prog_cc_g+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 ac_save_c_werror_flag=$ac_c_werror_flag
2964 ac_c_werror_flag=yes
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2978 if ac_fn_c_try_compile "$LINENO"; then :
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2993 if ac_fn_c_try_compile "$LINENO"; then :
2996 ac_c_werror_flag=$ac_save_c_werror_flag
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 if ac_fn_c_try_compile "$LINENO"; then :
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 ac_c_werror_flag=$ac_save_c_werror_flag
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3020 $as_echo "$ac_cv_prog_cc_g" >&6; }
3021 if test "$ac_test_CFLAGS" = set; then
3022 CFLAGS=$ac_save_CFLAGS
3023 elif test $ac_cv_prog_cc_g = yes; then
3024 if test "$GCC" = yes; then
3030 if test "$GCC" = yes; then
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3037 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3038 if ${ac_cv_prog_cc_c89+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 ac_cv_prog_cc_c89=no
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3048 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3049 struct buf { int x; };
3050 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3051 static char *e (p, i)
3057 static char *f (char * (*g) (char **, int), char **p, ...)
3062 s = g (p, va_arg (v,int));
3067 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3068 function prototypes and stuff, but not '\xHH' hex character constants.
3069 These don't provoke an error unfortunately, instead are silently treated
3070 as 'x'. The following induces an error, until -std is added to get
3071 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3072 array size at least. It's necessary to write '\x00'==0 to get something
3073 that's true only with -std. */
3074 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3076 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3077 inside strings and character constants. */
3079 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3081 int test (int i, double x);
3082 struct s1 {int (*f) (int a);};
3083 struct s2 {int (*f) (double a);};
3084 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3090 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3095 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3096 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3098 CC="$ac_save_CC $ac_arg"
3099 if ac_fn_c_try_compile "$LINENO"; then :
3100 ac_cv_prog_cc_c89=$ac_arg
3102 rm -f core conftest.err conftest.$ac_objext
3103 test "x$ac_cv_prog_cc_c89" != "xno" && break
3105 rm -f conftest.$ac_ext
3110 case "x$ac_cv_prog_cc_c89" in
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3113 $as_echo "none needed" >&6; } ;;
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3116 $as_echo "unsupported" >&6; } ;;
3118 CC="$CC $ac_cv_prog_cc_c89"
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3120 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3122 if test "x$ac_cv_prog_cc_c89" != xno; then :
3127 ac_cpp='$CPP $CPPFLAGS'
3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 ac_cpp='$CPP $CPPFLAGS'
3134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3138 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3139 # On Suns, sometimes $CPP names a directory.
3140 if test -n "$CPP" && test -d "$CPP"; then
3143 if test -z "$CPP"; then
3144 if ${ac_cv_prog_CPP+:} false; then :
3145 $as_echo_n "(cached) " >&6
3147 # Double quotes because CPP needs to be expanded
3148 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3151 for ac_c_preproc_warn_flag in '' yes
3153 # Use a header file that comes with gcc, so configuring glibc
3154 # with a fresh cross-compiler works.
3155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3156 # <limits.h> exists even on freestanding compilers.
3157 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3162 # include <limits.h>
3164 # include <assert.h>
3168 if ac_fn_c_try_cpp "$LINENO"; then :
3171 # Broken: fails on valid input.
3174 rm -f conftest.err conftest.i conftest.$ac_ext
3176 # OK, works on sane cases. Now check whether nonexistent headers
3177 # can be detected and how.
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 #include <ac_nonexistent.h>
3182 if ac_fn_c_try_cpp "$LINENO"; then :
3183 # Broken: success on invalid input.
3186 # Passes both tests.
3190 rm -f conftest.err conftest.i conftest.$ac_ext
3193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194 rm -f conftest.i conftest.err conftest.$ac_ext
3195 if $ac_preproc_ok; then :
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3208 $as_echo "$CPP" >&6; }
3210 for ac_c_preproc_warn_flag in '' yes
3212 # Use a header file that comes with gcc, so configuring glibc
3213 # with a fresh cross-compiler works.
3214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 # <limits.h> exists even on freestanding compilers.
3216 # On the NeXT, cc -E runs the code through the compiler's parser,
3217 # not just through cpp. "Syntax error" is here to catch this case.
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3221 # include <limits.h>
3223 # include <assert.h>
3227 if ac_fn_c_try_cpp "$LINENO"; then :
3230 # Broken: fails on valid input.
3233 rm -f conftest.err conftest.i conftest.$ac_ext
3235 # OK, works on sane cases. Now check whether nonexistent headers
3236 # can be detected and how.
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3239 #include <ac_nonexistent.h>
3241 if ac_fn_c_try_cpp "$LINENO"; then :
3242 # Broken: success on invalid input.
3245 # Passes both tests.
3249 rm -f conftest.err conftest.i conftest.$ac_ext
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.i conftest.err conftest.$ac_ext
3254 if $ac_preproc_ok; then :
3257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details" "$LINENO" 5; }
3264 ac_cpp='$CPP $CPPFLAGS'
3265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3269 # Find a good install program. We prefer a C program (faster),
3270 # so one script is as good as another. But avoid the broken or
3271 # incompatible versions:
3272 # SysV /etc/install, /usr/sbin/install
3273 # SunOS /usr/etc/install
3274 # IRIX /sbin/install
3276 # AmigaOS /C/install, which installs bootblocks on floppy discs
3277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3280 # OS/2's system install, which has a completely different semantic
3281 # ./install, which can be erroneously created by make from ./install.sh.
3282 # Reject install programs that cannot install multiple files.
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3284 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3285 if test -z "$INSTALL"; then
3286 if ${ac_cv_path_install+:} false; then :
3287 $as_echo_n "(cached) " >&6
3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 test -z "$as_dir" && as_dir=.
3294 # Account for people who put trailing slashes in PATH elements.
3295 case $as_dir/ in #((
3296 ./ | .// | /[cC]/* | \
3297 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3298 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3301 # OSF1 and SCO ODT 3.0 have their own names for install.
3302 # Don't use installbsd from OSF since it installs stuff as root
3304 for ac_prog in ginstall scoinst install; do
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3307 if test $ac_prog = install &&
3308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309 # AIX install. It has an incompatible calling convention.
3311 elif test $ac_prog = install &&
3312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3313 # program-specific install script used by HP pwplus--don't use.
3316 rm -rf conftest.one conftest.two conftest.dir
3317 echo one > conftest.one
3318 echo two > conftest.two
3320 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3321 test -s conftest.one && test -s conftest.two &&
3322 test -s conftest.dir/conftest.one &&
3323 test -s conftest.dir/conftest.two
3325 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3338 rm -rf conftest.one conftest.two conftest.dir
3341 if test "${ac_cv_path_install+set}" = set; then
3342 INSTALL=$ac_cv_path_install
3344 # As a last resort, use the slow shell script. Don't cache a
3345 # value for INSTALL within a source directory, because that will
3346 # break other packages using the cache if that directory is
3347 # removed, or if the value is a relative name.
3348 INSTALL=$ac_install_sh
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3352 $as_echo "$INSTALL" >&6; }
3354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3355 # It thinks the first close brace ends the variable substitution.
3356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3362 if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3364 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if ${ac_cv_prog_RANLIB+:} false; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$RANLIB"; then
3371 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 RANLIB=$ac_cv_prog_RANLIB
3391 if test -n "$RANLIB"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3393 $as_echo "$RANLIB" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3401 if test -z "$ac_cv_prog_RANLIB"; then
3402 ac_ct_RANLIB=$RANLIB
3403 # Extract the first word of "ranlib", so it can be a program name with args.
3404 set dummy ranlib; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$ac_ct_RANLIB"; then
3411 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420 ac_cv_prog_ac_ct_RANLIB="ranlib"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3431 if test -n "$ac_ct_RANLIB"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3433 $as_echo "$ac_ct_RANLIB" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3439 if test "x$ac_ct_RANLIB" = x; then
3442 case $cross_compiling:$ac_tool_warned in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3446 ac_tool_warned=yes ;;
3448 RANLIB=$ac_ct_RANLIB
3451 RANLIB="$ac_cv_prog_RANLIB"
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if ${ac_cv_prog_AR+:} false; then :
3460 $as_echo_n "(cached) " >&6
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_AR="${ac_tool_prefix}ar"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 if test -n "$AR"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3485 $as_echo "$AR" >&6; }
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3493 if test -z "$ac_cv_prog_AR"; then
3495 # Extract the first word of "ar", so it can be a program name with args.
3496 set dummy ar; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$ac_ct_AR"; then
3503 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_ac_ct_AR="ar"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3525 $as_echo "$ac_ct_AR" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3531 if test "x$ac_ct_AR" = x; then
3534 case $cross_compiling:$ac_tool_warned in
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3538 ac_tool_warned=yes ;;
3546 if test -z "$AR"; then
3547 as_fn_error $? "cannot find ar" "$LINENO" 5
3551 # The later defininition of _XOPEN_SOURCE disables certain features
3552 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
3554 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3557 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3558 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3561 $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
3564 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3565 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3568 $as_echo "#define __BSD_VISIBLE 1" >>confdefs.h
3571 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3572 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
3574 $as_echo "#define _BSD_TYPES 1" >>confdefs.h
3577 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3578 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3581 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
3584 define_xopen_source=yes
3586 ac_sys_system=`uname -s`
3587 if test "$ac_sys_system" = "AIX" -o "$ac_sys_system" = "Monterey64" \
3588 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3589 ac_sys_release=`uname -v`
3591 ac_sys_release=`uname -r`
3594 # Some systems cannot stand _XOPEN_SOURCE being defined at all; they
3595 # disable features if it is defined, without any means to access these
3596 # features as extensions. For these systems, we skip the definition of
3597 # _XOPEN_SOURCE. Before adding a system to the list to gain access to
3598 # some feature, make sure there is no alternative way to access this
3599 # feature. Also, when using wildcards, make sure you have verified the
3600 # need for not defining _XOPEN_SOURCE on all systems matching the
3601 # wildcard, and that the wildcard does not include future systems
3602 # (which may remove their limitations).
3603 case $ac_sys_system/$ac_sys_release in
3604 # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
3605 # even though select is a POSIX function. Reported by J. Ribbens.
3606 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3607 OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123])
3608 define_xopen_source=no
3609 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
3610 # also defined. This can be overridden by defining _BSD_SOURCE
3611 # As this has a different meaning on Linux, only define it on OpenBSD
3613 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
3616 # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
3617 # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
3619 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3620 define_xopen_source=no;;
3621 # On Solaris 2.6, sys/wait.h is inconsistent in the usage
3622 # of union __?sigval. Reported by Stuart Bishop.
3624 define_xopen_source=no;;
3625 # On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
3626 # but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
3627 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3628 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3629 define_xopen_source=no;;
3630 # On OpenServer 5, u_short is never defined with _XOPEN_SOURCE,
3631 # but used in struct sockaddr.sa_family. Reported by Tim Rice.
3633 define_xopen_source=no;;
3634 # On FreeBSD 4, the math functions C89 does not cover are never defined
3635 # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
3637 define_xopen_source=no;;
3638 # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
3639 # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
3640 # identifies itself as Darwin/7.*
3641 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3642 # disables platform specific features beyond repair.
3643 # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3644 # has no effect, don't bother defining them
3646 define_xopen_source=no;;
3647 # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
3648 # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
3649 # or has another value. By not (re)defining it, the defaults come in place.
3651 define_xopen_source=no;;
3653 if test `uname -r` -eq 1; then
3654 define_xopen_source=no
3657 # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from
3658 # defining NI_NUMERICHOST.
3660 define_xopen_source=no
3665 if test $define_xopen_source = yes
3667 # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
3668 # defined precisely as g++ defines it
3669 # Furthermore, on Solaris 10, XPG6 requires the use of a C99
3671 case $ac_sys_system/$ac_sys_release in
3672 SunOS/5.8|SunOS/5.9|SunOS/5.10)
3674 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
3679 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
3684 # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
3685 # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
3686 # several APIs are not declared. Since this is also needed in some
3687 # cases for HP-UX, we define it globally.
3688 # except for Solaris 10, where it must not be defined,
3689 # as it implies XPG4.2
3690 case $ac_sys_system/$ac_sys_release in
3695 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
3701 $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
3707 # If GCC, turn on warnings.
3708 if test "x$GCC" = "xyes"; then
3709 CFLAGS="$CFLAGS -Wall -W"
3716 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3717 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3719 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3720 if eval \${$as_ac_Header+:} false; then :
3721 $as_echo_n "(cached) " >&6
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3725 #include <sys/types.h>
3737 if ac_fn_c_try_compile "$LINENO"; then :
3738 eval "$as_ac_Header=yes"
3740 eval "$as_ac_Header=no"
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 eval ac_res=\$$as_ac_Header
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3746 $as_echo "$ac_res" >&6; }
3747 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3748 cat >>confdefs.h <<_ACEOF
3749 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3752 ac_header_dirent=$ac_hdr; break
3756 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3757 if test $ac_header_dirent = dirent.h; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3759 $as_echo_n "checking for library containing opendir... " >&6; }
3760 if ${ac_cv_search_opendir+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 ac_func_search_save_LIBS=$LIBS
3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3767 /* Override any GCC internal prototype to avoid an error.
3768 Use char because int might match the return type of a GCC
3769 builtin and then its argument prototype would still apply. */
3782 for ac_lib in '' dir; do
3783 if test -z "$ac_lib"; then
3784 ac_res="none required"
3787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3789 if ac_fn_c_try_link "$LINENO"; then :
3790 ac_cv_search_opendir=$ac_res
3792 rm -f core conftest.err conftest.$ac_objext \
3794 if ${ac_cv_search_opendir+:} false; then :
3798 if ${ac_cv_search_opendir+:} false; then :
3801 ac_cv_search_opendir=no
3804 LIBS=$ac_func_search_save_LIBS
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3807 $as_echo "$ac_cv_search_opendir" >&6; }
3808 ac_res=$ac_cv_search_opendir
3809 if test "$ac_res" != no; then :
3810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3816 $as_echo_n "checking for library containing opendir... " >&6; }
3817 if ${ac_cv_search_opendir+:} false; then :
3818 $as_echo_n "(cached) " >&6
3820 ac_func_search_save_LIBS=$LIBS
3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3824 /* Override any GCC internal prototype to avoid an error.
3825 Use char because int might match the return type of a GCC
3826 builtin and then its argument prototype would still apply. */
3839 for ac_lib in '' x; do
3840 if test -z "$ac_lib"; then
3841 ac_res="none required"
3844 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3846 if ac_fn_c_try_link "$LINENO"; then :
3847 ac_cv_search_opendir=$ac_res
3849 rm -f core conftest.err conftest.$ac_objext \
3851 if ${ac_cv_search_opendir+:} false; then :
3855 if ${ac_cv_search_opendir+:} false; then :
3858 ac_cv_search_opendir=no
3861 LIBS=$ac_func_search_save_LIBS
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3864 $as_echo "$ac_cv_search_opendir" >&6; }
3865 ac_res=$ac_cv_search_opendir
3866 if test "$ac_res" != no; then :
3867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3874 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3875 if ${ac_cv_header_time+:} false; then :
3876 $as_echo_n "(cached) " >&6
3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 /* end confdefs.h. */
3880 #include <sys/types.h>
3881 #include <sys/time.h>
3887 if ((struct tm *) 0)
3893 if ac_fn_c_try_compile "$LINENO"; then :
3894 ac_cv_header_time=yes
3896 ac_cv_header_time=no
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3901 $as_echo "$ac_cv_header_time" >&6; }
3902 if test $ac_cv_header_time = yes; then
3904 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3910 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3911 if ${ac_cv_path_GREP+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -z "$GREP"; then
3915 ac_path_GREP_found=false
3916 # Loop through the user's path and test for each of PROGNAME-LIST
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3921 test -z "$as_dir" && as_dir=.
3922 for ac_prog in grep ggrep; do
3923 for ac_exec_ext in '' $ac_executable_extensions; do
3924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3925 as_fn_executable_p "$ac_path_GREP" || continue
3926 # Check for GNU ac_path_GREP and select it if it is found.
3927 # Check for GNU $ac_path_GREP
3928 case `"$ac_path_GREP" --version 2>&1` in
3930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3933 $as_echo_n 0123456789 >"conftest.in"
3936 cat "conftest.in" "conftest.in" >"conftest.tmp"
3937 mv "conftest.tmp" "conftest.in"
3938 cp "conftest.in" "conftest.nl"
3939 $as_echo 'GREP' >> "conftest.nl"
3940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3942 as_fn_arith $ac_count + 1 && ac_count=$as_val
3943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3944 # Best one so far, save it but keep looking for a better one
3945 ac_cv_path_GREP="$ac_path_GREP"
3946 ac_path_GREP_max=$ac_count
3948 # 10*(2^10) chars as input seems more than enough
3949 test $ac_count -gt 10 && break
3951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3954 $ac_path_GREP_found && break 3
3959 if test -z "$ac_cv_path_GREP"; then
3960 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3963 ac_cv_path_GREP=$GREP
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3968 $as_echo "$ac_cv_path_GREP" >&6; }
3969 GREP="$ac_cv_path_GREP"
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3973 $as_echo_n "checking for egrep... " >&6; }
3974 if ${ac_cv_path_EGREP+:} false; then :
3975 $as_echo_n "(cached) " >&6
3977 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3978 then ac_cv_path_EGREP="$GREP -E"
3980 if test -z "$EGREP"; then
3981 ac_path_EGREP_found=false
3982 # Loop through the user's path and test for each of PROGNAME-LIST
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3987 test -z "$as_dir" && as_dir=.
3988 for ac_prog in egrep; do
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3991 as_fn_executable_p "$ac_path_EGREP" || continue
3992 # Check for GNU ac_path_EGREP and select it if it is found.
3993 # Check for GNU $ac_path_EGREP
3994 case `"$ac_path_EGREP" --version 2>&1` in
3996 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3999 $as_echo_n 0123456789 >"conftest.in"
4002 cat "conftest.in" "conftest.in" >"conftest.tmp"
4003 mv "conftest.tmp" "conftest.in"
4004 cp "conftest.in" "conftest.nl"
4005 $as_echo 'EGREP' >> "conftest.nl"
4006 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4007 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4008 as_fn_arith $ac_count + 1 && ac_count=$as_val
4009 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4010 # Best one so far, save it but keep looking for a better one
4011 ac_cv_path_EGREP="$ac_path_EGREP"
4012 ac_path_EGREP_max=$ac_count
4014 # 10*(2^10) chars as input seems more than enough
4015 test $ac_count -gt 10 && break
4017 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4020 $ac_path_EGREP_found && break 3
4025 if test -z "$ac_cv_path_EGREP"; then
4026 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4029 ac_cv_path_EGREP=$EGREP
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4035 $as_echo "$ac_cv_path_EGREP" >&6; }
4036 EGREP="$ac_cv_path_EGREP"
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4040 $as_echo_n "checking for ANSI C header files... " >&6; }
4041 if ${ac_cv_header_stdc+:} false; then :
4042 $as_echo_n "(cached) " >&6
4044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h. */
4059 if ac_fn_c_try_compile "$LINENO"; then :
4060 ac_cv_header_stdc=yes
4062 ac_cv_header_stdc=no
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 if test $ac_cv_header_stdc = yes; then
4067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4074 $EGREP "memchr" >/dev/null 2>&1; then :
4077 ac_cv_header_stdc=no
4083 if test $ac_cv_header_stdc = yes; then
4084 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4091 $EGREP "free" >/dev/null 2>&1; then :
4094 ac_cv_header_stdc=no
4100 if test $ac_cv_header_stdc = yes; then
4101 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4102 if test "$cross_compiling" = yes; then :
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4109 #if ((' ' & 0x0FF) == 0x020)
4110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4113 # define ISLOWER(c) \
4114 (('a' <= (c) && (c) <= 'i') \
4115 || ('j' <= (c) && (c) <= 'r') \
4116 || ('s' <= (c) && (c) <= 'z'))
4117 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4120 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4125 for (i = 0; i < 256; i++)
4126 if (XOR (islower (i), ISLOWER (i))
4127 || toupper (i) != TOUPPER (i))
4132 if ac_fn_c_try_run "$LINENO"; then :
4135 ac_cv_header_stdc=no
4137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4138 conftest.$ac_objext conftest.beam conftest.$ac_ext
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4144 $as_echo "$ac_cv_header_stdc" >&6; }
4145 if test $ac_cv_header_stdc = yes; then
4147 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4151 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4153 inttypes.h stdint.h unistd.h
4155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4156 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4158 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4159 cat >>confdefs.h <<_ACEOF
4160 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4169 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4170 if ${ac_cv_header_stdbool_h+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4176 #include <stdbool.h>
4178 "error: bool is not defined"
4181 "error: false is not defined"
4184 "error: false is not 0"
4187 "error: true is not defined"
4190 "error: true is not 1"
4192 #ifndef __bool_true_false_are_defined
4193 "error: __bool_true_false_are_defined is not defined"
4196 struct s { _Bool s: 1; _Bool t; } s;
4198 char a[true == 1 ? 1 : -1];
4199 char b[false == 0 ? 1 : -1];
4200 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4201 char d[(bool) 0.5 == true ? 1 : -1];
4202 /* See body of main program for 'e'. */
4203 char f[(_Bool) 0.0 == false ? 1 : -1];
4205 char h[sizeof (_Bool)];
4207 enum { j = false, k = true, l = false * true, m = true * 256 };
4208 /* The following fails for
4209 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4211 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4212 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4213 /* Catch a bug in an HP-UX C compiler. See
4214 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4215 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4227 /* Refer to every declared value, to avoid compiler optimizations. */
4228 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4229 + !m + !n + !o + !p + !q + !pq);
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236 ac_cv_header_stdbool_h=yes
4238 ac_cv_header_stdbool_h=no
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4243 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4244 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4245 if test "x$ac_cv_type__Bool" = xyes; then :
4247 cat >>confdefs.h <<_ACEOF
4248 #define HAVE__BOOL 1
4255 if test $ac_cv_header_stdbool_h = yes; then
4257 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4262 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4263 if ${ac_cv_header_sys_wait_h+:} false; then :
4264 $as_echo_n "(cached) " >&6
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4268 #include <sys/types.h>
4269 #include <sys/wait.h>
4271 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4274 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4282 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4287 if ac_fn_c_try_compile "$LINENO"; then :
4288 ac_cv_header_sys_wait_h=yes
4290 ac_cv_header_sys_wait_h=no
4292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4295 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4296 if test $ac_cv_header_sys_wait_h = yes; then
4298 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4303 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
4304 if test "x$ac_cv_type_long_long" = xyes; then :
4306 cat >>confdefs.h <<_ACEOF
4307 #define HAVE_LONG_LONG 1
4314 for ac_header in ctype.h pwd.h stdlib.h string.h strings.h sys/time.h sys/mman.h
4316 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4317 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4318 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4319 cat >>confdefs.h <<_ACEOF
4320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4327 for ac_header in termios.h
4329 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
4330 if test "x$ac_cv_header_termios_h" = xyes; then :
4331 cat >>confdefs.h <<_ACEOF
4332 #define HAVE_TERMIOS_H 1
4340 for ac_func in gethostname
4342 ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
4343 if test "x$ac_cv_func_gethostname" = xyes; then :
4344 cat >>confdefs.h <<_ACEOF
4345 #define HAVE_GETHOSTNAME 1
4351 for ac_func in getopt_long
4353 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
4354 if test "x$ac_cv_func_getopt_long" = xyes; then :
4355 cat >>confdefs.h <<_ACEOF
4356 #define HAVE_GETOPT_LONG 1
4362 for ac_func in getpwuid
4364 ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid"
4365 if test "x$ac_cv_func_getpwuid" = xyes; then :
4366 cat >>confdefs.h <<_ACEOF
4367 #define HAVE_GETPWUID 1
4373 for ac_func in gettimeofday
4375 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
4376 if test "x$ac_cv_func_gettimeofday" = xyes; then :
4377 cat >>confdefs.h <<_ACEOF
4378 #define HAVE_GETTIMEOFDAY 1
4384 for ac_func in mkstemp
4386 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
4387 if test "x$ac_cv_func_mkstemp" = xyes; then :
4388 cat >>confdefs.h <<_ACEOF
4389 #define HAVE_MKSTEMP 1
4395 for ac_func in realpath
4397 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
4398 if test "x$ac_cv_func_realpath" = xyes; then :
4399 cat >>confdefs.h <<_ACEOF
4400 #define HAVE_REALPATH 1
4406 for ac_func in strndup
4408 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
4409 if test "x$ac_cv_func_strndup" = xyes; then :
4410 cat >>confdefs.h <<_ACEOF
4411 #define HAVE_STRNDUP 1
4417 for ac_func in strtok_r
4419 ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r"
4420 if test "x$ac_cv_func_strtok_r" = xyes; then :
4421 cat >>confdefs.h <<_ACEOF
4422 #define HAVE_STRTOK_R 1
4428 for ac_func in unsetenv
4430 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
4431 if test "x$ac_cv_func_unsetenv" = xyes; then :
4432 cat >>confdefs.h <<_ACEOF
4433 #define HAVE_UNSETENV 1
4439 for ac_func in utimes
4441 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
4442 if test "x$ac_cv_func_utimes" = xyes; then :
4443 cat >>confdefs.h <<_ACEOF
4444 #define HAVE_UTIMES 1
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compar_fn_t in stdlib.h" >&5
4452 $as_echo_n "checking for compar_fn_t in stdlib.h... " >&6; }
4453 if ${ccache_cv_COMPAR_FN_T+:} false; then :
4454 $as_echo_n "(cached) " >&6
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4463 void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
4468 if ac_fn_c_try_compile "$LINENO"; then :
4469 ccache_cv_COMPAR_FN_T=yes
4471 ccache_cv_COMPAR_FN_T=no
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_COMPAR_FN_T" >&5
4476 $as_echo "$ccache_cv_COMPAR_FN_T" >&6; }
4477 if test x"$ccache_cv_COMPAR_FN_T" = x"yes"; then
4479 $as_echo "#define HAVE_COMPAR_FN_T 1" >>confdefs.h
4483 # $Id: snprintf.m4,v 1.1.1.1 2008/01/06 03:24:00 holger Exp $
4485 # Copyright (c) 2008 Holger Weiss <holger@jhweiss.de>.
4487 # This code may freely be used, modified and/or redistributed for any purpose.
4488 # It would be nice if additions and fixes to this file (including trivial code
4489 # cleanups) would be sent back in order to let me include them in the version
4490 # available at <http://www.jhweiss.de/software/snprintf.html>. However, this is
4491 # not a requirement for using or redistributing (possibly modified) versions of
4492 # this file, nor is leaving this notice intact mandatory.
4494 # HW_HEADER_STDARG_H
4495 # ------------------
4496 # Define HAVE_STDARG_H to 1 if <stdarg.h> is available.
4497 # HW_HEADER_STDARG_H
4499 # HW_HEADER_VARARGS_H
4500 # -------------------
4501 # Define HAVE_VARARGS_H to 1 if <varargs.h> is available.
4502 # HW_HEADER_VARARGS_H
4506 # Set $hw_cv_func_va_copy to "yes" or "no". Define HAVE_VA_COPY to 1 if
4507 # $hw_cv_func_va_copy is set to "yes". Note that it's "unspecified whether
4508 # va_copy and va_end are macros or identifiers declared with external linkage."
4509 # (C99: 7.15.1, 1) Therefore, the presence of va_copy(3) cannot simply "be
4510 # tested with #ifdef", as suggested by the Autoconf manual (5.5.1).
4515 # Set $hw_cv_func___va_copy to "yes" or "no". Define HAVE___VA_COPY to 1 if
4516 # $hw_cv_func___va_copy is set to "yes".
4521 # Set $hw_cv_func_vsnprintf and $hw_cv_func_vsnprintf_c99 to "yes" or "no",
4522 # respectively. Define HAVE_VSNPRINTF to 1 only if $hw_cv_func_vsnprintf_c99
4523 # is set to "yes". Otherwise, define vsnprintf to rpl_vsnprintf and make sure
4524 # the replacement function will be built.
4529 # Set $hw_cv_func_snprintf and $hw_cv_func_snprintf_c99 to "yes" or "no",
4530 # respectively. Define HAVE_SNPRINTF to 1 only if $hw_cv_func_snprintf_c99
4531 # is set to "yes". Otherwise, define snprintf to rpl_snprintf and make sure
4532 # the replacement function will be built.
4537 # Set $hw_cv_func_vasprintf to "yes" or "no". Define HAVE_VASPRINTF to 1 if
4538 # $hw_cv_func_vasprintf is set to "yes". Otherwise, define vasprintf to
4539 # rpl_vasprintf and make sure the replacement function will be built.
4544 # Set $hw_cv_func_asprintf to "yes" or "no". Define HAVE_ASPRINTF to 1 if
4545 # $hw_cv_func_asprintf is set to "yes". Otherwise, define asprintf to
4546 # rpl_asprintf and make sure the replacement function will be built.
4549 # _HW_FUNC_XPRINTF_REPLACE
4550 # ------------------------
4551 # Arrange for building snprintf.c. Must be called if one or more of the
4552 # functions provided by snprintf.c are needed.
4553 # _HW_FUNC_XPRINTF_REPLACE
4559 for ac_header in $ac_header_list
4561 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4562 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4564 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4565 cat >>confdefs.h <<_ACEOF
4566 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4580 $as_echo_n "checking for unsigned long long int... " >&6; }
4581 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 ac_cv_type_unsigned_long_long_int=yes
4585 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4589 /* For now, do not test the preprocessor; as of 2007 there are too many
4590 implementations with broken preprocessors. Perhaps this can
4591 be revisited in 2012. In the meantime, code should not expect
4592 #if to work with literals wider than 32 bits. */
4593 /* Test literals. */
4594 long long int ll = 9223372036854775807ll;
4595 long long int nll = -9223372036854775807LL;
4596 unsigned long long int ull = 18446744073709551615ULL;
4597 /* Test constant expressions. */
4598 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4600 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4606 /* Test availability of runtime routines for shift and division. */
4607 long long int llmax = 9223372036854775807ll;
4608 unsigned long long int ullmax = 18446744073709551615ull;
4609 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4610 | (llmax / ll) | (llmax % ll)
4611 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4612 | (ullmax / ull) | (ullmax % ull));
4618 if ac_fn_c_try_link "$LINENO"; then :
4621 ac_cv_type_unsigned_long_long_int=no
4623 rm -f core conftest.err conftest.$ac_objext \
4624 conftest$ac_exeext conftest.$ac_ext
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4628 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4629 if test $ac_cv_type_unsigned_long_long_int = yes; then
4631 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4636 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
4637 if test "x$ac_cv_func_vsnprintf" = xyes; then :
4638 hw_cv_func_vsnprintf=yes
4640 hw_cv_func_vsnprintf=no
4643 if test "$hw_cv_func_vsnprintf" = yes; then :
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is C99 compliant" >&5
4645 $as_echo_n "checking whether vsnprintf is C99 compliant... " >&6; }
4646 if ${hw_cv_func_vsnprintf_c99+:} false; then :
4647 $as_echo_n "(cached) " >&6
4649 if test "$cross_compiling" = yes; then :
4650 hw_cv_func_vsnprintf_c99=no
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4658 static int testprintf(char *buf, size_t size, const char *format, ...)
4662 va_start(ap, format);
4663 result = vsnprintf(buf, size, format, ap);
4671 if (testprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
4672 testprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
4673 buf[0] != 'T' || buf[3] != '\0')
4679 if ac_fn_c_try_run "$LINENO"; then :
4680 hw_cv_func_vsnprintf_c99=yes
4682 hw_cv_func_vsnprintf_c99=no
4684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4685 conftest.$ac_objext conftest.beam conftest.$ac_ext
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_vsnprintf_c99" >&5
4690 $as_echo "$hw_cv_func_vsnprintf_c99" >&6; }
4692 hw_cv_func_snprintf_c99=no
4694 if test "$hw_cv_func_vsnprintf_c99" = yes; then :
4696 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
4699 for ac_header in inttypes.h locale.h stddef.h stdint.h
4701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4702 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4704 cat >>confdefs.h <<_ACEOF
4705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4712 ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include <locale.h>
4714 if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes; then :
4716 cat >>confdefs.h <<_ACEOF
4717 #define HAVE_STRUCT_LCONV_DECIMAL_POINT 1
4722 ac_fn_c_check_member "$LINENO" "struct lconv" "thousands_sep" "ac_cv_member_struct_lconv_thousands_sep" "#include <locale.h>
4724 if test "x$ac_cv_member_struct_lconv_thousands_sep" = xyes; then :
4726 cat >>confdefs.h <<_ACEOF
4727 #define HAVE_STRUCT_LCONV_THOUSANDS_SEP 1
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
4736 $as_echo_n "checking for long long int... " >&6; }
4737 if ${ac_cv_type_long_long_int+:} false; then :
4738 $as_echo_n "(cached) " >&6
4740 ac_cv_type_long_long_int=yes
4741 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4742 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
4743 if test $ac_cv_type_long_long_int = yes; then
4744 if test "$cross_compiling" = yes; then :
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4752 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4753 # define LLONG_MAX (HALF - 1 + HALF)
4758 long long int n = 1;
4762 long long int m = n << i;
4765 if (LLONG_MAX / 2 < m)
4773 if ac_fn_c_try_run "$LINENO"; then :
4776 ac_cv_type_long_long_int=no
4778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4779 conftest.$ac_objext conftest.beam conftest.$ac_ext
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
4786 $as_echo "$ac_cv_type_long_long_int" >&6; }
4787 if test $ac_cv_type_long_long_int = yes; then
4789 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4795 $as_echo_n "checking for unsigned long long int... " >&6; }
4796 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
4797 $as_echo_n "(cached) " >&6
4799 ac_cv_type_unsigned_long_long_int=yes
4800 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4804 /* For now, do not test the preprocessor; as of 2007 there are too many
4805 implementations with broken preprocessors. Perhaps this can
4806 be revisited in 2012. In the meantime, code should not expect
4807 #if to work with literals wider than 32 bits. */
4808 /* Test literals. */
4809 long long int ll = 9223372036854775807ll;
4810 long long int nll = -9223372036854775807LL;
4811 unsigned long long int ull = 18446744073709551615ULL;
4812 /* Test constant expressions. */
4813 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4815 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4821 /* Test availability of runtime routines for shift and division. */
4822 long long int llmax = 9223372036854775807ll;
4823 unsigned long long int ullmax = 18446744073709551615ull;
4824 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4825 | (llmax / ll) | (llmax % ll)
4826 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4827 | (ullmax / ull) | (ullmax % ull));
4833 if ac_fn_c_try_link "$LINENO"; then :
4836 ac_cv_type_unsigned_long_long_int=no
4838 rm -f core conftest.err conftest.$ac_objext \
4839 conftest$ac_exeext conftest.$ac_ext
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4843 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4844 if test $ac_cv_type_unsigned_long_long_int = yes; then
4846 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4850 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4851 if test "x$ac_cv_type_size_t" = xyes; then :
4855 cat >>confdefs.h <<_ACEOF
4856 #define size_t unsigned int
4863 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
4864 if test "x$ac_cv_type_intmax_t" = xyes; then :
4866 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
4869 test $ac_cv_type_long_long_int = yes \
4870 && ac_type='long long int' \
4871 || ac_type='long int'
4873 cat >>confdefs.h <<_ACEOF
4874 #define intmax_t $ac_type
4882 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
4883 if test "x$ac_cv_type_uintmax_t" = xyes; then :
4885 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4888 test $ac_cv_type_unsigned_long_long_int = yes \
4889 && ac_type='unsigned long long int' \
4890 || ac_type='unsigned long int'
4892 cat >>confdefs.h <<_ACEOF
4893 #define uintmax_t $ac_type
4900 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
4901 if test "x$ac_cv_type_uintptr_t" = xyes; then :
4903 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
4906 for ac_type in 'unsigned int' 'unsigned long int' \
4907 'unsigned long long int'; do
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4910 $ac_includes_default
4914 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
4916 return test_array [0];
4922 if ac_fn_c_try_compile "$LINENO"; then :
4924 cat >>confdefs.h <<_ACEOF
4925 #define uintptr_t $ac_type
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 test -z "$ac_type" && break
4936 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
4937 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
4939 cat >>confdefs.h <<_ACEOF
4940 #define HAVE_PTRDIFF_T 1
4946 for ac_func in localeconv
4948 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
4949 if test "x$ac_cv_func_localeconv" = xyes; then :
4950 cat >>confdefs.h <<_ACEOF
4951 #define HAVE_LOCALECONV 1
4958 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4960 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4961 if ${ac_cv_c_const+:} false; then :
4962 $as_echo_n "(cached) " >&6
4964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 /* end confdefs.h. */
4972 /* Ultrix mips cc rejects this sort of thing. */
4973 typedef int charset[2];
4974 const charset cs = { 0, 0 };
4975 /* SunOS 4.1.1 cc rejects this. */
4976 char const *const *pcpcc;
4978 /* NEC SVR4.0.2 mips cc rejects this. */
4979 struct point {int x, y;};
4980 static struct point const zero = {0,0};
4981 /* AIX XL C 1.02.0.0 rejects this.
4982 It does not let you subtract one const X* pointer from another in
4983 an arm of an if-expression whose if-part is not a constant
4985 const char *g = "string";
4986 pcpcc = &g + (g ? g-g : 0);
4987 /* HPUX 7.0 cc rejects these. */
4989 ppc = (char**) pcpcc;
4990 pcpcc = (char const *const *) ppc;
4991 { /* SCO 3.2v4 cc rejects this sort of thing. */
4994 char const *s = 0 ? (char *) 0 : (char const *) 0;
4999 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5001 const int *foo = &x[0];
5004 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5005 typedef const int *iptr;
5009 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5010 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5011 struct s { int j; const int *ap[3]; } bx;
5012 struct s *b = &bx; b->j = 5;
5014 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5018 return !cs[0] && !zero.x;
5025 if ac_fn_c_try_compile "$LINENO"; then :
5030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5033 $as_echo "$ac_cv_c_const" >&6; }
5034 if test $ac_cv_c_const = no; then
5036 $as_echo "#define const /**/" >>confdefs.h
5043 case " $LIBOBJS " in
5044 *" snprintf.$ac_objext "* ) ;;
5045 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5049 _hw_cv_func_xprintf_replace_done=yes
5055 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
5056 if test "x$ac_cv_func_snprintf" = xyes; then :
5057 hw_cv_func_snprintf=yes
5059 hw_cv_func_snprintf=no
5062 if test "$hw_cv_func_snprintf" = yes; then :
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf is C99 compliant" >&5
5064 $as_echo_n "checking whether snprintf is C99 compliant... " >&6; }
5065 if ${hw_cv_func_snprintf_c99+:} false; then :
5066 $as_echo_n "(cached) " >&6
5068 if test "$cross_compiling" = yes; then :
5069 hw_cv_func_snprintf_c99=no
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5078 if (snprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
5079 snprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
5080 buf[0] != 'T' || buf[3] != '\0')
5086 if ac_fn_c_try_run "$LINENO"; then :
5087 hw_cv_func_snprintf_c99=yes
5089 hw_cv_func_snprintf_c99=no
5091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5092 conftest.$ac_objext conftest.beam conftest.$ac_ext
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_snprintf_c99" >&5
5097 $as_echo "$hw_cv_func_snprintf_c99" >&6; }
5099 hw_cv_func_snprintf_c99=no
5101 if test "$hw_cv_func_snprintf_c99" = yes; then :
5103 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
5107 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5109 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5110 if ${ac_cv_c_const+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5121 /* Ultrix mips cc rejects this sort of thing. */
5122 typedef int charset[2];
5123 const charset cs = { 0, 0 };
5124 /* SunOS 4.1.1 cc rejects this. */
5125 char const *const *pcpcc;
5127 /* NEC SVR4.0.2 mips cc rejects this. */
5128 struct point {int x, y;};
5129 static struct point const zero = {0,0};
5130 /* AIX XL C 1.02.0.0 rejects this.
5131 It does not let you subtract one const X* pointer from another in
5132 an arm of an if-expression whose if-part is not a constant
5134 const char *g = "string";
5135 pcpcc = &g + (g ? g-g : 0);
5136 /* HPUX 7.0 cc rejects these. */
5138 ppc = (char**) pcpcc;
5139 pcpcc = (char const *const *) ppc;
5140 { /* SCO 3.2v4 cc rejects this sort of thing. */
5143 char const *s = 0 ? (char *) 0 : (char const *) 0;
5148 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5150 const int *foo = &x[0];
5153 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5154 typedef const int *iptr;
5158 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5159 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5160 struct s { int j; const int *ap[3]; } bx;
5161 struct s *b = &bx; b->j = 5;
5163 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5167 return !cs[0] && !zero.x;
5174 if ac_fn_c_try_compile "$LINENO"; then :
5179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5182 $as_echo "$ac_cv_c_const" >&6; }
5183 if test $ac_cv_c_const = no; then
5185 $as_echo "#define const /**/" >>confdefs.h
5192 case " $LIBOBJS " in
5193 *" snprintf.$ac_objext "* ) ;;
5194 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5198 _hw_cv_func_xprintf_replace_done=yes
5209 for ac_func in vasprintf
5211 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
5212 if test "x$ac_cv_func_vasprintf" = xyes; then :
5213 cat >>confdefs.h <<_ACEOF
5214 #define HAVE_VASPRINTF 1
5216 hw_cv_func_vasprintf=yes
5218 hw_cv_func_vasprintf=no
5222 if test "$hw_cv_func_vasprintf" = no; then :
5223 for ac_header in stdlib.h
5225 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5226 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5227 cat >>confdefs.h <<_ACEOF
5228 #define HAVE_STDLIB_H 1
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
5237 $as_echo_n "checking for va_copy... " >&6; }
5238 if ${hw_cv_func_va_copy+:} false; then :
5239 $as_echo_n "(cached) " >&6
5241 if test "$cross_compiling" = yes; then :
5242 hw_cv_func_va_copy=no
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5248 #elif HAVE_VARARGS_H
5249 #include <varargs.h>
5254 va_list ap, aq; va_copy(aq, ap);
5259 if ac_fn_c_try_run "$LINENO"; then :
5260 hw_cv_func_va_copy=yes
5262 hw_cv_func_va_copy=no
5264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5265 conftest.$ac_objext conftest.beam conftest.$ac_ext
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_va_copy" >&5
5270 $as_echo "$hw_cv_func_va_copy" >&6; }
5271 if test "$hw_cv_func_va_copy" = yes; then :
5273 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
5277 if test "$hw_cv_func_va_copy" = no; then :
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
5280 $as_echo_n "checking for __va_copy... " >&6; }
5281 if ${hw_cv_func___va_copy+:} false; then :
5282 $as_echo_n "(cached) " >&6
5284 if test "$cross_compiling" = yes; then :
5285 hw_cv_func___va_copy=no
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5291 #elif HAVE_VARARGS_H
5292 #include <varargs.h>
5297 va_list ap, aq; __va_copy(aq, ap);
5302 if ac_fn_c_try_run "$LINENO"; then :
5303 hw_cv_func___va_copy=yes
5305 hw_cv_func___va_copy=no
5307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5308 conftest.$ac_objext conftest.beam conftest.$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func___va_copy" >&5
5313 $as_echo "$hw_cv_func___va_copy" >&6; }
5314 if test "$hw_cv_func___va_copy" = yes; then :
5316 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
5322 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5324 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5325 if ${ac_cv_c_const+:} false; then :
5326 $as_echo_n "(cached) " >&6
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5336 /* Ultrix mips cc rejects this sort of thing. */
5337 typedef int charset[2];
5338 const charset cs = { 0, 0 };
5339 /* SunOS 4.1.1 cc rejects this. */
5340 char const *const *pcpcc;
5342 /* NEC SVR4.0.2 mips cc rejects this. */
5343 struct point {int x, y;};
5344 static struct point const zero = {0,0};
5345 /* AIX XL C 1.02.0.0 rejects this.
5346 It does not let you subtract one const X* pointer from another in
5347 an arm of an if-expression whose if-part is not a constant
5349 const char *g = "string";
5350 pcpcc = &g + (g ? g-g : 0);
5351 /* HPUX 7.0 cc rejects these. */
5353 ppc = (char**) pcpcc;
5354 pcpcc = (char const *const *) ppc;
5355 { /* SCO 3.2v4 cc rejects this sort of thing. */
5358 char const *s = 0 ? (char *) 0 : (char const *) 0;
5363 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5365 const int *foo = &x[0];
5368 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5369 typedef const int *iptr;
5373 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5374 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5375 struct s { int j; const int *ap[3]; } bx;
5376 struct s *b = &bx; b->j = 5;
5378 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5382 return !cs[0] && !zero.x;
5389 if ac_fn_c_try_compile "$LINENO"; then :
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5397 $as_echo "$ac_cv_c_const" >&6; }
5398 if test $ac_cv_c_const = no; then
5400 $as_echo "#define const /**/" >>confdefs.h
5407 case " $LIBOBJS " in
5408 *" snprintf.$ac_objext "* ) ;;
5409 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5413 _hw_cv_func_xprintf_replace_done=yes
5419 for ac_func in asprintf
5421 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
5422 if test "x$ac_cv_func_asprintf" = xyes; then :
5423 cat >>confdefs.h <<_ACEOF
5424 #define HAVE_ASPRINTF 1
5426 hw_cv_func_asprintf=yes
5428 hw_cv_func_asprintf=no
5432 if test "$hw_cv_func_asprintf" = no; then :
5434 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5436 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5437 if ${ac_cv_c_const+:} false; then :
5438 $as_echo_n "(cached) " >&6
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5448 /* Ultrix mips cc rejects this sort of thing. */
5449 typedef int charset[2];
5450 const charset cs = { 0, 0 };
5451 /* SunOS 4.1.1 cc rejects this. */
5452 char const *const *pcpcc;
5454 /* NEC SVR4.0.2 mips cc rejects this. */
5455 struct point {int x, y;};
5456 static struct point const zero = {0,0};
5457 /* AIX XL C 1.02.0.0 rejects this.
5458 It does not let you subtract one const X* pointer from another in
5459 an arm of an if-expression whose if-part is not a constant
5461 const char *g = "string";
5462 pcpcc = &g + (g ? g-g : 0);
5463 /* HPUX 7.0 cc rejects these. */
5465 ppc = (char**) pcpcc;
5466 pcpcc = (char const *const *) ppc;
5467 { /* SCO 3.2v4 cc rejects this sort of thing. */
5470 char const *s = 0 ? (char *) 0 : (char const *) 0;
5475 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5477 const int *foo = &x[0];
5480 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5481 typedef const int *iptr;
5485 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5486 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5487 struct s { int j; const int *ap[3]; } bx;
5488 struct s *b = &bx; b->j = 5;
5490 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5494 return !cs[0] && !zero.x;
5501 if ac_fn_c_try_compile "$LINENO"; then :
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5509 $as_echo "$ac_cv_c_const" >&6; }
5510 if test $ac_cv_c_const = no; then
5512 $as_echo "#define const /**/" >>confdefs.h
5519 case " $LIBOBJS " in
5520 *" snprintf.$ac_objext "* ) ;;
5521 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5525 _hw_cv_func_xprintf_replace_done=yes
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
5532 $as_echo_n "checking for library containing cos... " >&6; }
5533 if ${ac_cv_search_cos+:} false; then :
5534 $as_echo_n "(cached) " >&6
5536 ac_func_search_save_LIBS=$LIBS
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5540 /* Override any GCC internal prototype to avoid an error.
5541 Use char because int might match the return type of a GCC
5542 builtin and then its argument prototype would still apply. */
5555 for ac_lib in '' m; do
5556 if test -z "$ac_lib"; then
5557 ac_res="none required"
5560 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5562 if ac_fn_c_try_link "$LINENO"; then :
5563 ac_cv_search_cos=$ac_res
5565 rm -f core conftest.err conftest.$ac_objext \
5567 if ${ac_cv_search_cos+:} false; then :
5571 if ${ac_cv_search_cos+:} false; then :
5577 LIBS=$ac_func_search_save_LIBS
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
5580 $as_echo "$ac_cv_search_cos" >&6; }
5581 ac_res=$ac_cv_search_cos
5582 if test "$ac_res" != no; then :
5583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5590 # Check whether --with-bundled-zlib was given.
5591 if test "${with_bundled_zlib+set}" = set; then :
5592 withval=$with_bundled_zlib;
5595 if test x${with_bundled_zlib} = x; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.3" >&5
5597 $as_echo_n "checking for zlib >= 1.2.3... " >&6; }
5598 if ${ccache_cv_zlib_1_2_3+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5608 #if (ZLIB_VERNUM >= 0x1230)
5610 #error "ZLIB_VERNUM < 0x1230"
5617 if ac_fn_c_try_compile "$LINENO"; then :
5618 ccache_cv_zlib_1_2_3=yes
5620 ccache_cv_zlib_1_2_3=no
5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_zlib_1_2_3" >&5
5625 $as_echo "$ccache_cv_zlib_1_2_3" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
5627 $as_echo_n "checking for gzdopen in -lz... " >&6; }
5628 if ${ac_cv_lib_z_gzdopen+:} false; then :
5629 $as_echo_n "(cached) " >&6
5631 ac_check_lib_save_LIBS=$LIBS
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5636 /* Override any GCC internal prototype to avoid an error.
5637 Use char because int might match the return type of a GCC
5638 builtin and then its argument prototype would still apply. */
5651 if ac_fn_c_try_link "$LINENO"; then :
5652 ac_cv_lib_z_gzdopen=yes
5654 ac_cv_lib_z_gzdopen=no
5656 rm -f core conftest.err conftest.$ac_objext \
5657 conftest$ac_exeext conftest.$ac_ext
5658 LIBS=$ac_check_lib_save_LIBS
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
5661 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
5662 if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
5666 if test $ccache_cv_zlib_1_2_3 = yes && test $ac_cv_lib_z_gzdopen = yes; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using bundled zlib" >&5
5670 $as_echo "$as_me: WARNING: using bundled zlib" >&2;}
5671 use_bundled_zlib=yes
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled zlib as requested" >&5
5675 $as_echo "$as_me: using bundled zlib as requested" >&6;}
5676 use_bundled_zlib=yes
5679 if test x${use_bundled_zlib} = xyes; then
5680 extra_cppflags="-I\$(srcdir)/zlib"
5681 extra_ldflags="-Lzlib"
5682 extra_libs="zlib/libz.a"
5688 if test x${windows_os} = xyes; then
5689 extra_ldflags="$extra_ldflags -lws2_32"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5693 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5694 if ${ac_cv_c_bigendian+:} false; then :
5695 $as_echo_n "(cached) " >&6
5697 ac_cv_c_bigendian=unknown
5698 # See if we're dealing with a universal compiler.
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5701 #ifndef __APPLE_CC__
5702 not a universal capable compiler
5707 if ac_fn_c_try_compile "$LINENO"; then :
5709 # Check for potential -arch flags. It is not universal unless
5710 # there are at least two -arch flags with different values.
5713 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5714 if test -n "$ac_prev"; then
5716 i?86 | x86_64 | ppc | ppc64)
5717 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5720 ac_cv_c_bigendian=universal
5726 elif test "x$ac_word" = "x-arch"; then
5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 if test $ac_cv_c_bigendian = unknown; then
5733 # See if sys/param.h defines the BYTE_ORDER macro.
5734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735 /* end confdefs.h. */
5736 #include <sys/types.h>
5737 #include <sys/param.h>
5742 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5743 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5752 if ac_fn_c_try_compile "$LINENO"; then :
5753 # It does; now see whether it defined to BIG_ENDIAN or not.
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5756 #include <sys/types.h>
5757 #include <sys/param.h>
5762 #if BYTE_ORDER != BIG_ENDIAN
5770 if ac_fn_c_try_compile "$LINENO"; then :
5771 ac_cv_c_bigendian=yes
5773 ac_cv_c_bigendian=no
5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 if test $ac_cv_c_bigendian = unknown; then
5780 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5788 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5796 if ac_fn_c_try_compile "$LINENO"; then :
5797 # It does; now see whether it defined to _BIG_ENDIAN or not.
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5813 if ac_fn_c_try_compile "$LINENO"; then :
5814 ac_cv_c_bigendian=yes
5816 ac_cv_c_bigendian=no
5818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5822 if test $ac_cv_c_bigendian = unknown; then
5823 # Compile a test program.
5824 if test "$cross_compiling" = yes; then :
5825 # Try to guess by grepping values from an object file.
5826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5828 short int ascii_mm[] =
5829 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5830 short int ascii_ii[] =
5831 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5832 int use_ascii (int i) {
5833 return ascii_mm[i] + ascii_ii[i];
5835 short int ebcdic_ii[] =
5836 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5837 short int ebcdic_mm[] =
5838 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5839 int use_ebcdic (int i) {
5840 return ebcdic_mm[i] + ebcdic_ii[i];
5847 return use_ascii (foo) == use_ebcdic (foo);
5852 if ac_fn_c_try_compile "$LINENO"; then :
5853 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5854 ac_cv_c_bigendian=yes
5856 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5857 if test "$ac_cv_c_bigendian" = unknown; then
5858 ac_cv_c_bigendian=no
5860 # finding both strings is unlikely to happen, but who knows?
5861 ac_cv_c_bigendian=unknown
5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 $ac_includes_default
5874 /* Are we little or big endian? From Harbison&Steele. */
5878 char c[sizeof (long int)];
5881 return u.c[sizeof (long int) - 1] == 1;
5887 if ac_fn_c_try_run "$LINENO"; then :
5888 ac_cv_c_bigendian=no
5890 ac_cv_c_bigendian=yes
5892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5893 conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5899 $as_echo "$ac_cv_c_bigendian" >&6; }
5900 case $ac_cv_c_bigendian in #(
5902 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5908 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5912 as_fn_error $? "unknown endianness
5913 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5918 $as_echo_n "checking for inline... " >&6; }
5919 if ${ac_cv_c_inline+:} false; then :
5920 $as_echo_n "(cached) " >&6
5923 for ac_kw in inline __inline__ __inline; do
5924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5928 static $ac_kw foo_t static_foo () {return 0; }
5929 $ac_kw foo_t foo () {return 0; }
5933 if ac_fn_c_try_compile "$LINENO"; then :
5934 ac_cv_c_inline=$ac_kw
5936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5937 test "$ac_cv_c_inline" != no && break
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5942 $as_echo "$ac_cv_c_inline" >&6; }
5944 case $ac_cv_c_inline in
5947 case $ac_cv_c_inline in
5949 *) ac_val=$ac_cv_c_inline;;
5951 cat >>confdefs.h <<_ACEOF
5953 #define inline $ac_val
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern inline" >&5
5961 $as_echo_n "checking for extern inline... " >&6; }
5962 if ${ac_cv_c_extern_inline+:} false; then :
5963 $as_echo_n "(cached) " >&6
5966 ac_cv_c_extern_inline=no
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5970 extern $ac_cv_c_inline double foo(double x);
5971 extern $ac_cv_c_inline double foo(double x) { return x+1.0; };
5972 double foo (double x) { return x + 1.0; };
5982 if ac_fn_c_try_compile "$LINENO"; then :
5983 ac_cv_c_extern_inline="yes"
5985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_inline" >&5
5988 $as_echo "$ac_cv_c_extern_inline" >&6; }
5989 if test "$ac_cv_c_extern_inline" != no ; then
5991 $as_echo "#define HAVE_EXTERN_INLINE 1" >>confdefs.h
5995 if test ! -f $srcdir/dev_mode_disabled && test "$RUN_FROM_BUILD_FARM" != yes; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: Developer mode enabled" >&5
5997 $as_echo "$as_me: Developer mode enabled" >&6;}
5998 ac_config_files="$ac_config_files dev.mk"
6000 include_dev_mk='include dev.mk'
6001 version=`(git --git-dir=$srcdir/.git describe --dirty 2>/dev/null || echo vunknown) | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g'`
6002 echo "const char CCACHE_VERSION[] = \"$version\";" >version.c
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: Developer mode disabled" >&5
6005 $as_echo "$as_me: Developer mode disabled" >&6;}
6008 if test ! -f $srcdir/version.c; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to determine ccache version" >&5
6010 $as_echo "$as_me: WARNING: unable to determine ccache version" >&2;}
6011 echo "const char CCACHE_VERSION[] = \"unknown\";" >version.c
6014 test_suites=`ls $srcdir/test/test_*.c | egrep -v 'BASE|BACKUP|LOCAL|REMOTE' | xargs echo`
6016 ac_config_files="$ac_config_files Makefile"
6018 cat >confcache <<\_ACEOF
6019 # This file is a shell script that caches the results of configure
6020 # tests run on this system so they can be shared between configure
6021 # scripts and configure runs, see configure's option --config-cache.
6022 # It is not useful on other systems. If it contains results you don't
6023 # want to keep, you may remove or edit it.
6025 # config.status only pays attention to the cache file if you give it
6026 # the --recheck option to rerun configure.
6028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6034 # The following way of writing the cache mishandles newlines in values,
6035 # but we know of no workaround that is simple, portable, and efficient.
6036 # So, we kill variables containing newlines.
6037 # Ultrix sh set writes to stderr and can't be redirected directly,
6038 # and sets the high bit in the cache file unless we assign to the vars.
6040 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6041 eval ac_val=\$$ac_var
6045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6049 _ | IFS | as_nl) ;; #(
6050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6051 *) { eval $ac_var=; unset $ac_var;} ;;
6057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6058 *${as_nl}ac_space=\ *)
6059 # `set' does not quote correctly, so add quotes: double-quote
6060 # substitution turns \\\\ into \\, and sed turns \\ into \.
6063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6066 # `set' quotes correctly as required by POSIX, so do not add quotes.
6067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6080 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6081 if test -w "$cache_file"; then
6082 if test "x$cache_file" != "x/dev/null"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6084 $as_echo "$as_me: updating cache $cache_file" >&6;}
6085 if test ! -f "$cache_file" || test -h "$cache_file"; then
6086 cat confcache >"$cache_file"
6088 case $cache_file in #(
6090 mv -f confcache "$cache_file"$$ &&
6091 mv -f "$cache_file"$$ "$cache_file" ;; #(
6093 mv -f confcache "$cache_file" ;;
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6099 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6104 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6105 # Let make expand exec_prefix.
6106 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6108 DEFS=-DHAVE_CONFIG_H
6113 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6114 # 1. Remove the extension, and $U if already installed.
6115 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6116 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6117 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6118 # will be set to the directory where LIBOBJS objects are built.
6119 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6120 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6124 LTLIBOBJS=$ac_ltlibobjs
6129 : "${CONFIG_STATUS=./config.status}"
6131 ac_clean_files_save=$ac_clean_files
6132 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6138 # Generated by $as_me.
6139 # Run this file to recreate the current configuration.
6140 # Compiler output produced by configure, useful for debugging
6141 # configure, is in config.log if it exists.
6147 SHELL=\${CONFIG_SHELL-$SHELL}
6150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6151 ## -------------------- ##
6152 ## M4sh Initialization. ##
6153 ## -------------------- ##
6155 # Be more Bourne compatible
6156 DUALCASE=1; export DUALCASE # for MKS sh
6157 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6161 # is contrary to our usage. Disable this feature.
6162 alias -g '${1+"$@"}'='"$@"'
6163 setopt NO_GLOB_SUBST
6165 case `(set -o) 2>/dev/null` in #(
6177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6178 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6181 # Prefer a ksh shell builtin over an external printf program on Solaris,
6182 # but without wasting forks for bash or zsh.
6183 if test -z "$BASH_VERSION$ZSH_VERSION" \
6184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6185 as_echo='print -r --'
6186 as_echo_n='print -rn --'
6187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6188 as_echo='printf %s\n'
6189 as_echo_n='printf %s'
6191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6192 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6193 as_echo_n='/usr/ucb/echo -n'
6195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6196 as_echo_n_body='eval
6200 expr "X$arg" : "X\\(.*\\)$as_nl";
6201 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6203 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6205 export as_echo_n_body
6206 as_echo_n='sh -c $as_echo_n_body as_echo'
6209 as_echo='sh -c $as_echo_body as_echo'
6212 # The user is always right.
6213 if test "${PATH_SEPARATOR+set}" != set; then
6215 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6216 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6223 # We need space, tab and new line, in precisely that order. Quoting is
6224 # there to prevent editors from complaining about space-tab.
6225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6226 # splitting by setting IFS to empty value.)
6229 # Find who we are. Look in the path if we contain no directory separator.
6232 *[\\/]* ) as_myself=$0 ;;
6233 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 test -z "$as_dir" && as_dir=.
6238 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6244 # We did not find ourselves, most probably we were run as `sh COMMAND'
6245 # in which case we are not to be found in the path.
6246 if test "x$as_myself" = x; then
6249 if test ! -f "$as_myself"; then
6250 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6254 # Unset variables that we do not need and which cause bugs (e.g. in
6255 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6256 # suppresses any "Segmentation fault" message there. '((' could
6257 # trigger a bug in pdksh 5.2.14.
6258 for as_var in BASH_ENV ENV MAIL MAILPATH
6259 do eval test x\${$as_var+set} = xset \
6260 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6273 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6276 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6277 # ----------------------------------------
6278 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6279 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6280 # script with STATUS, using 1 if that was 0.
6283 as_status=$1; test $as_status -eq 0 && as_status=1
6285 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6286 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6288 $as_echo "$as_me: error: $2" >&2
6289 as_fn_exit $as_status
6293 # as_fn_set_status STATUS
6294 # -----------------------
6295 # Set $? to STATUS, without forking.
6299 } # as_fn_set_status
6303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6313 # Portably unset VAR.
6316 { eval $1=; unset $1;}
6318 as_unset=as_fn_unset
6319 # as_fn_append VAR VALUE
6320 # ----------------------
6321 # Append the text in VALUE to the end of the definition contained in VAR. Take
6322 # advantage of any shell optimizations that allow amortized linear growth over
6323 # repeated appends, instead of the typical quadratic growth present in naive
6325 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6326 eval 'as_fn_append ()
6337 # as_fn_arith ARG...
6338 # ------------------
6339 # Perform arithmetic evaluation on the ARGs, and store the result in the
6340 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6341 # must be portable across $(()) and expr.
6342 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6343 eval 'as_fn_arith ()
6350 as_val=`expr "$@" || test $? -eq 1`
6355 if expr a : '\(a\)' >/dev/null 2>&1 &&
6356 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6362 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6363 as_basename=basename
6368 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6374 as_me=`$as_basename -- "$0" ||
6375 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6376 X"$0" : 'X\(//\)$' \| \
6377 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6379 sed '/^.*\/\([^/][^/]*\)\/*$/{
6393 # Avoid depending upon Character Ranges.
6394 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6395 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6396 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6397 as_cr_digits='0123456789'
6398 as_cr_alnum=$as_cr_Letters$as_cr_digits
6400 ECHO_C= ECHO_N= ECHO_T=
6401 case `echo -n x` in #(((((
6403 case `echo 'xy\c'` in
6404 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6406 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6413 rm -f conf$$ conf$$.exe conf$$.file
6414 if test -d conf$$.dir; then
6415 rm -f conf$$.dir/conf$$.file
6418 mkdir conf$$.dir 2>/dev/null
6420 if (echo >conf$$.file) 2>/dev/null; then
6421 if ln -s conf$$.file conf$$ 2>/dev/null; then
6423 # ... but there are two gotchas:
6424 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6425 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6426 # In both cases, we have to default to `cp -pR'.
6427 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6429 elif ln conf$$.file conf$$ 2>/dev/null; then
6437 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6438 rmdir conf$$.dir 2>/dev/null
6443 # Create "$as_dir" as a directory, including parents if necessary.
6448 -*) as_dir=./$as_dir;;
6450 test -d "$as_dir" || eval $as_mkdir_p || {
6454 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6455 *) as_qdir=$as_dir;;
6457 as_dirs="'$as_qdir' $as_dirs"
6458 as_dir=`$as_dirname -- "$as_dir" ||
6459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6460 X"$as_dir" : 'X\(//\)[^/]' \| \
6461 X"$as_dir" : 'X\(//\)$' \| \
6462 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6463 $as_echo X"$as_dir" |
6464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6481 test -d "$as_dir" && break
6483 test -z "$as_dirs" || eval "mkdir $as_dirs"
6484 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6488 if mkdir -p . 2>/dev/null; then
6489 as_mkdir_p='mkdir -p "$as_dir"'
6491 test -d ./-p && rmdir ./-p
6496 # as_fn_executable_p FILE
6497 # -----------------------
6498 # Test if FILE is an executable regular file.
6499 as_fn_executable_p ()
6501 test -f "$1" && test -x "$1"
6502 } # as_fn_executable_p
6504 as_executable_p=as_fn_executable_p
6506 # Sed expression to map a string onto a valid CPP name.
6507 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6509 # Sed expression to map a string onto a valid variable name.
6510 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6514 ## ----------------------------------- ##
6515 ## Main body of $CONFIG_STATUS script. ##
6516 ## ----------------------------------- ##
6518 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521 # Save the log message, to keep $0 and so on meaningful, and to
6522 # report actual input values of CONFIG_FILES etc. instead of their
6523 # values after options handling.
6525 This file was extended by $as_me, which was
6526 generated by GNU Autoconf 2.69. Invocation command line was
6528 CONFIG_FILES = $CONFIG_FILES
6529 CONFIG_HEADERS = $CONFIG_HEADERS
6530 CONFIG_LINKS = $CONFIG_LINKS
6531 CONFIG_COMMANDS = $CONFIG_COMMANDS
6534 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6539 case $ac_config_files in *"
6540 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6543 case $ac_config_headers in *"
6544 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6549 # Files that config.status was made for.
6550 config_files="$ac_config_files"
6551 config_headers="$ac_config_headers"
6555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6557 \`$as_me' instantiates files and other configuration actions
6558 from templates according to the current configuration. Unless the files
6559 and actions are specified as TAGs, all are instantiated by default.
6561 Usage: $0 [OPTION]... [TAG]...
6563 -h, --help print this help, then exit
6564 -V, --version print version number and configuration settings, then exit
6565 --config print configuration, then exit
6566 -q, --quiet, --silent
6567 do not print progress messages
6568 -d, --debug don't remove temporary files
6569 --recheck update $as_me by reconfiguring in the same conditions
6570 --file=FILE[:TEMPLATE]
6571 instantiate the configuration file FILE
6572 --header=FILE[:TEMPLATE]
6573 instantiate the configuration header FILE
6575 Configuration files:
6578 Configuration headers:
6581 Report bugs to the package provider."
6584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6585 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6588 configured by $0, generated by GNU Autoconf 2.69,
6589 with options \\"\$ac_cs_config\\"
6591 Copyright (C) 2012 Free Software Foundation, Inc.
6592 This config.status script is free software; the Free Software Foundation
6593 gives unlimited permission to copy, distribute and modify it."
6598 test -n "\$AWK" || AWK=awk
6601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6602 # The default lists apply if the user does not specify any file.
6608 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6609 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6625 # Handling of the options.
6626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6629 $as_echo "$ac_cs_version"; exit ;;
6630 --config | --confi | --conf | --con | --co | --c )
6631 $as_echo "$ac_cs_config"; exit ;;
6632 --debug | --debu | --deb | --de | --d | -d )
6634 --file | --fil | --fi | --f )
6637 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6638 '') as_fn_error $? "missing file argument" ;;
6640 as_fn_append CONFIG_FILES " '$ac_optarg'"
6641 ac_need_defaults=false;;
6642 --header | --heade | --head | --hea )
6645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6647 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6648 ac_need_defaults=false;;
6650 # Conflict between --help and --header
6651 as_fn_error $? "ambiguous option: \`$1'
6652 Try \`$0 --help' for more information.";;
6653 --help | --hel | -h )
6654 $as_echo "$ac_cs_usage"; exit ;;
6655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6660 -*) as_fn_error $? "unrecognized option: \`$1'
6661 Try \`$0 --help' for more information." ;;
6663 *) as_fn_append ac_config_targets " $1"
6664 ac_need_defaults=false ;;
6670 ac_configure_extra_args=
6672 if $ac_cs_silent; then
6674 ac_configure_extra_args="$ac_configure_extra_args --silent"
6678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6679 if \$ac_cs_recheck; then
6680 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6682 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6683 CONFIG_SHELL='$SHELL'
6689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6693 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6694 ## Running $as_me. ##
6700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6705 # Handling of arguments.
6706 for ac_config_target in $ac_config_targets
6708 case $ac_config_target in
6709 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6710 "dev.mk") CONFIG_FILES="$CONFIG_FILES dev.mk" ;;
6711 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6713 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6718 # If the user did not use the arguments to specify the items to instantiate,
6719 # then the envvar interface is used. Set only those that are not.
6720 # We use the long form for the default assignment because of an extremely
6721 # bizarre bug on SunOS 4.1.3.
6722 if $ac_need_defaults; then
6723 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6724 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6727 # Have a temporary directory for convenience. Make it in the build tree
6728 # simply because there is no reason against having it here, and in addition,
6729 # creating and moving files from /tmp can sometimes cause problems.
6730 # Hook for its removal unless debugging.
6731 # Note that there is a small window in which the directory will not be cleaned:
6732 # after its creation but before its name has been assigned to `$tmp'.
6736 trap 'exit_status=$?
6738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6740 trap 'as_fn_exit 1' 1 2 13 15
6742 # Create a (secure) tmp directory for tmp files.
6745 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6749 tmp=./conf$$-$RANDOM
6750 (umask 077 && mkdir "$tmp")
6751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6754 # Set up the scripts for CONFIG_FILES section.
6755 # No need to generate them if there are no CONFIG_FILES.
6756 # This happens for instance with `./config.status config.h'.
6757 if test -n "$CONFIG_FILES"; then
6760 ac_cr=`echo X | tr X '\015'`
6761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6762 # But we know of no other shell where ac_cr would be empty at this
6763 # point, so we can use a bashism as a fallback.
6764 if test "x$ac_cr" = x; then
6765 eval ac_cr=\$\'\\r\'
6767 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6779 echo "cat >conf$$subs.awk <<_ACEOF" &&
6780 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6783 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6786 for ac_last_try in false false false false false :; do
6787 . ./conf$$subs.sh ||
6788 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6790 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6791 if test $ac_delim_n = $ac_delim_num; then
6793 elif $ac_last_try; then
6794 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6796 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6802 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6806 s/^/S["/; s/!.*/"]=/
6816 s/\(.\{148\}\)..*/\1/
6818 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6830 s/\(.\{148\}\)..*/\1/
6832 s/["\\]/\\&/g; s/^/"/; s/$/"/
6836 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6841 ' <conf$$subs.awk | sed '
6846 ' >>$CONFIG_STATUS || ac_write_fail=1
6847 rm -f conf$$subs.awk
6848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6850 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6851 for (key in S) S_is_set[key] = 1
6857 nfields = split(line, field, "@")
6859 len = length(field[1])
6860 for (i = 2; i < nfields; i++) {
6862 keylen = length(key)
6863 if (S_is_set[key]) {
6865 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6866 len += length(value) + length(field[++i])
6877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6878 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6879 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6882 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6883 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6888 # trailing colons and then remove the whole line if VPATH becomes empty
6889 # (actually we leave an empty line to preserve line numbers).
6890 if test "x$srcdir" = x.; then
6891 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6910 fi # test -n "$CONFIG_FILES"
6912 # Set up the scripts for CONFIG_HEADERS section.
6913 # No need to generate them if there are no CONFIG_HEADERS.
6914 # This happens for instance with `./config.status Makefile'.
6915 if test -n "$CONFIG_HEADERS"; then
6916 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6920 # Transform confdefs.h into an awk script `defines.awk', embedded as
6921 # here-document in config.status, that substitutes the proper values into
6922 # config.h.in to produce config.h.
6924 # Create a delimiter string that does not exist in confdefs.h, to ease
6925 # handling of long lines.
6927 for ac_last_try in false false :; do
6928 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6929 if test -z "$ac_tt"; then
6931 elif $ac_last_try; then
6932 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6934 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6938 # For the awk script, D is an array of macro values keyed by name,
6939 # likewise P contains macro parameters if any. Preserve backslash
6940 # newline sequences.
6942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6944 s/.\{148\}/&'"$ac_delim"'/g
6947 s/^[ ]*#[ ]*define[ ][ ]*/ /
6954 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6956 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6961 D["\1"]=" \3\\\\\\n"\\/p
6963 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6968 s/.\{148\}/&'"$ac_delim"'/g
6973 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6976 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6978 ' <confdefs.h | sed '
6979 s/'"$ac_delim"'/"\\\
6980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6983 for (key in D) D_is_set[key] = 1
6986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6988 split(line, arg, " ")
6989 if (arg[1] == "#") {
6993 defundef = substr(arg[1], 2)
6996 split(mac1, mac2, "(") #)
6998 prefix = substr(line, 1, index(line, defundef) - 1)
6999 if (D_is_set[macro]) {
7000 # Preserve the white space surrounding the "#".
7001 print prefix "define", macro P[macro] D[macro]
7004 # Replace #undef with comments. This is necessary, for example,
7005 # in the case of _POSIX_SOURCE, which is predefined and required
7006 # on some systems where configure will not decide to define it.
7007 if (defundef == "undef") {
7008 print "/*", prefix defundef, macro, "*/"
7016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7017 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7018 fi # test -n "$CONFIG_HEADERS"
7021 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7026 :[FHLC]) ac_mode=$ac_tag; continue;;
7028 case $ac_mode$ac_tag in
7030 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7031 :[FH]-) ac_tag=-:-;;
7032 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7049 -) ac_f="$ac_tmp/stdin";;
7050 *) # Look for the file first in the build tree, then in the source tree
7051 # (if the path is not absolute). The absolute path cannot be DOS-style,
7052 # because $ac_f cannot contain `:'.
7056 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7058 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7060 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7061 as_fn_append ac_file_inputs " '$ac_f'"
7064 # Let's still pretend it is `configure' which instantiates (i.e., don't
7065 # use $as_me), people would be surprised to read:
7066 # /* config.h. Generated by config.status. */
7067 configure_input='Generated from '`
7068 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7070 if test x"$ac_file" != x-; then
7071 configure_input="$ac_file. $configure_input"
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7073 $as_echo "$as_me: creating $ac_file" >&6;}
7075 # Neutralize special characters interpreted by sed in replacement strings.
7076 case $configure_input in #(
7077 *\&* | *\|* | *\\* )
7078 ac_sed_conf_input=`$as_echo "$configure_input" |
7079 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7080 *) ac_sed_conf_input=$configure_input;;
7084 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7090 ac_dir=`$as_dirname -- "$ac_file" ||
7091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7092 X"$ac_file" : 'X\(//\)[^/]' \| \
7093 X"$ac_file" : 'X\(//\)$' \| \
7094 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7095 $as_echo X"$ac_file" |
7096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7113 as_dir="$ac_dir"; as_fn_mkdir_p
7117 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7119 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7120 # A ".." for each directory in $ac_dir_suffix.
7121 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7122 case $ac_top_builddir_sub in
7123 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7124 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7127 ac_abs_top_builddir=$ac_pwd
7128 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7129 # for backward compatibility:
7130 ac_top_builddir=$ac_top_build_prefix
7133 .) # We are building in place.
7135 ac_top_srcdir=$ac_top_builddir_sub
7136 ac_abs_top_srcdir=$ac_pwd ;;
7137 [\\/]* | ?:[\\/]* ) # Absolute name.
7138 ac_srcdir=$srcdir$ac_dir_suffix;
7139 ac_top_srcdir=$srcdir
7140 ac_abs_top_srcdir=$srcdir ;;
7142 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7143 ac_top_srcdir=$ac_top_build_prefix$srcdir
7144 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7146 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7156 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7157 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7162 # If the template does not know about datarootdir, expand it.
7163 # FIXME: This hack should be removed a few years after 2.60.
7164 ac_datarootdir_hack=; ac_datarootdir_seen=
7175 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7176 *datarootdir*) ac_datarootdir_seen=yes;;
7177 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7179 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7182 ac_datarootdir_hack='
7183 s&@datadir@&$datadir&g
7184 s&@docdir@&$docdir&g
7185 s&@infodir@&$infodir&g
7186 s&@localedir@&$localedir&g
7187 s&@mandir@&$mandir&g
7188 s&\\\${datarootdir}&$datarootdir&g' ;;
7192 # Neutralize VPATH when `$srcdir' = `.'.
7193 # Shell code in configure.ac might set extrasub.
7194 # FIXME: do we really want to maintain this feature?
7195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7196 ac_sed_extra="$ac_vpsub
7199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7202 s|@configure_input@|$ac_sed_conf_input|;t t
7203 s&@top_builddir@&$ac_top_builddir_sub&;t t
7204 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7205 s&@srcdir@&$ac_srcdir&;t t
7206 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7207 s&@top_srcdir@&$ac_top_srcdir&;t t
7208 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7209 s&@builddir@&$ac_builddir&;t t
7210 s&@abs_builddir@&$ac_abs_builddir&;t t
7211 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7212 s&@INSTALL@&$ac_INSTALL&;t t
7213 $ac_datarootdir_hack
7215 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7216 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7219 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7221 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7223 which seems to be undefined. Please make sure it is defined" >&5
7224 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7225 which seems to be undefined. Please make sure it is defined" >&2;}
7227 rm -f "$ac_tmp/stdin"
7229 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7230 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7238 if test x"$ac_file" != x-; then
7240 $as_echo "/* $configure_input */" \
7241 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7242 } >"$ac_tmp/config.h" \
7243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7244 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7246 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7249 mv "$ac_tmp/config.h" "$ac_file" \
7250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7253 $as_echo "/* $configure_input */" \
7254 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7255 || as_fn_error $? "could not create -" "$LINENO" 5
7267 ac_clean_files=$ac_clean_files_save
7269 test $ac_write_fail = 0 ||
7270 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7273 # configure is writing to config.log, and then calls config.status.
7274 # config.status does its own redirection, appending to config.log.
7275 # Unfortunately, on DOS this fails, as config.log is still kept open
7276 # by configure, so config.status won't be able to write to it; its
7277 # output is simply discarded. So we exec the FD to /dev/null,
7278 # effectively closing config.log, so it can be properly (re)opened and
7279 # appended to by config.status. When coming back to configure, we
7280 # need to make the FD available again.
7281 if test "$no_create" != yes; then
7283 ac_config_status_args=
7284 test "$silent" = yes &&
7285 ac_config_status_args="$ac_config_status_args --quiet"
7287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7290 # would make configure fail if this is the last instruction.
7291 $ac_cs_success || as_fn_exit 1
7293 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7295 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7299 cat <<EOF >config.h.tmp
7300 #ifndef CCACHE_CONFIG_H
7301 #define CCACHE_CONFIG_H
7303 cat config.h >>config.h.tmp
7304 echo '#endif' >>config.h.tmp
7305 mv config.h.tmp config.h
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: now build ccache by running make" >&5
7311 $as_echo "$as_me: now build ccache by running make" >&6;}