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
677 program_transform_name
690 enable_option_checking
693 ac_precious_vars='build_alias
704 # Initialize some variables set by options.
706 ac_init_version=false
707 ac_unrecognized_opts=
709 # The variables have the same names as the options, with
710 # dashes changed to underlines.
718 program_transform_name=s,x,x,
726 # Installation directory options.
727 # These are left unexpanded so users can "make install exec_prefix=/foo"
728 # and all the variables that are supposed to be based on exec_prefix
729 # by default will actually change.
730 # Use braces instead of parens because sh, perl, etc. also accept them.
731 # (The list follows the same order as the GNU Coding Standards.)
732 bindir='${exec_prefix}/bin'
733 sbindir='${exec_prefix}/sbin'
734 libexecdir='${exec_prefix}/libexec'
735 datarootdir='${prefix}/share'
736 datadir='${datarootdir}'
737 sysconfdir='${prefix}/etc'
738 sharedstatedir='${prefix}/com'
739 localstatedir='${prefix}/var'
740 includedir='${prefix}/include'
741 oldincludedir='/usr/include'
742 docdir='${datarootdir}/doc/${PACKAGE}'
743 infodir='${datarootdir}/info'
748 libdir='${exec_prefix}/lib'
749 localedir='${datarootdir}/locale'
750 mandir='${datarootdir}/man'
756 # If the previous option needs an argument, assign it.
757 if test -n "$ac_prev"; then
758 eval $ac_prev=\$ac_option
764 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 # Accept the important Cygnus configure options, so we can diagnose typos.
771 case $ac_dashdash$ac_option in
775 -bindir | --bindir | --bindi | --bind | --bin | --bi)
777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 -build | --build | --buil | --bui | --bu)
781 ac_prev=build_alias ;;
782 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783 build_alias=$ac_optarg ;;
785 -cache-file | --cache-file | --cache-fil | --cache-fi \
786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787 ac_prev=cache_file ;;
788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790 cache_file=$ac_optarg ;;
793 cache_file=config.cache ;;
795 -datadir | --datadir | --datadi | --datad)
797 -datadir=* | --datadir=* | --datadi=* | --datad=*)
798 datadir=$ac_optarg ;;
800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801 | --dataroo | --dataro | --datar)
802 ac_prev=datarootdir ;;
803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805 datarootdir=$ac_optarg ;;
807 -disable-* | --disable-*)
808 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811 as_fn_error $? "invalid feature name: $ac_useropt"
812 ac_useropt_orig=$ac_useropt
813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814 case $ac_user_opts in
818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
819 ac_unrecognized_sep=', ';;
821 eval enable_$ac_useropt=no ;;
823 -docdir | --docdir | --docdi | --doc | --do)
825 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 -enable-* | --enable-*)
834 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837 as_fn_error $? "invalid feature name: $ac_useropt"
838 ac_useropt_orig=$ac_useropt
839 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840 case $ac_user_opts in
844 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
845 ac_unrecognized_sep=', ';;
847 eval enable_$ac_useropt=\$ac_optarg ;;
849 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
850 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
851 | --exec | --exe | --ex)
852 ac_prev=exec_prefix ;;
853 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
854 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
855 | --exec=* | --exe=* | --ex=*)
856 exec_prefix=$ac_optarg ;;
858 -gas | --gas | --ga | --g)
859 # Obsolete; use --with-gas.
862 -help | --help | --hel | --he | -h)
864 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
865 ac_init_help=recursive ;;
866 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
867 ac_init_help=short ;;
869 -host | --host | --hos | --ho)
870 ac_prev=host_alias ;;
871 -host=* | --host=* | --hos=* | --ho=*)
872 host_alias=$ac_optarg ;;
874 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
876 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
878 htmldir=$ac_optarg ;;
880 -includedir | --includedir | --includedi | --included | --include \
881 | --includ | --inclu | --incl | --inc)
882 ac_prev=includedir ;;
883 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
884 | --includ=* | --inclu=* | --incl=* | --inc=*)
885 includedir=$ac_optarg ;;
887 -infodir | --infodir | --infodi | --infod | --info | --inf)
889 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
890 infodir=$ac_optarg ;;
892 -libdir | --libdir | --libdi | --libd)
894 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
898 | --libexe | --libex | --libe)
899 ac_prev=libexecdir ;;
900 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
901 | --libexe=* | --libex=* | --libe=*)
902 libexecdir=$ac_optarg ;;
904 -localedir | --localedir | --localedi | --localed | --locale)
906 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
907 localedir=$ac_optarg ;;
909 -localstatedir | --localstatedir | --localstatedi | --localstated \
910 | --localstate | --localstat | --localsta | --localst | --locals)
911 ac_prev=localstatedir ;;
912 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
913 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
914 localstatedir=$ac_optarg ;;
916 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
918 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922 # Obsolete; use --without-fp.
925 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
926 | --no-cr | --no-c | -n)
929 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
930 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
934 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
935 | --oldin | --oldi | --old | --ol | --o)
936 ac_prev=oldincludedir ;;
937 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
938 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
939 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
940 oldincludedir=$ac_optarg ;;
942 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
944 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 -program-prefix | --program-prefix | --program-prefi | --program-pref \
948 | --program-pre | --program-pr | --program-p)
949 ac_prev=program_prefix ;;
950 -program-prefix=* | --program-prefix=* | --program-prefi=* \
951 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
952 program_prefix=$ac_optarg ;;
954 -program-suffix | --program-suffix | --program-suffi | --program-suff \
955 | --program-suf | --program-su | --program-s)
956 ac_prev=program_suffix ;;
957 -program-suffix=* | --program-suffix=* | --program-suffi=* \
958 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
959 program_suffix=$ac_optarg ;;
961 -program-transform-name | --program-transform-name \
962 | --program-transform-nam | --program-transform-na \
963 | --program-transform-n | --program-transform- \
964 | --program-transform | --program-transfor \
965 | --program-transfo | --program-transf \
966 | --program-trans | --program-tran \
967 | --progr-tra | --program-tr | --program-t)
968 ac_prev=program_transform_name ;;
969 -program-transform-name=* | --program-transform-name=* \
970 | --program-transform-nam=* | --program-transform-na=* \
971 | --program-transform-n=* | --program-transform-=* \
972 | --program-transform=* | --program-transfor=* \
973 | --program-transfo=* | --program-transf=* \
974 | --program-trans=* | --program-tran=* \
975 | --progr-tra=* | --program-tr=* | --program-t=*)
976 program_transform_name=$ac_optarg ;;
978 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
980 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 -psdir | --psdir | --psdi | --psd | --ps)
985 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989 | -silent | --silent | --silen | --sile | --sil)
992 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
994 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
996 sbindir=$ac_optarg ;;
998 -sharedstatedir | --sharedstatedir | --sharedstatedi \
999 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1000 | --sharedst | --shareds | --shared | --share | --shar \
1002 ac_prev=sharedstatedir ;;
1003 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1004 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1005 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1007 sharedstatedir=$ac_optarg ;;
1009 -site | --site | --sit)
1011 -site=* | --site=* | --sit=*)
1014 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1016 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1017 srcdir=$ac_optarg ;;
1019 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1020 | --syscon | --sysco | --sysc | --sys | --sy)
1021 ac_prev=sysconfdir ;;
1022 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1023 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1024 sysconfdir=$ac_optarg ;;
1026 -target | --target | --targe | --targ | --tar | --ta | --t)
1027 ac_prev=target_alias ;;
1028 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1029 target_alias=$ac_optarg ;;
1031 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034 -version | --version | --versio | --versi | --vers | -V)
1035 ac_init_version=: ;;
1038 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 as_fn_error $? "invalid package name: $ac_useropt"
1042 ac_useropt_orig=$ac_useropt
1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049 ac_unrecognized_sep=', ';;
1051 eval with_$ac_useropt=\$ac_optarg ;;
1053 -without-* | --without-*)
1054 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1057 as_fn_error $? "invalid package name: $ac_useropt"
1058 ac_useropt_orig=$ac_useropt
1059 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1064 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1065 ac_unrecognized_sep=', ';;
1067 eval with_$ac_useropt=no ;;
1070 # Obsolete; use --with-x.
1073 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1074 | --x-incl | --x-inc | --x-in | --x-i)
1075 ac_prev=x_includes ;;
1076 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1077 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1078 x_includes=$ac_optarg ;;
1080 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1081 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1082 ac_prev=x_libraries ;;
1083 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1084 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1085 x_libraries=$ac_optarg ;;
1087 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1088 Try \`$0 --help' for more information"
1092 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 case $ac_envvar in #(
1095 '' | [0-9]* | *[!_$as_cr_alnum]* )
1096 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1098 eval $ac_envvar=\$ac_optarg
1099 export $ac_envvar ;;
1102 # FIXME: should be removed in autoconf 3.0.
1103 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1104 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1105 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1106 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1112 if test -n "$ac_prev"; then
1113 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1114 as_fn_error $? "missing argument to $ac_option"
1117 if test -n "$ac_unrecognized_opts"; then
1118 case $enable_option_checking in
1120 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1121 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 # Check all directory arguments for consistency.
1126 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127 datadir sysconfdir sharedstatedir localstatedir includedir \
1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129 libdir localedir mandir
1131 eval ac_val=\$$ac_var
1132 # Remove trailing slashes.
1135 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1136 eval $ac_var=\$ac_val;;
1138 # Be sure to have absolute directory names.
1140 [\\/$]* | ?:[\\/]* ) continue;;
1141 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1146 # There might be people who depend on the old broken behavior: `$host'
1147 # used to hold the argument of --host etc.
1148 # FIXME: To remove some day.
1151 target=$target_alias
1153 # FIXME: To remove some day.
1154 if test "x$host_alias" != x; then
1155 if test "x$build_alias" = x; then
1156 cross_compiling=maybe
1157 elif test "x$build_alias" != "x$host_alias"; then
1163 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1165 test "$silent" = yes && exec 6>/dev/null
1168 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di=`ls -di .` &&
1170 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1171 as_fn_error $? "working directory cannot be determined"
1172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 as_fn_error $? "pwd does not report name of working directory"
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir=`$as_dirname -- "$as_myself" ||
1181 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185 $as_echo X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1212 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1214 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1226 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 for ac_var in $ac_precious_vars; do
1229 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_${ac_var}_value=\$${ac_var}
1231 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1242 \`configure' configures this package to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking ...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1300 --build=BUILD configure for building on BUILD [guessed]
1301 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1305 if test -n "$ac_init_help"; then
1310 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1311 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1312 --with-bundled-zlib use bundled zlib instead of the system's default
1315 Some influential environment variables:
1316 CC C compiler command
1317 CFLAGS C compiler flags
1318 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1319 nonstandard directory <lib dir>
1320 LIBS libraries to pass to the linker, e.g. -l<library>
1321 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1322 you have headers in a nonstandard directory <include dir>
1325 Use these variables to override the choices made by `configure' or to help
1326 it to find libraries and programs with nonstandard names/locations.
1328 Report bugs to the package provider.
1333 if test "$ac_init_help" = "recursive"; then
1334 # If there are subdirs, report their specific --help.
1335 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1336 test -d "$ac_dir" ||
1337 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1344 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1345 # A ".." for each directory in $ac_dir_suffix.
1346 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1347 case $ac_top_builddir_sub in
1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1352 ac_abs_top_builddir=$ac_pwd
1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1354 # for backward compatibility:
1355 ac_top_builddir=$ac_top_build_prefix
1358 .) # We are building in place.
1360 ac_top_srcdir=$ac_top_builddir_sub
1361 ac_abs_top_srcdir=$ac_pwd ;;
1362 [\\/]* | ?:[\\/]* ) # Absolute name.
1363 ac_srcdir=$srcdir$ac_dir_suffix;
1364 ac_top_srcdir=$srcdir
1365 ac_abs_top_srcdir=$srcdir ;;
1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1368 ac_top_srcdir=$ac_top_build_prefix$srcdir
1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1373 cd "$ac_dir" || { ac_status=$?; continue; }
1374 # Check for guested configure.
1375 if test -f "$ac_srcdir/configure.gnu"; then
1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1378 elif test -f "$ac_srcdir/configure"; then
1380 $SHELL "$ac_srcdir/configure" --help=recursive
1382 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1384 cd "$ac_pwd" || { ac_status=$?; break; }
1388 test -n "$ac_init_help" && exit $ac_status
1389 if $ac_init_version; then
1392 generated by GNU Autoconf 2.69
1394 Copyright (C) 2012 Free Software Foundation, Inc.
1395 This configure script is free software; the Free Software Foundation
1396 gives unlimited permission to copy, distribute and modify it.
1401 ## ------------------------ ##
1402 ## Autoconf initialization. ##
1403 ## ------------------------ ##
1405 # ac_fn_c_try_compile LINENO
1406 # --------------------------
1407 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1408 ac_fn_c_try_compile ()
1410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1411 rm -f conftest.$ac_objext
1412 if { { ac_try="$ac_compile"
1414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1415 *) ac_try_echo=$ac_try;;
1417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1418 $as_echo "$ac_try_echo"; } >&5
1419 (eval "$ac_compile") 2>conftest.err
1421 if test -s conftest.err; then
1422 grep -v '^ *+' conftest.err >conftest.er1
1423 cat conftest.er1 >&5
1424 mv -f conftest.er1 conftest.err
1426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1427 test $ac_status = 0; } && {
1428 test -z "$ac_c_werror_flag" ||
1429 test ! -s conftest.err
1430 } && test -s conftest.$ac_objext; then :
1433 $as_echo "$as_me: failed program was:" >&5
1434 sed 's/^/| /' conftest.$ac_ext >&5
1438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1439 as_fn_set_status $ac_retval
1441 } # ac_fn_c_try_compile
1443 # ac_fn_c_try_cpp LINENO
1444 # ----------------------
1445 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1449 if { { ac_try="$ac_cpp conftest.$ac_ext"
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 $as_echo "$ac_try_echo"; } >&5
1456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } > conftest.i && {
1465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1470 $as_echo "$as_me: failed program was:" >&5
1471 sed 's/^/| /' conftest.$ac_ext >&5
1475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1476 as_fn_set_status $ac_retval
1480 # ac_fn_c_try_link LINENO
1481 # -----------------------
1482 # Try to link conftest.$ac_ext, and return whether this succeeded.
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext conftest$ac_exeext
1487 if { { ac_try="$ac_link"
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_link") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest$ac_exeext && {
1506 test "$cross_compiling" = yes ||
1507 test -x conftest$ac_exeext
1511 $as_echo "$as_me: failed program was:" >&5
1512 sed 's/^/| /' conftest.$ac_ext >&5
1516 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1517 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1518 # interfere with the next link command; also delete a directory that is
1519 # left behind by Apple's compiler. We do this before executing the actions.
1520 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1524 } # ac_fn_c_try_link
1526 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1527 # -------------------------------------------
1528 # Tests whether TYPE exists after having included INCLUDES, setting cache
1529 # variable VAR accordingly.
1530 ac_fn_c_check_type ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1534 $as_echo_n "checking for $2... " >&6; }
1535 if eval \${$3+:} false; then :
1536 $as_echo_n "(cached) " >&6
1539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1540 /* end confdefs.h. */
1551 if ac_fn_c_try_compile "$LINENO"; then :
1552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553 /* end confdefs.h. */
1564 if ac_fn_c_try_compile "$LINENO"; then :
1569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1575 $as_echo "$ac_res" >&6; }
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 } # ac_fn_c_check_type
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1654 # -------------------------------------------------------
1655 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1656 # the include files in INCLUDES and setting the cache variable VAR
1658 ac_fn_c_check_header_mongrel ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if eval \${$3+:} false; then :
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1663 $as_echo_n "checking for $2... " >&6; }
1664 if eval \${$3+:} false; then :
1665 $as_echo_n "(cached) " >&6
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669 $as_echo "$ac_res" >&6; }
1671 # Is the header compilable?
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1673 $as_echo_n "checking $2 usability... " >&6; }
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1679 if ac_fn_c_try_compile "$LINENO"; then :
1680 ac_header_compiler=yes
1682 ac_header_compiler=no
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1686 $as_echo "$ac_header_compiler" >&6; }
1688 # Is the header present?
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1690 $as_echo_n "checking $2 presence... " >&6; }
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1695 if ac_fn_c_try_cpp "$LINENO"; then :
1696 ac_header_preproc=yes
1698 ac_header_preproc=no
1700 rm -f conftest.err conftest.i conftest.$ac_ext
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1702 $as_echo "$ac_header_preproc" >&6; }
1704 # So? What about this header?
1705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1708 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1714 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1716 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1718 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1720 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1730 eval "$3=\$ac_header_compiler"
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 } # ac_fn_c_check_header_mongrel
1740 # ac_fn_c_check_func LINENO FUNC VAR
1741 # ----------------------------------
1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1743 ac_fn_c_check_func ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749 $as_echo_n "(cached) " >&6
1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h. */
1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1755 #define $2 innocuous_$2
1757 /* System header to define __stub macros and hopefully few prototypes,
1758 which can conflict with char $2 (); below.
1759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1760 <limits.h> exists even on freestanding compilers. */
1763 # include <limits.h>
1765 # include <assert.h>
1770 /* Override any GCC internal prototype to avoid an error.
1771 Use char because int might match the return type of a GCC
1772 builtin and then its argument prototype would still apply. */
1777 /* The GNU C library defines this for functions which it implements
1778 to always fail with ENOSYS. Some functions are actually named
1779 something starting with __ and the normal name is an alias. */
1780 #if defined __stub_$2 || defined __stub___$2
1792 if ac_fn_c_try_link "$LINENO"; then :
1797 rm -f core conftest.err conftest.$ac_objext \
1798 conftest$ac_exeext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } # ac_fn_c_check_func
1807 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1808 # ----------------------------------------------------
1809 # Tries to find if the field MEMBER exists in type AGGR, after including
1810 # INCLUDES, setting cache variable VAR accordingly.
1811 ac_fn_c_check_member ()
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1815 $as_echo_n "checking for $2.$3... " >&6; }
1816 if eval \${$4+:} false; then :
1817 $as_echo_n "(cached) " >&6
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1832 if ac_fn_c_try_compile "$LINENO"; then :
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1842 if (sizeof ac_aggr.$3)
1848 if ac_fn_c_try_compile "$LINENO"; then :
1853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 } # ac_fn_c_check_member
1863 cat >config.log <<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1867 It was created by $as_me, which was
1868 generated by GNU Autoconf 2.69. Invocation command line was
1880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1892 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 $as_echo "PATH: $as_dir"
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_must_keep_next=false
1934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1939 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1942 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1944 as_fn_append ac_configure_args1 " '$ac_arg'"
1945 if test $ac_must_keep_next = true; then
1946 ac_must_keep_next=false # Got value, back to normal.
1949 *=* | --config-cache | -C | -disable-* | --disable-* \
1950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1952 | -with-* | --with-* | -without-* | --without-* | --x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 -* ) ac_must_keep_next=true ;;
1960 as_fn_append ac_configure_args " '$ac_arg'"
1965 { ac_configure_args0=; unset ac_configure_args0;}
1966 { ac_configure_args1=; unset ac_configure_args1;}
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1978 $as_echo "## ---------------- ##
1979 ## Cache variables. ##
1980 ## ---------------- ##"
1982 # The following way of writing the cache mishandles newlines in values,
1984 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1985 eval ac_val=\$$ac_var
1989 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1993 _ | IFS | as_nl) ;; #(
1994 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1995 *) { eval $ac_var=; unset $ac_var;} ;;
2000 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2001 *${as_nl}ac_space=\ *)
2003 "s/'\''/'\''\\\\'\'''\''/g;
2004 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2014 $as_echo "## ----------------- ##
2015 ## Output variables. ##
2016 ## ----------------- ##"
2018 for ac_var in $ac_subst_vars
2020 eval ac_val=\$$ac_var
2022 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2024 $as_echo "$ac_var='\''$ac_val'\''"
2028 if test -n "$ac_subst_files"; then
2029 $as_echo "## ------------------- ##
2030 ## File substitutions. ##
2031 ## ------------------- ##"
2033 for ac_var in $ac_subst_files
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2044 if test -s confdefs.h; then
2045 $as_echo "## ----------- ##
2052 test "$ac_signal" != 0 &&
2053 $as_echo "$as_me: caught signal $ac_signal"
2054 $as_echo "$as_me: exit $exit_status"
2056 rm -f core *.core core.conftest.* &&
2057 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2060 for ac_signal in 1 2 13 15; do
2061 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2066 rm -f -r conftest* confdefs.h
2068 $as_echo "/* confdefs.h */" > confdefs.h
2070 # Predefined preprocessor variables.
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_NAME "$PACKAGE_NAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_STRING "$PACKAGE_STRING"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_URL "$PACKAGE_URL"
2097 # Let the site file select an alternate cache file if it wants to.
2098 # Prefer an explicitly selected file to automatically selected ones.
2101 if test -n "$CONFIG_SITE"; then
2102 # We do not want a PATH search for config.site.
2103 case $CONFIG_SITE in #((
2104 -*) ac_site_file1=./$CONFIG_SITE;;
2105 */*) ac_site_file1=$CONFIG_SITE;;
2106 *) ac_site_file1=./$CONFIG_SITE;;
2108 elif test "x$prefix" != xNONE; then
2109 ac_site_file1=$prefix/share/config.site
2110 ac_site_file2=$prefix/etc/config.site
2112 ac_site_file1=$ac_default_prefix/share/config.site
2113 ac_site_file2=$ac_default_prefix/etc/config.site
2115 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2117 test "x$ac_site_file" = xNONE && continue
2118 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2120 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2121 sed 's/^/| /' "$ac_site_file" >&5
2123 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2125 as_fn_error $? "failed to load site script $ac_site_file
2126 See \`config.log' for more details" "$LINENO" 5; }
2130 if test -r "$cache_file"; then
2131 # Some versions of bash will fail to source /dev/null (special files
2132 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2133 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2135 $as_echo "$as_me: loading cache $cache_file" >&6;}
2137 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2138 *) . "./$cache_file";;
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2143 $as_echo "$as_me: creating cache $cache_file" >&6;}
2147 as_fn_append ac_header_list " stdarg.h"
2148 as_fn_append ac_header_list " varargs.h"
2149 # Check that the precious variables saved in the cache have kept the same
2151 ac_cache_corrupted=false
2152 for ac_var in $ac_precious_vars; do
2153 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2154 eval ac_new_set=\$ac_env_${ac_var}_set
2155 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2156 eval ac_new_val=\$ac_env_${ac_var}_value
2157 case $ac_old_set,$ac_new_set in
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2161 ac_cache_corrupted=: ;;
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2165 ac_cache_corrupted=: ;;
2168 if test "x$ac_old_val" != "x$ac_new_val"; then
2169 # differences in whitespace do not lead to failure.
2170 ac_old_val_w=`echo x $ac_old_val`
2171 ac_new_val_w=`echo x $ac_new_val`
2172 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2175 ac_cache_corrupted=:
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2179 eval $ac_var=\$ac_old_val
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2182 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2184 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2187 # Pass precious variables to config.status.
2188 if test "$ac_new_set" = set; then
2190 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2191 *) ac_arg=$ac_var=$ac_new_val ;;
2193 case " $ac_configure_args " in
2194 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2195 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2199 if $ac_cache_corrupted; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2204 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2206 ## -------------------- ##
2207 ## Main body of script. ##
2208 ## -------------------- ##
2211 ac_cpp='$CPP $CPPFLAGS'
2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring ccache" >&5
2220 $as_echo "$as_me: Configuring ccache" >&6;}
2222 ac_config_headers="$ac_config_headers config.h"
2226 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2227 if test -f "$ac_dir/install-sh"; then
2229 ac_install_sh="$ac_aux_dir/install-sh -c"
2231 elif test -f "$ac_dir/install.sh"; then
2233 ac_install_sh="$ac_aux_dir/install.sh -c"
2235 elif test -f "$ac_dir/shtool"; then
2237 ac_install_sh="$ac_aux_dir/shtool install -c"
2241 if test -z "$ac_aux_dir"; then
2242 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2245 # These three variables are undocumented and unsupported,
2246 # and are intended to be withdrawn in a future Autoconf release.
2247 # They can cause serious problems if a builder's source tree is in a directory
2248 # whose full name contains unusual characters.
2249 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2250 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2251 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2254 # Make sure we can run config.sub.
2255 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2256 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2259 $as_echo_n "checking build system type... " >&6; }
2260 if ${ac_cv_build+:} false; then :
2261 $as_echo_n "(cached) " >&6
2263 ac_build_alias=$build_alias
2264 test "x$ac_build_alias" = x &&
2265 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2266 test "x$ac_build_alias" = x &&
2267 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2268 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2269 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2273 $as_echo "$ac_cv_build" >&6; }
2274 case $ac_cv_build in
2276 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2279 ac_save_IFS=$IFS; IFS='-'
2285 # Remember, the first character of IFS is used to create $*,
2286 # except with old shells:
2289 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2293 $as_echo_n "checking host system type... " >&6; }
2294 if ${ac_cv_host+:} false; then :
2295 $as_echo_n "(cached) " >&6
2297 if test "x$host_alias" = x; then
2298 ac_cv_host=$ac_cv_build
2300 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2301 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2306 $as_echo "$ac_cv_host" >&6; }
2309 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2312 ac_save_IFS=$IFS; IFS='-'
2318 # Remember, the first character of IFS is used to create $*,
2319 # except with old shells:
2322 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2327 *mingw32* | *mingw64* | *cygwin* | *wince* | *mingwce*)
2330 $as_echo "#define _WIN32_WINNT 0x0600" >>confdefs.h
2340 ac_cpp='$CPP $CPPFLAGS'
2341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2344 if test -n "$ac_tool_prefix"; then
2345 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2346 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2348 $as_echo_n "checking for $ac_word... " >&6; }
2349 if ${ac_cv_prog_CC+:} false; then :
2350 $as_echo_n "(cached) " >&6
2352 if test -n "$CC"; then
2353 ac_cv_prog_CC="$CC" # Let the user override the test.
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2378 $as_echo "no" >&6; }
2383 if test -z "$ac_cv_prog_CC"; then
2385 # Extract the first word of "gcc", so it can be a program name with args.
2386 set dummy gcc; ac_word=$2
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2388 $as_echo_n "checking for $ac_word... " >&6; }
2389 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2390 $as_echo_n "(cached) " >&6
2392 if test -n "$ac_ct_CC"; then
2393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 ac_cv_prog_ac_ct_CC="gcc"
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2413 if test -n "$ac_ct_CC"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2415 $as_echo "$ac_ct_CC" >&6; }
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2418 $as_echo "no" >&6; }
2421 if test "x$ac_ct_CC" = x; then
2424 case $cross_compiling:$ac_tool_warned in
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2428 ac_tool_warned=yes ;;
2436 if test -z "$CC"; then
2437 if test -n "$ac_tool_prefix"; then
2438 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2439 set dummy ${ac_tool_prefix}cc; ac_word=$2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441 $as_echo_n "checking for $ac_word... " >&6; }
2442 if ${ac_cv_prog_CC+:} false; then :
2443 $as_echo_n "(cached) " >&6
2445 if test -n "$CC"; then
2446 ac_cv_prog_CC="$CC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_CC="${ac_tool_prefix}cc"
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 if test -n "$CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2468 $as_echo "$CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2477 if test -z "$CC"; then
2478 # Extract the first word of "cc", so it can be a program name with args.
2479 set dummy cc; ac_word=$2
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2481 $as_echo_n "checking for $ac_word... " >&6; }
2482 if ${ac_cv_prog_CC+:} false; then :
2483 $as_echo_n "(cached) " >&6
2485 if test -n "$CC"; then
2486 ac_cv_prog_CC="$CC" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2497 ac_prog_rejected=yes
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test $ac_prog_rejected = yes; then
2509 # We found a bogon in the path, so make sure we never use it.
2510 set dummy $ac_cv_prog_CC
2512 if test $# != 0; then
2513 # We chose a different compiler from the bogus one.
2514 # However, it has the same basename, so the bogon will be chosen
2515 # first if we set CC to just the basename; use the full file name.
2517 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2523 if test -n "$CC"; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2525 $as_echo "$CC" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2533 if test -z "$CC"; then
2534 if test -n "$ac_tool_prefix"; then
2535 for ac_prog in cl.exe
2537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_CC+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$CC"; then
2545 ac_cv_prog_CC="$CC" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 if test -n "$CC"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2567 $as_echo "$CC" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2574 test -n "$CC" && break
2577 if test -z "$CC"; then
2579 for ac_prog in cl.exe
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy $ac_prog; ac_word=$2
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2584 $as_echo_n "checking for $ac_word... " >&6; }
2585 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2586 $as_echo_n "(cached) " >&6
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598 ac_cv_prog_ac_ct_CC="$ac_prog"
2599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2609 if test -n "$ac_ct_CC"; then
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2611 $as_echo "$ac_ct_CC" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2614 $as_echo "no" >&6; }
2618 test -n "$ac_ct_CC" && break
2621 if test "x$ac_ct_CC" = x; then
2624 case $cross_compiling:$ac_tool_warned in
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2628 ac_tool_warned=yes ;;
2637 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 as_fn_error $? "no acceptable C compiler found in \$PATH
2640 See \`config.log' for more details" "$LINENO" 5; }
2642 # Provide some information about the compiler.
2643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2646 for ac_option in --version -v -V -qversion; do
2647 { { ac_try="$ac_compiler $ac_option >&5"
2649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650 *) ac_try_echo=$ac_try;;
2652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653 $as_echo "$ac_try_echo"; } >&5
2654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2656 if test -s conftest.err; then
2658 ... rest of stderr output deleted ...
2659 10q' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2662 rm -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; }
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2678 ac_clean_files_save=$ac_clean_files
2679 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2680 # Try to create an executable without -o first, disregard a.out.
2681 # It will help us diagnose broken compilers, and finding out an intuition
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2684 $as_echo_n "checking whether the C compiler works... " >&6; }
2685 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2687 # The possible output files:
2688 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2691 for ac_file in $ac_files
2694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2695 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2700 if { { ac_try="$ac_link_default"
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 $as_echo "$ac_try_echo"; } >&5
2707 (eval "$ac_link_default") 2>&5
2709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2710 test $ac_status = 0; }; then :
2711 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2712 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2713 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2714 # so that the user can short-circuit this test for compilers unknown to
2716 for ac_file in $ac_files ''
2718 test -f "$ac_file" || continue
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2723 # We found the default executable, but exeext='' is most
2727 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2729 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731 # We set ac_cv_exeext here because the later test for it is not
2732 # safe: cross compilers may not add the suffix if given an `-o'
2733 # argument, so we may need to know it at that point already.
2734 # Even if this section looks crufty: it has the advantage of
2741 test "$ac_cv_exeext" = no && ac_cv_exeext=
2746 if test -z "$ac_file"; then :
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754 as_fn_error 77 "C compiler cannot create executables
2755 See \`config.log' for more details" "$LINENO" 5; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2758 $as_echo "yes" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2761 $as_echo_n "checking for C compiler default output file name... " >&6; }
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2763 $as_echo "$ac_file" >&6; }
2764 ac_exeext=$ac_cv_exeext
2766 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2767 ac_clean_files=$ac_clean_files_save
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2769 $as_echo_n "checking for suffix of executables... " >&6; }
2770 if { { ac_try="$ac_link"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777 (eval "$ac_link") 2>&5
2779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780 test $ac_status = 0; }; then :
2781 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2782 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2783 # work properly (i.e., refer to `conftest.exe'), while it won't with
2785 for ac_file in conftest.exe conftest conftest.*; do
2786 test -f "$ac_file" || continue
2788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2789 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2797 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2798 See \`config.log' for more details" "$LINENO" 5; }
2800 rm -f conftest conftest$ac_cv_exeext
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2802 $as_echo "$ac_cv_exeext" >&6; }
2804 rm -f conftest.$ac_ext
2805 EXEEXT=$ac_cv_exeext
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2813 FILE *f = fopen ("conftest.out", "w");
2814 return ferror (f) || fclose (f) != 0;
2820 ac_clean_files="$ac_clean_files conftest.out"
2821 # Check that the compiler produces executables we can run. If not, either
2822 # the compiler is broken, or we cross compile.
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2824 $as_echo_n "checking whether we are cross compiling... " >&6; }
2825 if test "$cross_compiling" != yes; then
2826 { { ac_try="$ac_link"
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_link") 2>&5
2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836 test $ac_status = 0; }
2837 if { ac_try='./conftest$ac_cv_exeext'
2838 { { case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_try") 2>&5
2846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2847 test $ac_status = 0; }; }; then
2850 if test "$cross_compiling" = maybe; then
2853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2855 as_fn_error $? "cannot run C compiled programs.
2856 If you meant to cross compile, use \`--host'.
2857 See \`config.log' for more details" "$LINENO" 5; }
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2862 $as_echo "$cross_compiling" >&6; }
2864 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2865 ac_clean_files=$ac_clean_files_save
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2867 $as_echo_n "checking for suffix of object files... " >&6; }
2868 if ${ac_cv_objext+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2882 rm -f conftest.o conftest.obj
2883 if { { ac_try="$ac_compile"
2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2886 *) ac_try_echo=$ac_try;;
2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2889 $as_echo "$ac_try_echo"; } >&5
2890 (eval "$ac_compile") 2>&5
2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2893 test $ac_status = 0; }; then :
2894 for ac_file in conftest.o conftest.obj conftest.*; do
2895 test -f "$ac_file" || continue;
2897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2898 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2903 $as_echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5
2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 as_fn_error $? "cannot compute suffix of object files: cannot compile
2909 See \`config.log' for more details" "$LINENO" 5; }
2911 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2914 $as_echo "$ac_cv_objext" >&6; }
2915 OBJEXT=$ac_cv_objext
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2918 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2919 if ${ac_cv_c_compiler_gnu+:} false; then :
2920 $as_echo_n "(cached) " >&6
2922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923 /* end confdefs.h. */
2936 if ac_fn_c_try_compile "$LINENO"; then :
2941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2946 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2947 if test $ac_compiler_gnu = yes; then
2952 ac_test_CFLAGS=${CFLAGS+set}
2953 ac_save_CFLAGS=$CFLAGS
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2955 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2956 if ${ac_cv_prog_cc_g+:} false; then :
2957 $as_echo_n "(cached) " >&6
2959 ac_save_c_werror_flag=$ac_c_werror_flag
2960 ac_c_werror_flag=yes
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2974 if ac_fn_c_try_compile "$LINENO"; then :
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2989 if ac_fn_c_try_compile "$LINENO"; then :
2992 ac_c_werror_flag=$ac_save_c_werror_flag
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
3005 if ac_fn_c_try_compile "$LINENO"; then :
3008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_c_werror_flag=$ac_save_c_werror_flag
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3016 $as_echo "$ac_cv_prog_cc_g" >&6; }
3017 if test "$ac_test_CFLAGS" = set; then
3018 CFLAGS=$ac_save_CFLAGS
3019 elif test $ac_cv_prog_cc_g = yes; then
3020 if test "$GCC" = yes; then
3026 if test "$GCC" = yes; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3033 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3034 if ${ac_cv_prog_cc_c89+:} false; then :
3035 $as_echo_n "(cached) " >&6
3037 ac_cv_prog_cc_c89=no
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3044 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3045 struct buf { int x; };
3046 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3047 static char *e (p, i)
3053 static char *f (char * (*g) (char **, int), char **p, ...)
3058 s = g (p, va_arg (v,int));
3063 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3064 function prototypes and stuff, but not '\xHH' hex character constants.
3065 These don't provoke an error unfortunately, instead are silently treated
3066 as 'x'. The following induces an error, until -std is added to get
3067 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3068 array size at least. It's necessary to write '\x00'==0 to get something
3069 that's true only with -std. */
3070 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3072 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3073 inside strings and character constants. */
3075 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3077 int test (int i, double x);
3078 struct s1 {int (*f) (int a);};
3079 struct s2 {int (*f) (double a);};
3080 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3086 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3091 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3092 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3094 CC="$ac_save_CC $ac_arg"
3095 if ac_fn_c_try_compile "$LINENO"; then :
3096 ac_cv_prog_cc_c89=$ac_arg
3098 rm -f core conftest.err conftest.$ac_objext
3099 test "x$ac_cv_prog_cc_c89" != "xno" && break
3101 rm -f conftest.$ac_ext
3106 case "x$ac_cv_prog_cc_c89" in
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3109 $as_echo "none needed" >&6; } ;;
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3112 $as_echo "unsupported" >&6; } ;;
3114 CC="$CC $ac_cv_prog_cc_c89"
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3116 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3118 if test "x$ac_cv_prog_cc_c89" != xno; then :
3123 ac_cpp='$CPP $CPPFLAGS'
3124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3134 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3135 # On Suns, sometimes $CPP names a directory.
3136 if test -n "$CPP" && test -d "$CPP"; then
3139 if test -z "$CPP"; then
3140 if ${ac_cv_prog_CPP+:} false; then :
3141 $as_echo_n "(cached) " >&6
3143 # Double quotes because CPP needs to be expanded
3144 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3147 for ac_c_preproc_warn_flag in '' yes
3149 # Use a header file that comes with gcc, so configuring glibc
3150 # with a fresh cross-compiler works.
3151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3152 # <limits.h> exists even on freestanding compilers.
3153 # On the NeXT, cc -E runs the code through the compiler's parser,
3154 # not just through cpp. "Syntax error" is here to catch this case.
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3158 # include <limits.h>
3160 # include <assert.h>
3164 if ac_fn_c_try_cpp "$LINENO"; then :
3167 # Broken: fails on valid input.
3170 rm -f conftest.err conftest.i conftest.$ac_ext
3172 # OK, works on sane cases. Now check whether nonexistent headers
3173 # can be detected and how.
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3176 #include <ac_nonexistent.h>
3178 if ac_fn_c_try_cpp "$LINENO"; then :
3179 # Broken: success on invalid input.
3182 # Passes both tests.
3186 rm -f conftest.err conftest.i conftest.$ac_ext
3189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3190 rm -f conftest.i conftest.err conftest.$ac_ext
3191 if $ac_preproc_ok; then :
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3204 $as_echo "$CPP" >&6; }
3206 for ac_c_preproc_warn_flag in '' yes
3208 # Use a header file that comes with gcc, so configuring glibc
3209 # with a fresh cross-compiler works.
3210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 # <limits.h> exists even on freestanding compilers.
3212 # On the NeXT, cc -E runs the code through the compiler's parser,
3213 # not just through cpp. "Syntax error" is here to catch this case.
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3217 # include <limits.h>
3219 # include <assert.h>
3223 if ac_fn_c_try_cpp "$LINENO"; then :
3226 # Broken: fails on valid input.
3229 rm -f conftest.err conftest.i conftest.$ac_ext
3231 # OK, works on sane cases. Now check whether nonexistent headers
3232 # can be detected and how.
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3235 #include <ac_nonexistent.h>
3237 if ac_fn_c_try_cpp "$LINENO"; then :
3238 # Broken: success on invalid input.
3241 # Passes both tests.
3245 rm -f conftest.err conftest.i conftest.$ac_ext
3248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3249 rm -f conftest.i conftest.err conftest.$ac_ext
3250 if $ac_preproc_ok; then :
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3256 See \`config.log' for more details" "$LINENO" 5; }
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3265 # Find a good install program. We prefer a C program (faster),
3266 # so one script is as good as another. But avoid the broken or
3267 # incompatible versions:
3268 # SysV /etc/install, /usr/sbin/install
3269 # SunOS /usr/etc/install
3270 # IRIX /sbin/install
3272 # AmigaOS /C/install, which installs bootblocks on floppy discs
3273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3276 # OS/2's system install, which has a completely different semantic
3277 # ./install, which can be erroneously created by make from ./install.sh.
3278 # Reject install programs that cannot install multiple files.
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3280 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3281 if test -z "$INSTALL"; then
3282 if ${ac_cv_path_install+:} false; then :
3283 $as_echo_n "(cached) " >&6
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 # Account for people who put trailing slashes in PATH elements.
3291 case $as_dir/ in #((
3292 ./ | .// | /[cC]/* | \
3293 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3294 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3297 # OSF1 and SCO ODT 3.0 have their own names for install.
3298 # Don't use installbsd from OSF since it installs stuff as root
3300 for ac_prog in ginstall scoinst install; do
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3303 if test $ac_prog = install &&
3304 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3305 # AIX install. It has an incompatible calling convention.
3307 elif test $ac_prog = install &&
3308 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3309 # program-specific install script used by HP pwplus--don't use.
3312 rm -rf conftest.one conftest.two conftest.dir
3313 echo one > conftest.one
3314 echo two > conftest.two
3316 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3317 test -s conftest.one && test -s conftest.two &&
3318 test -s conftest.dir/conftest.one &&
3319 test -s conftest.dir/conftest.two
3321 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3334 rm -rf conftest.one conftest.two conftest.dir
3337 if test "${ac_cv_path_install+set}" = set; then
3338 INSTALL=$ac_cv_path_install
3340 # As a last resort, use the slow shell script. Don't cache a
3341 # value for INSTALL within a source directory, because that will
3342 # break other packages using the cache if that directory is
3343 # removed, or if the value is a relative name.
3344 INSTALL=$ac_install_sh
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3348 $as_echo "$INSTALL" >&6; }
3350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3351 # It thinks the first close brace ends the variable substitution.
3352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3356 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3358 if test -n "$ac_tool_prefix"; then
3359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if ${ac_cv_prog_RANLIB+:} false; then :
3364 $as_echo_n "(cached) " >&6
3366 if test -n "$RANLIB"; then
3367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386 RANLIB=$ac_cv_prog_RANLIB
3387 if test -n "$RANLIB"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3389 $as_echo "$RANLIB" >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3397 if test -z "$ac_cv_prog_RANLIB"; then
3398 ac_ct_RANLIB=$RANLIB
3399 # Extract the first word of "ranlib", so it can be a program name with args.
3400 set dummy ranlib; ac_word=$2
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3402 $as_echo_n "checking for $ac_word... " >&6; }
3403 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3404 $as_echo_n "(cached) " >&6
3406 if test -n "$ac_ct_RANLIB"; then
3407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416 ac_cv_prog_ac_ct_RANLIB="ranlib"
3417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3427 if test -n "$ac_ct_RANLIB"; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3429 $as_echo "$ac_ct_RANLIB" >&6; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3432 $as_echo "no" >&6; }
3435 if test "x$ac_ct_RANLIB" = x; then
3438 case $cross_compiling:$ac_tool_warned in
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3442 ac_tool_warned=yes ;;
3444 RANLIB=$ac_ct_RANLIB
3447 RANLIB="$ac_cv_prog_RANLIB"
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ar; ac_word=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if ${ac_cv_prog_AR+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -n "$AR"; then
3459 ac_cv_prog_AR="$AR" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_AR="${ac_tool_prefix}ar"
3469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 if test -n "$AR"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3481 $as_echo "$AR" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3489 if test -z "$ac_cv_prog_AR"; then
3491 # Extract the first word of "ar", so it can be a program name with args.
3492 set dummy ar; ac_word=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$ac_ct_AR"; then
3499 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3508 ac_cv_prog_ac_ct_AR="ar"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3519 if test -n "$ac_ct_AR"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3521 $as_echo "$ac_ct_AR" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3527 if test "x$ac_ct_AR" = x; then
3530 case $cross_compiling:$ac_tool_warned in
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3534 ac_tool_warned=yes ;;
3542 if test -z "$AR"; then
3543 as_fn_error $? "cannot find ar" "$LINENO" 5
3547 # The later defininition of _XOPEN_SOURCE disables certain features
3548 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
3550 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3553 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3554 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3557 $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
3560 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3561 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3564 $as_echo "#define __BSD_VISIBLE 1" >>confdefs.h
3567 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3568 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
3570 $as_echo "#define _BSD_TYPES 1" >>confdefs.h
3573 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
3574 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3577 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h
3580 define_xopen_source=yes
3582 ac_sys_system=`uname -s`
3583 if test "$ac_sys_system" = "AIX" -o "$ac_sys_system" = "Monterey64" \
3584 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3585 ac_sys_release=`uname -v`
3587 ac_sys_release=`uname -r`
3590 # Some systems cannot stand _XOPEN_SOURCE being defined at all; they
3591 # disable features if it is defined, without any means to access these
3592 # features as extensions. For these systems, we skip the definition of
3593 # _XOPEN_SOURCE. Before adding a system to the list to gain access to
3594 # some feature, make sure there is no alternative way to access this
3595 # feature. Also, when using wildcards, make sure you have verified the
3596 # need for not defining _XOPEN_SOURCE on all systems matching the
3597 # wildcard, and that the wildcard does not include future systems
3598 # (which may remove their limitations).
3599 case $ac_sys_system/$ac_sys_release in
3600 # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
3601 # even though select is a POSIX function. Reported by J. Ribbens.
3602 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3603 OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0123])
3604 define_xopen_source=no
3605 # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
3606 # also defined. This can be overridden by defining _BSD_SOURCE
3607 # As this has a different meaning on Linux, only define it on OpenBSD
3609 $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
3612 # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
3613 # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
3615 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3616 define_xopen_source=no;;
3617 # On Solaris 2.6, sys/wait.h is inconsistent in the usage
3618 # of union __?sigval. Reported by Stuart Bishop.
3620 define_xopen_source=no;;
3621 # On UnixWare 7, u_long is never defined with _XOPEN_SOURCE,
3622 # but used in /usr/include/netinet/tcp.h. Reported by Tim Rice.
3623 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3624 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3625 define_xopen_source=no;;
3626 # On OpenServer 5, u_short is never defined with _XOPEN_SOURCE,
3627 # but used in struct sockaddr.sa_family. Reported by Tim Rice.
3629 define_xopen_source=no;;
3630 # On FreeBSD 4, the math functions C89 does not cover are never defined
3631 # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
3633 define_xopen_source=no;;
3634 # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
3635 # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
3636 # identifies itself as Darwin/7.*
3637 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3638 # disables platform specific features beyond repair.
3639 # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
3640 # has no effect, don't bother defining them
3642 define_xopen_source=no;;
3643 # On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
3644 # used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
3645 # or has another value. By not (re)defining it, the defaults come in place.
3647 define_xopen_source=no;;
3649 if test `uname -r` -eq 1; then
3650 define_xopen_source=no
3653 # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from
3654 # defining NI_NUMERICHOST.
3656 define_xopen_source=no
3661 if test $define_xopen_source = yes
3663 # On Solaris w/ g++ it appears that _XOPEN_SOURCE has to be
3664 # defined precisely as g++ defines it
3665 # Furthermore, on Solaris 10, XPG6 requires the use of a C99
3667 case $ac_sys_system/$ac_sys_release in
3668 SunOS/5.8|SunOS/5.9|SunOS/5.10)
3670 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
3675 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
3680 # On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
3681 # definition of _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE, or else
3682 # several APIs are not declared. Since this is also needed in some
3683 # cases for HP-UX, we define it globally.
3684 # except for Solaris 10, where it must not be defined,
3685 # as it implies XPG4.2
3686 case $ac_sys_system/$ac_sys_release in
3687 SunOS/5.10|SunOS/5.11)
3689 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3694 $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
3700 $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
3706 # If GCC, turn on warnings.
3707 if test "x$GCC" = "xyes"; then
3708 CFLAGS="$CFLAGS -Wall -W"
3715 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3716 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3718 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3719 if eval \${$as_ac_Header+:} false; then :
3720 $as_echo_n "(cached) " >&6
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3724 #include <sys/types.h>
3736 if ac_fn_c_try_compile "$LINENO"; then :
3737 eval "$as_ac_Header=yes"
3739 eval "$as_ac_Header=no"
3741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743 eval ac_res=\$$as_ac_Header
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3745 $as_echo "$ac_res" >&6; }
3746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3747 cat >>confdefs.h <<_ACEOF
3748 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3751 ac_header_dirent=$ac_hdr; break
3755 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3756 if test $ac_header_dirent = dirent.h; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3758 $as_echo_n "checking for library containing opendir... " >&6; }
3759 if ${ac_cv_search_opendir+:} false; then :
3760 $as_echo_n "(cached) " >&6
3762 ac_func_search_save_LIBS=$LIBS
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3766 /* Override any GCC internal prototype to avoid an error.
3767 Use char because int might match the return type of a GCC
3768 builtin and then its argument prototype would still apply. */
3781 for ac_lib in '' dir; do
3782 if test -z "$ac_lib"; then
3783 ac_res="none required"
3786 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3788 if ac_fn_c_try_link "$LINENO"; then :
3789 ac_cv_search_opendir=$ac_res
3791 rm -f core conftest.err conftest.$ac_objext \
3793 if ${ac_cv_search_opendir+:} false; then :
3797 if ${ac_cv_search_opendir+:} false; then :
3800 ac_cv_search_opendir=no
3803 LIBS=$ac_func_search_save_LIBS
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3806 $as_echo "$ac_cv_search_opendir" >&6; }
3807 ac_res=$ac_cv_search_opendir
3808 if test "$ac_res" != no; then :
3809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3815 $as_echo_n "checking for library containing opendir... " >&6; }
3816 if ${ac_cv_search_opendir+:} false; then :
3817 $as_echo_n "(cached) " >&6
3819 ac_func_search_save_LIBS=$LIBS
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h. */
3823 /* Override any GCC internal prototype to avoid an error.
3824 Use char because int might match the return type of a GCC
3825 builtin and then its argument prototype would still apply. */
3838 for ac_lib in '' x; do
3839 if test -z "$ac_lib"; then
3840 ac_res="none required"
3843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3845 if ac_fn_c_try_link "$LINENO"; then :
3846 ac_cv_search_opendir=$ac_res
3848 rm -f core conftest.err conftest.$ac_objext \
3850 if ${ac_cv_search_opendir+:} false; then :
3854 if ${ac_cv_search_opendir+:} false; then :
3857 ac_cv_search_opendir=no
3860 LIBS=$ac_func_search_save_LIBS
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3863 $as_echo "$ac_cv_search_opendir" >&6; }
3864 ac_res=$ac_cv_search_opendir
3865 if test "$ac_res" != no; then :
3866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3873 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3874 if ${ac_cv_header_time+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3879 #include <sys/types.h>
3880 #include <sys/time.h>
3886 if ((struct tm *) 0)
3892 if ac_fn_c_try_compile "$LINENO"; then :
3893 ac_cv_header_time=yes
3895 ac_cv_header_time=no
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3900 $as_echo "$ac_cv_header_time" >&6; }
3901 if test $ac_cv_header_time = yes; then
3903 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3909 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3910 if ${ac_cv_path_GREP+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 if test -z "$GREP"; then
3914 ac_path_GREP_found=false
3915 # Loop through the user's path and test for each of PROGNAME-LIST
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3920 test -z "$as_dir" && as_dir=.
3921 for ac_prog in grep ggrep; do
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3924 as_fn_executable_p "$ac_path_GREP" || continue
3925 # Check for GNU ac_path_GREP and select it if it is found.
3926 # Check for GNU $ac_path_GREP
3927 case `"$ac_path_GREP" --version 2>&1` in
3929 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3932 $as_echo_n 0123456789 >"conftest.in"
3935 cat "conftest.in" "conftest.in" >"conftest.tmp"
3936 mv "conftest.tmp" "conftest.in"
3937 cp "conftest.in" "conftest.nl"
3938 $as_echo 'GREP' >> "conftest.nl"
3939 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3941 as_fn_arith $ac_count + 1 && ac_count=$as_val
3942 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3943 # Best one so far, save it but keep looking for a better one
3944 ac_cv_path_GREP="$ac_path_GREP"
3945 ac_path_GREP_max=$ac_count
3947 # 10*(2^10) chars as input seems more than enough
3948 test $ac_count -gt 10 && break
3950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3953 $ac_path_GREP_found && break 3
3958 if test -z "$ac_cv_path_GREP"; then
3959 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3962 ac_cv_path_GREP=$GREP
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3967 $as_echo "$ac_cv_path_GREP" >&6; }
3968 GREP="$ac_cv_path_GREP"
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3972 $as_echo_n "checking for egrep... " >&6; }
3973 if ${ac_cv_path_EGREP+:} false; then :
3974 $as_echo_n "(cached) " >&6
3976 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3977 then ac_cv_path_EGREP="$GREP -E"
3979 if test -z "$EGREP"; then
3980 ac_path_EGREP_found=false
3981 # Loop through the user's path and test for each of PROGNAME-LIST
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3986 test -z "$as_dir" && as_dir=.
3987 for ac_prog in egrep; do
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3990 as_fn_executable_p "$ac_path_EGREP" || continue
3991 # Check for GNU ac_path_EGREP and select it if it is found.
3992 # Check for GNU $ac_path_EGREP
3993 case `"$ac_path_EGREP" --version 2>&1` in
3995 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3998 $as_echo_n 0123456789 >"conftest.in"
4001 cat "conftest.in" "conftest.in" >"conftest.tmp"
4002 mv "conftest.tmp" "conftest.in"
4003 cp "conftest.in" "conftest.nl"
4004 $as_echo 'EGREP' >> "conftest.nl"
4005 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007 as_fn_arith $ac_count + 1 && ac_count=$as_val
4008 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4009 # Best one so far, save it but keep looking for a better one
4010 ac_cv_path_EGREP="$ac_path_EGREP"
4011 ac_path_EGREP_max=$ac_count
4013 # 10*(2^10) chars as input seems more than enough
4014 test $ac_count -gt 10 && break
4016 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4019 $ac_path_EGREP_found && break 3
4024 if test -z "$ac_cv_path_EGREP"; then
4025 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4028 ac_cv_path_EGREP=$EGREP
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4034 $as_echo "$ac_cv_path_EGREP" >&6; }
4035 EGREP="$ac_cv_path_EGREP"
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4039 $as_echo_n "checking for ANSI C header files... " >&6; }
4040 if ${ac_cv_header_stdc+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4058 if ac_fn_c_try_compile "$LINENO"; then :
4059 ac_cv_header_stdc=yes
4061 ac_cv_header_stdc=no
4063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4065 if test $ac_cv_header_stdc = yes; then
4066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4073 $EGREP "memchr" >/dev/null 2>&1; then :
4076 ac_cv_header_stdc=no
4082 if test $ac_cv_header_stdc = yes; then
4083 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4090 $EGREP "free" >/dev/null 2>&1; then :
4093 ac_cv_header_stdc=no
4099 if test $ac_cv_header_stdc = yes; then
4100 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4101 if test "$cross_compiling" = yes; then :
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4108 #if ((' ' & 0x0FF) == 0x020)
4109 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4110 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4112 # define ISLOWER(c) \
4113 (('a' <= (c) && (c) <= 'i') \
4114 || ('j' <= (c) && (c) <= 'r') \
4115 || ('s' <= (c) && (c) <= 'z'))
4116 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4119 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4124 for (i = 0; i < 256; i++)
4125 if (XOR (islower (i), ISLOWER (i))
4126 || toupper (i) != TOUPPER (i))
4131 if ac_fn_c_try_run "$LINENO"; then :
4134 ac_cv_header_stdc=no
4136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4137 conftest.$ac_objext conftest.beam conftest.$ac_ext
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4143 $as_echo "$ac_cv_header_stdc" >&6; }
4144 if test $ac_cv_header_stdc = yes; then
4146 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4150 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4151 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4152 inttypes.h stdint.h unistd.h
4154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4155 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4157 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4158 cat >>confdefs.h <<_ACEOF
4159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4168 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4169 if ${ac_cv_header_stdbool_h+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4175 #include <stdbool.h>
4177 "error: bool is not defined"
4180 "error: false is not defined"
4183 "error: false is not 0"
4186 "error: true is not defined"
4189 "error: true is not 1"
4191 #ifndef __bool_true_false_are_defined
4192 "error: __bool_true_false_are_defined is not defined"
4195 struct s { _Bool s: 1; _Bool t; } s;
4197 char a[true == 1 ? 1 : -1];
4198 char b[false == 0 ? 1 : -1];
4199 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4200 char d[(bool) 0.5 == true ? 1 : -1];
4201 /* See body of main program for 'e'. */
4202 char f[(_Bool) 0.0 == false ? 1 : -1];
4204 char h[sizeof (_Bool)];
4206 enum { j = false, k = true, l = false * true, m = true * 256 };
4207 /* The following fails for
4208 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4210 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4211 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4212 /* Catch a bug in an HP-UX C compiler. See
4213 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4214 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4226 /* Refer to every declared value, to avoid compiler optimizations. */
4227 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4228 + !m + !n + !o + !p + !q + !pq);
4234 if ac_fn_c_try_compile "$LINENO"; then :
4235 ac_cv_header_stdbool_h=yes
4237 ac_cv_header_stdbool_h=no
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4242 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4243 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4244 if test "x$ac_cv_type__Bool" = xyes; then :
4246 cat >>confdefs.h <<_ACEOF
4247 #define HAVE__BOOL 1
4254 if test $ac_cv_header_stdbool_h = yes; then
4256 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4261 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4262 if ${ac_cv_header_sys_wait_h+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4267 #include <sys/types.h>
4268 #include <sys/wait.h>
4270 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4273 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4281 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_cv_header_sys_wait_h=yes
4289 ac_cv_header_sys_wait_h=no
4291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4294 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
4295 if test $ac_cv_header_sys_wait_h = yes; then
4297 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4302 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
4303 if test "x$ac_cv_type_long_long" = xyes; then :
4305 cat >>confdefs.h <<_ACEOF
4306 #define HAVE_LONG_LONG 1
4313 for ac_header in ctype.h pwd.h stdlib.h string.h strings.h sys/time.h sys/mman.h
4315 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4316 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4318 cat >>confdefs.h <<_ACEOF
4319 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4326 for ac_header in termios.h
4328 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
4329 if test "x$ac_cv_header_termios_h" = xyes; then :
4330 cat >>confdefs.h <<_ACEOF
4331 #define HAVE_TERMIOS_H 1
4339 for ac_func in gethostname
4341 ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
4342 if test "x$ac_cv_func_gethostname" = xyes; then :
4343 cat >>confdefs.h <<_ACEOF
4344 #define HAVE_GETHOSTNAME 1
4350 for ac_func in getopt_long
4352 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
4353 if test "x$ac_cv_func_getopt_long" = xyes; then :
4354 cat >>confdefs.h <<_ACEOF
4355 #define HAVE_GETOPT_LONG 1
4361 for ac_func in getpwuid
4363 ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid"
4364 if test "x$ac_cv_func_getpwuid" = xyes; then :
4365 cat >>confdefs.h <<_ACEOF
4366 #define HAVE_GETPWUID 1
4372 for ac_func in gettimeofday
4374 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
4375 if test "x$ac_cv_func_gettimeofday" = xyes; then :
4376 cat >>confdefs.h <<_ACEOF
4377 #define HAVE_GETTIMEOFDAY 1
4383 for ac_func in mkstemp
4385 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
4386 if test "x$ac_cv_func_mkstemp" = xyes; then :
4387 cat >>confdefs.h <<_ACEOF
4388 #define HAVE_MKSTEMP 1
4394 for ac_func in realpath
4396 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
4397 if test "x$ac_cv_func_realpath" = xyes; then :
4398 cat >>confdefs.h <<_ACEOF
4399 #define HAVE_REALPATH 1
4405 for ac_func in strndup
4407 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
4408 if test "x$ac_cv_func_strndup" = xyes; then :
4409 cat >>confdefs.h <<_ACEOF
4410 #define HAVE_STRNDUP 1
4416 for ac_func in strtok_r
4418 ac_fn_c_check_func "$LINENO" "strtok_r" "ac_cv_func_strtok_r"
4419 if test "x$ac_cv_func_strtok_r" = xyes; then :
4420 cat >>confdefs.h <<_ACEOF
4421 #define HAVE_STRTOK_R 1
4427 for ac_func in unsetenv
4429 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
4430 if test "x$ac_cv_func_unsetenv" = xyes; then :
4431 cat >>confdefs.h <<_ACEOF
4432 #define HAVE_UNSETENV 1
4438 for ac_func in utimes
4440 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
4441 if test "x$ac_cv_func_utimes" = xyes; then :
4442 cat >>confdefs.h <<_ACEOF
4443 #define HAVE_UTIMES 1
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compar_fn_t in stdlib.h" >&5
4451 $as_echo_n "checking for compar_fn_t in stdlib.h... " >&6; }
4452 if ${ccache_cv_COMPAR_FN_T+:} false; then :
4453 $as_echo_n "(cached) " >&6
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4462 void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
4467 if ac_fn_c_try_compile "$LINENO"; then :
4468 ccache_cv_COMPAR_FN_T=yes
4470 ccache_cv_COMPAR_FN_T=no
4472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_COMPAR_FN_T" >&5
4475 $as_echo "$ccache_cv_COMPAR_FN_T" >&6; }
4476 if test x"$ccache_cv_COMPAR_FN_T" = x"yes"; then
4478 $as_echo "#define HAVE_COMPAR_FN_T 1" >>confdefs.h
4482 # $Id: snprintf.m4,v 1.1.1.1 2008/01/06 03:24:00 holger Exp $
4484 # Copyright (c) 2008 Holger Weiss <holger@jhweiss.de>.
4486 # This code may freely be used, modified and/or redistributed for any purpose.
4487 # It would be nice if additions and fixes to this file (including trivial code
4488 # cleanups) would be sent back in order to let me include them in the version
4489 # available at <http://www.jhweiss.de/software/snprintf.html>. However, this is
4490 # not a requirement for using or redistributing (possibly modified) versions of
4491 # this file, nor is leaving this notice intact mandatory.
4493 # HW_HEADER_STDARG_H
4494 # ------------------
4495 # Define HAVE_STDARG_H to 1 if <stdarg.h> is available.
4496 # HW_HEADER_STDARG_H
4498 # HW_HEADER_VARARGS_H
4499 # -------------------
4500 # Define HAVE_VARARGS_H to 1 if <varargs.h> is available.
4501 # HW_HEADER_VARARGS_H
4505 # Set $hw_cv_func_va_copy to "yes" or "no". Define HAVE_VA_COPY to 1 if
4506 # $hw_cv_func_va_copy is set to "yes". Note that it's "unspecified whether
4507 # va_copy and va_end are macros or identifiers declared with external linkage."
4508 # (C99: 7.15.1, 1) Therefore, the presence of va_copy(3) cannot simply "be
4509 # tested with #ifdef", as suggested by the Autoconf manual (5.5.1).
4514 # Set $hw_cv_func___va_copy to "yes" or "no". Define HAVE___VA_COPY to 1 if
4515 # $hw_cv_func___va_copy is set to "yes".
4520 # Set $hw_cv_func_vsnprintf and $hw_cv_func_vsnprintf_c99 to "yes" or "no",
4521 # respectively. Define HAVE_VSNPRINTF to 1 only if $hw_cv_func_vsnprintf_c99
4522 # is set to "yes". Otherwise, define vsnprintf to rpl_vsnprintf and make sure
4523 # the replacement function will be built.
4528 # Set $hw_cv_func_snprintf and $hw_cv_func_snprintf_c99 to "yes" or "no",
4529 # respectively. Define HAVE_SNPRINTF to 1 only if $hw_cv_func_snprintf_c99
4530 # is set to "yes". Otherwise, define snprintf to rpl_snprintf and make sure
4531 # the replacement function will be built.
4536 # Set $hw_cv_func_vasprintf to "yes" or "no". Define HAVE_VASPRINTF to 1 if
4537 # $hw_cv_func_vasprintf is set to "yes". Otherwise, define vasprintf to
4538 # rpl_vasprintf and make sure the replacement function will be built.
4543 # Set $hw_cv_func_asprintf to "yes" or "no". Define HAVE_ASPRINTF to 1 if
4544 # $hw_cv_func_asprintf is set to "yes". Otherwise, define asprintf to
4545 # rpl_asprintf and make sure the replacement function will be built.
4548 # _HW_FUNC_XPRINTF_REPLACE
4549 # ------------------------
4550 # Arrange for building snprintf.c. Must be called if one or more of the
4551 # functions provided by snprintf.c are needed.
4552 # _HW_FUNC_XPRINTF_REPLACE
4558 for ac_header in $ac_header_list
4560 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4561 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4563 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4564 cat >>confdefs.h <<_ACEOF
4565 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4579 $as_echo_n "checking for unsigned long long int... " >&6; }
4580 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
4581 $as_echo_n "(cached) " >&6
4583 ac_cv_type_unsigned_long_long_int=yes
4584 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4588 /* For now, do not test the preprocessor; as of 2007 there are too many
4589 implementations with broken preprocessors. Perhaps this can
4590 be revisited in 2012. In the meantime, code should not expect
4591 #if to work with literals wider than 32 bits. */
4592 /* Test literals. */
4593 long long int ll = 9223372036854775807ll;
4594 long long int nll = -9223372036854775807LL;
4595 unsigned long long int ull = 18446744073709551615ULL;
4596 /* Test constant expressions. */
4597 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4599 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4605 /* Test availability of runtime routines for shift and division. */
4606 long long int llmax = 9223372036854775807ll;
4607 unsigned long long int ullmax = 18446744073709551615ull;
4608 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4609 | (llmax / ll) | (llmax % ll)
4610 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4611 | (ullmax / ull) | (ullmax % ull));
4617 if ac_fn_c_try_link "$LINENO"; then :
4620 ac_cv_type_unsigned_long_long_int=no
4622 rm -f core conftest.err conftest.$ac_objext \
4623 conftest$ac_exeext conftest.$ac_ext
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4627 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4628 if test $ac_cv_type_unsigned_long_long_int = yes; then
4630 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4635 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
4636 if test "x$ac_cv_func_vsnprintf" = xyes; then :
4637 hw_cv_func_vsnprintf=yes
4639 hw_cv_func_vsnprintf=no
4642 if test "$hw_cv_func_vsnprintf" = yes; then :
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is C99 compliant" >&5
4644 $as_echo_n "checking whether vsnprintf is C99 compliant... " >&6; }
4645 if ${hw_cv_func_vsnprintf_c99+:} false; then :
4646 $as_echo_n "(cached) " >&6
4648 if test "$cross_compiling" = yes; then :
4649 hw_cv_func_vsnprintf_c99=no
4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4652 /* end confdefs.h. */
4657 static int testprintf(char *buf, size_t size, const char *format, ...)
4661 va_start(ap, format);
4662 result = vsnprintf(buf, size, format, ap);
4670 if (testprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
4671 testprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
4672 buf[0] != 'T' || buf[3] != '\0')
4678 if ac_fn_c_try_run "$LINENO"; then :
4679 hw_cv_func_vsnprintf_c99=yes
4681 hw_cv_func_vsnprintf_c99=no
4683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4684 conftest.$ac_objext conftest.beam conftest.$ac_ext
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_vsnprintf_c99" >&5
4689 $as_echo "$hw_cv_func_vsnprintf_c99" >&6; }
4691 hw_cv_func_snprintf_c99=no
4693 if test "$hw_cv_func_vsnprintf_c99" = yes; then :
4695 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
4698 for ac_header in inttypes.h locale.h stddef.h stdint.h
4700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4701 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4703 cat >>confdefs.h <<_ACEOF
4704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4711 ac_fn_c_check_member "$LINENO" "struct lconv" "decimal_point" "ac_cv_member_struct_lconv_decimal_point" "#include <locale.h>
4713 if test "x$ac_cv_member_struct_lconv_decimal_point" = xyes; then :
4715 cat >>confdefs.h <<_ACEOF
4716 #define HAVE_STRUCT_LCONV_DECIMAL_POINT 1
4721 ac_fn_c_check_member "$LINENO" "struct lconv" "thousands_sep" "ac_cv_member_struct_lconv_thousands_sep" "#include <locale.h>
4723 if test "x$ac_cv_member_struct_lconv_thousands_sep" = xyes; then :
4725 cat >>confdefs.h <<_ACEOF
4726 #define HAVE_STRUCT_LCONV_THOUSANDS_SEP 1
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
4735 $as_echo_n "checking for long long int... " >&6; }
4736 if ${ac_cv_type_long_long_int+:} false; then :
4737 $as_echo_n "(cached) " >&6
4739 ac_cv_type_long_long_int=yes
4740 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4741 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
4742 if test $ac_cv_type_long_long_int = yes; then
4743 if test "$cross_compiling" = yes; then :
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4751 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4752 # define LLONG_MAX (HALF - 1 + HALF)
4757 long long int n = 1;
4761 long long int m = n << i;
4764 if (LLONG_MAX / 2 < m)
4772 if ac_fn_c_try_run "$LINENO"; then :
4775 ac_cv_type_long_long_int=no
4777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4778 conftest.$ac_objext conftest.beam conftest.$ac_ext
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
4785 $as_echo "$ac_cv_type_long_long_int" >&6; }
4786 if test $ac_cv_type_long_long_int = yes; then
4788 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
4794 $as_echo_n "checking for unsigned long long int... " >&6; }
4795 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
4796 $as_echo_n "(cached) " >&6
4798 ac_cv_type_unsigned_long_long_int=yes
4799 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
4800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4803 /* For now, do not test the preprocessor; as of 2007 there are too many
4804 implementations with broken preprocessors. Perhaps this can
4805 be revisited in 2012. In the meantime, code should not expect
4806 #if to work with literals wider than 32 bits. */
4807 /* Test literals. */
4808 long long int ll = 9223372036854775807ll;
4809 long long int nll = -9223372036854775807LL;
4810 unsigned long long int ull = 18446744073709551615ULL;
4811 /* Test constant expressions. */
4812 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4814 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4820 /* Test availability of runtime routines for shift and division. */
4821 long long int llmax = 9223372036854775807ll;
4822 unsigned long long int ullmax = 18446744073709551615ull;
4823 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4824 | (llmax / ll) | (llmax % ll)
4825 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4826 | (ullmax / ull) | (ullmax % ull));
4832 if ac_fn_c_try_link "$LINENO"; then :
4835 ac_cv_type_unsigned_long_long_int=no
4837 rm -f core conftest.err conftest.$ac_objext \
4838 conftest$ac_exeext conftest.$ac_ext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
4842 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
4843 if test $ac_cv_type_unsigned_long_long_int = yes; then
4845 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
4849 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4850 if test "x$ac_cv_type_size_t" = xyes; then :
4854 cat >>confdefs.h <<_ACEOF
4855 #define size_t unsigned int
4862 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
4863 if test "x$ac_cv_type_intmax_t" = xyes; then :
4865 $as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
4868 test $ac_cv_type_long_long_int = yes \
4869 && ac_type='long long int' \
4870 || ac_type='long int'
4872 cat >>confdefs.h <<_ACEOF
4873 #define intmax_t $ac_type
4881 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
4882 if test "x$ac_cv_type_uintmax_t" = xyes; then :
4884 $as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
4887 test $ac_cv_type_unsigned_long_long_int = yes \
4888 && ac_type='unsigned long long int' \
4889 || ac_type='unsigned long int'
4891 cat >>confdefs.h <<_ACEOF
4892 #define uintmax_t $ac_type
4899 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
4900 if test "x$ac_cv_type_uintptr_t" = xyes; then :
4902 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
4905 for ac_type in 'unsigned int' 'unsigned long int' \
4906 'unsigned long long int'; do
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4909 $ac_includes_default
4913 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
4915 return test_array [0];
4921 if ac_fn_c_try_compile "$LINENO"; then :
4923 cat >>confdefs.h <<_ACEOF
4924 #define uintptr_t $ac_type
4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930 test -z "$ac_type" && break
4935 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
4936 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
4938 cat >>confdefs.h <<_ACEOF
4939 #define HAVE_PTRDIFF_T 1
4945 for ac_func in localeconv
4947 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv"
4948 if test "x$ac_cv_func_localeconv" = xyes; then :
4949 cat >>confdefs.h <<_ACEOF
4950 #define HAVE_LOCALECONV 1
4957 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4959 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4960 if ${ac_cv_c_const+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4971 /* Ultrix mips cc rejects this sort of thing. */
4972 typedef int charset[2];
4973 const charset cs = { 0, 0 };
4974 /* SunOS 4.1.1 cc rejects this. */
4975 char const *const *pcpcc;
4977 /* NEC SVR4.0.2 mips cc rejects this. */
4978 struct point {int x, y;};
4979 static struct point const zero = {0,0};
4980 /* AIX XL C 1.02.0.0 rejects this.
4981 It does not let you subtract one const X* pointer from another in
4982 an arm of an if-expression whose if-part is not a constant
4984 const char *g = "string";
4985 pcpcc = &g + (g ? g-g : 0);
4986 /* HPUX 7.0 cc rejects these. */
4988 ppc = (char**) pcpcc;
4989 pcpcc = (char const *const *) ppc;
4990 { /* SCO 3.2v4 cc rejects this sort of thing. */
4993 char const *s = 0 ? (char *) 0 : (char const *) 0;
4998 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5000 const int *foo = &x[0];
5003 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5004 typedef const int *iptr;
5008 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5009 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5010 struct s { int j; const int *ap[3]; } bx;
5011 struct s *b = &bx; b->j = 5;
5013 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5017 return !cs[0] && !zero.x;
5024 if ac_fn_c_try_compile "$LINENO"; then :
5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5032 $as_echo "$ac_cv_c_const" >&6; }
5033 if test $ac_cv_c_const = no; then
5035 $as_echo "#define const /**/" >>confdefs.h
5042 case " $LIBOBJS " in
5043 *" snprintf.$ac_objext "* ) ;;
5044 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5048 _hw_cv_func_xprintf_replace_done=yes
5054 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
5055 if test "x$ac_cv_func_snprintf" = xyes; then :
5056 hw_cv_func_snprintf=yes
5058 hw_cv_func_snprintf=no
5061 if test "$hw_cv_func_snprintf" = yes; then :
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf is C99 compliant" >&5
5063 $as_echo_n "checking whether snprintf is C99 compliant... " >&6; }
5064 if ${hw_cv_func_snprintf_c99+:} false; then :
5065 $as_echo_n "(cached) " >&6
5067 if test "$cross_compiling" = yes; then :
5068 hw_cv_func_snprintf_c99=no
5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5077 if (snprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 ||
5078 snprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 ||
5079 buf[0] != 'T' || buf[3] != '\0')
5085 if ac_fn_c_try_run "$LINENO"; then :
5086 hw_cv_func_snprintf_c99=yes
5088 hw_cv_func_snprintf_c99=no
5090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5091 conftest.$ac_objext conftest.beam conftest.$ac_ext
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_snprintf_c99" >&5
5096 $as_echo "$hw_cv_func_snprintf_c99" >&6; }
5098 hw_cv_func_snprintf_c99=no
5100 if test "$hw_cv_func_snprintf_c99" = yes; then :
5102 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
5106 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5108 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5109 if ${ac_cv_c_const+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5120 /* Ultrix mips cc rejects this sort of thing. */
5121 typedef int charset[2];
5122 const charset cs = { 0, 0 };
5123 /* SunOS 4.1.1 cc rejects this. */
5124 char const *const *pcpcc;
5126 /* NEC SVR4.0.2 mips cc rejects this. */
5127 struct point {int x, y;};
5128 static struct point const zero = {0,0};
5129 /* AIX XL C 1.02.0.0 rejects this.
5130 It does not let you subtract one const X* pointer from another in
5131 an arm of an if-expression whose if-part is not a constant
5133 const char *g = "string";
5134 pcpcc = &g + (g ? g-g : 0);
5135 /* HPUX 7.0 cc rejects these. */
5137 ppc = (char**) pcpcc;
5138 pcpcc = (char const *const *) ppc;
5139 { /* SCO 3.2v4 cc rejects this sort of thing. */
5142 char const *s = 0 ? (char *) 0 : (char const *) 0;
5147 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5149 const int *foo = &x[0];
5152 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5153 typedef const int *iptr;
5157 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5158 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5159 struct s { int j; const int *ap[3]; } bx;
5160 struct s *b = &bx; b->j = 5;
5162 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5166 return !cs[0] && !zero.x;
5173 if ac_fn_c_try_compile "$LINENO"; then :
5178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5181 $as_echo "$ac_cv_c_const" >&6; }
5182 if test $ac_cv_c_const = no; then
5184 $as_echo "#define const /**/" >>confdefs.h
5191 case " $LIBOBJS " in
5192 *" snprintf.$ac_objext "* ) ;;
5193 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5197 _hw_cv_func_xprintf_replace_done=yes
5208 for ac_func in vasprintf
5210 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
5211 if test "x$ac_cv_func_vasprintf" = xyes; then :
5212 cat >>confdefs.h <<_ACEOF
5213 #define HAVE_VASPRINTF 1
5215 hw_cv_func_vasprintf=yes
5217 hw_cv_func_vasprintf=no
5221 if test "$hw_cv_func_vasprintf" = no; then :
5222 for ac_header in stdlib.h
5224 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5225 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5226 cat >>confdefs.h <<_ACEOF
5227 #define HAVE_STDLIB_H 1
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
5236 $as_echo_n "checking for va_copy... " >&6; }
5237 if ${hw_cv_func_va_copy+:} false; then :
5238 $as_echo_n "(cached) " >&6
5240 if test "$cross_compiling" = yes; then :
5241 hw_cv_func_va_copy=no
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5247 #elif HAVE_VARARGS_H
5248 #include <varargs.h>
5253 va_list ap, aq; va_copy(aq, ap);
5258 if ac_fn_c_try_run "$LINENO"; then :
5259 hw_cv_func_va_copy=yes
5261 hw_cv_func_va_copy=no
5263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5264 conftest.$ac_objext conftest.beam conftest.$ac_ext
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_va_copy" >&5
5269 $as_echo "$hw_cv_func_va_copy" >&6; }
5270 if test "$hw_cv_func_va_copy" = yes; then :
5272 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
5276 if test "$hw_cv_func_va_copy" = no; then :
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
5279 $as_echo_n "checking for __va_copy... " >&6; }
5280 if ${hw_cv_func___va_copy+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 if test "$cross_compiling" = yes; then :
5284 hw_cv_func___va_copy=no
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5290 #elif HAVE_VARARGS_H
5291 #include <varargs.h>
5296 va_list ap, aq; __va_copy(aq, ap);
5301 if ac_fn_c_try_run "$LINENO"; then :
5302 hw_cv_func___va_copy=yes
5304 hw_cv_func___va_copy=no
5306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5307 conftest.$ac_objext conftest.beam conftest.$ac_ext
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func___va_copy" >&5
5312 $as_echo "$hw_cv_func___va_copy" >&6; }
5313 if test "$hw_cv_func___va_copy" = yes; then :
5315 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
5321 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5323 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5324 if ${ac_cv_c_const+:} false; then :
5325 $as_echo_n "(cached) " >&6
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5335 /* Ultrix mips cc rejects this sort of thing. */
5336 typedef int charset[2];
5337 const charset cs = { 0, 0 };
5338 /* SunOS 4.1.1 cc rejects this. */
5339 char const *const *pcpcc;
5341 /* NEC SVR4.0.2 mips cc rejects this. */
5342 struct point {int x, y;};
5343 static struct point const zero = {0,0};
5344 /* AIX XL C 1.02.0.0 rejects this.
5345 It does not let you subtract one const X* pointer from another in
5346 an arm of an if-expression whose if-part is not a constant
5348 const char *g = "string";
5349 pcpcc = &g + (g ? g-g : 0);
5350 /* HPUX 7.0 cc rejects these. */
5352 ppc = (char**) pcpcc;
5353 pcpcc = (char const *const *) ppc;
5354 { /* SCO 3.2v4 cc rejects this sort of thing. */
5357 char const *s = 0 ? (char *) 0 : (char const *) 0;
5362 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5364 const int *foo = &x[0];
5367 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5368 typedef const int *iptr;
5372 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5373 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5374 struct s { int j; const int *ap[3]; } bx;
5375 struct s *b = &bx; b->j = 5;
5377 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5381 return !cs[0] && !zero.x;
5388 if ac_fn_c_try_compile "$LINENO"; then :
5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5396 $as_echo "$ac_cv_c_const" >&6; }
5397 if test $ac_cv_c_const = no; then
5399 $as_echo "#define const /**/" >>confdefs.h
5406 case " $LIBOBJS " in
5407 *" snprintf.$ac_objext "* ) ;;
5408 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5412 _hw_cv_func_xprintf_replace_done=yes
5418 for ac_func in asprintf
5420 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
5421 if test "x$ac_cv_func_asprintf" = xyes; then :
5422 cat >>confdefs.h <<_ACEOF
5423 #define HAVE_ASPRINTF 1
5425 hw_cv_func_asprintf=yes
5427 hw_cv_func_asprintf=no
5431 if test "$hw_cv_func_asprintf" = no; then :
5433 if test "x$_hw_cv_func_xprintf_replace_done" != xyes; then :
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5435 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5436 if ${ac_cv_c_const+:} false; then :
5437 $as_echo_n "(cached) " >&6
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5447 /* Ultrix mips cc rejects this sort of thing. */
5448 typedef int charset[2];
5449 const charset cs = { 0, 0 };
5450 /* SunOS 4.1.1 cc rejects this. */
5451 char const *const *pcpcc;
5453 /* NEC SVR4.0.2 mips cc rejects this. */
5454 struct point {int x, y;};
5455 static struct point const zero = {0,0};
5456 /* AIX XL C 1.02.0.0 rejects this.
5457 It does not let you subtract one const X* pointer from another in
5458 an arm of an if-expression whose if-part is not a constant
5460 const char *g = "string";
5461 pcpcc = &g + (g ? g-g : 0);
5462 /* HPUX 7.0 cc rejects these. */
5464 ppc = (char**) pcpcc;
5465 pcpcc = (char const *const *) ppc;
5466 { /* SCO 3.2v4 cc rejects this sort of thing. */
5469 char const *s = 0 ? (char *) 0 : (char const *) 0;
5474 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5476 const int *foo = &x[0];
5479 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5480 typedef const int *iptr;
5484 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
5485 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5486 struct s { int j; const int *ap[3]; } bx;
5487 struct s *b = &bx; b->j = 5;
5489 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5493 return !cs[0] && !zero.x;
5500 if ac_fn_c_try_compile "$LINENO"; then :
5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5508 $as_echo "$ac_cv_c_const" >&6; }
5509 if test $ac_cv_c_const = no; then
5511 $as_echo "#define const /**/" >>confdefs.h
5518 case " $LIBOBJS " in
5519 *" snprintf.$ac_objext "* ) ;;
5520 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
5524 _hw_cv_func_xprintf_replace_done=yes
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
5531 $as_echo_n "checking for library containing cos... " >&6; }
5532 if ${ac_cv_search_cos+:} false; then :
5533 $as_echo_n "(cached) " >&6
5535 ac_func_search_save_LIBS=$LIBS
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5539 /* Override any GCC internal prototype to avoid an error.
5540 Use char because int might match the return type of a GCC
5541 builtin and then its argument prototype would still apply. */
5554 for ac_lib in '' m; do
5555 if test -z "$ac_lib"; then
5556 ac_res="none required"
5559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5561 if ac_fn_c_try_link "$LINENO"; then :
5562 ac_cv_search_cos=$ac_res
5564 rm -f core conftest.err conftest.$ac_objext \
5566 if ${ac_cv_search_cos+:} false; then :
5570 if ${ac_cv_search_cos+:} false; then :
5576 LIBS=$ac_func_search_save_LIBS
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
5579 $as_echo "$ac_cv_search_cos" >&6; }
5580 ac_res=$ac_cv_search_cos
5581 if test "$ac_res" != no; then :
5582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5589 # Check whether --with-bundled-zlib was given.
5590 if test "${with_bundled_zlib+set}" = set; then :
5591 withval=$with_bundled_zlib;
5594 if test x${with_bundled_zlib} = x; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.3" >&5
5596 $as_echo_n "checking for zlib >= 1.2.3... " >&6; }
5597 if ${ccache_cv_zlib_1_2_3+:} false; then :
5598 $as_echo_n "(cached) " >&6
5600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5607 #if (ZLIB_VERNUM >= 0x1230)
5609 #error "ZLIB_VERNUM < 0x1230"
5616 if ac_fn_c_try_compile "$LINENO"; then :
5617 ccache_cv_zlib_1_2_3=yes
5619 ccache_cv_zlib_1_2_3=no
5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_zlib_1_2_3" >&5
5624 $as_echo "$ccache_cv_zlib_1_2_3" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
5626 $as_echo_n "checking for gzdopen in -lz... " >&6; }
5627 if ${ac_cv_lib_z_gzdopen+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 ac_check_lib_save_LIBS=$LIBS
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5635 /* Override any GCC internal prototype to avoid an error.
5636 Use char because int might match the return type of a GCC
5637 builtin and then its argument prototype would still apply. */
5650 if ac_fn_c_try_link "$LINENO"; then :
5651 ac_cv_lib_z_gzdopen=yes
5653 ac_cv_lib_z_gzdopen=no
5655 rm -f core conftest.err conftest.$ac_objext \
5656 conftest$ac_exeext conftest.$ac_ext
5657 LIBS=$ac_check_lib_save_LIBS
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
5660 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
5661 if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
5665 if test $ccache_cv_zlib_1_2_3 = yes && test $ac_cv_lib_z_gzdopen = yes; then
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using bundled zlib" >&5
5669 $as_echo "$as_me: WARNING: using bundled zlib" >&2;}
5670 use_bundled_zlib=yes
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: using bundled zlib as requested" >&5
5674 $as_echo "$as_me: using bundled zlib as requested" >&6;}
5675 use_bundled_zlib=yes
5678 if test x${use_bundled_zlib} = xyes; then
5679 CPPFLAGS="$CPPFLAGS -I\$(srcdir)/zlib"
5680 extra_libs="zlib/libz.a"
5686 if test x${windows_os} = xyes; then
5687 LIBS="$LIBS -lws2_32"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5691 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5692 if ${ac_cv_c_bigendian+:} false; then :
5693 $as_echo_n "(cached) " >&6
5695 ac_cv_c_bigendian=unknown
5696 # See if we're dealing with a universal compiler.
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5699 #ifndef __APPLE_CC__
5700 not a universal capable compiler
5705 if ac_fn_c_try_compile "$LINENO"; then :
5707 # Check for potential -arch flags. It is not universal unless
5708 # there are at least two -arch flags with different values.
5711 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5712 if test -n "$ac_prev"; then
5714 i?86 | x86_64 | ppc | ppc64)
5715 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5718 ac_cv_c_bigendian=universal
5724 elif test "x$ac_word" = "x-arch"; then
5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 if test $ac_cv_c_bigendian = unknown; then
5731 # See if sys/param.h defines the BYTE_ORDER macro.
5732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5733 /* end confdefs.h. */
5734 #include <sys/types.h>
5735 #include <sys/param.h>
5740 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5741 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5750 if ac_fn_c_try_compile "$LINENO"; then :
5751 # It does; now see whether it defined to BIG_ENDIAN or not.
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5754 #include <sys/types.h>
5755 #include <sys/param.h>
5760 #if BYTE_ORDER != BIG_ENDIAN
5768 if ac_fn_c_try_compile "$LINENO"; then :
5769 ac_cv_c_bigendian=yes
5771 ac_cv_c_bigendian=no
5773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5777 if test $ac_cv_c_bigendian = unknown; then
5778 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780 /* end confdefs.h. */
5786 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5794 if ac_fn_c_try_compile "$LINENO"; then :
5795 # It does; now see whether it defined to _BIG_ENDIAN or not.
5796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5811 if ac_fn_c_try_compile "$LINENO"; then :
5812 ac_cv_c_bigendian=yes
5814 ac_cv_c_bigendian=no
5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5820 if test $ac_cv_c_bigendian = unknown; then
5821 # Compile a test program.
5822 if test "$cross_compiling" = yes; then :
5823 # Try to guess by grepping values from an object file.
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5826 short int ascii_mm[] =
5827 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5828 short int ascii_ii[] =
5829 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5830 int use_ascii (int i) {
5831 return ascii_mm[i] + ascii_ii[i];
5833 short int ebcdic_ii[] =
5834 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5835 short int ebcdic_mm[] =
5836 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5837 int use_ebcdic (int i) {
5838 return ebcdic_mm[i] + ebcdic_ii[i];
5845 return use_ascii (foo) == use_ebcdic (foo);
5850 if ac_fn_c_try_compile "$LINENO"; then :
5851 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5852 ac_cv_c_bigendian=yes
5854 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5855 if test "$ac_cv_c_bigendian" = unknown; then
5856 ac_cv_c_bigendian=no
5858 # finding both strings is unlikely to happen, but who knows?
5859 ac_cv_c_bigendian=unknown
5863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 $ac_includes_default
5872 /* Are we little or big endian? From Harbison&Steele. */
5876 char c[sizeof (long int)];
5879 return u.c[sizeof (long int) - 1] == 1;
5885 if ac_fn_c_try_run "$LINENO"; then :
5886 ac_cv_c_bigendian=no
5888 ac_cv_c_bigendian=yes
5890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5891 conftest.$ac_objext conftest.beam conftest.$ac_ext
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5897 $as_echo "$ac_cv_c_bigendian" >&6; }
5898 case $ac_cv_c_bigendian in #(
5900 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5906 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5910 as_fn_error $? "unknown endianness
5911 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
5916 $as_echo_n "checking for inline... " >&6; }
5917 if ${ac_cv_c_inline+:} false; then :
5918 $as_echo_n "(cached) " >&6
5921 for ac_kw in inline __inline__ __inline; do
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5926 static $ac_kw foo_t static_foo () {return 0; }
5927 $ac_kw foo_t foo () {return 0; }
5931 if ac_fn_c_try_compile "$LINENO"; then :
5932 ac_cv_c_inline=$ac_kw
5934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5935 test "$ac_cv_c_inline" != no && break
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5940 $as_echo "$ac_cv_c_inline" >&6; }
5942 case $ac_cv_c_inline in
5945 case $ac_cv_c_inline in
5947 *) ac_val=$ac_cv_c_inline;;
5949 cat >>confdefs.h <<_ACEOF
5951 #define inline $ac_val
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern inline" >&5
5959 $as_echo_n "checking for extern inline... " >&6; }
5960 if ${ac_cv_c_extern_inline+:} false; then :
5961 $as_echo_n "(cached) " >&6
5964 ac_cv_c_extern_inline=no
5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5968 extern $ac_cv_c_inline double foo(double x);
5969 extern $ac_cv_c_inline double foo(double x) { return x+1.0; };
5970 double foo (double x) { return x + 1.0; };
5980 if ac_fn_c_try_compile "$LINENO"; then :
5981 ac_cv_c_extern_inline="yes"
5983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_inline" >&5
5986 $as_echo "$ac_cv_c_extern_inline" >&6; }
5987 if test "$ac_cv_c_extern_inline" != no ; then
5989 $as_echo "#define HAVE_EXTERN_INLINE 1" >>confdefs.h
5993 if test ! -f $srcdir/dev_mode_disabled && test "$RUN_FROM_BUILD_FARM" != yes; then
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: Developer mode enabled" >&5
5995 $as_echo "$as_me: Developer mode enabled" >&6;}
5996 ac_config_files="$ac_config_files dev.mk"
5998 include_dev_mk='include dev.mk'
5999 version=`(git --git-dir=$srcdir/.git describe --dirty 2>/dev/null || echo vunknown) | sed -e 's/v//' -e 's/-/+/' -e 's/-/_/g'`
6000 echo "const char CCACHE_VERSION[] = \"$version\";" >version.c
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: Developer mode disabled" >&5
6003 $as_echo "$as_me: Developer mode disabled" >&6;}
6006 if test ! -f $srcdir/version.c; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to determine ccache version" >&5
6008 $as_echo "$as_me: WARNING: unable to determine ccache version" >&2;}
6009 echo "const char CCACHE_VERSION[] = \"unknown\";" >version.c
6012 test_suites=`ls $srcdir/test/test_*.c | egrep -v 'BASE|BACKUP|LOCAL|REMOTE' | xargs echo`
6014 ac_config_files="$ac_config_files Makefile"
6016 cat >confcache <<\_ACEOF
6017 # This file is a shell script that caches the results of configure
6018 # tests run on this system so they can be shared between configure
6019 # scripts and configure runs, see configure's option --config-cache.
6020 # It is not useful on other systems. If it contains results you don't
6021 # want to keep, you may remove or edit it.
6023 # config.status only pays attention to the cache file if you give it
6024 # the --recheck option to rerun configure.
6026 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6027 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6032 # The following way of writing the cache mishandles newlines in values,
6033 # but we know of no workaround that is simple, portable, and efficient.
6034 # So, we kill variables containing newlines.
6035 # Ultrix sh set writes to stderr and can't be redirected directly,
6036 # and sets the high bit in the cache file unless we assign to the vars.
6038 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6039 eval ac_val=\$$ac_var
6043 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6044 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6047 _ | IFS | as_nl) ;; #(
6048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6049 *) { eval $ac_var=; unset $ac_var;} ;;
6055 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6056 *${as_nl}ac_space=\ *)
6057 # `set' does not quote correctly, so add quotes: double-quote
6058 # substitution turns \\\\ into \\, and sed turns \\ into \.
6061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6064 # `set' quotes correctly as required by POSIX, so do not add quotes.
6065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6078 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6079 if test -w "$cache_file"; then
6080 if test "x$cache_file" != "x/dev/null"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6082 $as_echo "$as_me: updating cache $cache_file" >&6;}
6083 if test ! -f "$cache_file" || test -h "$cache_file"; then
6084 cat confcache >"$cache_file"
6086 case $cache_file in #(
6088 mv -f confcache "$cache_file"$$ &&
6089 mv -f "$cache_file"$$ "$cache_file" ;; #(
6091 mv -f confcache "$cache_file" ;;
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6097 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6102 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6103 # Let make expand exec_prefix.
6104 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6106 DEFS=-DHAVE_CONFIG_H
6111 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6112 # 1. Remove the extension, and $U if already installed.
6113 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6114 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6115 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6116 # will be set to the directory where LIBOBJS objects are built.
6117 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6118 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6122 LTLIBOBJS=$ac_ltlibobjs
6127 : "${CONFIG_STATUS=./config.status}"
6129 ac_clean_files_save=$ac_clean_files
6130 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6132 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6134 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6136 # Generated by $as_me.
6137 # Run this file to recreate the current configuration.
6138 # Compiler output produced by configure, useful for debugging
6139 # configure, is in config.log if it exists.
6145 SHELL=\${CONFIG_SHELL-$SHELL}
6148 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6149 ## -------------------- ##
6150 ## M4sh Initialization. ##
6151 ## -------------------- ##
6153 # Be more Bourne compatible
6154 DUALCASE=1; export DUALCASE # for MKS sh
6155 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6158 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6159 # is contrary to our usage. Disable this feature.
6160 alias -g '${1+"$@"}'='"$@"'
6161 setopt NO_GLOB_SUBST
6163 case `(set -o) 2>/dev/null` in #(
6175 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6176 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6177 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6179 # Prefer a ksh shell builtin over an external printf program on Solaris,
6180 # but without wasting forks for bash or zsh.
6181 if test -z "$BASH_VERSION$ZSH_VERSION" \
6182 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6183 as_echo='print -r --'
6184 as_echo_n='print -rn --'
6185 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6186 as_echo='printf %s\n'
6187 as_echo_n='printf %s'
6189 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6190 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6191 as_echo_n='/usr/ucb/echo -n'
6193 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6194 as_echo_n_body='eval
6198 expr "X$arg" : "X\\(.*\\)$as_nl";
6199 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6201 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6203 export as_echo_n_body
6204 as_echo_n='sh -c $as_echo_n_body as_echo'
6207 as_echo='sh -c $as_echo_body as_echo'
6210 # The user is always right.
6211 if test "${PATH_SEPARATOR+set}" != set; then
6213 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6214 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6221 # We need space, tab and new line, in precisely that order. Quoting is
6222 # there to prevent editors from complaining about space-tab.
6223 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6224 # splitting by setting IFS to empty value.)
6227 # Find who we are. Look in the path if we contain no directory separator.
6230 *[\\/]* ) as_myself=$0 ;;
6231 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 test -z "$as_dir" && as_dir=.
6236 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6242 # We did not find ourselves, most probably we were run as `sh COMMAND'
6243 # in which case we are not to be found in the path.
6244 if test "x$as_myself" = x; then
6247 if test ! -f "$as_myself"; then
6248 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6252 # Unset variables that we do not need and which cause bugs (e.g. in
6253 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6254 # suppresses any "Segmentation fault" message there. '((' could
6255 # trigger a bug in pdksh 5.2.14.
6256 for as_var in BASH_ENV ENV MAIL MAILPATH
6257 do eval test x\${$as_var+set} = xset \
6258 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6271 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6274 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6275 # ----------------------------------------
6276 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6277 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6278 # script with STATUS, using 1 if that was 0.
6281 as_status=$1; test $as_status -eq 0 && as_status=1
6283 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6284 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6286 $as_echo "$as_me: error: $2" >&2
6287 as_fn_exit $as_status
6291 # as_fn_set_status STATUS
6292 # -----------------------
6293 # Set $? to STATUS, without forking.
6297 } # as_fn_set_status
6301 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6311 # Portably unset VAR.
6314 { eval $1=; unset $1;}
6316 as_unset=as_fn_unset
6317 # as_fn_append VAR VALUE
6318 # ----------------------
6319 # Append the text in VALUE to the end of the definition contained in VAR. Take
6320 # advantage of any shell optimizations that allow amortized linear growth over
6321 # repeated appends, instead of the typical quadratic growth present in naive
6323 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6324 eval 'as_fn_append ()
6335 # as_fn_arith ARG...
6336 # ------------------
6337 # Perform arithmetic evaluation on the ARGs, and store the result in the
6338 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6339 # must be portable across $(()) and expr.
6340 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6341 eval 'as_fn_arith ()
6348 as_val=`expr "$@" || test $? -eq 1`
6353 if expr a : '\(a\)' >/dev/null 2>&1 &&
6354 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6360 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6361 as_basename=basename
6366 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6372 as_me=`$as_basename -- "$0" ||
6373 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6374 X"$0" : 'X\(//\)$' \| \
6375 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6377 sed '/^.*\/\([^/][^/]*\)\/*$/{
6391 # Avoid depending upon Character Ranges.
6392 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6393 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6394 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6395 as_cr_digits='0123456789'
6396 as_cr_alnum=$as_cr_Letters$as_cr_digits
6398 ECHO_C= ECHO_N= ECHO_T=
6399 case `echo -n x` in #(((((
6401 case `echo 'xy\c'` in
6402 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6404 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6411 rm -f conf$$ conf$$.exe conf$$.file
6412 if test -d conf$$.dir; then
6413 rm -f conf$$.dir/conf$$.file
6416 mkdir conf$$.dir 2>/dev/null
6418 if (echo >conf$$.file) 2>/dev/null; then
6419 if ln -s conf$$.file conf$$ 2>/dev/null; then
6421 # ... but there are two gotchas:
6422 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6423 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6424 # In both cases, we have to default to `cp -pR'.
6425 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6427 elif ln conf$$.file conf$$ 2>/dev/null; then
6435 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6436 rmdir conf$$.dir 2>/dev/null
6441 # Create "$as_dir" as a directory, including parents if necessary.
6446 -*) as_dir=./$as_dir;;
6448 test -d "$as_dir" || eval $as_mkdir_p || {
6452 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6453 *) as_qdir=$as_dir;;
6455 as_dirs="'$as_qdir' $as_dirs"
6456 as_dir=`$as_dirname -- "$as_dir" ||
6457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6458 X"$as_dir" : 'X\(//\)[^/]' \| \
6459 X"$as_dir" : 'X\(//\)$' \| \
6460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6461 $as_echo X"$as_dir" |
6462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6479 test -d "$as_dir" && break
6481 test -z "$as_dirs" || eval "mkdir $as_dirs"
6482 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6486 if mkdir -p . 2>/dev/null; then
6487 as_mkdir_p='mkdir -p "$as_dir"'
6489 test -d ./-p && rmdir ./-p
6494 # as_fn_executable_p FILE
6495 # -----------------------
6496 # Test if FILE is an executable regular file.
6497 as_fn_executable_p ()
6499 test -f "$1" && test -x "$1"
6500 } # as_fn_executable_p
6502 as_executable_p=as_fn_executable_p
6504 # Sed expression to map a string onto a valid CPP name.
6505 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6507 # Sed expression to map a string onto a valid variable name.
6508 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6512 ## ----------------------------------- ##
6513 ## Main body of $CONFIG_STATUS script. ##
6514 ## ----------------------------------- ##
6516 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6519 # Save the log message, to keep $0 and so on meaningful, and to
6520 # report actual input values of CONFIG_FILES etc. instead of their
6521 # values after options handling.
6523 This file was extended by $as_me, which was
6524 generated by GNU Autoconf 2.69. Invocation command line was
6526 CONFIG_FILES = $CONFIG_FILES
6527 CONFIG_HEADERS = $CONFIG_HEADERS
6528 CONFIG_LINKS = $CONFIG_LINKS
6529 CONFIG_COMMANDS = $CONFIG_COMMANDS
6532 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6537 case $ac_config_files in *"
6538 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6541 case $ac_config_headers in *"
6542 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6547 # Files that config.status was made for.
6548 config_files="$ac_config_files"
6549 config_headers="$ac_config_headers"
6553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6555 \`$as_me' instantiates files and other configuration actions
6556 from templates according to the current configuration. Unless the files
6557 and actions are specified as TAGs, all are instantiated by default.
6559 Usage: $0 [OPTION]... [TAG]...
6561 -h, --help print this help, then exit
6562 -V, --version print version number and configuration settings, then exit
6563 --config print configuration, then exit
6564 -q, --quiet, --silent
6565 do not print progress messages
6566 -d, --debug don't remove temporary files
6567 --recheck update $as_me by reconfiguring in the same conditions
6568 --file=FILE[:TEMPLATE]
6569 instantiate the configuration file FILE
6570 --header=FILE[:TEMPLATE]
6571 instantiate the configuration header FILE
6573 Configuration files:
6576 Configuration headers:
6579 Report bugs to the package provider."
6582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6583 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6586 configured by $0, generated by GNU Autoconf 2.69,
6587 with options \\"\$ac_cs_config\\"
6589 Copyright (C) 2012 Free Software Foundation, Inc.
6590 This config.status script is free software; the Free Software Foundation
6591 gives unlimited permission to copy, distribute and modify it."
6596 test -n "\$AWK" || AWK=awk
6599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6600 # The default lists apply if the user does not specify any file.
6606 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6607 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6623 # Handling of the options.
6624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6627 $as_echo "$ac_cs_version"; exit ;;
6628 --config | --confi | --conf | --con | --co | --c )
6629 $as_echo "$ac_cs_config"; exit ;;
6630 --debug | --debu | --deb | --de | --d | -d )
6632 --file | --fil | --fi | --f )
6635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6636 '') as_fn_error $? "missing file argument" ;;
6638 as_fn_append CONFIG_FILES " '$ac_optarg'"
6639 ac_need_defaults=false;;
6640 --header | --heade | --head | --hea )
6643 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6645 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6646 ac_need_defaults=false;;
6648 # Conflict between --help and --header
6649 as_fn_error $? "ambiguous option: \`$1'
6650 Try \`$0 --help' for more information.";;
6651 --help | --hel | -h )
6652 $as_echo "$ac_cs_usage"; exit ;;
6653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6654 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6658 -*) as_fn_error $? "unrecognized option: \`$1'
6659 Try \`$0 --help' for more information." ;;
6661 *) as_fn_append ac_config_targets " $1"
6662 ac_need_defaults=false ;;
6668 ac_configure_extra_args=
6670 if $ac_cs_silent; then
6672 ac_configure_extra_args="$ac_configure_extra_args --silent"
6676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6677 if \$ac_cs_recheck; then
6678 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6680 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6681 CONFIG_SHELL='$SHELL'
6687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6691 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6692 ## Running $as_me. ##
6698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6703 # Handling of arguments.
6704 for ac_config_target in $ac_config_targets
6706 case $ac_config_target in
6707 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6708 "dev.mk") CONFIG_FILES="$CONFIG_FILES dev.mk" ;;
6709 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6711 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6716 # If the user did not use the arguments to specify the items to instantiate,
6717 # then the envvar interface is used. Set only those that are not.
6718 # We use the long form for the default assignment because of an extremely
6719 # bizarre bug on SunOS 4.1.3.
6720 if $ac_need_defaults; then
6721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6725 # Have a temporary directory for convenience. Make it in the build tree
6726 # simply because there is no reason against having it here, and in addition,
6727 # creating and moving files from /tmp can sometimes cause problems.
6728 # Hook for its removal unless debugging.
6729 # Note that there is a small window in which the directory will not be cleaned:
6730 # after its creation but before its name has been assigned to `$tmp'.
6734 trap 'exit_status=$?
6736 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6738 trap 'as_fn_exit 1' 1 2 13 15
6740 # Create a (secure) tmp directory for tmp files.
6743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6747 tmp=./conf$$-$RANDOM
6748 (umask 077 && mkdir "$tmp")
6749 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6752 # Set up the scripts for CONFIG_FILES section.
6753 # No need to generate them if there are no CONFIG_FILES.
6754 # This happens for instance with `./config.status config.h'.
6755 if test -n "$CONFIG_FILES"; then
6758 ac_cr=`echo X | tr X '\015'`
6759 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6760 # But we know of no other shell where ac_cr would be empty at this
6761 # point, so we can use a bashism as a fallback.
6762 if test "x$ac_cr" = x; then
6763 eval ac_cr=\$\'\\r\'
6765 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6766 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6772 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6777 echo "cat >conf$$subs.awk <<_ACEOF" &&
6778 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6781 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6782 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6784 for ac_last_try in false false false false false :; do
6785 . ./conf$$subs.sh ||
6786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6788 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6789 if test $ac_delim_n = $ac_delim_num; then
6791 elif $ac_last_try; then
6792 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6800 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6804 s/^/S["/; s/!.*/"]=/
6814 s/\(.\{148\}\)..*/\1/
6816 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6821 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6828 s/\(.\{148\}\)..*/\1/
6830 s/["\\]/\\&/g; s/^/"/; s/$/"/
6834 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6839 ' <conf$$subs.awk | sed '
6844 ' >>$CONFIG_STATUS || ac_write_fail=1
6845 rm -f conf$$subs.awk
6846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6848 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6849 for (key in S) S_is_set[key] = 1
6855 nfields = split(line, field, "@")
6857 len = length(field[1])
6858 for (i = 2; i < nfields; i++) {
6860 keylen = length(key)
6861 if (S_is_set[key]) {
6863 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6864 len += length(value) + length(field[++i])
6875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6876 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6877 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6880 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6881 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6884 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6885 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6886 # trailing colons and then remove the whole line if VPATH becomes empty
6887 # (actually we leave an empty line to preserve line numbers).
6888 if test "x$srcdir" = x.; then
6889 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6908 fi # test -n "$CONFIG_FILES"
6910 # Set up the scripts for CONFIG_HEADERS section.
6911 # No need to generate them if there are no CONFIG_HEADERS.
6912 # This happens for instance with `./config.status Makefile'.
6913 if test -n "$CONFIG_HEADERS"; then
6914 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6918 # Transform confdefs.h into an awk script `defines.awk', embedded as
6919 # here-document in config.status, that substitutes the proper values into
6920 # config.h.in to produce config.h.
6922 # Create a delimiter string that does not exist in confdefs.h, to ease
6923 # handling of long lines.
6925 for ac_last_try in false false :; do
6926 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6927 if test -z "$ac_tt"; then
6929 elif $ac_last_try; then
6930 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6932 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6936 # For the awk script, D is an array of macro values keyed by name,
6937 # likewise P contains macro parameters if any. Preserve backslash
6938 # newline sequences.
6940 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6942 s/.\{148\}/&'"$ac_delim"'/g
6945 s/^[ ]*#[ ]*define[ ][ ]*/ /
6952 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6954 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6959 D["\1"]=" \3\\\\\\n"\\/p
6961 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6966 s/.\{148\}/&'"$ac_delim"'/g
6971 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6974 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6976 ' <confdefs.h | sed '
6977 s/'"$ac_delim"'/"\\\
6978 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6981 for (key in D) D_is_set[key] = 1
6984 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6986 split(line, arg, " ")
6987 if (arg[1] == "#") {
6991 defundef = substr(arg[1], 2)
6994 split(mac1, mac2, "(") #)
6996 prefix = substr(line, 1, index(line, defundef) - 1)
6997 if (D_is_set[macro]) {
6998 # Preserve the white space surrounding the "#".
6999 print prefix "define", macro P[macro] D[macro]
7002 # Replace #undef with comments. This is necessary, for example,
7003 # in the case of _POSIX_SOURCE, which is predefined and required
7004 # on some systems where configure will not decide to define it.
7005 if (defundef == "undef") {
7006 print "/*", prefix defundef, macro, "*/"
7014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7015 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7016 fi # test -n "$CONFIG_HEADERS"
7019 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7024 :[FHLC]) ac_mode=$ac_tag; continue;;
7026 case $ac_mode$ac_tag in
7028 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7029 :[FH]-) ac_tag=-:-;;
7030 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7047 -) ac_f="$ac_tmp/stdin";;
7048 *) # Look for the file first in the build tree, then in the source tree
7049 # (if the path is not absolute). The absolute path cannot be DOS-style,
7050 # because $ac_f cannot contain `:'.
7054 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7056 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7058 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7059 as_fn_append ac_file_inputs " '$ac_f'"
7062 # Let's still pretend it is `configure' which instantiates (i.e., don't
7063 # use $as_me), people would be surprised to read:
7064 # /* config.h. Generated by config.status. */
7065 configure_input='Generated from '`
7066 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7068 if test x"$ac_file" != x-; then
7069 configure_input="$ac_file. $configure_input"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7071 $as_echo "$as_me: creating $ac_file" >&6;}
7073 # Neutralize special characters interpreted by sed in replacement strings.
7074 case $configure_input in #(
7075 *\&* | *\|* | *\\* )
7076 ac_sed_conf_input=`$as_echo "$configure_input" |
7077 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7078 *) ac_sed_conf_input=$configure_input;;
7082 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7083 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7088 ac_dir=`$as_dirname -- "$ac_file" ||
7089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7090 X"$ac_file" : 'X\(//\)[^/]' \| \
7091 X"$ac_file" : 'X\(//\)$' \| \
7092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7093 $as_echo X"$ac_file" |
7094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7111 as_dir="$ac_dir"; as_fn_mkdir_p
7115 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7117 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7118 # A ".." for each directory in $ac_dir_suffix.
7119 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7120 case $ac_top_builddir_sub in
7121 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7122 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7125 ac_abs_top_builddir=$ac_pwd
7126 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7127 # for backward compatibility:
7128 ac_top_builddir=$ac_top_build_prefix
7131 .) # We are building in place.
7133 ac_top_srcdir=$ac_top_builddir_sub
7134 ac_abs_top_srcdir=$ac_pwd ;;
7135 [\\/]* | ?:[\\/]* ) # Absolute name.
7136 ac_srcdir=$srcdir$ac_dir_suffix;
7137 ac_top_srcdir=$srcdir
7138 ac_abs_top_srcdir=$srcdir ;;
7140 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7141 ac_top_srcdir=$ac_top_build_prefix$srcdir
7142 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7144 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7154 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7155 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7160 # If the template does not know about datarootdir, expand it.
7161 # FIXME: This hack should be removed a few years after 2.60.
7162 ac_datarootdir_hack=; ac_datarootdir_seen=
7173 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7174 *datarootdir*) ac_datarootdir_seen=yes;;
7175 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7177 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7180 ac_datarootdir_hack='
7181 s&@datadir@&$datadir&g
7182 s&@docdir@&$docdir&g
7183 s&@infodir@&$infodir&g
7184 s&@localedir@&$localedir&g
7185 s&@mandir@&$mandir&g
7186 s&\\\${datarootdir}&$datarootdir&g' ;;
7190 # Neutralize VPATH when `$srcdir' = `.'.
7191 # Shell code in configure.ac might set extrasub.
7192 # FIXME: do we really want to maintain this feature?
7193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7194 ac_sed_extra="$ac_vpsub
7197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7200 s|@configure_input@|$ac_sed_conf_input|;t t
7201 s&@top_builddir@&$ac_top_builddir_sub&;t t
7202 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7203 s&@srcdir@&$ac_srcdir&;t t
7204 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7205 s&@top_srcdir@&$ac_top_srcdir&;t t
7206 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7207 s&@builddir@&$ac_builddir&;t t
7208 s&@abs_builddir@&$ac_abs_builddir&;t t
7209 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7210 s&@INSTALL@&$ac_INSTALL&;t t
7211 $ac_datarootdir_hack
7213 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7214 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7216 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7217 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7218 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7219 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7221 which seems to be undefined. Please make sure it is defined" >&5
7222 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7223 which seems to be undefined. Please make sure it is defined" >&2;}
7225 rm -f "$ac_tmp/stdin"
7227 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7228 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7236 if test x"$ac_file" != x-; then
7238 $as_echo "/* $configure_input */" \
7239 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7240 } >"$ac_tmp/config.h" \
7241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7242 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7244 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7247 mv "$ac_tmp/config.h" "$ac_file" \
7248 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7251 $as_echo "/* $configure_input */" \
7252 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7253 || as_fn_error $? "could not create -" "$LINENO" 5
7265 ac_clean_files=$ac_clean_files_save
7267 test $ac_write_fail = 0 ||
7268 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7271 # configure is writing to config.log, and then calls config.status.
7272 # config.status does its own redirection, appending to config.log.
7273 # Unfortunately, on DOS this fails, as config.log is still kept open
7274 # by configure, so config.status won't be able to write to it; its
7275 # output is simply discarded. So we exec the FD to /dev/null,
7276 # effectively closing config.log, so it can be properly (re)opened and
7277 # appended to by config.status. When coming back to configure, we
7278 # need to make the FD available again.
7279 if test "$no_create" != yes; then
7281 ac_config_status_args=
7282 test "$silent" = yes &&
7283 ac_config_status_args="$ac_config_status_args --quiet"
7285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7288 # would make configure fail if this is the last instruction.
7289 $ac_cs_success || as_fn_exit 1
7291 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7293 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7297 cat <<EOF >config.h.tmp
7298 #ifndef CCACHE_CONFIG_H
7299 #define CCACHE_CONFIG_H
7301 cat config.h >>config.h.tmp
7302 echo '#endif' >>config.h.tmp
7303 mv config.h.tmp config.h
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: now build ccache by running make" >&5
7309 $as_echo "$as_me: now build ccache by running make" >&6;}