2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for masstree-beta 0.1.
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.
578 PACKAGE_NAME='masstree-beta'
579 PACKAGE_TARNAME='masstree-beta'
580 PACKAGE_VERSION='0.1'
581 PACKAGE_STRING='masstree-beta 0.1'
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>
621 ac_subst_vars='LTLIBOBJS
666 program_transform_name
679 enable_option_checking
690 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 runstatedir='${localstatedir}/run'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
863 -help | --help | --hel | --he | -h)
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923 # Obsolete; use --without-fp.
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 -psdir | --psdir | --psdi | --psd | --ps)
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
993 -runstatedir | --runstatedir | --runstatedi | --runstated \
994 | --runstate | --runstat | --runsta | --runst | --runs \
995 | --run | --ru | --r)
996 ac_prev=runstatedir ;;
997 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
998 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
999 | --run=* | --ru=* | --r=*)
1000 runstatedir=$ac_optarg ;;
1002 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 sbindir=$ac_optarg ;;
1008 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1009 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1010 | --sharedst | --shareds | --shared | --share | --shar \
1012 ac_prev=sharedstatedir ;;
1013 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1014 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1015 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 sharedstatedir=$ac_optarg ;;
1019 -site | --site | --sit)
1021 -site=* | --site=* | --sit=*)
1024 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1027 srcdir=$ac_optarg ;;
1029 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1030 | --syscon | --sysco | --sysc | --sys | --sy)
1031 ac_prev=sysconfdir ;;
1032 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1033 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1034 sysconfdir=$ac_optarg ;;
1036 -target | --target | --targe | --targ | --tar | --ta | --t)
1037 ac_prev=target_alias ;;
1038 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1039 target_alias=$ac_optarg ;;
1041 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044 -version | --version | --versio | --versi | --vers | -V)
1045 ac_init_version=: ;;
1048 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051 as_fn_error $? "invalid package name: $ac_useropt"
1052 ac_useropt_orig=$ac_useropt
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1059 ac_unrecognized_sep=', ';;
1061 eval with_$ac_useropt=\$ac_optarg ;;
1063 -without-* | --without-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid package name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1077 eval with_$ac_useropt=no ;;
1080 # Obsolete; use --with-x.
1083 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1084 | --x-incl | --x-inc | --x-in | --x-i)
1085 ac_prev=x_includes ;;
1086 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1087 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1088 x_includes=$ac_optarg ;;
1090 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1091 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1092 ac_prev=x_libraries ;;
1093 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1094 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1095 x_libraries=$ac_optarg ;;
1097 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1098 Try \`$0 --help' for more information"
1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 case $ac_envvar in #(
1105 '' | [0-9]* | *[!_$as_cr_alnum]* )
1106 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1108 eval $ac_envvar=\$ac_optarg
1109 export $ac_envvar ;;
1112 # FIXME: should be removed in autoconf 3.0.
1113 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1116 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1122 if test -n "$ac_prev"; then
1123 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1124 as_fn_error $? "missing argument to $ac_option"
1127 if test -n "$ac_unrecognized_opts"; then
1128 case $enable_option_checking in
1130 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1131 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1135 # Check all directory arguments for consistency.
1136 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1137 datadir sysconfdir sharedstatedir localstatedir includedir \
1138 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1139 libdir localedir mandir runstatedir
1141 eval ac_val=\$$ac_var
1142 # Remove trailing slashes.
1145 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1146 eval $ac_var=\$ac_val;;
1148 # Be sure to have absolute directory names.
1150 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1156 # There might be people who depend on the old broken behavior: `$host'
1157 # used to hold the argument of --host etc.
1158 # FIXME: To remove some day.
1161 target=$target_alias
1163 # FIXME: To remove some day.
1164 if test "x$host_alias" != x; then
1165 if test "x$build_alias" = x; then
1166 cross_compiling=maybe
1167 elif test "x$build_alias" != "x$host_alias"; then
1173 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1175 test "$silent" = yes && exec 6>/dev/null
1178 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1179 ac_ls_di=`ls -di .` &&
1180 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1181 as_fn_error $? "working directory cannot be determined"
1182 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183 as_fn_error $? "pwd does not report name of working directory"
1186 # Find the source files, if location was not specified.
1187 if test -z "$srcdir"; then
1188 ac_srcdir_defaulted=yes
1189 # Try the directory containing this script, then the parent directory.
1190 ac_confdir=`$as_dirname -- "$as_myself" ||
1191 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1192 X"$as_myself" : 'X\(//\)[^/]' \| \
1193 X"$as_myself" : 'X\(//\)$' \| \
1194 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1195 $as_echo X"$as_myself" |
1196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1218 ac_srcdir_defaulted=no
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1221 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1222 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1224 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1226 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1228 # When building in place, set srcdir=.
1229 if test "$ac_abs_confdir" = "$ac_pwd"; then
1232 # Remove unnecessary trailing slashes from srcdir.
1233 # Double slashes in file names in object file debugging info
1234 # mess up M-x gdb in Emacs.
1236 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1238 for ac_var in $ac_precious_vars; do
1239 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_env_${ac_var}_value=\$${ac_var}
1241 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1242 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1246 # Report the --help message.
1248 if test "$ac_init_help" = "long"; then
1249 # Omit some internal or obsolete options to make the list less imposing.
1250 # This message is too long to be a string in the A/UX 3.1 sh.
1252 \`configure' configures masstree-beta 0.1 to adapt to many kinds of systems.
1254 Usage: $0 [OPTION]... [VAR=VALUE]...
1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1257 VAR=VALUE. See below for descriptions of some of the useful variables.
1259 Defaults for the options are specified in brackets.
1262 -h, --help display this help and exit
1263 --help=short display options specific to this package
1264 --help=recursive display the short help of all the included packages
1265 -V, --version display version information and exit
1266 -q, --quiet, --silent do not print \`checking ...' messages
1267 --cache-file=FILE cache test results in FILE [disabled]
1268 -C, --config-cache alias for \`--cache-file=config.cache'
1269 -n, --no-create do not create output files
1270 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1272 Installation directories:
1273 --prefix=PREFIX install architecture-independent files in PREFIX
1274 [$ac_default_prefix]
1275 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1278 By default, \`make install' will install all the files in
1279 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1280 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1281 for instance \`--prefix=\$HOME'.
1283 For better control, use the options below.
1285 Fine tuning of the installation directories:
1286 --bindir=DIR user executables [EPREFIX/bin]
1287 --sbindir=DIR system admin executables [EPREFIX/sbin]
1288 --libexecdir=DIR program executables [EPREFIX/libexec]
1289 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1290 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1291 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1292 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1293 --libdir=DIR object code libraries [EPREFIX/lib]
1294 --includedir=DIR C header files [PREFIX/include]
1295 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1296 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1297 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1298 --infodir=DIR info documentation [DATAROOTDIR/info]
1299 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1300 --mandir=DIR man documentation [DATAROOTDIR/man]
1301 --docdir=DIR documentation root [DATAROOTDIR/doc/masstree-beta]
1302 --htmldir=DIR html documentation [DOCDIR]
1303 --dvidir=DIR dvi documentation [DOCDIR]
1304 --pdfdir=DIR pdf documentation [DOCDIR]
1305 --psdir=DIR ps documentation [DOCDIR]
1312 if test -n "$ac_init_help"; then
1313 case $ac_init_help in
1314 short | recursive ) echo "Configuration of masstree-beta 0.1:";;
1319 --disable-option-checking ignore unrecognized --enable/--with options
1320 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1321 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1322 --enable-row-type=ARG row type: bag array array_ver str, default bag
1323 --enable-max-key-len=ARG
1324 maximum length of a key in bytes, default 255
1325 --disable-superpage disable superpage support
1326 --enable-memdebug enable memory debugging
1328 --disable-assertions disable debugging assertions
1329 --disable-preconditions disable precondition assertions
1330 --disable-invariants disable invariant assertions
1333 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1334 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1335 --with-malloc=TYPE memory allocator
1336 (malloc|jemalloc|tcmalloc|hoard|flow)
1338 Some influential environment variables:
1339 CC C compiler command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1346 CXX C++ compiler command
1347 CXXFLAGS C++ compiler flags
1348 CXXCPP C++ preprocessor
1350 Use these variables to override the choices made by `configure' or to help
1351 it to find libraries and programs with nonstandard names/locations.
1353 Report bugs to the package provider.
1358 if test "$ac_init_help" = "recursive"; then
1359 # If there are subdirs, report their specific --help.
1360 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1361 test -d "$ac_dir" ||
1362 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1367 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1370 # A ".." for each directory in $ac_dir_suffix.
1371 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1372 case $ac_top_builddir_sub in
1373 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1377 ac_abs_top_builddir=$ac_pwd
1378 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1379 # for backward compatibility:
1380 ac_top_builddir=$ac_top_build_prefix
1383 .) # We are building in place.
1385 ac_top_srcdir=$ac_top_builddir_sub
1386 ac_abs_top_srcdir=$ac_pwd ;;
1387 [\\/]* | ?:[\\/]* ) # Absolute name.
1388 ac_srcdir=$srcdir$ac_dir_suffix;
1389 ac_top_srcdir=$srcdir
1390 ac_abs_top_srcdir=$srcdir ;;
1392 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1393 ac_top_srcdir=$ac_top_build_prefix$srcdir
1394 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1396 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1398 cd "$ac_dir" || { ac_status=$?; continue; }
1399 # Check for guested configure.
1400 if test -f "$ac_srcdir/configure.gnu"; then
1402 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1403 elif test -f "$ac_srcdir/configure"; then
1405 $SHELL "$ac_srcdir/configure" --help=recursive
1407 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1409 cd "$ac_pwd" || { ac_status=$?; break; }
1413 test -n "$ac_init_help" && exit $ac_status
1414 if $ac_init_version; then
1416 masstree-beta configure 0.1
1417 generated by GNU Autoconf 2.69
1419 Copyright (C) 2012 Free Software Foundation, Inc.
1420 This configure script is free software; the Free Software Foundation
1421 gives unlimited permission to copy, distribute and modify it.
1426 ## ------------------------ ##
1427 ## Autoconf initialization. ##
1428 ## ------------------------ ##
1430 # ac_fn_c_try_compile LINENO
1431 # --------------------------
1432 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1433 ac_fn_c_try_compile ()
1435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1436 rm -f conftest.$ac_objext
1437 if { { ac_try="$ac_compile"
1439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1440 *) ac_try_echo=$ac_try;;
1442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1443 $as_echo "$ac_try_echo"; } >&5
1444 (eval "$ac_compile") 2>conftest.err
1446 if test -s conftest.err; then
1447 grep -v '^ *+' conftest.err >conftest.er1
1448 cat conftest.er1 >&5
1449 mv -f conftest.er1 conftest.err
1451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1452 test $ac_status = 0; } && {
1453 test -z "$ac_c_werror_flag" ||
1454 test ! -s conftest.err
1455 } && test -s conftest.$ac_objext; then :
1458 $as_echo "$as_me: failed program was:" >&5
1459 sed 's/^/| /' conftest.$ac_ext >&5
1463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1464 as_fn_set_status $ac_retval
1466 } # ac_fn_c_try_compile
1468 # ac_fn_cxx_try_compile LINENO
1469 # ----------------------------
1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1471 ac_fn_cxx_try_compile ()
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 rm -f conftest.$ac_objext
1475 if { { ac_try="$ac_compile"
1477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_compile") 2>conftest.err
1484 if test -s conftest.err; then
1485 grep -v '^ *+' conftest.err >conftest.er1
1486 cat conftest.er1 >&5
1487 mv -f conftest.er1 conftest.err
1489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1490 test $ac_status = 0; } && {
1491 test -z "$ac_cxx_werror_flag" ||
1492 test ! -s conftest.err
1493 } && test -s conftest.$ac_objext; then :
1496 $as_echo "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.$ac_ext >&5
1501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1502 as_fn_set_status $ac_retval
1504 } # ac_fn_cxx_try_compile
1506 # ac_fn_cxx_try_run LINENO
1507 # ------------------------
1508 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1509 # that executables *can* be run.
1510 ac_fn_cxx_try_run ()
1512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513 if { { ac_try="$ac_link"
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_link") 2>&5
1522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1524 { { case "(($ac_try" in
1525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_try") 2>&5
1532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533 test $ac_status = 0; }; }; then :
1536 $as_echo "$as_me: program exited with status $ac_status" >&5
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1540 ac_retval=$ac_status
1542 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_cxx_try_run
1548 # ac_fn_cxx_try_cpp LINENO
1549 # ------------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1551 ac_fn_cxx_try_cpp ()
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i && {
1570 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1583 } # ac_fn_cxx_try_cpp
1585 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1586 # ---------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_cxx_check_header_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1602 if ac_fn_cxx_try_compile "$LINENO"; then :
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 } # ac_fn_cxx_check_header_compile
1616 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1617 # ---------------------------------------------------------
1618 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619 # the include files in INCLUDES and setting the cache variable VAR
1621 ac_fn_cxx_check_header_mongrel ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if eval \${$3+:} false; then :
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if eval \${$3+:} false; then :
1628 $as_echo_n "(cached) " >&6
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1634 # Is the header compilable?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636 $as_echo_n "checking $2 usability... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1642 if ac_fn_cxx_try_compile "$LINENO"; then :
1643 ac_header_compiler=yes
1645 ac_header_compiler=no
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649 $as_echo "$ac_header_compiler" >&6; }
1651 # Is the header present?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653 $as_echo_n "checking $2 presence... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1658 if ac_fn_cxx_try_cpp "$LINENO"; then :
1659 ac_header_preproc=yes
1661 ac_header_preproc=no
1663 rm -f conftest.err conftest.i conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665 $as_echo "$ac_header_preproc" >&6; }
1667 # So? What about this header?
1668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1679 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1683 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if eval \${$3+:} false; then :
1691 $as_echo_n "(cached) " >&6
1693 eval "$3=\$ac_header_compiler"
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1701 } # ac_fn_cxx_check_header_mongrel
1703 # ac_fn_cxx_try_link LINENO
1704 # -------------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_cxx_try_link ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext conftest$ac_exeext
1710 if { { ac_try="$ac_link"
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>conftest.err
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_cxx_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest$ac_exeext && {
1729 test "$cross_compiling" = yes ||
1730 test -x conftest$ac_exeext
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1739 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1740 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1741 # interfere with the next link command; also delete a directory that is
1742 # left behind by Apple's compiler. We do this before executing the actions.
1743 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1747 } # ac_fn_cxx_try_link
1749 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1750 # ---------------------------------------------
1751 # Tests whether TYPE exists after having included INCLUDES, setting cache
1752 # variable VAR accordingly.
1753 ac_fn_cxx_check_type ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1757 $as_echo_n "checking for $2... " >&6; }
1758 if eval \${$3+:} false; then :
1759 $as_echo_n "(cached) " >&6
1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763 /* end confdefs.h. */
1774 if ac_fn_cxx_try_compile "$LINENO"; then :
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1787 if ac_fn_cxx_try_compile "$LINENO"; then :
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 } # ac_fn_cxx_check_type
1803 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
1804 # ----------------------------------------------
1805 # Tries to find the compile-time value of EXPR in a program that includes
1806 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1808 ac_fn_cxx_compute_int ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if test "$cross_compiling" = yes; then
1812 # Depending upon the size, compute the lo and hi bounds.
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1819 static int test_array [1 - 2 * !(($2) >= 0)];
1821 return test_array [0];
1827 if ac_fn_cxx_try_compile "$LINENO"; then :
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1836 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1838 return test_array [0];
1844 if ac_fn_cxx_try_compile "$LINENO"; then :
1845 ac_hi=$ac_mid; break
1847 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1848 if test $ac_lo -le $ac_mid; then
1852 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h. */
1863 static int test_array [1 - 2 * !(($2) < 0)];
1865 return test_array [0];
1871 if ac_fn_cxx_try_compile "$LINENO"; then :
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1880 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1882 return test_array [0];
1888 if ac_fn_cxx_try_compile "$LINENO"; then :
1889 ac_lo=$ac_mid; break
1891 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1892 if test $ac_mid -le $ac_hi; then
1896 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 # Binary search between lo and hi bounds.
1907 while test "x$ac_lo" != "x$ac_hi"; do
1908 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1915 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1917 return test_array [0];
1923 if ac_fn_cxx_try_compile "$LINENO"; then :
1926 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1938 static long int longval () { return $2; }
1939 static unsigned long int ulongval () { return $2; }
1946 FILE *f = fopen ("conftest.val", "w");
1951 long int i = longval ();
1954 fprintf (f, "%ld", i);
1958 unsigned long int i = ulongval ();
1961 fprintf (f, "%lu", i);
1963 /* Do not output a trailing newline, as this causes \r\n confusion
1964 on some platforms. */
1965 return ferror (f) || fclose (f) != 0;
1971 if ac_fn_cxx_try_run "$LINENO"; then :
1972 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1977 conftest.$ac_objext conftest.beam conftest.$ac_ext
1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982 as_fn_set_status $ac_retval
1984 } # ac_fn_cxx_compute_int
1986 # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
1987 # -----------------------------------------------
1988 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1990 ac_fn_cxx_check_decl ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 as_decl_name=`echo $2|sed 's/ *(.*//'`
1994 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1996 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1997 if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2006 #ifndef $as_decl_name
2008 (void) $as_decl_use;
2010 (void) $as_decl_name;
2018 if ac_fn_cxx_try_compile "$LINENO"; then :
2023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030 } # ac_fn_cxx_check_decl
2032 # ac_fn_cxx_check_func LINENO FUNC VAR
2033 # ------------------------------------
2034 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2035 ac_fn_cxx_check_func ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if eval \${$3+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2047 #define $2 innocuous_$2
2049 /* System header to define __stub macros and hopefully few prototypes,
2050 which can conflict with char $2 (); below.
2051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2052 <limits.h> exists even on freestanding compilers. */
2055 # include <limits.h>
2057 # include <assert.h>
2062 /* Override any GCC internal prototype to avoid an error.
2063 Use char because int might match the return type of a GCC
2064 builtin and then its argument prototype would still apply. */
2069 /* The GNU C library defines this for functions which it implements
2070 to always fail with ENOSYS. Some functions are actually named
2071 something starting with __ and the normal name is an alias. */
2072 #if defined __stub_$2 || defined __stub___$2
2084 if ac_fn_cxx_try_link "$LINENO"; then :
2089 rm -f core conftest.err conftest.$ac_objext \
2090 conftest$ac_exeext conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097 } # ac_fn_cxx_check_func
2098 cat >config.log <<_ACEOF
2099 This file contains any messages produced by compilers while
2100 running configure, to aid debugging if configure makes a mistake.
2102 It was created by masstree-beta $as_me 0.1, which was
2103 generated by GNU Autoconf 2.69. Invocation command line was
2115 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2116 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2117 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2118 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2119 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2121 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2122 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2124 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2125 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2126 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2127 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2128 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2129 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2130 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir=.
2139 $as_echo "PATH: $as_dir"
2155 # Keep a trace of the command line.
2156 # Strip out --no-create and --no-recursion so they do not pile up.
2157 # Strip out --silent because we don't want to record it for future runs.
2158 # Also quote any args containing shell meta-characters.
2159 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_must_keep_next=false
2169 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2171 | -silent | --silent | --silen | --sile | --sil)
2174 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2177 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2179 as_fn_append ac_configure_args1 " '$ac_arg'"
2180 if test $ac_must_keep_next = true; then
2181 ac_must_keep_next=false # Got value, back to normal.
2184 *=* | --config-cache | -C | -disable-* | --disable-* \
2185 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2186 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2187 | -with-* | --with-* | -without-* | --without-* | --x)
2188 case "$ac_configure_args0 " in
2189 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2192 -* ) ac_must_keep_next=true ;;
2195 as_fn_append ac_configure_args " '$ac_arg'"
2200 { ac_configure_args0=; unset ac_configure_args0;}
2201 { ac_configure_args1=; unset ac_configure_args1;}
2203 # When interrupted or exit'd, cleanup temporary files, and complete
2204 # config.log. We remove comments because anyway the quotes in there
2205 # would cause problems or look ugly.
2206 # WARNING: Use '\'' to represent an apostrophe within the trap.
2207 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2208 trap 'exit_status=$?
2209 # Save into config.log some information that might help in debugging.
2213 $as_echo "## ---------------- ##
2214 ## Cache variables. ##
2215 ## ---------------- ##"
2217 # The following way of writing the cache mishandles newlines in values,
2219 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2220 eval ac_val=\$$ac_var
2224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2228 _ | IFS | as_nl) ;; #(
2229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2230 *) { eval $ac_var=; unset $ac_var;} ;;
2235 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2236 *${as_nl}ac_space=\ *)
2238 "s/'\''/'\''\\\\'\'''\''/g;
2239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 $as_echo "## ----------------- ##
2250 ## Output variables. ##
2251 ## ----------------- ##"
2253 for ac_var in $ac_subst_vars
2255 eval ac_val=\$$ac_var
2257 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2259 $as_echo "$ac_var='\''$ac_val'\''"
2263 if test -n "$ac_subst_files"; then
2264 $as_echo "## ------------------- ##
2265 ## File substitutions. ##
2266 ## ------------------- ##"
2268 for ac_var in $ac_subst_files
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 $as_echo "$ac_var='\''$ac_val'\''"
2279 if test -s confdefs.h; then
2280 $as_echo "## ----------- ##
2287 test "$ac_signal" != 0 &&
2288 $as_echo "$as_me: caught signal $ac_signal"
2289 $as_echo "$as_me: exit $exit_status"
2291 rm -f core *.core core.conftest.* &&
2292 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2295 for ac_signal in 1 2 13 15; do
2296 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2300 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2301 rm -f -r conftest* confdefs.h
2303 $as_echo "/* confdefs.h */" > confdefs.h
2305 # Predefined preprocessor variables.
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_NAME "$PACKAGE_NAME"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_URL "$PACKAGE_URL"
2332 # Let the site file select an alternate cache file if it wants to.
2333 # Prefer an explicitly selected file to automatically selected ones.
2336 if test -n "$CONFIG_SITE"; then
2337 # We do not want a PATH search for config.site.
2338 case $CONFIG_SITE in #((
2339 -*) ac_site_file1=./$CONFIG_SITE;;
2340 */*) ac_site_file1=$CONFIG_SITE;;
2341 *) ac_site_file1=./$CONFIG_SITE;;
2343 elif test "x$prefix" != xNONE; then
2344 ac_site_file1=$prefix/share/config.site
2345 ac_site_file2=$prefix/etc/config.site
2347 ac_site_file1=$ac_default_prefix/share/config.site
2348 ac_site_file2=$ac_default_prefix/etc/config.site
2350 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2352 test "x$ac_site_file" = xNONE && continue
2353 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2355 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2358 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 as_fn_error $? "failed to load site script $ac_site_file
2361 See \`config.log' for more details" "$LINENO" 5; }
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special files
2367 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2368 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2370 $as_echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 *) . "./$cache_file";;
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2378 $as_echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 # differences in whitespace do not lead to failure.
2403 ac_old_val_w=`echo x $ac_old_val`
2404 ac_new_val_w=`echo x $ac_new_val`
2405 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 ac_cache_corrupted=:
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412 eval $ac_var=\$ac_old_val
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2415 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424 *) ac_arg=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 ac_config_headers="$ac_config_headers config.h"
2453 ac_config_files="$ac_config_files GNUmakefile"
2457 ac_user_cxx=${CXX+y}
2460 ac_cpp='$CPP $CPPFLAGS'
2461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464 if test -n "$ac_tool_prefix"; then
2465 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if ${ac_cv_prog_CC+:} false; then :
2470 $as_echo_n "(cached) " >&6
2472 if test -n "$CC"; then
2473 ac_cv_prog_CC="$CC" # Let the user override the test.
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 if test -n "$CC"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2495 $as_echo "$CC" >&6; }
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2498 $as_echo "no" >&6; }
2503 if test -z "$ac_cv_prog_CC"; then
2505 # Extract the first word of "gcc", so it can be a program name with args.
2506 set dummy gcc; ac_word=$2
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2508 $as_echo_n "checking for $ac_word... " >&6; }
2509 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2510 $as_echo_n "(cached) " >&6
2512 if test -n "$ac_ct_CC"; then
2513 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 test -z "$as_dir" && as_dir=.
2520 for ac_exec_ext in '' $ac_executable_extensions; do
2521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2522 ac_cv_prog_ac_ct_CC="gcc"
2523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2533 if test -n "$ac_ct_CC"; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2535 $as_echo "$ac_ct_CC" >&6; }
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538 $as_echo "no" >&6; }
2541 if test "x$ac_ct_CC" = x; then
2544 case $cross_compiling:$ac_tool_warned in
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548 ac_tool_warned=yes ;;
2556 if test -z "$CC"; then
2557 if test -n "$ac_tool_prefix"; then
2558 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2559 set dummy ${ac_tool_prefix}cc; ac_word=$2
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2561 $as_echo_n "checking for $ac_word... " >&6; }
2562 if ${ac_cv_prog_CC+:} false; then :
2563 $as_echo_n "(cached) " >&6
2565 if test -n "$CC"; then
2566 ac_cv_prog_CC="$CC" # Let the user override the test.
2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572 test -z "$as_dir" && as_dir=.
2573 for ac_exec_ext in '' $ac_executable_extensions; do
2574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2575 ac_cv_prog_CC="${ac_tool_prefix}cc"
2576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586 if test -n "$CC"; then
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2588 $as_echo "$CC" >&6; }
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2591 $as_echo "no" >&6; }
2597 if test -z "$CC"; then
2598 # Extract the first word of "cc", so it can be a program name with args.
2599 set dummy cc; ac_word=$2
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601 $as_echo_n "checking for $ac_word... " >&6; }
2602 if ${ac_cv_prog_CC+:} false; then :
2603 $as_echo_n "(cached) " >&6
2605 if test -n "$CC"; then
2606 ac_cv_prog_CC="$CC" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2617 ac_prog_rejected=yes
2621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 if test $ac_prog_rejected = yes; then
2629 # We found a bogon in the path, so make sure we never use it.
2630 set dummy $ac_cv_prog_CC
2632 if test $# != 0; then
2633 # We chose a different compiler from the bogus one.
2634 # However, it has the same basename, so the bogon will be chosen
2635 # first if we set CC to just the basename; use the full file name.
2637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2643 if test -n "$CC"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2645 $as_echo "$CC" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2653 if test -z "$CC"; then
2654 if test -n "$ac_tool_prefix"; then
2655 for ac_prog in cl.exe
2657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if ${ac_cv_prog_CC+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685 if test -n "$CC"; then
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2687 $as_echo "$CC" >&6; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2694 test -n "$CC" && break
2697 if test -z "$CC"; then
2699 for ac_prog in cl.exe
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$ac_ct_CC"; then
2709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir=.
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718 ac_cv_prog_ac_ct_CC="$ac_prog"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2729 if test -n "$ac_ct_CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2731 $as_echo "$ac_ct_CC" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2738 test -n "$ac_ct_CC" && break
2741 if test "x$ac_ct_CC" = x; then
2744 case $cross_compiling:$ac_tool_warned in
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2748 ac_tool_warned=yes ;;
2757 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2758 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2759 as_fn_error $? "no acceptable C compiler found in \$PATH
2760 See \`config.log' for more details" "$LINENO" 5; }
2762 # Provide some information about the compiler.
2763 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2766 for ac_option in --version -v -V -qversion; do
2767 { { ac_try="$ac_compiler $ac_option >&5"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773 $as_echo "$ac_try_echo"; } >&5
2774 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2776 if test -s conftest.err; then
2778 ... rest of stderr output deleted ...
2779 10q' conftest.err >conftest.er1
2780 cat conftest.er1 >&5
2782 rm -f conftest.er1 conftest.err
2783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2784 test $ac_status = 0; }
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2798 ac_clean_files_save=$ac_clean_files
2799 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2800 # Try to create an executable without -o first, disregard a.out.
2801 # It will help us diagnose broken compilers, and finding out an intuition
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2804 $as_echo_n "checking whether the C compiler works... " >&6; }
2805 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2807 # The possible output files:
2808 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2811 for ac_file in $ac_files
2814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2815 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2820 if { { ac_try="$ac_link_default"
2822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2826 $as_echo "$ac_try_echo"; } >&5
2827 (eval "$ac_link_default") 2>&5
2829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; }; then :
2831 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2832 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2833 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2834 # so that the user can short-circuit this test for compilers unknown to
2836 for ac_file in $ac_files ''
2838 test -f "$ac_file" || continue
2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2843 # We found the default executable, but exeext='' is most
2847 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2849 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2851 # We set ac_cv_exeext here because the later test for it is not
2852 # safe: cross compilers may not add the suffix if given an `-o'
2853 # argument, so we may need to know it at that point already.
2854 # Even if this section looks crufty: it has the advantage of
2861 test "$ac_cv_exeext" = no && ac_cv_exeext=
2866 if test -z "$ac_file"; then :
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 $as_echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 as_fn_error 77 "C compiler cannot create executables
2875 See \`config.log' for more details" "$LINENO" 5; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2881 $as_echo_n "checking for C compiler default output file name... " >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2883 $as_echo "$ac_file" >&6; }
2884 ac_exeext=$ac_cv_exeext
2886 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2887 ac_clean_files=$ac_clean_files_save
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2889 $as_echo_n "checking for suffix of executables... " >&6; }
2890 if { { ac_try="$ac_link"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_link") 2>&5
2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2900 test $ac_status = 0; }; then :
2901 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2902 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2903 # work properly (i.e., refer to `conftest.exe'), while it won't with
2905 for ac_file in conftest.exe conftest conftest.*; do
2906 test -f "$ac_file" || continue
2908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2909 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2918 See \`config.log' for more details" "$LINENO" 5; }
2920 rm -f conftest conftest$ac_cv_exeext
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2922 $as_echo "$ac_cv_exeext" >&6; }
2924 rm -f conftest.$ac_ext
2925 EXEEXT=$ac_cv_exeext
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2933 FILE *f = fopen ("conftest.out", "w");
2934 return ferror (f) || fclose (f) != 0;
2940 ac_clean_files="$ac_clean_files conftest.out"
2941 # Check that the compiler produces executables we can run. If not, either
2942 # the compiler is broken, or we cross compile.
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2944 $as_echo_n "checking whether we are cross compiling... " >&6; }
2945 if test "$cross_compiling" != yes; then
2946 { { ac_try="$ac_link"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_link") 2>&5
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; }
2957 if { ac_try='./conftest$ac_cv_exeext'
2958 { { case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_try") 2>&5
2966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; }; }; then
2970 if test "$cross_compiling" = maybe; then
2973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 as_fn_error $? "cannot run C compiled programs.
2976 If you meant to cross compile, use \`--host'.
2977 See \`config.log' for more details" "$LINENO" 5; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2982 $as_echo "$cross_compiling" >&6; }
2984 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2985 ac_clean_files=$ac_clean_files_save
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2987 $as_echo_n "checking for suffix of object files... " >&6; }
2988 if ${ac_cv_objext+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3002 rm -f conftest.o conftest.obj
3003 if { { ac_try="$ac_compile"
3005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_compile") 2>&5
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }; then :
3014 for ac_file in conftest.o conftest.obj conftest.*; do
3015 test -f "$ac_file" || continue;
3017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3018 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3023 $as_echo "$as_me: failed program was:" >&5
3024 sed 's/^/| /' conftest.$ac_ext >&5
3026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "cannot compute suffix of object files: cannot compile
3029 See \`config.log' for more details" "$LINENO" 5; }
3031 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3034 $as_echo "$ac_cv_objext" >&6; }
3035 OBJEXT=$ac_cv_objext
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3038 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3039 if ${ac_cv_c_compiler_gnu+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3056 if ac_fn_c_try_compile "$LINENO"; then :
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3066 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3067 if test $ac_compiler_gnu = yes; then
3072 ac_test_CFLAGS=${CFLAGS+set}
3073 ac_save_CFLAGS=$CFLAGS
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3075 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3076 if ${ac_cv_prog_cc_g+:} false; then :
3077 $as_echo_n "(cached) " >&6
3079 ac_save_c_werror_flag=$ac_c_werror_flag
3080 ac_c_werror_flag=yes
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3094 if ac_fn_c_try_compile "$LINENO"; then :
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3109 if ac_fn_c_try_compile "$LINENO"; then :
3112 ac_c_werror_flag=$ac_save_c_werror_flag
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3125 if ac_fn_c_try_compile "$LINENO"; then :
3128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 ac_c_werror_flag=$ac_save_c_werror_flag
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3136 $as_echo "$ac_cv_prog_cc_g" >&6; }
3137 if test "$ac_test_CFLAGS" = set; then
3138 CFLAGS=$ac_save_CFLAGS
3139 elif test $ac_cv_prog_cc_g = yes; then
3140 if test "$GCC" = yes; then
3146 if test "$GCC" = yes; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3153 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3154 if ${ac_cv_prog_cc_c89+:} false; then :
3155 $as_echo_n "(cached) " >&6
3157 ac_cv_prog_cc_c89=no
3159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3164 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3165 struct buf { int x; };
3166 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3167 static char *e (p, i)
3173 static char *f (char * (*g) (char **, int), char **p, ...)
3178 s = g (p, va_arg (v,int));
3183 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3184 function prototypes and stuff, but not '\xHH' hex character constants.
3185 These don't provoke an error unfortunately, instead are silently treated
3186 as 'x'. The following induces an error, until -std is added to get
3187 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3188 array size at least. It's necessary to write '\x00'==0 to get something
3189 that's true only with -std. */
3190 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3192 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3193 inside strings and character constants. */
3195 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3197 int test (int i, double x);
3198 struct s1 {int (*f) (int a);};
3199 struct s2 {int (*f) (double a);};
3200 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3206 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3211 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3212 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3214 CC="$ac_save_CC $ac_arg"
3215 if ac_fn_c_try_compile "$LINENO"; then :
3216 ac_cv_prog_cc_c89=$ac_arg
3218 rm -f core conftest.err conftest.$ac_objext
3219 test "x$ac_cv_prog_cc_c89" != "xno" && break
3221 rm -f conftest.$ac_ext
3226 case "x$ac_cv_prog_cc_c89" in
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3229 $as_echo "none needed" >&6; } ;;
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3232 $as_echo "unsupported" >&6; } ;;
3234 CC="$CC $ac_cv_prog_cc_c89"
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3236 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3238 if test "x$ac_cv_prog_cc_c89" != xno; then :
3243 ac_cpp='$CPP $CPPFLAGS'
3244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249 ac_cpp='$CXXCPP $CPPFLAGS'
3250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3253 if test -z "$CXX"; then
3254 if test -n "$CCC"; then
3257 if test -n "$ac_tool_prefix"; then
3258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if ${ac_cv_prog_CXX+:} false; then :
3265 $as_echo_n "(cached) " >&6
3267 if test -n "$CXX"; then
3268 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3277 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test -n "$CXX"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3290 $as_echo "$CXX" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3297 test -n "$CXX" && break
3300 if test -z "$CXX"; then
3302 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3304 # Extract the first word of "$ac_prog", so it can be a program name with args.
3305 set dummy $ac_prog; ac_word=$2
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3307 $as_echo_n "checking for $ac_word... " >&6; }
3308 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3309 $as_echo_n "(cached) " >&6
3311 if test -n "$ac_ct_CXX"; then
3312 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 test -z "$as_dir" && as_dir=.
3319 for ac_exec_ext in '' $ac_executable_extensions; do
3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3321 ac_cv_prog_ac_ct_CXX="$ac_prog"
3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3332 if test -n "$ac_ct_CXX"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3334 $as_echo "$ac_ct_CXX" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3337 $as_echo "no" >&6; }
3341 test -n "$ac_ct_CXX" && break
3344 if test "x$ac_ct_CXX" = x; then
3347 case $cross_compiling:$ac_tool_warned in
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3351 ac_tool_warned=yes ;;
3359 # Provide some information about the compiler.
3360 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3363 for ac_option in --version -v -V -qversion; do
3364 { { ac_try="$ac_compiler $ac_option >&5"
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3373 if test -s conftest.err; then
3375 ... rest of stderr output deleted ...
3376 10q' conftest.err >conftest.er1
3377 cat conftest.er1 >&5
3379 rm -f conftest.er1 conftest.err
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3385 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3386 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3387 $as_echo_n "(cached) " >&6
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3403 if ac_fn_cxx_try_compile "$LINENO"; then :
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3409 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3413 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3414 if test $ac_compiler_gnu = yes; then
3419 ac_test_CXXFLAGS=${CXXFLAGS+set}
3420 ac_save_CXXFLAGS=$CXXFLAGS
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3422 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3423 if ${ac_cv_prog_cxx_g+:} false; then :
3424 $as_echo_n "(cached) " >&6
3426 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3427 ac_cxx_werror_flag=yes
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3441 if ac_fn_cxx_try_compile "$LINENO"; then :
3442 ac_cv_prog_cxx_g=yes
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3456 if ac_fn_cxx_try_compile "$LINENO"; then :
3459 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h. */
3472 if ac_fn_cxx_try_compile "$LINENO"; then :
3473 ac_cv_prog_cxx_g=yes
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3483 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3484 if test "$ac_test_CXXFLAGS" = set; then
3485 CXXFLAGS=$ac_save_CXXFLAGS
3486 elif test $ac_cv_prog_cxx_g = yes; then
3487 if test "$GXX" = yes; then
3493 if test "$GXX" = yes; then
3500 ac_cpp='$CPP $CPPFLAGS'
3501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3506 ac_cpp='$CXXCPP $CPPFLAGS'
3507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3513 $as_echo "#define WORDS_BIGENDIAN_SET 1" >>confdefs.h
3517 ac_cpp='$CXXCPP $CPPFLAGS'
3518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3523 if test -z "$CXXCPP"; then
3524 if ${ac_cv_prog_CXXCPP+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 # Double quotes because CXXCPP needs to be expanded
3528 for CXXCPP in "$CXX -E" "/lib/cpp"
3531 for ac_cxx_preproc_warn_flag in '' yes
3533 # Use a header file that comes with gcc, so configuring glibc
3534 # with a fresh cross-compiler works.
3535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3536 # <limits.h> exists even on freestanding compilers.
3537 # On the NeXT, cc -E runs the code through the compiler's parser,
3538 # not just through cpp. "Syntax error" is here to catch this case.
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3542 # include <limits.h>
3544 # include <assert.h>
3548 if ac_fn_cxx_try_cpp "$LINENO"; then :
3551 # Broken: fails on valid input.
3554 rm -f conftest.err conftest.i conftest.$ac_ext
3556 # OK, works on sane cases. Now check whether nonexistent headers
3557 # can be detected and how.
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3560 #include <ac_nonexistent.h>
3562 if ac_fn_cxx_try_cpp "$LINENO"; then :
3563 # Broken: success on invalid input.
3566 # Passes both tests.
3570 rm -f conftest.err conftest.i conftest.$ac_ext
3573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3574 rm -f conftest.i conftest.err conftest.$ac_ext
3575 if $ac_preproc_ok; then :
3580 ac_cv_prog_CXXCPP=$CXXCPP
3583 CXXCPP=$ac_cv_prog_CXXCPP
3585 ac_cv_prog_CXXCPP=$CXXCPP
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3588 $as_echo "$CXXCPP" >&6; }
3590 for ac_cxx_preproc_warn_flag in '' yes
3592 # Use a header file that comes with gcc, so configuring glibc
3593 # with a fresh cross-compiler works.
3594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3595 # <limits.h> exists even on freestanding compilers.
3596 # On the NeXT, cc -E runs the code through the compiler's parser,
3597 # not just through cpp. "Syntax error" is here to catch this case.
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3601 # include <limits.h>
3603 # include <assert.h>
3607 if ac_fn_cxx_try_cpp "$LINENO"; then :
3610 # Broken: fails on valid input.
3613 rm -f conftest.err conftest.i conftest.$ac_ext
3615 # OK, works on sane cases. Now check whether nonexistent headers
3616 # can be detected and how.
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h. */
3619 #include <ac_nonexistent.h>
3621 if ac_fn_cxx_try_cpp "$LINENO"; then :
3622 # Broken: success on invalid input.
3625 # Passes both tests.
3629 rm -f conftest.err conftest.i conftest.$ac_ext
3632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3633 rm -f conftest.i conftest.err conftest.$ac_ext
3634 if $ac_preproc_ok; then :
3637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3640 See \`config.log' for more details" "$LINENO" 5; }
3644 ac_cpp='$CXXCPP $CPPFLAGS'
3645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3651 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3652 if ${ac_cv_path_GREP+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -z "$GREP"; then
3656 ac_path_GREP_found=false
3657 # Loop through the user's path and test for each of PROGNAME-LIST
3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3662 test -z "$as_dir" && as_dir=.
3663 for ac_prog in grep ggrep; do
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3666 as_fn_executable_p "$ac_path_GREP" || continue
3667 # Check for GNU ac_path_GREP and select it if it is found.
3668 # Check for GNU $ac_path_GREP
3669 case `"$ac_path_GREP" --version 2>&1` in
3671 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3674 $as_echo_n 0123456789 >"conftest.in"
3677 cat "conftest.in" "conftest.in" >"conftest.tmp"
3678 mv "conftest.tmp" "conftest.in"
3679 cp "conftest.in" "conftest.nl"
3680 $as_echo 'GREP' >> "conftest.nl"
3681 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3682 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3683 as_fn_arith $ac_count + 1 && ac_count=$as_val
3684 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3685 # Best one so far, save it but keep looking for a better one
3686 ac_cv_path_GREP="$ac_path_GREP"
3687 ac_path_GREP_max=$ac_count
3689 # 10*(2^10) chars as input seems more than enough
3690 test $ac_count -gt 10 && break
3692 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3695 $ac_path_GREP_found && break 3
3700 if test -z "$ac_cv_path_GREP"; then
3701 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3704 ac_cv_path_GREP=$GREP
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3709 $as_echo "$ac_cv_path_GREP" >&6; }
3710 GREP="$ac_cv_path_GREP"
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3714 $as_echo_n "checking for egrep... " >&6; }
3715 if ${ac_cv_path_EGREP+:} false; then :
3716 $as_echo_n "(cached) " >&6
3718 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3719 then ac_cv_path_EGREP="$GREP -E"
3721 if test -z "$EGREP"; then
3722 ac_path_EGREP_found=false
3723 # Loop through the user's path and test for each of PROGNAME-LIST
3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3728 test -z "$as_dir" && as_dir=.
3729 for ac_prog in egrep; do
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3732 as_fn_executable_p "$ac_path_EGREP" || continue
3733 # Check for GNU ac_path_EGREP and select it if it is found.
3734 # Check for GNU $ac_path_EGREP
3735 case `"$ac_path_EGREP" --version 2>&1` in
3737 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3740 $as_echo_n 0123456789 >"conftest.in"
3743 cat "conftest.in" "conftest.in" >"conftest.tmp"
3744 mv "conftest.tmp" "conftest.in"
3745 cp "conftest.in" "conftest.nl"
3746 $as_echo 'EGREP' >> "conftest.nl"
3747 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3748 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3749 as_fn_arith $ac_count + 1 && ac_count=$as_val
3750 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3751 # Best one so far, save it but keep looking for a better one
3752 ac_cv_path_EGREP="$ac_path_EGREP"
3753 ac_path_EGREP_max=$ac_count
3755 # 10*(2^10) chars as input seems more than enough
3756 test $ac_count -gt 10 && break
3758 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3761 $ac_path_EGREP_found && break 3
3766 if test -z "$ac_cv_path_EGREP"; then
3767 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3770 ac_cv_path_EGREP=$EGREP
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3776 $as_echo "$ac_cv_path_EGREP" >&6; }
3777 EGREP="$ac_cv_path_EGREP"
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3781 $as_echo_n "checking for ANSI C header files... " >&6; }
3782 if ${ac_cv_header_stdc+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3800 if ac_fn_cxx_try_compile "$LINENO"; then :
3801 ac_cv_header_stdc=yes
3803 ac_cv_header_stdc=no
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 if test $ac_cv_header_stdc = yes; then
3808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3815 $EGREP "memchr" >/dev/null 2>&1; then :
3818 ac_cv_header_stdc=no
3824 if test $ac_cv_header_stdc = yes; then
3825 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3832 $EGREP "free" >/dev/null 2>&1; then :
3835 ac_cv_header_stdc=no
3841 if test $ac_cv_header_stdc = yes; then
3842 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3843 if test "$cross_compiling" = yes; then :
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3850 #if ((' ' & 0x0FF) == 0x020)
3851 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3852 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3854 # define ISLOWER(c) \
3855 (('a' <= (c) && (c) <= 'i') \
3856 || ('j' <= (c) && (c) <= 'r') \
3857 || ('s' <= (c) && (c) <= 'z'))
3858 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3861 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3866 for (i = 0; i < 256; i++)
3867 if (XOR (islower (i), ISLOWER (i))
3868 || toupper (i) != TOUPPER (i))
3873 if ac_fn_cxx_try_run "$LINENO"; then :
3876 ac_cv_header_stdc=no
3878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3879 conftest.$ac_objext conftest.beam conftest.$ac_ext
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3885 $as_echo "$ac_cv_header_stdc" >&6; }
3886 if test $ac_cv_header_stdc = yes; then
3888 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3892 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3893 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3894 inttypes.h stdint.h unistd.h
3896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3897 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3899 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3900 cat >>confdefs.h <<_ACEOF
3901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3910 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3911 if ${ac_cv_c_bigendian+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 ac_cv_c_bigendian=unknown
3915 # See if we're dealing with a universal compiler.
3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917 /* end confdefs.h. */
3918 #ifndef __APPLE_CC__
3919 not a universal capable compiler
3924 if ac_fn_cxx_try_compile "$LINENO"; then :
3926 # Check for potential -arch flags. It is not universal unless
3927 # there are at least two -arch flags with different values.
3930 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3931 if test -n "$ac_prev"; then
3933 i?86 | x86_64 | ppc | ppc64)
3934 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3937 ac_cv_c_bigendian=universal
3943 elif test "x$ac_word" = "x-arch"; then
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 if test $ac_cv_c_bigendian = unknown; then
3950 # See if sys/param.h defines the BYTE_ORDER macro.
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3953 #include <sys/types.h>
3954 #include <sys/param.h>
3959 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3960 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3969 if ac_fn_cxx_try_compile "$LINENO"; then :
3970 # It does; now see whether it defined to BIG_ENDIAN or not.
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3973 #include <sys/types.h>
3974 #include <sys/param.h>
3979 #if BYTE_ORDER != BIG_ENDIAN
3987 if ac_fn_cxx_try_compile "$LINENO"; then :
3988 ac_cv_c_bigendian=yes
3990 ac_cv_c_bigendian=no
3992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 if test $ac_cv_c_bigendian = unknown; then
3997 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4005 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4013 if ac_fn_cxx_try_compile "$LINENO"; then :
4014 # It does; now see whether it defined to _BIG_ENDIAN or not.
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4030 if ac_fn_cxx_try_compile "$LINENO"; then :
4031 ac_cv_c_bigendian=yes
4033 ac_cv_c_bigendian=no
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4039 if test $ac_cv_c_bigendian = unknown; then
4040 # Compile a test program.
4041 if test "$cross_compiling" = yes; then :
4042 # Try to guess by grepping values from an object file.
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4045 short int ascii_mm[] =
4046 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4047 short int ascii_ii[] =
4048 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4049 int use_ascii (int i) {
4050 return ascii_mm[i] + ascii_ii[i];
4052 short int ebcdic_ii[] =
4053 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4054 short int ebcdic_mm[] =
4055 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4056 int use_ebcdic (int i) {
4057 return ebcdic_mm[i] + ebcdic_ii[i];
4064 return use_ascii (foo) == use_ebcdic (foo);
4069 if ac_fn_cxx_try_compile "$LINENO"; then :
4070 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4071 ac_cv_c_bigendian=yes
4073 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4074 if test "$ac_cv_c_bigendian" = unknown; then
4075 ac_cv_c_bigendian=no
4077 # finding both strings is unlikely to happen, but who knows?
4078 ac_cv_c_bigendian=unknown
4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4086 $ac_includes_default
4091 /* Are we little or big endian? From Harbison&Steele. */
4095 char c[sizeof (long int)];
4098 return u.c[sizeof (long int) - 1] == 1;
4104 if ac_fn_cxx_try_run "$LINENO"; then :
4105 ac_cv_c_bigendian=no
4107 ac_cv_c_bigendian=yes
4109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4110 conftest.$ac_objext conftest.beam conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4116 $as_echo "$ac_cv_c_bigendian" >&6; }
4117 case $ac_cv_c_bigendian in #(
4119 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4125 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4129 as_fn_error $? "unknown endianness
4130 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4134 for ac_header in sys/epoll.h numa.h
4136 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4137 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4138 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4139 cat >>confdefs.h <<_ACEOF
4140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing numa_available" >&5
4149 $as_echo_n "checking for library containing numa_available... " >&6; }
4150 if ${ac_cv_search_numa_available+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 ac_func_search_save_LIBS=$LIBS
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4157 /* Override any GCC internal prototype to avoid an error.
4158 Use char because int might match the return type of a GCC
4159 builtin and then its argument prototype would still apply. */
4163 char numa_available ();
4167 return numa_available ();
4172 for ac_lib in '' numa; do
4173 if test -z "$ac_lib"; then
4174 ac_res="none required"
4177 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4179 if ac_fn_cxx_try_link "$LINENO"; then :
4180 ac_cv_search_numa_available=$ac_res
4182 rm -f core conftest.err conftest.$ac_objext \
4184 if ${ac_cv_search_numa_available+:} false; then :
4188 if ${ac_cv_search_numa_available+:} false; then :
4191 ac_cv_search_numa_available=no
4194 LIBS=$ac_func_search_save_LIBS
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_numa_available" >&5
4197 $as_echo "$ac_cv_search_numa_available" >&6; }
4198 ac_res=$ac_cv_search_numa_available
4199 if test "$ac_res" != no; then :
4200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4202 $as_echo "#define HAVE_LIBNUMA 1" >>confdefs.h
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz builtin" >&5
4213 $as_echo_n "checking for __builtin_clz builtin... " >&6; }
4214 if ${ac_cv_have___builtin_clz+:} false; then :
4215 $as_echo_n "(cached) " >&6
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 unsigned f(unsigned x) { return __builtin_clz(x); }
4228 if ac_fn_cxx_try_link "$LINENO"; then :
4229 ac_cv_have___builtin_clz=yes
4231 ac_cv_have___builtin_clz=no
4233 rm -f core conftest.err conftest.$ac_objext \
4234 conftest$ac_exeext conftest.$ac_ext
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
4237 $as_echo "$ac_cv_have___builtin_clz" >&6; }
4238 if test $ac_cv_have___builtin_clz = yes; then
4240 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzl builtin" >&5
4247 $as_echo_n "checking for __builtin_clzl builtin... " >&6; }
4248 if ${ac_cv_have___builtin_clzl+:} false; then :
4249 $as_echo_n "(cached) " >&6
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4253 unsigned long f(unsigned long x) { return __builtin_clzl(x); }
4262 if ac_fn_cxx_try_link "$LINENO"; then :
4263 ac_cv_have___builtin_clzl=yes
4265 ac_cv_have___builtin_clzl=no
4267 rm -f core conftest.err conftest.$ac_objext \
4268 conftest$ac_exeext conftest.$ac_ext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzl" >&5
4271 $as_echo "$ac_cv_have___builtin_clzl" >&6; }
4272 if test $ac_cv_have___builtin_clzl = yes; then
4274 $as_echo "#define HAVE___BUILTIN_CLZL 1" >>confdefs.h
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll builtin" >&5
4281 $as_echo_n "checking for __builtin_clzll builtin... " >&6; }
4282 if ${ac_cv_have___builtin_clzll+:} false; then :
4283 $as_echo_n "(cached) " >&6
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 unsigned long long f(unsigned long long x) { return __builtin_clzll(x); }
4296 if ac_fn_cxx_try_link "$LINENO"; then :
4297 ac_cv_have___builtin_clzll=yes
4299 ac_cv_have___builtin_clzll=no
4301 rm -f core conftest.err conftest.$ac_objext \
4302 conftest$ac_exeext conftest.$ac_ext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clzll" >&5
4305 $as_echo "$ac_cv_have___builtin_clzll" >&6; }
4306 if test $ac_cv_have___builtin_clzll = yes; then
4308 $as_echo "#define HAVE___BUILTIN_CLZLL 1" >>confdefs.h
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctz builtin" >&5
4315 $as_echo_n "checking for __builtin_ctz builtin... " >&6; }
4316 if ${ac_cv_have___builtin_ctz+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 unsigned f(unsigned x) { return __builtin_ctz(x); }
4330 if ac_fn_cxx_try_link "$LINENO"; then :
4331 ac_cv_have___builtin_ctz=yes
4333 ac_cv_have___builtin_ctz=no
4335 rm -f core conftest.err conftest.$ac_objext \
4336 conftest$ac_exeext conftest.$ac_ext
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctz" >&5
4339 $as_echo "$ac_cv_have___builtin_ctz" >&6; }
4340 if test $ac_cv_have___builtin_ctz = yes; then
4342 $as_echo "#define HAVE___BUILTIN_CTZ 1" >>confdefs.h
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzl builtin" >&5
4349 $as_echo_n "checking for __builtin_ctzl builtin... " >&6; }
4350 if ${ac_cv_have___builtin_ctzl+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4355 unsigned long f(unsigned long x) { return __builtin_ctzl(x); }
4364 if ac_fn_cxx_try_link "$LINENO"; then :
4365 ac_cv_have___builtin_ctzl=yes
4367 ac_cv_have___builtin_ctzl=no
4369 rm -f core conftest.err conftest.$ac_objext \
4370 conftest$ac_exeext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctzl" >&5
4373 $as_echo "$ac_cv_have___builtin_ctzl" >&6; }
4374 if test $ac_cv_have___builtin_ctzl = yes; then
4376 $as_echo "#define HAVE___BUILTIN_CTZL 1" >>confdefs.h
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzll builtin" >&5
4383 $as_echo_n "checking for __builtin_ctzll builtin... " >&6; }
4384 if ${ac_cv_have___builtin_ctzll+:} false; then :
4385 $as_echo_n "(cached) " >&6
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4389 unsigned long long f(unsigned long long x) { return __builtin_ctzll(x); }
4398 if ac_fn_cxx_try_link "$LINENO"; then :
4399 ac_cv_have___builtin_ctzll=yes
4401 ac_cv_have___builtin_ctzll=no
4403 rm -f core conftest.err conftest.$ac_objext \
4404 conftest$ac_exeext conftest.$ac_ext
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctzll" >&5
4407 $as_echo "$ac_cv_have___builtin_ctzll" >&6; }
4408 if test $ac_cv_have___builtin_ctzll = yes; then
4410 $as_echo "#define HAVE___BUILTIN_CTZLL 1" >>confdefs.h
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_synchronize builtin" >&5
4417 $as_echo_n "checking for __sync_synchronize builtin... " >&6; }
4418 if ${ac_cv_have___sync_synchronize+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4424 void f(long i) { long* y = &x; __sync_synchronize(); *y = i; }
4433 if ac_fn_cxx_try_link "$LINENO"; then :
4434 ac_cv_have___sync_synchronize=yes
4436 ac_cv_have___sync_synchronize=no
4438 rm -f core conftest.err conftest.$ac_objext \
4439 conftest$ac_exeext conftest.$ac_ext
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_synchronize" >&5
4442 $as_echo "$ac_cv_have___sync_synchronize" >&6; }
4443 if test $ac_cv_have___sync_synchronize = yes; then
4445 $as_echo "#define HAVE___SYNC_SYNCHRONIZE 1" >>confdefs.h
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add builtin" >&5
4452 $as_echo_n "checking for __sync_fetch_and_add builtin... " >&6; }
4453 if ${ac_cv_have___sync_fetch_and_add+:} false; then :
4454 $as_echo_n "(cached) " >&6
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4458 long f(long* x) { return __sync_fetch_and_add(x, 2L); }
4467 if ac_fn_cxx_try_link "$LINENO"; then :
4468 ac_cv_have___sync_fetch_and_add=yes
4470 ac_cv_have___sync_fetch_and_add=no
4472 rm -f core conftest.err conftest.$ac_objext \
4473 conftest$ac_exeext conftest.$ac_ext
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_fetch_and_add" >&5
4476 $as_echo "$ac_cv_have___sync_fetch_and_add" >&6; }
4477 if test $ac_cv_have___sync_fetch_and_add = yes; then
4479 $as_echo "#define HAVE___SYNC_FETCH_AND_ADD 1" >>confdefs.h
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch builtin" >&5
4486 $as_echo_n "checking for __sync_add_and_fetch builtin... " >&6; }
4487 if ${ac_cv_have___sync_add_and_fetch+:} false; then :
4488 $as_echo_n "(cached) " >&6
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4492 long f(long* x) { return __sync_add_and_fetch(x, 2L); }
4501 if ac_fn_cxx_try_link "$LINENO"; then :
4502 ac_cv_have___sync_add_and_fetch=yes
4504 ac_cv_have___sync_add_and_fetch=no
4506 rm -f core conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_add_and_fetch" >&5
4510 $as_echo "$ac_cv_have___sync_add_and_fetch" >&6; }
4511 if test $ac_cv_have___sync_add_and_fetch = yes; then
4513 $as_echo "#define HAVE___SYNC_ADD_AND_FETCH 1" >>confdefs.h
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_8 builtin" >&5
4520 $as_echo_n "checking for __sync_fetch_and_add_8 builtin... " >&6; }
4521 if ${ac_cv_have___sync_fetch_and_add_8+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4527 int64_t f(int64_t* x) { return __sync_fetch_and_add(x, (int64_t) 2); }
4536 if ac_fn_cxx_try_link "$LINENO"; then :
4537 ac_cv_have___sync_fetch_and_add_8=yes
4539 ac_cv_have___sync_fetch_and_add_8=no
4541 rm -f core conftest.err conftest.$ac_objext \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_fetch_and_add_8" >&5
4545 $as_echo "$ac_cv_have___sync_fetch_and_add_8" >&6; }
4546 if test $ac_cv_have___sync_fetch_and_add_8 = yes; then
4548 $as_echo "#define HAVE___SYNC_FETCH_AND_ADD_8 1" >>confdefs.h
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8 builtin" >&5
4555 $as_echo_n "checking for __sync_add_and_fetch_8 builtin... " >&6; }
4556 if ${ac_cv_have___sync_add_and_fetch_8+:} false; then :
4557 $as_echo_n "(cached) " >&6
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4562 int64_t f(int64_t* x) { return __sync_add_and_fetch(x, (int64_t) 2); }
4571 if ac_fn_cxx_try_link "$LINENO"; then :
4572 ac_cv_have___sync_add_and_fetch_8=yes
4574 ac_cv_have___sync_add_and_fetch_8=no
4576 rm -f core conftest.err conftest.$ac_objext \
4577 conftest$ac_exeext conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_add_and_fetch_8" >&5
4580 $as_echo "$ac_cv_have___sync_add_and_fetch_8" >&6; }
4581 if test $ac_cv_have___sync_add_and_fetch_8 = yes; then
4583 $as_echo "#define HAVE___SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_or builtin" >&5
4590 $as_echo_n "checking for __sync_fetch_and_or builtin... " >&6; }
4591 if ${ac_cv_have___sync_fetch_and_or+:} false; then :
4592 $as_echo_n "(cached) " >&6
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4596 long f(long* x) { return __sync_fetch_and_or(x, 2L); }
4605 if ac_fn_cxx_try_link "$LINENO"; then :
4606 ac_cv_have___sync_fetch_and_or=yes
4608 ac_cv_have___sync_fetch_and_or=no
4610 rm -f core conftest.err conftest.$ac_objext \
4611 conftest$ac_exeext conftest.$ac_ext
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_fetch_and_or" >&5
4614 $as_echo "$ac_cv_have___sync_fetch_and_or" >&6; }
4615 if test $ac_cv_have___sync_fetch_and_or = yes; then
4617 $as_echo "#define HAVE___SYNC_FETCH_AND_OR 1" >>confdefs.h
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_or_and_fetch builtin" >&5
4624 $as_echo_n "checking for __sync_or_and_fetch builtin... " >&6; }
4625 if ${ac_cv_have___sync_or_and_fetch+:} false; then :
4626 $as_echo_n "(cached) " >&6
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4630 long f(long* x) { return __sync_or_and_fetch(x, 2L); }
4639 if ac_fn_cxx_try_link "$LINENO"; then :
4640 ac_cv_have___sync_or_and_fetch=yes
4642 ac_cv_have___sync_or_and_fetch=no
4644 rm -f core conftest.err conftest.$ac_objext \
4645 conftest$ac_exeext conftest.$ac_ext
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_or_and_fetch" >&5
4648 $as_echo "$ac_cv_have___sync_or_and_fetch" >&6; }
4649 if test $ac_cv_have___sync_or_and_fetch = yes; then
4651 $as_echo "#define HAVE___SYNC_OR_AND_FETCH 1" >>confdefs.h
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_or_8 builtin" >&5
4658 $as_echo_n "checking for __sync_fetch_and_or_8 builtin... " >&6; }
4659 if ${ac_cv_have___sync_fetch_and_or_8+:} false; then :
4660 $as_echo_n "(cached) " >&6
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4665 int64_t f(int64_t* x) { return __sync_fetch_and_or(x, (int64_t) 2); }
4674 if ac_fn_cxx_try_link "$LINENO"; then :
4675 ac_cv_have___sync_fetch_and_or_8=yes
4677 ac_cv_have___sync_fetch_and_or_8=no
4679 rm -f core conftest.err conftest.$ac_objext \
4680 conftest$ac_exeext conftest.$ac_ext
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_fetch_and_or_8" >&5
4683 $as_echo "$ac_cv_have___sync_fetch_and_or_8" >&6; }
4684 if test $ac_cv_have___sync_fetch_and_or_8 = yes; then
4686 $as_echo "#define HAVE___SYNC_FETCH_AND_OR_8 1" >>confdefs.h
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_or_and_fetch_8 builtin" >&5
4693 $as_echo_n "checking for __sync_or_and_fetch_8 builtin... " >&6; }
4694 if ${ac_cv_have___sync_or_and_fetch_8+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4700 int64_t f(int64_t* x) { return __sync_or_and_fetch(x, (int64_t) 2); }
4709 if ac_fn_cxx_try_link "$LINENO"; then :
4710 ac_cv_have___sync_or_and_fetch_8=yes
4712 ac_cv_have___sync_or_and_fetch_8=no
4714 rm -f core conftest.err conftest.$ac_objext \
4715 conftest$ac_exeext conftest.$ac_ext
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_or_and_fetch_8" >&5
4718 $as_echo "$ac_cv_have___sync_or_and_fetch_8" >&6; }
4719 if test $ac_cv_have___sync_or_and_fetch_8 = yes; then
4721 $as_echo "#define HAVE___SYNC_OR_AND_FETCH_8 1" >>confdefs.h
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap builtin" >&5
4728 $as_echo_n "checking for __sync_bool_compare_and_swap builtin... " >&6; }
4729 if ${ac_cv_have___sync_bool_compare_and_swap+:} false; then :
4730 $as_echo_n "(cached) " >&6
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 bool f(long* x, long y, long z) { return __sync_bool_compare_and_swap(x, y, z); }
4743 if ac_fn_cxx_try_link "$LINENO"; then :
4744 ac_cv_have___sync_bool_compare_and_swap=yes
4746 ac_cv_have___sync_bool_compare_and_swap=no
4748 rm -f core conftest.err conftest.$ac_objext \
4749 conftest$ac_exeext conftest.$ac_ext
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_bool_compare_and_swap" >&5
4752 $as_echo "$ac_cv_have___sync_bool_compare_and_swap" >&6; }
4753 if test $ac_cv_have___sync_bool_compare_and_swap = yes; then
4755 $as_echo "#define HAVE___SYNC_BOOL_COMPARE_AND_SWAP 1" >>confdefs.h
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8 builtin" >&5
4762 $as_echo_n "checking for __sync_bool_compare_and_swap_8 builtin... " >&6; }
4763 if ${ac_cv_have___sync_bool_compare_and_swap_8+:} false; then :
4764 $as_echo_n "(cached) " >&6
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4769 bool f(int64_t* x, int64_t y, int64_t z) { return __sync_bool_compare_and_swap(x, y, z); }
4778 if ac_fn_cxx_try_link "$LINENO"; then :
4779 ac_cv_have___sync_bool_compare_and_swap_8=yes
4781 ac_cv_have___sync_bool_compare_and_swap_8=no
4783 rm -f core conftest.err conftest.$ac_objext \
4784 conftest$ac_exeext conftest.$ac_ext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_bool_compare_and_swap_8" >&5
4787 $as_echo "$ac_cv_have___sync_bool_compare_and_swap_8" >&6; }
4788 if test $ac_cv_have___sync_bool_compare_and_swap_8 = yes; then
4790 $as_echo "#define HAVE___SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_val_compare_and_swap builtin" >&5
4797 $as_echo_n "checking for __sync_val_compare_and_swap builtin... " >&6; }
4798 if ${ac_cv_have___sync_val_compare_and_swap+:} false; then :
4799 $as_echo_n "(cached) " >&6
4801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4803 long f(long* x, long y, long z) { return __sync_val_compare_and_swap(x, y, z); }
4812 if ac_fn_cxx_try_link "$LINENO"; then :
4813 ac_cv_have___sync_val_compare_and_swap=yes
4815 ac_cv_have___sync_val_compare_and_swap=no
4817 rm -f core conftest.err conftest.$ac_objext \
4818 conftest$ac_exeext conftest.$ac_ext
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_val_compare_and_swap" >&5
4821 $as_echo "$ac_cv_have___sync_val_compare_and_swap" >&6; }
4822 if test $ac_cv_have___sync_val_compare_and_swap = yes; then
4824 $as_echo "#define HAVE___SYNC_VAL_COMPARE_AND_SWAP 1" >>confdefs.h
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_val_compare_and_swap_8 builtin" >&5
4831 $as_echo_n "checking for __sync_val_compare_and_swap_8 builtin... " >&6; }
4832 if ${ac_cv_have___sync_val_compare_and_swap_8+:} false; then :
4833 $as_echo_n "(cached) " >&6
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4838 int64_t f(int64_t* x, int64_t y, int64_t z) { return __sync_val_compare_and_swap(x, y, z); }
4847 if ac_fn_cxx_try_link "$LINENO"; then :
4848 ac_cv_have___sync_val_compare_and_swap_8=yes
4850 ac_cv_have___sync_val_compare_and_swap_8=no
4852 rm -f core conftest.err conftest.$ac_objext \
4853 conftest$ac_exeext conftest.$ac_ext
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_val_compare_and_swap_8" >&5
4856 $as_echo "$ac_cv_have___sync_val_compare_and_swap_8" >&6; }
4857 if test $ac_cv_have___sync_val_compare_and_swap_8 = yes; then
4859 $as_echo "#define HAVE___SYNC_VAL_COMPARE_AND_SWAP_8 1" >>confdefs.h
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_lock_test_and_set builtin" >&5
4866 $as_echo_n "checking for __sync_lock_test_and_set builtin... " >&6; }
4867 if ${ac_cv_have___sync_lock_test_and_set+:} false; then :
4868 $as_echo_n "(cached) " >&6
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4872 long f(long* x) { return __sync_lock_test_and_set(x, 1); }
4881 if ac_fn_cxx_try_link "$LINENO"; then :
4882 ac_cv_have___sync_lock_test_and_set=yes
4884 ac_cv_have___sync_lock_test_and_set=no
4886 rm -f core conftest.err conftest.$ac_objext \
4887 conftest$ac_exeext conftest.$ac_ext
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_lock_test_and_set" >&5
4890 $as_echo "$ac_cv_have___sync_lock_test_and_set" >&6; }
4891 if test $ac_cv_have___sync_lock_test_and_set = yes; then
4893 $as_echo "#define HAVE___SYNC_LOCK_TEST_AND_SET 1" >>confdefs.h
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_lock_test_and_set_val builtin" >&5
4900 $as_echo_n "checking for __sync_lock_test_and_set_val builtin... " >&6; }
4901 if ${ac_cv_have___sync_lock_test_and_set_val+:} false; then :
4902 $as_echo_n "(cached) " >&6
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4906 long f(long* x, long y) { return __sync_lock_test_and_set(x, y); }
4915 if ac_fn_cxx_try_link "$LINENO"; then :
4916 ac_cv_have___sync_lock_test_and_set_val=yes
4918 ac_cv_have___sync_lock_test_and_set_val=no
4920 rm -f core conftest.err conftest.$ac_objext \
4921 conftest$ac_exeext conftest.$ac_ext
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_lock_test_and_set_val" >&5
4924 $as_echo "$ac_cv_have___sync_lock_test_and_set_val" >&6; }
4925 if test $ac_cv_have___sync_lock_test_and_set_val = yes; then
4927 $as_echo "#define HAVE___SYNC_LOCK_TEST_AND_SET_VAL 1" >>confdefs.h
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_lock_release_set builtin" >&5
4934 $as_echo_n "checking for __sync_lock_release_set builtin... " >&6; }
4935 if ${ac_cv_have___sync_lock_release_set+:} false; then :
4936 $as_echo_n "(cached) " >&6
4938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 void f(long* x) { __sync_lock_release(x); }
4949 if ac_fn_cxx_try_link "$LINENO"; then :
4950 ac_cv_have___sync_lock_release_set=yes
4952 ac_cv_have___sync_lock_release_set=no
4954 rm -f core conftest.err conftest.$ac_objext \
4955 conftest$ac_exeext conftest.$ac_ext
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___sync_lock_release_set" >&5
4958 $as_echo "$ac_cv_have___sync_lock_release_set" >&6; }
4959 if test $ac_cv_have___sync_lock_release_set = yes; then
4961 $as_echo "#define HAVE___SYNC_LOCK_RELEASE_SET 1" >>confdefs.h
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands 'auto'" >&5
4969 $as_echo_n "checking whether the C++ compiler understands 'auto'... " >&6; }
4970 if ${ac_cv_cxx_auto+:} false; then :
4971 $as_echo_n "(cached) " >&6
4974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4975 /* end confdefs.h. */
4976 struct s { int a; }; int f(s x) { auto &y = x; return y.a; }
4985 if ac_fn_cxx_try_compile "$LINENO"; then :
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
4993 $as_echo "$ac_cv_cxx_auto" >&6; }
4994 if test "$ac_cv_cxx_auto" != yes -a -z "$ac_user_cxx"; then
4995 CXX="${CXX} -std=gnu++0x"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler with -std=gnu++0x understands 'auto'" >&5
4997 $as_echo_n "checking whether the C++ compiler with -std=gnu++0x understands 'auto'... " >&6; }
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5000 struct s { int a; }; int f(s x) { auto &y = x; return y.a; }
5009 if ac_fn_cxx_try_compile "$LINENO"; then :
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_auto" >&5
5016 $as_echo "$ac_cv_cxx_auto" >&6; }
5019 if test "$ac_cv_cxx_auto" = yes; then
5021 $as_echo "#define HAVE_CXX_AUTO 1" >>confdefs.h
5026 The C++ compiler does not appear to understand C++11.
5027 To fix this problem, try supplying a \"CXX\" argument to ./configure,
5028 such as \"./configure CXX='c++ -std=gnu++0x'\".
5030 ========================================================" "$LINENO" 5
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands constexpr" >&5
5034 $as_echo_n "checking whether the C++ compiler understands constexpr... " >&6; }
5035 if ${ac_cv_cxx_constexpr+:} false; then :
5036 $as_echo_n "(cached) " >&6
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 constexpr int f(int x) { return x + 1; }
5050 if ac_fn_cxx_try_compile "$LINENO"; then :
5051 ac_cv_cxx_constexpr=yes
5053 ac_cv_cxx_constexpr=no
5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_constexpr" >&5
5058 $as_echo "$ac_cv_cxx_constexpr" >&6; }
5059 if test "$ac_cv_cxx_constexpr" = yes; then
5061 $as_echo "#define HAVE_CXX_CONSTEXPR 1" >>confdefs.h
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands static_assert" >&5
5066 $as_echo_n "checking whether the C++ compiler understands static_assert... " >&6; }
5067 if ${ac_cv_cxx_static_assert+:} false; then :
5068 $as_echo_n "(cached) " >&6
5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5072 /* end confdefs.h. */
5077 static_assert(f == 2, "f should be 2");
5082 if ac_fn_cxx_try_compile "$LINENO"; then :
5083 ac_cv_cxx_static_assert=yes
5085 ac_cv_cxx_static_assert=no
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_static_assert" >&5
5090 $as_echo "$ac_cv_cxx_static_assert" >&6; }
5091 if test "$ac_cv_cxx_static_assert" = yes; then
5093 $as_echo "#define HAVE_CXX_STATIC_ASSERT 1" >>confdefs.h
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands rvalue references" >&5
5098 $as_echo_n "checking whether the C++ compiler understands rvalue references... " >&6; }
5099 if ${ac_cv_cxx_rvalue_references+:} false; then :
5100 $as_echo_n "(cached) " >&6
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5105 int f(int &) { return 1; } int f(int &&) { return 0; }
5114 if ac_fn_cxx_try_compile "$LINENO"; then :
5115 ac_cv_cxx_rvalue_references=yes
5117 ac_cv_cxx_rvalue_references=no
5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_rvalue_references" >&5
5122 $as_echo "$ac_cv_cxx_rvalue_references" >&6; }
5123 if test "$ac_cv_cxx_rvalue_references" = yes; then
5125 $as_echo "#define HAVE_CXX_RVALUE_REFERENCES 1" >>confdefs.h
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler understands template alias" >&5
5130 $as_echo_n "checking whether the C++ compiler understands template alias... " >&6; }
5131 if ${ac_cv_cxx_template_alias+:} false; then :
5132 $as_echo_n "(cached) " >&6
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 template <typename T> struct X { typedef T type; }; template <typename T> using Y = X<T>; int f(int x) { return x; }
5141 return f(Y<int>::type());
5146 if ac_fn_cxx_try_compile "$LINENO"; then :
5147 ac_cv_cxx_template_alias=yes
5149 ac_cv_cxx_template_alias=no
5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_template_alias" >&5
5154 $as_echo "$ac_cv_cxx_template_alias" >&6; }
5155 if test "$ac_cv_cxx_template_alias" = yes; then
5157 $as_echo "#define HAVE_CXX_TEMPLATE_ALIAS 1" >>confdefs.h
5161 for ac_header in type_traits
5163 ac_fn_cxx_check_header_mongrel "$LINENO" "type_traits" "ac_cv_header_type_traits" "$ac_includes_default"
5164 if test "x$ac_cv_header_type_traits" = xyes; then :
5165 cat >>confdefs.h <<_ACEOF
5166 #define HAVE_TYPE_TRAITS 1
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash" >&5
5175 $as_echo_n "checking for std::hash... " >&6; }
5176 if ${ac_cv_have_std_hash+:} false; then :
5177 $as_echo_n "(cached) " >&6
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5182 #include <functional>
5187 std::hash<int> h; size_t x = h(1); return x == 0;
5192 if ac_fn_cxx_try_compile "$LINENO"; then :
5193 ac_cv_have_std_hash=yes
5195 ac_cv_have_std_hash=no
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_std_hash" >&5
5200 $as_echo "$ac_cv_have_std_hash" >&6; }
5201 if test $ac_cv_have_std_hash = yes; then
5203 $as_echo "#define HAVE_STD_HASH 1" >>confdefs.h
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __has_trivial_copy" >&5
5208 $as_echo_n "checking for __has_trivial_copy... " >&6; }
5209 if ${ac_cv_have___has_trivial_copy+:} false; then :
5210 $as_echo_n "(cached) " >&6
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5219 long x = 1; if (__has_trivial_copy(long)) x = 0;
5224 if ac_fn_cxx_try_compile "$LINENO"; then :
5225 ac_cv_have___has_trivial_copy=yes
5227 ac_cv_have___has_trivial_copy=no
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___has_trivial_copy" >&5
5232 $as_echo "$ac_cv_have___has_trivial_copy" >&6; }
5233 if test $ac_cv_have___has_trivial_copy = yes; then
5235 $as_echo "#define HAVE___HAS_TRIVIAL_COPY 1" >>confdefs.h
5239 if test "$ac_cv_cxx_rvalue_references" = yes; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::move" >&5
5241 $as_echo_n "checking for std::move... " >&6; }
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5248 long x = 0; long &&y = std::move(x);
5253 if ac_fn_cxx_try_compile "$LINENO"; then :
5258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_std_move" >&5
5260 $as_echo "$ac_cv_std_move" >&6; }
5261 if test "$ac_cv_std_move" != yes; then
5264 The C++ compiler understands C++11, but does not have std::move.
5265 If you are using clang on Mac, ensure the -stdlib=libc++ option.
5267 ========================================================" "$LINENO" 5
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::is_trivially_copyable" >&5
5272 $as_echo_n "checking for std::is_trivially_copyable... " >&6; }
5273 if ${ac_cv_have_std_is_trivially_copyable+:} false; then :
5274 $as_echo_n "(cached) " >&6
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5279 #include <type_traits>
5283 return std::is_trivially_copyable<int>::value;
5288 if ac_fn_cxx_try_compile "$LINENO"; then :
5289 ac_cv_have_std_is_trivially_copyable=yes
5291 ac_cv_have_std_is_trivially_copyable=no
5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_std_is_trivially_copyable" >&5
5296 $as_echo "$ac_cv_have_std_is_trivially_copyable" >&6; }
5297 if test $ac_cv_have_std_is_trivially_copyable = yes; then
5299 $as_echo "#define HAVE_STD_IS_TRIVIALLY_COPYABLE 1" >>confdefs.h
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::is_rvalue_reference" >&5
5304 $as_echo_n "checking for std::is_rvalue_reference... " >&6; }
5305 if ${ac_cv_have_std_is_rvalue_reference+:} false; then :
5306 $as_echo_n "(cached) " >&6
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <type_traits>
5315 return std::is_rvalue_reference<int>::value;
5320 if ac_fn_cxx_try_compile "$LINENO"; then :
5321 ac_cv_have_std_is_rvalue_reference=yes
5323 ac_cv_have_std_is_rvalue_reference=no
5325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_std_is_rvalue_reference" >&5
5328 $as_echo "$ac_cv_have_std_is_rvalue_reference" >&6; }
5329 if test $ac_cv_have_std_is_rvalue_reference = yes; then
5331 $as_echo "#define HAVE_STD_IS_RVALUE_REFERENCE 1" >>confdefs.h
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lflow" >&5
5338 $as_echo_n "checking for malloc in -lflow... " >&6; }
5339 if ${ac_cv_lib_flow_malloc+:} false; then :
5340 $as_echo_n "(cached) " >&6
5342 ac_check_lib_save_LIBS=$LIBS
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5347 /* Override any GCC internal prototype to avoid an error.
5348 Use char because int might match the return type of a GCC
5349 builtin and then its argument prototype would still apply. */
5362 if ac_fn_cxx_try_link "$LINENO"; then :
5363 ac_cv_lib_flow_malloc=yes
5365 ac_cv_lib_flow_malloc=no
5367 rm -f core conftest.err conftest.$ac_objext \
5368 conftest$ac_exeext conftest.$ac_ext
5369 LIBS=$ac_check_lib_save_LIBS
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_flow_malloc" >&5
5372 $as_echo "$ac_cv_lib_flow_malloc" >&6; }
5373 if test "x$ac_cv_lib_flow_malloc" = xyes; then :
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mallctl in -ljemalloc" >&5
5380 $as_echo_n "checking for mallctl in -ljemalloc... " >&6; }
5381 if ${ac_cv_lib_jemalloc_mallctl+:} false; then :
5382 $as_echo_n "(cached) " >&6
5384 ac_check_lib_save_LIBS=$LIBS
5385 LIBS="-ljemalloc $LIBS"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5389 /* Override any GCC internal prototype to avoid an error.
5390 Use char because int might match the return type of a GCC
5391 builtin and then its argument prototype would still apply. */
5404 if ac_fn_cxx_try_link "$LINENO"; then :
5405 ac_cv_lib_jemalloc_mallctl=yes
5407 ac_cv_lib_jemalloc_mallctl=no
5409 rm -f core conftest.err conftest.$ac_objext \
5410 conftest$ac_exeext conftest.$ac_ext
5411 LIBS=$ac_check_lib_save_LIBS
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jemalloc_mallctl" >&5
5414 $as_echo "$ac_cv_lib_jemalloc_mallctl" >&6; }
5415 if test "x$ac_cv_lib_jemalloc_mallctl" = xyes; then :
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tc_malloc in -ltcmalloc_minimal" >&5
5422 $as_echo_n "checking for tc_malloc in -ltcmalloc_minimal... " >&6; }
5423 if ${ac_cv_lib_tcmalloc_minimal_tc_malloc+:} false; then :
5424 $as_echo_n "(cached) " >&6
5426 ac_check_lib_save_LIBS=$LIBS
5427 LIBS="-ltcmalloc_minimal $LIBS"
5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5431 /* Override any GCC internal prototype to avoid an error.
5432 Use char because int might match the return type of a GCC
5433 builtin and then its argument prototype would still apply. */
5441 return tc_malloc ();
5446 if ac_fn_cxx_try_link "$LINENO"; then :
5447 ac_cv_lib_tcmalloc_minimal_tc_malloc=yes
5449 ac_cv_lib_tcmalloc_minimal_tc_malloc=no
5451 rm -f core conftest.err conftest.$ac_objext \
5452 conftest$ac_exeext conftest.$ac_ext
5453 LIBS=$ac_check_lib_save_LIBS
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_minimal_tc_malloc" >&5
5456 $as_echo "$ac_cv_lib_tcmalloc_minimal_tc_malloc" >&6; }
5457 if test "x$ac_cv_lib_tcmalloc_minimal_tc_malloc" = xyes; then :
5458 have_tcmalloc_minimal=true
5460 have_tcmalloc_minimal=
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Z16getMainHoardHeapv in -lhoard" >&5
5464 $as_echo_n "checking for _Z16getMainHoardHeapv in -lhoard... " >&6; }
5465 if ${ac_cv_lib_hoard__Z16getMainHoardHeapv+:} false; then :
5466 $as_echo_n "(cached) " >&6
5468 ac_check_lib_save_LIBS=$LIBS
5469 LIBS="-lhoard $LIBS"
5470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5473 /* Override any GCC internal prototype to avoid an error.
5474 Use char because int might match the return type of a GCC
5475 builtin and then its argument prototype would still apply. */
5479 char _Z16getMainHoardHeapv ();
5483 return _Z16getMainHoardHeapv ();
5488 if ac_fn_cxx_try_link "$LINENO"; then :
5489 ac_cv_lib_hoard__Z16getMainHoardHeapv=yes
5491 ac_cv_lib_hoard__Z16getMainHoardHeapv=no
5493 rm -f core conftest.err conftest.$ac_objext \
5494 conftest$ac_exeext conftest.$ac_ext
5495 LIBS=$ac_check_lib_save_LIBS
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hoard__Z16getMainHoardHeapv" >&5
5498 $as_echo "$ac_cv_lib_hoard__Z16getMainHoardHeapv" >&6; }
5499 if test "x$ac_cv_lib_hoard__Z16getMainHoardHeapv" = xyes; then :
5507 # Check whether --with-malloc was given.
5508 if test "${with_malloc+set}" = set; then :
5509 withval=$with_malloc; ac_mtd_malloc=$withval
5515 if test \( "$ac_mtd_malloc" = tcmalloc -a -z "$have_tcmalloc_minimal" \) \
5516 -o \( "$ac_mtd_malloc" = jemalloc -a -z "$have_jemalloc" \) \
5517 -o \( "$ac_mtd_malloc" = flow -a -z "$have_flow" \) \
5518 -o \( "$ac_mtd_malloc" = hoard -a -z "$have_hoard" \) ; then
5519 as_fn_error $? "$ac_mtd_malloc not found" "$LINENO" 5
5520 elif test "$ac_mtd_malloc" = tcmalloc -o "$ac_mtd_malloc" = jemalloc -o "$ac_mtd_malloc" = flow -o "$ac_mtd_malloc" = hoard; then
5522 elif test "$ac_mtd_malloc" = yes -o "$ac_mtd_malloc" = default; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc library" >&5
5524 $as_echo_n "checking for malloc library... " >&6; }
5525 if test -n "$have_flow"; then ac_mtd_malloc=flow;
5526 elif test -n "$have_jemalloc"; then ac_mtd_malloc=jemalloc;
5527 elif test -n "$have_tcmalloc_minimal"; then ac_mtd_malloc=tcmalloc;
5528 else ac_mtd_malloc=malloc; fi
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_mtd_malloc" >&5
5530 $as_echo "$ac_mtd_malloc" >&6; }
5531 elif test "$ac_mtd_malloc" = no -o "$ac_mtd_malloc" = malloc -o -z "$ac_mtd_malloc"; then
5532 ac_mtd_malloc=malloc
5534 as_fn_error $? "Unknown malloc type $ac_mtd_malloc" "$LINENO" 5
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc library" >&5
5538 $as_echo_n "checking for malloc library... " >&6; }
5539 if test "$ac_mtd_malloc" = tcmalloc; then
5540 MALLOC_LIBS="-ltcmalloc_minimal"
5542 $as_echo "#define HAVE_TCMALLOC 1" >>confdefs.h
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -ltcmalloc_minimal" >&5
5545 $as_echo "-ltcmalloc_minimal" >&6; }
5546 elif test "$ac_mtd_malloc" = jemalloc; then
5547 MALLOC_LIBS="-ljemalloc"
5549 $as_echo "#define HAVE_JEMALLOC 1" >>confdefs.h
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -ljemalloc" >&5
5552 $as_echo "-ljemalloc" >&6; }
5553 elif test "$ac_mtd_malloc" = flow; then
5554 MALLOC_LIBS="-lflow"
5556 $as_echo "#define HAVE_FLOW_MALLOC 1" >>confdefs.h
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lflow" >&5
5559 $as_echo "-lflow" >&6; }
5560 elif test "$ac_mtd_malloc" = hoard; then
5561 MALLOC_LIBS="-lhoard"
5563 $as_echo "#define HAVE_HOARD_MALLOC 1" >>confdefs.h
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: -lhoard" >&5
5566 $as_echo "-lhoard" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
5570 $as_echo "default" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether off_t and long are the same type" >&5
5581 $as_echo_n "checking whether off_t and long are the same type... " >&6; }
5582 if ${ac_cv_have_same_type_off_t_is_long+:} false; then :
5583 $as_echo_n "(cached) " >&6
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5588 int f(off_t) {return 0;} int f(long) {return 0;}
5597 if ac_fn_cxx_try_compile "$LINENO"; then :
5598 ac_cv_have_same_type_off_t_is_long=no
5600 ac_cv_have_same_type_off_t_is_long=yes
5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_off_t_is_long" >&5
5605 $as_echo "$ac_cv_have_same_type_off_t_is_long" >&6; }
5606 if test $ac_cv_have_same_type_off_t_is_long = yes; then
5608 $as_echo "#define HAVE_OFF_T_IS_LONG 1" >>confdefs.h
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether off_t and long long are the same type" >&5
5616 $as_echo_n "checking whether off_t and long long are the same type... " >&6; }
5617 if ${ac_cv_have_same_type_off_t_is_long_long+:} false; then :
5618 $as_echo_n "(cached) " >&6
5620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5623 int f(off_t) {return 0;} int f(long long) {return 0;}
5632 if ac_fn_cxx_try_compile "$LINENO"; then :
5633 ac_cv_have_same_type_off_t_is_long_long=no
5635 ac_cv_have_same_type_off_t_is_long_long=yes
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_off_t_is_long_long" >&5
5640 $as_echo "$ac_cv_have_same_type_off_t_is_long_long" >&6; }
5641 if test $ac_cv_have_same_type_off_t_is_long_long = yes; then
5643 $as_echo "#define HAVE_OFF_T_IS_LONG_LONG 1" >>confdefs.h
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether int64_t and long are the same type" >&5
5651 $as_echo_n "checking whether int64_t and long are the same type... " >&6; }
5652 if ${ac_cv_have_same_type_int64_t_is_long+:} false; then :
5653 $as_echo_n "(cached) " >&6
5655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5658 int f(int64_t) {return 0;} int f(long) {return 0;}
5667 if ac_fn_cxx_try_compile "$LINENO"; then :
5668 ac_cv_have_same_type_int64_t_is_long=no
5670 ac_cv_have_same_type_int64_t_is_long=yes
5672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_int64_t_is_long" >&5
5675 $as_echo "$ac_cv_have_same_type_int64_t_is_long" >&6; }
5676 if test $ac_cv_have_same_type_int64_t_is_long = yes; then
5678 $as_echo "#define HAVE_INT64_T_IS_LONG 1" >>confdefs.h
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether int64_t and long long are the same type" >&5
5686 $as_echo_n "checking whether int64_t and long long are the same type... " >&6; }
5687 if ${ac_cv_have_same_type_int64_t_is_long_long+:} false; then :
5688 $as_echo_n "(cached) " >&6
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5693 int f(int64_t) {return 0;} int f(long long) {return 0;}
5702 if ac_fn_cxx_try_compile "$LINENO"; then :
5703 ac_cv_have_same_type_int64_t_is_long_long=no
5705 ac_cv_have_same_type_int64_t_is_long_long=yes
5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_int64_t_is_long_long" >&5
5710 $as_echo "$ac_cv_have_same_type_int64_t_is_long_long" >&6; }
5711 if test $ac_cv_have_same_type_int64_t_is_long_long = yes; then
5713 $as_echo "#define HAVE_INT64_T_IS_LONG_LONG 1" >>confdefs.h
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether size_t and unsigned are the same type" >&5
5721 $as_echo_n "checking whether size_t and unsigned are the same type... " >&6; }
5722 if ${ac_cv_have_same_type_size_t_is_unsigned+:} false; then :
5723 $as_echo_n "(cached) " >&6
5725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5728 int f(size_t) {return 0;} int f(unsigned) {return 0;}
5737 if ac_fn_cxx_try_compile "$LINENO"; then :
5738 ac_cv_have_same_type_size_t_is_unsigned=no
5740 ac_cv_have_same_type_size_t_is_unsigned=yes
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_size_t_is_unsigned" >&5
5745 $as_echo "$ac_cv_have_same_type_size_t_is_unsigned" >&6; }
5746 if test $ac_cv_have_same_type_size_t_is_unsigned = yes; then
5748 $as_echo "#define HAVE_SIZE_T_IS_UNSIGNED 1" >>confdefs.h
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether size_t and unsigned long are the same type" >&5
5756 $as_echo_n "checking whether size_t and unsigned long are the same type... " >&6; }
5757 if ${ac_cv_have_same_type_size_t_is_unsigned_long+:} false; then :
5758 $as_echo_n "(cached) " >&6
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5763 int f(size_t) {return 0;} int f(unsigned long) {return 0;}
5772 if ac_fn_cxx_try_compile "$LINENO"; then :
5773 ac_cv_have_same_type_size_t_is_unsigned_long=no
5775 ac_cv_have_same_type_size_t_is_unsigned_long=yes
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_size_t_is_unsigned_long" >&5
5780 $as_echo "$ac_cv_have_same_type_size_t_is_unsigned_long" >&6; }
5781 if test $ac_cv_have_same_type_size_t_is_unsigned_long = yes; then
5783 $as_echo "#define HAVE_SIZE_T_IS_UNSIGNED_LONG 1" >>confdefs.h
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether size_t and unsigned long long are the same type" >&5
5791 $as_echo_n "checking whether size_t and unsigned long long are the same type... " >&6; }
5792 if ${ac_cv_have_same_type_size_t_is_unsigned_long_long+:} false; then :
5793 $as_echo_n "(cached) " >&6
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5798 int f(size_t) {return 0;} int f(unsigned long long) {return 0;}
5807 if ac_fn_cxx_try_compile "$LINENO"; then :
5808 ac_cv_have_same_type_size_t_is_unsigned_long_long=no
5810 ac_cv_have_same_type_size_t_is_unsigned_long_long=yes
5812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_same_type_size_t_is_unsigned_long_long" >&5
5815 $as_echo "$ac_cv_have_same_type_size_t_is_unsigned_long_long" >&6; }
5816 if test $ac_cv_have_same_type_size_t_is_unsigned_long_long = yes; then
5818 $as_echo "#define HAVE_SIZE_T_IS_UNSIGNED_LONG_LONG 1" >>confdefs.h
5824 ac_fn_cxx_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
5825 if test "x$ac_cv_type_long_long" = xyes; then :
5827 cat >>confdefs.h <<_ACEOF
5828 #define HAVE_LONG_LONG 1
5834 # The cast to long int works around a bug in the HP C Compiler
5835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5837 # This bug is HP SR number 8606223364.
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
5839 $as_echo_n "checking size of short... " >&6; }
5840 if ${ac_cv_sizeof_short+:} false; then :
5841 $as_echo_n "(cached) " >&6
5843 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
5846 if test "$ac_cv_type_short" = yes; then
5847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5849 as_fn_error 77 "cannot compute sizeof (short)
5850 See \`config.log' for more details" "$LINENO" 5; }
5852 ac_cv_sizeof_short=0
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
5858 $as_echo "$ac_cv_sizeof_short" >&6; }
5862 cat >>confdefs.h <<_ACEOF
5863 #define SIZEOF_SHORT $ac_cv_sizeof_short
5867 # The cast to long int works around a bug in the HP C Compiler
5868 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5869 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5870 # This bug is HP SR number 8606223364.
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
5872 $as_echo_n "checking size of int... " >&6; }
5873 if ${ac_cv_sizeof_int+:} false; then :
5874 $as_echo_n "(cached) " >&6
5876 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
5879 if test "$ac_cv_type_int" = yes; then
5880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5882 as_fn_error 77 "cannot compute sizeof (int)
5883 See \`config.log' for more details" "$LINENO" 5; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
5891 $as_echo "$ac_cv_sizeof_int" >&6; }
5895 cat >>confdefs.h <<_ACEOF
5896 #define SIZEOF_INT $ac_cv_sizeof_int
5900 # The cast to long int works around a bug in the HP C Compiler
5901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5903 # This bug is HP SR number 8606223364.
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5905 $as_echo_n "checking size of long... " >&6; }
5906 if ${ac_cv_sizeof_long+:} false; then :
5907 $as_echo_n "(cached) " >&6
5909 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
5912 if test "$ac_cv_type_long" = yes; then
5913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5915 as_fn_error 77 "cannot compute sizeof (long)
5916 See \`config.log' for more details" "$LINENO" 5; }
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
5924 $as_echo "$ac_cv_sizeof_long" >&6; }
5928 cat >>confdefs.h <<_ACEOF
5929 #define SIZEOF_LONG $ac_cv_sizeof_long
5933 # The cast to long int works around a bug in the HP C Compiler
5934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5936 # This bug is HP SR number 8606223364.
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
5938 $as_echo_n "checking size of long long... " >&6; }
5939 if ${ac_cv_sizeof_long_long+:} false; then :
5940 $as_echo_n "(cached) " >&6
5942 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
5945 if test "$ac_cv_type_long_long" = yes; then
5946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5948 as_fn_error 77 "cannot compute sizeof (long long)
5949 See \`config.log' for more details" "$LINENO" 5; }
5951 ac_cv_sizeof_long_long=0
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
5957 $as_echo "$ac_cv_sizeof_long_long" >&6; }
5961 cat >>confdefs.h <<_ACEOF
5962 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
5966 # The cast to long int works around a bug in the HP C Compiler
5967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5969 # This bug is HP SR number 8606223364.
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
5971 $as_echo_n "checking size of void *... " >&6; }
5972 if ${ac_cv_sizeof_void_p+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
5978 if test "$ac_cv_type_void_p" = yes; then
5979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5981 as_fn_error 77 "cannot compute sizeof (void *)
5982 See \`config.log' for more details" "$LINENO" 5; }
5984 ac_cv_sizeof_void_p=0
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
5990 $as_echo "$ac_cv_sizeof_void_p" >&6; }
5994 cat >>confdefs.h <<_ACEOF
5995 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6000 ac_fn_cxx_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
6001 if test "x$ac_cv_have_decl_getline" = xyes; then :
6007 cat >>confdefs.h <<_ACEOF
6008 #define HAVE_DECL_GETLINE $ac_have_decl
6012 for ac_header in time.h execinfo.h
6014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6015 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6017 cat >>confdefs.h <<_ACEOF
6018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6025 ac_fn_cxx_check_decl "$LINENO" "clock_gettime" "ac_cv_have_decl_clock_gettime" "#if HAVE_TIME_H
6029 if test "x$ac_cv_have_decl_clock_gettime" = xyes; then :
6035 cat >>confdefs.h <<_ACEOF
6036 #define HAVE_DECL_CLOCK_GETTIME $ac_have_decl
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
6040 $as_echo_n "checking for library containing clock_gettime... " >&6; }
6041 if ${ac_cv_search_clock_gettime+:} false; then :
6042 $as_echo_n "(cached) " >&6
6044 ac_func_search_save_LIBS=$LIBS
6045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6046 /* end confdefs.h. */
6048 /* Override any GCC internal prototype to avoid an error.
6049 Use char because int might match the return type of a GCC
6050 builtin and then its argument prototype would still apply. */
6054 char clock_gettime ();
6058 return clock_gettime ();
6063 for ac_lib in '' rt; do
6064 if test -z "$ac_lib"; then
6065 ac_res="none required"
6068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6070 if ac_fn_cxx_try_link "$LINENO"; then :
6071 ac_cv_search_clock_gettime=$ac_res
6073 rm -f core conftest.err conftest.$ac_objext \
6075 if ${ac_cv_search_clock_gettime+:} false; then :
6079 if ${ac_cv_search_clock_gettime+:} false; then :
6082 ac_cv_search_clock_gettime=no
6085 LIBS=$ac_func_search_save_LIBS
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
6088 $as_echo "$ac_cv_search_clock_gettime" >&6; }
6089 ac_res=$ac_cv_search_clock_gettime
6090 if test "$ac_res" != no; then :
6091 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6095 for ac_func in clock_gettime
6097 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
6098 if test "x$ac_cv_func_clock_gettime" = xyes; then :
6099 cat >>confdefs.h <<_ACEOF
6100 #define HAVE_CLOCK_GETTIME 1
6108 # Check whether --enable-row-type was given.
6109 if test "${enable_row_type+set}" = set; then :
6110 enableval=$enable_row_type; ac_cv_row_type=$enableval
6115 if test "$ac_cv_row_type" = array; then
6117 cat >>confdefs.h <<_ACEOF
6118 #define MASSTREE_ROW_TYPE_ARRAY 1
6121 elif test "$ac_cv_row_type" = array_ver; then
6123 cat >>confdefs.h <<_ACEOF
6124 #define MASSTREE_ROW_TYPE_ARRAY_VER 1
6127 elif test "$ac_cv_row_type" = bag; then
6129 cat >>confdefs.h <<_ACEOF
6130 #define MASSTREE_ROW_TYPE_BAG 1
6133 elif test "$ac_cv_row_type" = str; then
6135 cat >>confdefs.h <<_ACEOF
6136 #define MASSTREE_ROW_TYPE_STR 1
6140 as_fn_error $? "$ac_cv_row_type: Unknown row type" "$LINENO" 5
6143 # Check whether --enable-max-key-len was given.
6144 if test "${enable_max_key_len+set}" = set; then :
6145 enableval=$enable_max_key_len; ac_cv_max_key_len=$enableval
6147 ac_cv_max_key_len=255
6151 cat >>confdefs.h <<_ACEOF
6152 #define MASSTREE_MAXKEYLEN $ac_cv_max_key_len
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MADV_HUGEPAGE is supported" >&5
6157 $as_echo_n "checking whether MADV_HUGEPAGE is supported... " >&6; }
6158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6160 #include <sys/mman.h>
6161 #ifndef MADV_HUGEPAGE
6172 if ac_fn_cxx_try_cpp "$LINENO"; then :
6173 have_madv_hugepage=yes
6175 have_madv_hugepage=no
6177 rm -f conftest.err conftest.i conftest.$ac_ext
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_madv_hugepage" >&5
6179 $as_echo "$have_madv_hugepage" >&6; }
6180 if test $have_madv_hugepage = yes; then
6182 $as_echo "#define HAVE_MADV_HUGEPAGE 1" >>confdefs.h
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MAP_HUGETLB is supported" >&5
6187 $as_echo_n "checking whether MAP_HUGETLB is supported... " >&6; }
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <sys/mman.h>
6202 if ac_fn_cxx_try_cpp "$LINENO"; then :
6203 have_map_hugetlb=yes
6207 rm -f conftest.err conftest.i conftest.$ac_ext
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_map_hugetlb" >&5
6209 $as_echo "$have_map_hugetlb" >&6; }
6210 if test $have_map_hugetlb = yes; then
6212 $as_echo "#define HAVE_MAP_HUGETLB 1" >>confdefs.h
6216 # Check whether --enable-superpage was given.
6217 if test "${enable_superpage+set}" = set; then :
6218 enableval=$enable_superpage;
6220 enable_superpage=maybe
6223 if test "$enable_superpage $have_madv_hugepage $have_map_hugetlb" = "yes no no"; then
6225 Error: superpages are not supported on this machine.
6226 Try again without --enable-superpage.
6228 elif test "$enable_superpage $have_madv_hugepage $have_map_hugetlb" != "maybe no no" -a "$enable_superpage" != no; then
6230 cat >>confdefs.h <<_ACEOF
6231 #define HAVE_SUPERPAGE 1
6236 # Check whether --enable-memdebug was given.
6237 if test "${enable_memdebug+set}" = set; then :
6238 enableval=$enable_memdebug;
6241 if test "$enable_memdebug" = yes; then
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_MEMDEBUG 1
6249 # Check whether --enable-assert was given.
6250 if test "${enable_assert+set}" = set; then :
6251 enableval=$enable_assert; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Use --disable-assertions instead of --disable-assert." >&5
6252 $as_echo "$as_me: WARNING: Use --disable-assertions instead of --disable-assert." >&2;}
6255 # Check whether --enable-assertions was given.
6256 if test "${enable_assertions+set}" = set; then :
6257 enableval=$enable_assertions;
6260 if test "$enable_assertions" != no -o "(" -z "$enable_assertions" -a "$enable_assert" != no ")"; then
6262 cat >>confdefs.h <<_ACEOF
6263 #define ENABLE_ASSERTIONS 1
6268 # Check whether --enable-preconditions was given.
6269 if test "${enable_preconditions+set}" = set; then :
6270 enableval=$enable_preconditions;
6273 if test "$enable_preconditions" = no; then
6275 cat >>confdefs.h <<_ACEOF
6276 #define ENABLE_PRECONDITIONS 0
6279 elif test -n "$enable_preconditions"; then
6281 cat >>confdefs.h <<_ACEOF
6282 #define ENABLE_PRECONDITIONS 1
6287 # Check whether --enable-invariants was given.
6288 if test "${enable_invariants+set}" = set; then :
6289 enableval=$enable_invariants;
6292 if test "$enable_invariants" = no; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define ENABLE_INVARIANTS 0
6298 elif test -n "$enable_preconditions"; then
6300 cat >>confdefs.h <<_ACEOF
6301 #define ENABLE_INVARIANTS 1
6307 cat >>confdefs.h <<_ACEOF
6308 #define CACHE_LINE_SIZE 64
6317 cat >>confdefs.h <<_ACEOF
6318 #define HAVE_UNALIGNED_ACCESS 1
6322 cat >confcache <<\_ACEOF
6323 # This file is a shell script that caches the results of configure
6324 # tests run on this system so they can be shared between configure
6325 # scripts and configure runs, see configure's option --config-cache.
6326 # It is not useful on other systems. If it contains results you don't
6327 # want to keep, you may remove or edit it.
6329 # config.status only pays attention to the cache file if you give it
6330 # the --recheck option to rerun configure.
6332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6338 # The following way of writing the cache mishandles newlines in values,
6339 # but we know of no workaround that is simple, portable, and efficient.
6340 # So, we kill variables containing newlines.
6341 # Ultrix sh set writes to stderr and can't be redirected directly,
6342 # and sets the high bit in the cache file unless we assign to the vars.
6344 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6345 eval ac_val=\$$ac_var
6349 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6353 _ | IFS | as_nl) ;; #(
6354 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6355 *) { eval $ac_var=; unset $ac_var;} ;;
6361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6362 *${as_nl}ac_space=\ *)
6363 # `set' does not quote correctly, so add quotes: double-quote
6364 # substitution turns \\\\ into \\, and sed turns \\ into \.
6367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6370 # `set' quotes correctly as required by POSIX, so do not add quotes.
6371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6385 if test -w "$cache_file"; then
6386 if test "x$cache_file" != "x/dev/null"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6388 $as_echo "$as_me: updating cache $cache_file" >&6;}
6389 if test ! -f "$cache_file" || test -h "$cache_file"; then
6390 cat confcache >"$cache_file"
6392 case $cache_file in #(
6394 mv -f confcache "$cache_file"$$ &&
6395 mv -f "$cache_file"$$ "$cache_file" ;; #(
6397 mv -f confcache "$cache_file" ;;
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6403 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6409 # Let make expand exec_prefix.
6410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6412 DEFS=-DHAVE_CONFIG_H
6417 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6418 # 1. Remove the extension, and $U if already installed.
6419 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6420 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6421 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6422 # will be set to the directory where LIBOBJS objects are built.
6423 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6424 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6428 LTLIBOBJS=$ac_ltlibobjs
6433 : "${CONFIG_STATUS=./config.status}"
6435 ac_clean_files_save=$ac_clean_files
6436 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6442 # Generated by $as_me.
6443 # Run this file to recreate the current configuration.
6444 # Compiler output produced by configure, useful for debugging
6445 # configure, is in config.log if it exists.
6451 SHELL=\${CONFIG_SHELL-$SHELL}
6454 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6455 ## -------------------- ##
6456 ## M4sh Initialization. ##
6457 ## -------------------- ##
6459 # Be more Bourne compatible
6460 DUALCASE=1; export DUALCASE # for MKS sh
6461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6465 # is contrary to our usage. Disable this feature.
6466 alias -g '${1+"$@"}'='"$@"'
6467 setopt NO_GLOB_SUBST
6469 case `(set -o) 2>/dev/null` in #(
6481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6482 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6485 # Prefer a ksh shell builtin over an external printf program on Solaris,
6486 # but without wasting forks for bash or zsh.
6487 if test -z "$BASH_VERSION$ZSH_VERSION" \
6488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6489 as_echo='print -r --'
6490 as_echo_n='print -rn --'
6491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6492 as_echo='printf %s\n'
6493 as_echo_n='printf %s'
6495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6496 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6497 as_echo_n='/usr/ucb/echo -n'
6499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6500 as_echo_n_body='eval
6504 expr "X$arg" : "X\\(.*\\)$as_nl";
6505 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6507 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6509 export as_echo_n_body
6510 as_echo_n='sh -c $as_echo_n_body as_echo'
6513 as_echo='sh -c $as_echo_body as_echo'
6516 # The user is always right.
6517 if test "${PATH_SEPARATOR+set}" != set; then
6519 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6520 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6527 # We need space, tab and new line, in precisely that order. Quoting is
6528 # there to prevent editors from complaining about space-tab.
6529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6530 # splitting by setting IFS to empty value.)
6533 # Find who we are. Look in the path if we contain no directory separator.
6536 *[\\/]* ) as_myself=$0 ;;
6537 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 test -z "$as_dir" && as_dir=.
6542 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6548 # We did not find ourselves, most probably we were run as `sh COMMAND'
6549 # in which case we are not to be found in the path.
6550 if test "x$as_myself" = x; then
6553 if test ! -f "$as_myself"; then
6554 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6558 # Unset variables that we do not need and which cause bugs (e.g. in
6559 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6560 # suppresses any "Segmentation fault" message there. '((' could
6561 # trigger a bug in pdksh 5.2.14.
6562 for as_var in BASH_ENV ENV MAIL MAILPATH
6563 do eval test x\${$as_var+set} = xset \
6564 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6580 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6581 # ----------------------------------------
6582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6584 # script with STATUS, using 1 if that was 0.
6587 as_status=$1; test $as_status -eq 0 && as_status=1
6589 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6590 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6592 $as_echo "$as_me: error: $2" >&2
6593 as_fn_exit $as_status
6597 # as_fn_set_status STATUS
6598 # -----------------------
6599 # Set $? to STATUS, without forking.
6603 } # as_fn_set_status
6607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6617 # Portably unset VAR.
6620 { eval $1=; unset $1;}
6622 as_unset=as_fn_unset
6623 # as_fn_append VAR VALUE
6624 # ----------------------
6625 # Append the text in VALUE to the end of the definition contained in VAR. Take
6626 # advantage of any shell optimizations that allow amortized linear growth over
6627 # repeated appends, instead of the typical quadratic growth present in naive
6629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6630 eval 'as_fn_append ()
6641 # as_fn_arith ARG...
6642 # ------------------
6643 # Perform arithmetic evaluation on the ARGs, and store the result in the
6644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6645 # must be portable across $(()) and expr.
6646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6647 eval 'as_fn_arith ()
6654 as_val=`expr "$@" || test $? -eq 1`
6659 if expr a : '\(a\)' >/dev/null 2>&1 &&
6660 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6667 as_basename=basename
6672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6678 as_me=`$as_basename -- "$0" ||
6679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6680 X"$0" : 'X\(//\)$' \| \
6681 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6683 sed '/^.*\/\([^/][^/]*\)\/*$/{
6697 # Avoid depending upon Character Ranges.
6698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6701 as_cr_digits='0123456789'
6702 as_cr_alnum=$as_cr_Letters$as_cr_digits
6704 ECHO_C= ECHO_N= ECHO_T=
6705 case `echo -n x` in #(((((
6707 case `echo 'xy\c'` in
6708 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6710 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6717 rm -f conf$$ conf$$.exe conf$$.file
6718 if test -d conf$$.dir; then
6719 rm -f conf$$.dir/conf$$.file
6722 mkdir conf$$.dir 2>/dev/null
6724 if (echo >conf$$.file) 2>/dev/null; then
6725 if ln -s conf$$.file conf$$ 2>/dev/null; then
6727 # ... but there are two gotchas:
6728 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6729 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6730 # In both cases, we have to default to `cp -pR'.
6731 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6733 elif ln conf$$.file conf$$ 2>/dev/null; then
6741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6742 rmdir conf$$.dir 2>/dev/null
6747 # Create "$as_dir" as a directory, including parents if necessary.
6752 -*) as_dir=./$as_dir;;
6754 test -d "$as_dir" || eval $as_mkdir_p || {
6758 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6759 *) as_qdir=$as_dir;;
6761 as_dirs="'$as_qdir' $as_dirs"
6762 as_dir=`$as_dirname -- "$as_dir" ||
6763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6764 X"$as_dir" : 'X\(//\)[^/]' \| \
6765 X"$as_dir" : 'X\(//\)$' \| \
6766 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6767 $as_echo X"$as_dir" |
6768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6785 test -d "$as_dir" && break
6787 test -z "$as_dirs" || eval "mkdir $as_dirs"
6788 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6792 if mkdir -p . 2>/dev/null; then
6793 as_mkdir_p='mkdir -p "$as_dir"'
6795 test -d ./-p && rmdir ./-p
6800 # as_fn_executable_p FILE
6801 # -----------------------
6802 # Test if FILE is an executable regular file.
6803 as_fn_executable_p ()
6805 test -f "$1" && test -x "$1"
6806 } # as_fn_executable_p
6808 as_executable_p=as_fn_executable_p
6810 # Sed expression to map a string onto a valid CPP name.
6811 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6813 # Sed expression to map a string onto a valid variable name.
6814 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6818 ## ----------------------------------- ##
6819 ## Main body of $CONFIG_STATUS script. ##
6820 ## ----------------------------------- ##
6822 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6825 # Save the log message, to keep $0 and so on meaningful, and to
6826 # report actual input values of CONFIG_FILES etc. instead of their
6827 # values after options handling.
6829 This file was extended by masstree-beta $as_me 0.1, which was
6830 generated by GNU Autoconf 2.69. Invocation command line was
6832 CONFIG_FILES = $CONFIG_FILES
6833 CONFIG_HEADERS = $CONFIG_HEADERS
6834 CONFIG_LINKS = $CONFIG_LINKS
6835 CONFIG_COMMANDS = $CONFIG_COMMANDS
6838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6843 case $ac_config_files in *"
6844 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6847 case $ac_config_headers in *"
6848 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6853 # Files that config.status was made for.
6854 config_files="$ac_config_files"
6855 config_headers="$ac_config_headers"
6859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6861 \`$as_me' instantiates files and other configuration actions
6862 from templates according to the current configuration. Unless the files
6863 and actions are specified as TAGs, all are instantiated by default.
6865 Usage: $0 [OPTION]... [TAG]...
6867 -h, --help print this help, then exit
6868 -V, --version print version number and configuration settings, then exit
6869 --config print configuration, then exit
6870 -q, --quiet, --silent
6871 do not print progress messages
6872 -d, --debug don't remove temporary files
6873 --recheck update $as_me by reconfiguring in the same conditions
6874 --file=FILE[:TEMPLATE]
6875 instantiate the configuration file FILE
6876 --header=FILE[:TEMPLATE]
6877 instantiate the configuration header FILE
6879 Configuration files:
6882 Configuration headers:
6885 Report bugs to the package provider."
6888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6889 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6891 masstree-beta config.status 0.1
6892 configured by $0, generated by GNU Autoconf 2.69,
6893 with options \\"\$ac_cs_config\\"
6895 Copyright (C) 2012 Free Software Foundation, Inc.
6896 This config.status script is free software; the Free Software Foundation
6897 gives unlimited permission to copy, distribute and modify it."
6901 test -n "\$AWK" || AWK=awk
6904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6905 # The default lists apply if the user does not specify any file.
6911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6912 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6916 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6928 # Handling of the options.
6929 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6931 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6932 $as_echo "$ac_cs_version"; exit ;;
6933 --config | --confi | --conf | --con | --co | --c )
6934 $as_echo "$ac_cs_config"; exit ;;
6935 --debug | --debu | --deb | --de | --d | -d )
6937 --file | --fil | --fi | --f )
6940 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6941 '') as_fn_error $? "missing file argument" ;;
6943 as_fn_append CONFIG_FILES " '$ac_optarg'"
6944 ac_need_defaults=false;;
6945 --header | --heade | --head | --hea )
6948 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6950 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6951 ac_need_defaults=false;;
6953 # Conflict between --help and --header
6954 as_fn_error $? "ambiguous option: \`$1'
6955 Try \`$0 --help' for more information.";;
6956 --help | --hel | -h )
6957 $as_echo "$ac_cs_usage"; exit ;;
6958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6959 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6963 -*) as_fn_error $? "unrecognized option: \`$1'
6964 Try \`$0 --help' for more information." ;;
6966 *) as_fn_append ac_config_targets " $1"
6967 ac_need_defaults=false ;;
6973 ac_configure_extra_args=
6975 if $ac_cs_silent; then
6977 ac_configure_extra_args="$ac_configure_extra_args --silent"
6981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6982 if \$ac_cs_recheck; then
6983 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6985 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6986 CONFIG_SHELL='$SHELL'
6992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6996 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6997 ## Running $as_me. ##
7003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7008 # Handling of arguments.
7009 for ac_config_target in $ac_config_targets
7011 case $ac_config_target in
7012 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7013 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
7015 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7020 # If the user did not use the arguments to specify the items to instantiate,
7021 # then the envvar interface is used. Set only those that are not.
7022 # We use the long form for the default assignment because of an extremely
7023 # bizarre bug on SunOS 4.1.3.
7024 if $ac_need_defaults; then
7025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7029 # Have a temporary directory for convenience. Make it in the build tree
7030 # simply because there is no reason against having it here, and in addition,
7031 # creating and moving files from /tmp can sometimes cause problems.
7032 # Hook for its removal unless debugging.
7033 # Note that there is a small window in which the directory will not be cleaned:
7034 # after its creation but before its name has been assigned to `$tmp'.
7038 trap 'exit_status=$?
7040 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7042 trap 'as_fn_exit 1' 1 2 13 15
7044 # Create a (secure) tmp directory for tmp files.
7047 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7051 tmp=./conf$$-$RANDOM
7052 (umask 077 && mkdir "$tmp")
7053 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7056 # Set up the scripts for CONFIG_FILES section.
7057 # No need to generate them if there are no CONFIG_FILES.
7058 # This happens for instance with `./config.status config.h'.
7059 if test -n "$CONFIG_FILES"; then
7062 ac_cr=`echo X | tr X '\015'`
7063 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7064 # But we know of no other shell where ac_cr would be empty at this
7065 # point, so we can use a bashism as a fallback.
7066 if test "x$ac_cr" = x; then
7067 eval ac_cr=\$\'\\r\'
7069 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7070 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7076 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7081 echo "cat >conf$$subs.awk <<_ACEOF" &&
7082 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7086 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7088 for ac_last_try in false false false false false :; do
7089 . ./conf$$subs.sh ||
7090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7092 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7093 if test $ac_delim_n = $ac_delim_num; then
7095 elif $ac_last_try; then
7096 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7098 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7104 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7108 s/^/S["/; s/!.*/"]=/
7118 s/\(.\{148\}\)..*/\1/
7120 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7132 s/\(.\{148\}\)..*/\1/
7134 s/["\\]/\\&/g; s/^/"/; s/$/"/
7138 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7143 ' <conf$$subs.awk | sed '
7148 ' >>$CONFIG_STATUS || ac_write_fail=1
7149 rm -f conf$$subs.awk
7150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7152 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7153 for (key in S) S_is_set[key] = 1
7159 nfields = split(line, field, "@")
7161 len = length(field[1])
7162 for (i = 2; i < nfields; i++) {
7164 keylen = length(key)
7165 if (S_is_set[key]) {
7167 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7168 len += length(value) + length(field[++i])
7179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7180 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7181 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7184 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7185 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7188 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7189 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7190 # trailing colons and then remove the whole line if VPATH becomes empty
7191 # (actually we leave an empty line to preserve line numbers).
7192 if test "x$srcdir" = x.; then
7193 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7212 fi # test -n "$CONFIG_FILES"
7214 # Set up the scripts for CONFIG_HEADERS section.
7215 # No need to generate them if there are no CONFIG_HEADERS.
7216 # This happens for instance with `./config.status Makefile'.
7217 if test -n "$CONFIG_HEADERS"; then
7218 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7222 # Transform confdefs.h into an awk script `defines.awk', embedded as
7223 # here-document in config.status, that substitutes the proper values into
7224 # config.h.in to produce config.h.
7226 # Create a delimiter string that does not exist in confdefs.h, to ease
7227 # handling of long lines.
7229 for ac_last_try in false false :; do
7230 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7231 if test -z "$ac_tt"; then
7233 elif $ac_last_try; then
7234 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7236 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7240 # For the awk script, D is an array of macro values keyed by name,
7241 # likewise P contains macro parameters if any. Preserve backslash
7242 # newline sequences.
7244 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7246 s/.\{148\}/&'"$ac_delim"'/g
7249 s/^[ ]*#[ ]*define[ ][ ]*/ /
7256 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7258 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7262 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7263 D["\1"]=" \3\\\\\\n"\\/p
7265 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7270 s/.\{148\}/&'"$ac_delim"'/g
7275 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7278 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7280 ' <confdefs.h | sed '
7281 s/'"$ac_delim"'/"\\\
7282 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7285 for (key in D) D_is_set[key] = 1
7288 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7290 split(line, arg, " ")
7291 if (arg[1] == "#") {
7295 defundef = substr(arg[1], 2)
7298 split(mac1, mac2, "(") #)
7300 prefix = substr(line, 1, index(line, defundef) - 1)
7301 if (D_is_set[macro]) {
7302 # Preserve the white space surrounding the "#".
7303 print prefix "define", macro P[macro] D[macro]
7306 # Replace #undef with comments. This is necessary, for example,
7307 # in the case of _POSIX_SOURCE, which is predefined and required
7308 # on some systems where configure will not decide to define it.
7309 if (defundef == "undef") {
7310 print "/*", prefix defundef, macro, "*/"
7318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7319 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7320 fi # test -n "$CONFIG_HEADERS"
7323 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
7328 :[FHLC]) ac_mode=$ac_tag; continue;;
7330 case $ac_mode$ac_tag in
7332 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7333 :[FH]-) ac_tag=-:-;;
7334 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7351 -) ac_f="$ac_tmp/stdin";;
7352 *) # Look for the file first in the build tree, then in the source tree
7353 # (if the path is not absolute). The absolute path cannot be DOS-style,
7354 # because $ac_f cannot contain `:'.
7358 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7360 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7362 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7363 as_fn_append ac_file_inputs " '$ac_f'"
7366 # Let's still pretend it is `configure' which instantiates (i.e., don't
7367 # use $as_me), people would be surprised to read:
7368 # /* config.h. Generated by config.status. */
7369 configure_input='Generated from '`
7370 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7372 if test x"$ac_file" != x-; then
7373 configure_input="$ac_file. $configure_input"
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7375 $as_echo "$as_me: creating $ac_file" >&6;}
7377 # Neutralize special characters interpreted by sed in replacement strings.
7378 case $configure_input in #(
7379 *\&* | *\|* | *\\* )
7380 ac_sed_conf_input=`$as_echo "$configure_input" |
7381 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7382 *) ac_sed_conf_input=$configure_input;;
7386 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7392 ac_dir=`$as_dirname -- "$ac_file" ||
7393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7394 X"$ac_file" : 'X\(//\)[^/]' \| \
7395 X"$ac_file" : 'X\(//\)$' \| \
7396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7397 $as_echo X"$ac_file" |
7398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7415 as_dir="$ac_dir"; as_fn_mkdir_p
7419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7421 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7422 # A ".." for each directory in $ac_dir_suffix.
7423 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7424 case $ac_top_builddir_sub in
7425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7429 ac_abs_top_builddir=$ac_pwd
7430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7431 # for backward compatibility:
7432 ac_top_builddir=$ac_top_build_prefix
7435 .) # We are building in place.
7437 ac_top_srcdir=$ac_top_builddir_sub
7438 ac_abs_top_srcdir=$ac_pwd ;;
7439 [\\/]* | ?:[\\/]* ) # Absolute name.
7440 ac_srcdir=$srcdir$ac_dir_suffix;
7441 ac_top_srcdir=$srcdir
7442 ac_abs_top_srcdir=$srcdir ;;
7444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7445 ac_top_srcdir=$ac_top_build_prefix$srcdir
7446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7460 # If the template does not know about datarootdir, expand it.
7461 # FIXME: This hack should be removed a few years after 2.60.
7462 ac_datarootdir_hack=; ac_datarootdir_seen=
7473 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7474 *datarootdir*) ac_datarootdir_seen=yes;;
7475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7477 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7480 ac_datarootdir_hack='
7481 s&@datadir@&$datadir&g
7482 s&@docdir@&$docdir&g
7483 s&@infodir@&$infodir&g
7484 s&@localedir@&$localedir&g
7485 s&@mandir@&$mandir&g
7486 s&\\\${datarootdir}&$datarootdir&g' ;;
7490 # Neutralize VPATH when `$srcdir' = `.'.
7491 # Shell code in configure.ac might set extrasub.
7492 # FIXME: do we really want to maintain this feature?
7493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7494 ac_sed_extra="$ac_vpsub
7497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7500 s|@configure_input@|$ac_sed_conf_input|;t t
7501 s&@top_builddir@&$ac_top_builddir_sub&;t t
7502 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7503 s&@srcdir@&$ac_srcdir&;t t
7504 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7505 s&@top_srcdir@&$ac_top_srcdir&;t t
7506 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7507 s&@builddir@&$ac_builddir&;t t
7508 s&@abs_builddir@&$ac_abs_builddir&;t t
7509 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7510 $ac_datarootdir_hack
7512 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7513 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7515 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7516 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7517 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7518 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7520 which seems to be undefined. Please make sure it is defined" >&5
7521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7522 which seems to be undefined. Please make sure it is defined" >&2;}
7524 rm -f "$ac_tmp/stdin"
7526 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7527 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7535 if test x"$ac_file" != x-; then
7537 $as_echo "/* $configure_input */" \
7538 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7539 } >"$ac_tmp/config.h" \
7540 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7541 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7543 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7546 mv "$ac_tmp/config.h" "$ac_file" \
7547 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7550 $as_echo "/* $configure_input */" \
7551 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7552 || as_fn_error $? "could not create -" "$LINENO" 5
7564 ac_clean_files=$ac_clean_files_save
7566 test $ac_write_fail = 0 ||
7567 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7570 # configure is writing to config.log, and then calls config.status.
7571 # config.status does its own redirection, appending to config.log.
7572 # Unfortunately, on DOS this fails, as config.log is still kept open
7573 # by configure, so config.status won't be able to write to it; its
7574 # output is simply discarded. So we exec the FD to /dev/null,
7575 # effectively closing config.log, so it can be properly (re)opened and
7576 # appended to by config.status. When coming back to configure, we
7577 # need to make the FD available again.
7578 if test "$no_create" != yes; then
7580 ac_config_status_args=
7581 test "$silent" = yes &&
7582 ac_config_status_args="$ac_config_status_args --quiet"
7584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7587 # would make configure fail if this is the last instruction.
7588 $ac_cs_success || as_fn_exit 1
7590 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7592 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}