2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for umurmur 0.2.6.
5 # Report bugs to <http://code.google.com/p/umurmur/issues/entry>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://code.google.com/p/umurmur/issues/entry about
235 $0: your system, including any error possibly output before
236 $0: this message. Then install a modern shell, or manually
237 $0: run the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
553 PACKAGE_NAME='umurmur'
554 PACKAGE_TARNAME='umurmur'
555 PACKAGE_VERSION='0.2.6'
556 PACKAGE_STRING='umurmur 0.2.6'
557 PACKAGE_BUGREPORT='http://code.google.com/p/umurmur/issues/entry'
558 PACKAGE_URL='http://code.google.com/p/umurmur'
560 ac_unique_file="src/client.h"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='am__EXEEXT_FALSE
629 INSTALL_STRIP_PROGRAM
671 program_transform_name
684 enable_option_checking
686 enable_dependency_tracking
688 ac_precious_vars='build_alias
699 # Initialize some variables set by options.
701 ac_init_version=false
702 ac_unrecognized_opts=
704 # The variables have the same names as the options, with
705 # dashes changed to underlines.
713 program_transform_name=s,x,x,
721 # Installation directory options.
722 # These are left unexpanded so users can "make install exec_prefix=/foo"
723 # and all the variables that are supposed to be based on exec_prefix
724 # by default will actually change.
725 # Use braces instead of parens because sh, perl, etc. also accept them.
726 # (The list follows the same order as the GNU Coding Standards.)
727 bindir='${exec_prefix}/bin'
728 sbindir='${exec_prefix}/sbin'
729 libexecdir='${exec_prefix}/libexec'
730 datarootdir='${prefix}/share'
731 datadir='${datarootdir}'
732 sysconfdir='${prefix}/etc'
733 sharedstatedir='${prefix}/com'
734 localstatedir='${prefix}/var'
735 includedir='${prefix}/include'
736 oldincludedir='/usr/include'
737 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
738 infodir='${datarootdir}/info'
743 libdir='${exec_prefix}/lib'
744 localedir='${datarootdir}/locale'
745 mandir='${datarootdir}/man'
751 # If the previous option needs an argument, assign it.
752 if test -n "$ac_prev"; then
753 eval $ac_prev=\$ac_option
759 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
764 # Accept the important Cygnus configure options, so we can diagnose typos.
766 case $ac_dashdash$ac_option in
770 -bindir | --bindir | --bindi | --bind | --bin | --bi)
772 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775 -build | --build | --buil | --bui | --bu)
776 ac_prev=build_alias ;;
777 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
778 build_alias=$ac_optarg ;;
780 -cache-file | --cache-file | --cache-fil | --cache-fi \
781 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
782 ac_prev=cache_file ;;
783 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
784 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
785 cache_file=$ac_optarg ;;
788 cache_file=config.cache ;;
790 -datadir | --datadir | --datadi | --datad)
792 -datadir=* | --datadir=* | --datadi=* | --datad=*)
793 datadir=$ac_optarg ;;
795 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
796 | --dataroo | --dataro | --datar)
797 ac_prev=datarootdir ;;
798 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
799 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
800 datarootdir=$ac_optarg ;;
802 -disable-* | --disable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error $? "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
816 eval enable_$ac_useropt=no ;;
818 -docdir | --docdir | --docdi | --doc | --do)
820 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
825 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828 -enable-* | --enable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: $ac_useropt"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
842 eval enable_$ac_useropt=\$ac_optarg ;;
844 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
845 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
846 | --exec | --exe | --ex)
847 ac_prev=exec_prefix ;;
848 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
849 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
850 | --exec=* | --exe=* | --ex=*)
851 exec_prefix=$ac_optarg ;;
853 -gas | --gas | --ga | --g)
854 # Obsolete; use --with-gas.
857 -help | --help | --hel | --he | -h)
859 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
860 ac_init_help=recursive ;;
861 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
862 ac_init_help=short ;;
864 -host | --host | --hos | --ho)
865 ac_prev=host_alias ;;
866 -host=* | --host=* | --hos=* | --ho=*)
867 host_alias=$ac_optarg ;;
869 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
871 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
873 htmldir=$ac_optarg ;;
875 -includedir | --includedir | --includedi | --included | --include \
876 | --includ | --inclu | --incl | --inc)
877 ac_prev=includedir ;;
878 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
879 | --includ=* | --inclu=* | --incl=* | --inc=*)
880 includedir=$ac_optarg ;;
882 -infodir | --infodir | --infodi | --infod | --info | --inf)
884 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
885 infodir=$ac_optarg ;;
887 -libdir | --libdir | --libdi | --libd)
889 -libdir=* | --libdir=* | --libdi=* | --libd=*)
892 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
893 | --libexe | --libex | --libe)
894 ac_prev=libexecdir ;;
895 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
896 | --libexe=* | --libex=* | --libe=*)
897 libexecdir=$ac_optarg ;;
899 -localedir | --localedir | --localedi | --localed | --locale)
901 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
902 localedir=$ac_optarg ;;
904 -localstatedir | --localstatedir | --localstatedi | --localstated \
905 | --localstate | --localstat | --localsta | --localst | --locals)
906 ac_prev=localstatedir ;;
907 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
908 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
909 localstatedir=$ac_optarg ;;
911 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
913 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917 # Obsolete; use --without-fp.
920 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
921 | --no-cr | --no-c | -n)
924 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
925 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
929 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
930 | --oldin | --oldi | --old | --ol | --o)
931 ac_prev=oldincludedir ;;
932 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
933 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
934 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
935 oldincludedir=$ac_optarg ;;
937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942 -program-prefix | --program-prefix | --program-prefi | --program-pref \
943 | --program-pre | --program-pr | --program-p)
944 ac_prev=program_prefix ;;
945 -program-prefix=* | --program-prefix=* | --program-prefi=* \
946 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
947 program_prefix=$ac_optarg ;;
949 -program-suffix | --program-suffix | --program-suffi | --program-suff \
950 | --program-suf | --program-su | --program-s)
951 ac_prev=program_suffix ;;
952 -program-suffix=* | --program-suffix=* | --program-suffi=* \
953 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
954 program_suffix=$ac_optarg ;;
956 -program-transform-name | --program-transform-name \
957 | --program-transform-nam | --program-transform-na \
958 | --program-transform-n | --program-transform- \
959 | --program-transform | --program-transfor \
960 | --program-transfo | --program-transf \
961 | --program-trans | --program-tran \
962 | --progr-tra | --program-tr | --program-t)
963 ac_prev=program_transform_name ;;
964 -program-transform-name=* | --program-transform-name=* \
965 | --program-transform-nam=* | --program-transform-na=* \
966 | --program-transform-n=* | --program-transform-=* \
967 | --program-transform=* | --program-transfor=* \
968 | --program-transfo=* | --program-transf=* \
969 | --program-trans=* | --program-tran=* \
970 | --progr-tra=* | --program-tr=* | --program-t=*)
971 program_transform_name=$ac_optarg ;;
973 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
975 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978 -psdir | --psdir | --psdi | --psd | --ps)
980 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
984 | -silent | --silent | --silen | --sile | --sil)
987 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
989 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
991 sbindir=$ac_optarg ;;
993 -sharedstatedir | --sharedstatedir | --sharedstatedi \
994 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
995 | --sharedst | --shareds | --shared | --share | --shar \
997 ac_prev=sharedstatedir ;;
998 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
999 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1000 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1002 sharedstatedir=$ac_optarg ;;
1004 -site | --site | --sit)
1006 -site=* | --site=* | --sit=*)
1009 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1011 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1012 srcdir=$ac_optarg ;;
1014 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1015 | --syscon | --sysco | --sysc | --sys | --sy)
1016 ac_prev=sysconfdir ;;
1017 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1018 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1019 sysconfdir=$ac_optarg ;;
1021 -target | --target | --targe | --targ | --tar | --ta | --t)
1022 ac_prev=target_alias ;;
1023 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1024 target_alias=$ac_optarg ;;
1026 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1029 -version | --version | --versio | --versi | --vers | -V)
1030 ac_init_version=: ;;
1033 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval with_$ac_useropt=\$ac_optarg ;;
1048 -without-* | --without-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1062 eval with_$ac_useropt=no ;;
1065 # Obsolete; use --with-x.
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1082 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1083 Try \`$0 --help' for more information"
1087 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1088 # Reject names that are not valid shell variable names.
1089 case $ac_envvar in #(
1090 '' | [0-9]* | *[!_$as_cr_alnum]* )
1091 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 as_fn_error $? "missing argument to $ac_option"
1112 if test -n "$ac_unrecognized_opts"; then
1113 case $enable_option_checking in
1115 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1116 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 # Check all directory arguments for consistency.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val=\$$ac_var
1127 # Remove trailing slashes.
1130 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1131 eval $ac_var=\$ac_val;;
1133 # Be sure to have absolute directory names.
1135 [\\/$]* | ?:[\\/]* ) continue;;
1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1138 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1141 # There might be people who depend on the old broken behavior: `$host'
1142 # used to hold the argument of --host etc.
1143 # FIXME: To remove some day.
1146 target=$target_alias
1148 # FIXME: To remove some day.
1149 if test "x$host_alias" != x; then
1150 if test "x$build_alias" = x; then
1151 cross_compiling=maybe
1152 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1153 If a cross compiler is detected then cross compile mode will be used" >&2
1154 elif test "x$build_alias" != "x$host_alias"; then
1160 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162 test "$silent" = yes && exec 6>/dev/null
1165 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1166 ac_ls_di=`ls -di .` &&
1167 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1168 as_fn_error $? "working directory cannot be determined"
1169 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1170 as_fn_error $? "pwd does not report name of working directory"
1173 # Find the source files, if location was not specified.
1174 if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$as_myself" ||
1178 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182 $as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1205 ac_srcdir_defaulted=no
1207 if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1211 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1215 # When building in place, set srcdir=.
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 # Remove unnecessary trailing slashes from srcdir.
1220 # Double slashes in file names in object file debugging info
1221 # mess up M-x gdb in Emacs.
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225 for ac_var in $ac_precious_vars; do
1226 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_env_${ac_var}_value=\$${ac_var}
1228 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1233 # Report the --help message.
1235 if test "$ac_init_help" = "long"; then
1236 # Omit some internal or obsolete options to make the list less imposing.
1237 # This message is too long to be a string in the A/UX 3.1 sh.
1239 \`configure' configures umurmur 0.2.6 to adapt to many kinds of systems.
1241 Usage: $0 [OPTION]... [VAR=VALUE]...
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1244 VAR=VALUE. See below for descriptions of some of the useful variables.
1246 Defaults for the options are specified in brackets.
1249 -h, --help display this help and exit
1250 --help=short display options specific to this package
1251 --help=recursive display the short help of all the included packages
1252 -V, --version display version information and exit
1253 -q, --quiet, --silent do not print \`checking ...' messages
1254 --cache-file=FILE cache test results in FILE [disabled]
1255 -C, --config-cache alias for \`--cache-file=config.cache'
1256 -n, --no-create do not create output files
1257 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1259 Installation directories:
1260 --prefix=PREFIX install architecture-independent files in PREFIX
1261 [$ac_default_prefix]
1262 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 By default, \`make install' will install all the files in
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1268 for instance \`--prefix=\$HOME'.
1270 For better control, use the options below.
1272 Fine tuning of the installation directories:
1273 --bindir=DIR user executables [EPREFIX/bin]
1274 --sbindir=DIR system admin executables [EPREFIX/sbin]
1275 --libexecdir=DIR program executables [EPREFIX/libexec]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1284 --infodir=DIR info documentation [DATAROOTDIR/info]
1285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1286 --mandir=DIR man documentation [DATAROOTDIR/man]
1287 --docdir=DIR documentation root [DATAROOTDIR/doc/umurmur]
1288 --htmldir=DIR html documentation [DOCDIR]
1289 --dvidir=DIR dvi documentation [DOCDIR]
1290 --pdfdir=DIR pdf documentation [DOCDIR]
1291 --psdir=DIR ps documentation [DOCDIR]
1297 --program-prefix=PREFIX prepend PREFIX to installed program names
1298 --program-suffix=SUFFIX append SUFFIX to installed program names
1299 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1303 if test -n "$ac_init_help"; then
1304 case $ac_init_help in
1305 short | recursive ) echo "Configuration of umurmur 0.2.6:";;
1310 --disable-option-checking ignore unrecognized --enable/--with options
1311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313 --disable-dependency-tracking speeds up one-time build
1314 --enable-dependency-tracking do not reject slow dependency extractors
1317 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1318 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1319 --with-openssl force use of openssl
1321 Some influential environment variables:
1322 CC C compiler command
1323 CFLAGS C compiler flags
1324 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1325 nonstandard directory <lib dir>
1326 LIBS libraries to pass to the linker, e.g. -l<library>
1327 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1328 you have headers in a nonstandard directory <include dir>
1331 Use these variables to override the choices made by `configure' or to help
1332 it to find libraries and programs with nonstandard names/locations.
1334 Report bugs to <http://code.google.com/p/umurmur/issues/entry>.
1335 umurmur home page: <http://code.google.com/p/umurmur>.
1340 if test "$ac_init_help" = "recursive"; then
1341 # If there are subdirs, report their specific --help.
1342 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1343 test -d "$ac_dir" ||
1344 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1352 # A ".." for each directory in $ac_dir_suffix.
1353 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1354 case $ac_top_builddir_sub in
1355 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1359 ac_abs_top_builddir=$ac_pwd
1360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1361 # for backward compatibility:
1362 ac_top_builddir=$ac_top_build_prefix
1365 .) # We are building in place.
1367 ac_top_srcdir=$ac_top_builddir_sub
1368 ac_abs_top_srcdir=$ac_pwd ;;
1369 [\\/]* | ?:[\\/]* ) # Absolute name.
1370 ac_srcdir=$srcdir$ac_dir_suffix;
1371 ac_top_srcdir=$srcdir
1372 ac_abs_top_srcdir=$srcdir ;;
1374 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1375 ac_top_srcdir=$ac_top_build_prefix$srcdir
1376 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1380 cd "$ac_dir" || { ac_status=$?; continue; }
1381 # Check for guested configure.
1382 if test -f "$ac_srcdir/configure.gnu"; then
1384 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1385 elif test -f "$ac_srcdir/configure"; then
1387 $SHELL "$ac_srcdir/configure" --help=recursive
1389 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391 cd "$ac_pwd" || { ac_status=$?; break; }
1395 test -n "$ac_init_help" && exit $ac_status
1396 if $ac_init_version; then
1398 umurmur configure 0.2.6
1399 generated by GNU Autoconf 2.67
1401 Copyright (C) 2010 Free Software Foundation, Inc.
1402 This configure script is free software; the Free Software Foundation
1403 gives unlimited permission to copy, distribute and modify it.
1408 ## ------------------------ ##
1409 ## Autoconf initialization. ##
1410 ## ------------------------ ##
1412 # ac_fn_c_try_compile LINENO
1413 # --------------------------
1414 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1415 ac_fn_c_try_compile ()
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1418 rm -f conftest.$ac_objext
1419 if { { ac_try="$ac_compile"
1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1422 *) ac_try_echo=$ac_try;;
1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1425 $as_echo "$ac_try_echo"; } >&5
1426 (eval "$ac_compile") 2>conftest.err
1428 if test -s conftest.err; then
1429 grep -v '^ *+' conftest.err >conftest.er1
1430 cat conftest.er1 >&5
1431 mv -f conftest.er1 conftest.err
1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1434 test $ac_status = 0; } && {
1435 test -z "$ac_c_werror_flag" ||
1436 test ! -s conftest.err
1437 } && test -s conftest.$ac_objext; then :
1440 $as_echo "$as_me: failed program was:" >&5
1441 sed 's/^/| /' conftest.$ac_ext >&5
1445 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1446 as_fn_set_status $ac_retval
1448 } # ac_fn_c_try_compile
1450 # ac_fn_c_try_cpp LINENO
1451 # ----------------------
1452 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 if { { ac_try="$ac_cpp conftest.$ac_ext"
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1465 if test -s conftest.err; then
1466 grep -v '^ *+' conftest.err >conftest.er1
1467 cat conftest.er1 >&5
1468 mv -f conftest.er1 conftest.err
1470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1471 test $ac_status = 0; } > conftest.i && {
1472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1473 test ! -s conftest.err
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 as_fn_set_status $ac_retval
1487 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1488 # -------------------------------------------------------
1489 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1490 # the include files in INCLUDES and setting the cache variable VAR
1492 ac_fn_c_check_header_mongrel ()
1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495 if eval "test \"\${$3+set}\"" = set; then :
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1497 $as_echo_n "checking for $2... " >&6; }
1498 if eval "test \"\${$3+set}\"" = set; then :
1499 $as_echo_n "(cached) " >&6
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1503 $as_echo "$ac_res" >&6; }
1505 # Is the header compilable?
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1507 $as_echo_n "checking $2 usability... " >&6; }
1508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1509 /* end confdefs.h. */
1513 if ac_fn_c_try_compile "$LINENO"; then :
1514 ac_header_compiler=yes
1516 ac_header_compiler=no
1518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1520 $as_echo "$ac_header_compiler" >&6; }
1522 # Is the header present?
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1524 $as_echo_n "checking $2 presence... " >&6; }
1525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526 /* end confdefs.h. */
1529 if ac_fn_c_try_cpp "$LINENO"; then :
1530 ac_header_preproc=yes
1532 ac_header_preproc=no
1534 rm -f conftest.err conftest.i conftest.$ac_ext
1535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1536 $as_echo "$ac_header_preproc" >&6; }
1538 # So? What about this header?
1539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1542 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1544 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1548 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1550 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1552 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1554 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1556 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1557 ( $as_echo "## ------------------------------------------------------------ ##
1558 ## Report this to http://code.google.com/p/umurmur/issues/entry ##
1559 ## ------------------------------------------------------------ ##"
1560 ) | sed "s/^/$as_me: WARNING: /" >&2
1563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1564 $as_echo_n "checking for $2... " >&6; }
1565 if eval "test \"\${$3+set}\"" = set; then :
1566 $as_echo_n "(cached) " >&6
1568 eval "$3=\$ac_header_compiler"
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1572 $as_echo "$ac_res" >&6; }
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1576 } # ac_fn_c_check_header_mongrel
1578 # ac_fn_c_try_run LINENO
1579 # ----------------------
1580 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1581 # that executables *can* be run.
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585 if { { ac_try="$ac_link"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_link") 2>&5
1594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1596 { { case "(($ac_try" in
1597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598 *) ac_try_echo=$ac_try;;
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602 (eval "$ac_try") 2>&5
1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605 test $ac_status = 0; }; }; then :
1608 $as_echo "$as_me: program exited with status $ac_status" >&5
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1612 ac_retval=$ac_status
1614 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 as_fn_set_status $ac_retval
1620 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1621 # -------------------------------------------------------
1622 # Tests whether HEADER exists and can be compiled using the include files in
1623 # INCLUDES, setting the cache variable VAR accordingly.
1624 ac_fn_c_check_header_compile ()
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if eval "test \"\${$3+set}\"" = set; then :
1630 $as_echo_n "(cached) " >&6
1632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h. */
1637 if ac_fn_c_try_compile "$LINENO"; then :
1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 $as_echo "$ac_res" >&6; }
1647 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649 } # ac_fn_c_check_header_compile
1651 # ac_fn_c_try_link LINENO
1652 # -----------------------
1653 # Try to link conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext conftest$ac_exeext
1658 if { { ac_try="$ac_link"
1660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_link") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest$ac_exeext && {
1677 test "$cross_compiling" = yes ||
1678 $as_test_x conftest$ac_exeext
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1688 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1689 # interfere with the next link command; also delete a directory that is
1690 # left behind by Apple's compiler. We do this before executing the actions.
1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693 as_fn_set_status $ac_retval
1695 } # ac_fn_c_try_link
1697 # ac_fn_c_check_func LINENO FUNC VAR
1698 # ----------------------------------
1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1700 ac_fn_c_check_func ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval "test \"\${$3+set}\"" = set; then :
1706 $as_echo_n "(cached) " >&6
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1710 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1712 #define $2 innocuous_$2
1714 /* System header to define __stub macros and hopefully few prototypes,
1715 which can conflict with char $2 (); below.
1716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1717 <limits.h> exists even on freestanding compilers. */
1720 # include <limits.h>
1722 # include <assert.h>
1727 /* Override any GCC internal prototype to avoid an error.
1728 Use char because int might match the return type of a GCC
1729 builtin and then its argument prototype would still apply. */
1734 /* The GNU C library defines this for functions which it implements
1735 to always fail with ENOSYS. Some functions are actually named
1736 something starting with __ and the normal name is an alias. */
1737 #if defined __stub_$2 || defined __stub___$2
1749 if ac_fn_c_try_link "$LINENO"; then :
1754 rm -f core conftest.err conftest.$ac_objext \
1755 conftest$ac_exeext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762 } # ac_fn_c_check_func
1764 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1765 # -------------------------------------------
1766 # Tests whether TYPE exists after having included INCLUDES, setting cache
1767 # variable VAR accordingly.
1768 ac_fn_c_check_type ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval "test \"\${$3+set}\"" = set; then :
1774 $as_echo_n "(cached) " >&6
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816 } # ac_fn_c_check_type
1818 # ac_fn_c_find_intX_t LINENO BITS VAR
1819 # -----------------------------------
1820 # Finds a signed integer type with width BITS, setting cache variable VAR
1822 ac_fn_c_find_intX_t ()
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1826 $as_echo_n "checking for int$2_t... " >&6; }
1827 if eval "test \"\${$3+set}\"" = set; then :
1828 $as_echo_n "(cached) " >&6
1831 # Order is important - never check a type that is potentially smaller
1832 # than half of the expected target width.
1833 for ac_type in int$2_t 'int' 'long int' \
1834 'long long int' 'short int' 'signed char'; do
1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836 /* end confdefs.h. */
1837 $ac_includes_default
1838 enum { N = $2 / 2 - 1 };
1842 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $ac_includes_default
1853 enum { N = $2 / 2 - 1 };
1857 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1858 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1865 if ac_fn_c_try_compile "$LINENO"; then :
1872 eval "$3=\$ac_type" ;;
1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1878 if eval test \"x\$"$3"\" = x"no"; then :
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890 } # ac_fn_c_find_intX_t
1892 # ac_fn_c_find_uintX_t LINENO BITS VAR
1893 # ------------------------------------
1894 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1896 ac_fn_c_find_uintX_t ()
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1900 $as_echo_n "checking for uint$2_t... " >&6; }
1901 if eval "test \"\${$3+set}\"" = set; then :
1902 $as_echo_n "(cached) " >&6
1905 # Order is important - never check a type that is potentially smaller
1906 # than half of the expected target width.
1907 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1908 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1911 $ac_includes_default
1915 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1922 if ac_fn_c_try_compile "$LINENO"; then :
1927 eval "$3=\$ac_type" ;;
1930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 if eval test \"x\$"$3"\" = x"no"; then :
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 } # ac_fn_c_find_uintX_t
1944 cat >config.log <<_ACEOF
1945 This file contains any messages produced by compilers while
1946 running configure, to aid debugging if configure makes a mistake.
1948 It was created by umurmur $as_me 0.2.6, which was
1949 generated by GNU Autoconf 2.67. Invocation command line was
1961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1973 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 $as_echo "PATH: $as_dir"
2001 # Keep a trace of the command line.
2002 # Strip out --no-create and --no-recursion so they do not pile up.
2003 # Strip out --silent because we don't want to record it for future runs.
2004 # Also quote any args containing shell meta-characters.
2005 # Make two passes to allow for proper duplicate-argument suppression.
2009 ac_must_keep_next=false
2015 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2017 | -silent | --silent | --silen | --sile | --sil)
2020 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2023 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2025 as_fn_append ac_configure_args1 " '$ac_arg'"
2026 if test $ac_must_keep_next = true; then
2027 ac_must_keep_next=false # Got value, back to normal.
2030 *=* | --config-cache | -C | -disable-* | --disable-* \
2031 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2032 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2033 | -with-* | --with-* | -without-* | --without-* | --x)
2034 case "$ac_configure_args0 " in
2035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2038 -* ) ac_must_keep_next=true ;;
2041 as_fn_append ac_configure_args " '$ac_arg'"
2046 { ac_configure_args0=; unset ac_configure_args0;}
2047 { ac_configure_args1=; unset ac_configure_args1;}
2049 # When interrupted or exit'd, cleanup temporary files, and complete
2050 # config.log. We remove comments because anyway the quotes in there
2051 # would cause problems or look ugly.
2052 # WARNING: Use '\'' to represent an apostrophe within the trap.
2053 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2054 trap 'exit_status=$?
2055 # Save into config.log some information that might help in debugging.
2059 $as_echo "## ---------------- ##
2060 ## Cache variables. ##
2061 ## ---------------- ##"
2063 # The following way of writing the cache mishandles newlines in values,
2065 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2066 eval ac_val=\$$ac_var
2070 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2074 _ | IFS | as_nl) ;; #(
2075 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2076 *) { eval $ac_var=; unset $ac_var;} ;;
2081 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2082 *${as_nl}ac_space=\ *)
2084 "s/'\''/'\''\\\\'\'''\''/g;
2085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2088 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2095 $as_echo "## ----------------- ##
2096 ## Output variables. ##
2097 ## ----------------- ##"
2099 for ac_var in $ac_subst_vars
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2109 if test -n "$ac_subst_files"; then
2110 $as_echo "## ------------------- ##
2111 ## File substitutions. ##
2112 ## ------------------- ##"
2114 for ac_var in $ac_subst_files
2116 eval ac_val=\$$ac_var
2118 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2120 $as_echo "$ac_var='\''$ac_val'\''"
2125 if test -s confdefs.h; then
2126 $as_echo "## ----------- ##
2133 test "$ac_signal" != 0 &&
2134 $as_echo "$as_me: caught signal $ac_signal"
2135 $as_echo "$as_me: exit $exit_status"
2137 rm -f core *.core core.conftest.* &&
2138 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2141 for ac_signal in 1 2 13 15; do
2142 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2147 rm -f -r conftest* confdefs.h
2149 $as_echo "/* confdefs.h */" > confdefs.h
2151 # Predefined preprocessor variables.
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE_NAME "$PACKAGE_NAME"
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2161 cat >>confdefs.h <<_ACEOF
2162 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2165 cat >>confdefs.h <<_ACEOF
2166 #define PACKAGE_STRING "$PACKAGE_STRING"
2169 cat >>confdefs.h <<_ACEOF
2170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2173 cat >>confdefs.h <<_ACEOF
2174 #define PACKAGE_URL "$PACKAGE_URL"
2178 # Let the site file select an alternate cache file if it wants to.
2179 # Prefer an explicitly selected file to automatically selected ones.
2182 if test -n "$CONFIG_SITE"; then
2183 # We do not want a PATH search for config.site.
2184 case $CONFIG_SITE in #((
2185 -*) ac_site_file1=./$CONFIG_SITE;;
2186 */*) ac_site_file1=$CONFIG_SITE;;
2187 *) ac_site_file1=./$CONFIG_SITE;;
2189 elif test "x$prefix" != xNONE; then
2190 ac_site_file1=$prefix/share/config.site
2191 ac_site_file2=$prefix/etc/config.site
2193 ac_site_file1=$ac_default_prefix/share/config.site
2194 ac_site_file2=$ac_default_prefix/etc/config.site
2196 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2198 test "x$ac_site_file" = xNONE && continue
2199 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2201 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2202 sed 's/^/| /' "$ac_site_file" >&5
2204 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 as_fn_error $? "failed to load site script $ac_site_file
2207 See \`config.log' for more details" "$LINENO" 5 ; }
2211 if test -r "$cache_file"; then
2212 # Some versions of bash will fail to source /dev/null (special files
2213 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2214 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2216 $as_echo "$as_me: loading cache $cache_file" >&6;}
2218 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2219 *) . "./$cache_file";;
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2224 $as_echo "$as_me: creating cache $cache_file" >&6;}
2228 # Check that the precious variables saved in the cache have kept the same
2230 ac_cache_corrupted=false
2231 for ac_var in $ac_precious_vars; do
2232 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2233 eval ac_new_set=\$ac_env_${ac_var}_set
2234 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2235 eval ac_new_val=\$ac_env_${ac_var}_value
2236 case $ac_old_set,$ac_new_set in
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2240 ac_cache_corrupted=: ;;
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2243 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2244 ac_cache_corrupted=: ;;
2247 if test "x$ac_old_val" != "x$ac_new_val"; then
2248 # differences in whitespace do not lead to failure.
2249 ac_old_val_w=`echo x $ac_old_val`
2250 ac_new_val_w=`echo x $ac_new_val`
2251 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2253 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2254 ac_cache_corrupted=:
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2257 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2258 eval $ac_var=\$ac_old_val
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2261 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2263 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2266 # Pass precious variables to config.status.
2267 if test "$ac_new_set" = set; then
2269 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2270 *) ac_arg=$ac_var=$ac_new_val ;;
2272 case " $ac_configure_args " in
2273 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2274 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2278 if $ac_cache_corrupted; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2282 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2283 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2285 ## -------------------- ##
2286 ## Main body of script. ##
2287 ## -------------------- ##
2290 ac_cpp='$CPP $CPPFLAGS'
2291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2297 ac_config_headers="$ac_config_headers config.h"
2299 am__api_version='1.11'
2302 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2303 if test -f "$ac_dir/install-sh"; then
2305 ac_install_sh="$ac_aux_dir/install-sh -c"
2307 elif test -f "$ac_dir/install.sh"; then
2309 ac_install_sh="$ac_aux_dir/install.sh -c"
2311 elif test -f "$ac_dir/shtool"; then
2313 ac_install_sh="$ac_aux_dir/shtool install -c"
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2330 # Find a good install program. We prefer a C program (faster),
2331 # so one script is as good as another. But avoid the broken or
2332 # incompatible versions:
2333 # SysV /etc/install, /usr/sbin/install
2334 # SunOS /usr/etc/install
2335 # IRIX /sbin/install
2337 # AmigaOS /C/install, which installs bootblocks on floppy discs
2338 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2339 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2340 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2341 # OS/2's system install, which has a completely different semantic
2342 # ./install, which can be erroneously created by make from ./install.sh.
2343 # Reject install programs that cannot install multiple files.
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2345 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2346 if test -z "$INSTALL"; then
2347 if test "${ac_cv_path_install+set}" = set; then :
2348 $as_echo_n "(cached) " >&6
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 # Account for people who put trailing slashes in PATH elements.
2356 case $as_dir/ in #((
2357 ./ | .// | /[cC]/* | \
2358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2359 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2362 # OSF1 and SCO ODT 3.0 have their own names for install.
2363 # Don't use installbsd from OSF since it installs stuff as root
2365 for ac_prog in ginstall scoinst install; do
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2368 if test $ac_prog = install &&
2369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370 # AIX install. It has an incompatible calling convention.
2372 elif test $ac_prog = install &&
2373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2374 # program-specific install script used by HP pwplus--don't use.
2377 rm -rf conftest.one conftest.two conftest.dir
2378 echo one > conftest.one
2379 echo two > conftest.two
2381 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2382 test -s conftest.one && test -s conftest.two &&
2383 test -s conftest.dir/conftest.one &&
2384 test -s conftest.dir/conftest.two
2386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2399 rm -rf conftest.one conftest.two conftest.dir
2402 if test "${ac_cv_path_install+set}" = set; then
2403 INSTALL=$ac_cv_path_install
2405 # As a last resort, use the slow shell script. Don't cache a
2406 # value for INSTALL within a source directory, because that will
2407 # break other packages using the cache if that directory is
2408 # removed, or if the value is a relative name.
2409 INSTALL=$ac_install_sh
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2413 $as_echo "$INSTALL" >&6; }
2415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2416 # It thinks the first close brace ends the variable substitution.
2417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2424 $as_echo_n "checking whether build environment is sane... " >&6; }
2427 echo timestamp > conftest.file
2428 # Reject unsafe characters in $srcdir or the absolute working directory
2429 # name. Accept space and tab only in the latter.
2433 *[\\\"\#\$\&\'\`$am_lf]*)
2434 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2437 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2438 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2441 # Do `set' in a subshell so we don't clobber the current shell's
2442 # arguments. Must try -L first in case configure is actually a
2443 # symlink; some systems play weird games with the mod time of symlinks
2444 # (eg FreeBSD returns the mod time of the symlink's containing
2447 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2448 if test "$*" = "X"; then
2450 set X `ls -t "$srcdir/configure" conftest.file`
2453 if test "$*" != "X $srcdir/configure conftest.file" \
2454 && test "$*" != "X conftest.file $srcdir/configure"; then
2456 # If neither matched, then we have a broken ls. This can happen
2457 # if, for instance, CONFIG_SHELL is bash and it inherits a
2458 # broken ls alias from the environment. This has actually
2459 # happened. Such a system could not be considered "sane".
2460 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2461 alias in your environment" "$LINENO" 5
2464 test "$2" = conftest.file
2470 as_fn_error $? "newly created file is older than distributed files!
2471 Check your system clock" "$LINENO" 5
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2474 $as_echo "yes" >&6; }
2475 test "$program_prefix" != NONE &&
2476 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2477 # Use a double $ so make ignores it.
2478 test "$program_suffix" != NONE &&
2479 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2480 # Double any \ or $.
2481 # By default was `s,x,x', remove it if useless.
2482 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2483 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2485 # expand $ac_aux_dir to an absolute path
2486 am_aux_dir=`cd $ac_aux_dir && pwd`
2488 if test x"${MISSING+set}" != xset; then
2491 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2493 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2496 # Use eval to expand $SHELL
2497 if eval "$MISSING --run true"; then
2498 am_missing_run="$MISSING --run "
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2502 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2505 if test x"${install_sh}" != xset; then
2508 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2510 install_sh="\${SHELL} $am_aux_dir/install-sh"
2514 # Installed binaries are usually stripped using `strip' when the user
2515 # run `make install-strip'. However `strip' might not be the right
2516 # tool to use in cross-compilation environments, therefore Automake
2517 # will honor the `STRIP' environment variable to overrule this program.
2518 if test "$cross_compiling" != no; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2521 set dummy ${ac_tool_prefix}strip; ac_word=$2
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2523 $as_echo_n "checking for $ac_word... " >&6; }
2524 if test "${ac_cv_prog_STRIP+set}" = set; then :
2525 $as_echo_n "(cached) " >&6
2527 if test -n "$STRIP"; then
2528 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir=.
2535 for ac_exec_ext in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 STRIP=$ac_cv_prog_STRIP
2548 if test -n "$STRIP"; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2550 $as_echo "$STRIP" >&6; }
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2553 $as_echo "no" >&6; }
2558 if test -z "$ac_cv_prog_STRIP"; then
2560 # Extract the first word of "strip", so it can be a program name with args.
2561 set dummy strip; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$ac_ct_STRIP"; then
2568 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_ac_ct_STRIP="strip"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2588 if test -n "$ac_ct_STRIP"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2590 $as_echo "$ac_ct_STRIP" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2596 if test "x$ac_ct_STRIP" = x; then
2599 case $cross_compiling:$ac_tool_warned in
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2603 ac_tool_warned=yes ;;
2608 STRIP="$ac_cv_prog_STRIP"
2612 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2615 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2616 if test -z "$MKDIR_P"; then
2617 if test "${ac_cv_path_mkdir+set}" = set; then :
2618 $as_echo_n "(cached) " >&6
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2624 test -z "$as_dir" && as_dir=.
2625 for ac_prog in mkdir gmkdir; do
2626 for ac_exec_ext in '' $ac_executable_extensions; do
2627 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2628 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2629 'mkdir (GNU coreutils) '* | \
2630 'mkdir (coreutils) '* | \
2631 'mkdir (fileutils) '4.1*)
2632 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2642 test -d ./--version && rmdir ./--version
2643 if test "${ac_cv_path_mkdir+set}" = set; then
2644 MKDIR_P="$ac_cv_path_mkdir -p"
2646 # As a last resort, use the slow shell script. Don't cache a
2647 # value for MKDIR_P within a source directory, because that will
2648 # break other packages using the cache if that directory is
2649 # removed, or if the value is a relative name.
2650 MKDIR_P="$ac_install_sh -d"
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2654 $as_echo "$MKDIR_P" >&6; }
2658 [\\/$]* | ?:[\\/]*) ;;
2659 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2662 for ac_prog in gawk mawk nawk awk
2664 # Extract the first word of "$ac_prog", so it can be a program name with args.
2665 set dummy $ac_prog; ac_word=$2
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if test "${ac_cv_prog_AWK+set}" = set; then :
2669 $as_echo_n "(cached) " >&6
2671 if test -n "$AWK"; then
2672 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2681 ac_cv_prog_AWK="$ac_prog"
2682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 if test -n "$AWK"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2694 $as_echo "$AWK" >&6; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2701 test -n "$AWK" && break
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2705 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2707 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2708 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 cat >conftest.make <<\_ACEOF
2714 @echo '@@@%%%=$(MAKE)=@@@%%%'
2716 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2717 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2719 eval ac_cv_prog_make_${ac_make}_set=yes;;
2721 eval ac_cv_prog_make_${ac_make}_set=no;;
2725 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2727 $as_echo "yes" >&6; }
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731 $as_echo "no" >&6; }
2732 SET_MAKE="MAKE=${MAKE-make}"
2735 rm -rf .tst 2>/dev/null
2736 mkdir .tst 2>/dev/null
2737 if test -d .tst; then
2742 rmdir .tst 2>/dev/null
2744 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2745 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2746 # is not polluted with repeated "-I."
2747 am__isrc=' -I$(srcdir)'
2748 # test to see if srcdir already configured
2749 if test -f $srcdir/config.status; then
2750 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2754 # test whether we have cygpath
2755 if test -z "$CYGPATH_W"; then
2756 if (cygpath --version) >/dev/null 2>/dev/null; then
2757 CYGPATH_W='cygpath -w'
2764 # Define the identity of the package.
2769 cat >>confdefs.h <<_ACEOF
2770 #define PACKAGE "$PACKAGE"
2774 cat >>confdefs.h <<_ACEOF
2775 #define VERSION "$VERSION"
2778 # Some tools Automake needs.
2780 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2783 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2786 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2789 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2792 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2794 # We need awk for the "check" target. The system "awk" is bad on
2796 # Always define AMTAR for backward compatibility.
2798 AMTAR=${AMTAR-"${am_missing_run}tar"}
2800 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2807 # Configure options.
2809 # Check whether --with-openssl was given.
2810 if test "${with_openssl+set}" = set; then :
2811 withval=$with_openssl;
2817 # Checks for programs.
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823 if test -n "$ac_tool_prefix"; then
2824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2825 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if test "${ac_cv_prog_CC+set}" = set; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$CC"; then
2832 ac_cv_prog_CC="$CC" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2854 $as_echo "$CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2862 if test -z "$ac_cv_prog_CC"; then
2864 # Extract the first word of "gcc", so it can be a program name with args.
2865 set dummy gcc; ac_word=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$ac_ct_CC"; then
2872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir=.
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_ac_ct_CC="gcc"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2892 if test -n "$ac_ct_CC"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2894 $as_echo "$ac_ct_CC" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2900 if test "x$ac_ct_CC" = x; then
2903 case $cross_compiling:$ac_tool_warned in
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2907 ac_tool_warned=yes ;;
2915 if test -z "$CC"; then
2916 if test -n "$ac_tool_prefix"; then
2917 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2918 set dummy ${ac_tool_prefix}cc; ac_word=$2
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2920 $as_echo_n "checking for $ac_word... " >&6; }
2921 if test "${ac_cv_prog_CC+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2924 if test -n "$CC"; then
2925 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 test -z "$as_dir" && as_dir=.
2932 for ac_exec_ext in '' $ac_executable_extensions; do
2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2934 ac_cv_prog_CC="${ac_tool_prefix}cc"
2935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 if test -n "$CC"; then
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2947 $as_echo "$CC" >&6; }
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 $as_echo "no" >&6; }
2956 if test -z "$CC"; then
2957 # Extract the first word of "cc", so it can be a program name with args.
2958 set dummy cc; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if test "${ac_cv_prog_CC+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 if test -n "$CC"; then
2965 ac_cv_prog_CC="$CC" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2976 ac_prog_rejected=yes
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 if test $ac_prog_rejected = yes; then
2988 # We found a bogon in the path, so make sure we never use it.
2989 set dummy $ac_cv_prog_CC
2991 if test $# != 0; then
2992 # We chose a different compiler from the bogus one.
2993 # However, it has the same basename, so the bogon will be chosen
2994 # first if we set CC to just the basename; use the full file name.
2996 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3002 if test -n "$CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3004 $as_echo "$CC" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3012 if test -z "$CC"; then
3013 if test -n "$ac_tool_prefix"; then
3014 for ac_prog in cl.exe
3016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3019 $as_echo_n "checking for $ac_word... " >&6; }
3020 if test "${ac_cv_prog_CC+set}" = set; then :
3021 $as_echo_n "(cached) " >&6
3023 if test -n "$CC"; then
3024 ac_cv_prog_CC="$CC" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044 if test -n "$CC"; then
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3046 $as_echo "$CC" >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3053 test -n "$CC" && break
3056 if test -z "$CC"; then
3058 for ac_prog in cl.exe
3060 # Extract the first word of "$ac_prog", so it can be a program name with args.
3061 set dummy $ac_prog; ac_word=$2
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3063 $as_echo_n "checking for $ac_word... " >&6; }
3064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3065 $as_echo_n "(cached) " >&6
3067 if test -n "$ac_ct_CC"; then
3068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3077 ac_cv_prog_ac_ct_CC="$ac_prog"
3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3088 if test -n "$ac_ct_CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3090 $as_echo "$ac_ct_CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3097 test -n "$ac_ct_CC" && break
3100 if test "x$ac_ct_CC" = x; then
3103 case $cross_compiling:$ac_tool_warned in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned=yes ;;
3116 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "no acceptable C compiler found in \$PATH
3119 See \`config.log' for more details" "$LINENO" 5 ; }
3121 # Provide some information about the compiler.
3122 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3125 for ac_option in --version -v -V -qversion; do
3126 { { ac_try="$ac_compiler $ac_option >&5"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3135 if test -s conftest.err; then
3137 ... rest of stderr output deleted ...
3138 10q' conftest.err >conftest.er1
3139 cat conftest.er1 >&5
3141 rm -f conftest.er1 conftest.err
3142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3143 test $ac_status = 0; }
3146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3147 /* end confdefs.h. */
3157 ac_clean_files_save=$ac_clean_files
3158 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3159 # Try to create an executable without -o first, disregard a.out.
3160 # It will help us diagnose broken compilers, and finding out an intuition
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3163 $as_echo_n "checking whether the C compiler works... " >&6; }
3164 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3166 # The possible output files:
3167 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3170 for ac_file in $ac_files
3173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3179 if { { ac_try="$ac_link_default"
3181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182 *) ac_try_echo=$ac_try;;
3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_link_default") 2>&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }; then :
3190 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3191 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3192 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3193 # so that the user can short-circuit this test for compilers unknown to
3195 for ac_file in $ac_files ''
3197 test -f "$ac_file" || continue
3199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3202 # We found the default executable, but exeext='' is most
3206 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3208 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210 # We set ac_cv_exeext here because the later test for it is not
3211 # safe: cross compilers may not add the suffix if given an `-o'
3212 # argument, so we may need to know it at that point already.
3213 # Even if this section looks crufty: it has the advantage of
3220 test "$ac_cv_exeext" = no && ac_cv_exeext=
3225 if test -z "$ac_file"; then :
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3228 $as_echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error 77 "C compiler cannot create executables
3234 See \`config.log' for more details" "$LINENO" 5 ; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3237 $as_echo "yes" >&6; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3240 $as_echo_n "checking for C compiler default output file name... " >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3242 $as_echo "$ac_file" >&6; }
3243 ac_exeext=$ac_cv_exeext
3245 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3246 ac_clean_files=$ac_clean_files_save
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3248 $as_echo_n "checking for suffix of executables... " >&6; }
3249 if { { ac_try="$ac_link"
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256 (eval "$ac_link") 2>&5
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }; then :
3260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3262 # work properly (i.e., refer to `conftest.exe'), while it won't with
3264 for ac_file in conftest.exe conftest conftest.*; do
3265 test -f "$ac_file" || continue
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3277 See \`config.log' for more details" "$LINENO" 5 ; }
3279 rm -f conftest conftest$ac_cv_exeext
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3281 $as_echo "$ac_cv_exeext" >&6; }
3283 rm -f conftest.$ac_ext
3284 EXEEXT=$ac_cv_exeext
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3292 FILE *f = fopen ("conftest.out", "w");
3293 return ferror (f) || fclose (f) != 0;
3299 ac_clean_files="$ac_clean_files conftest.out"
3300 # Check that the compiler produces executables we can run. If not, either
3301 # the compiler is broken, or we cross compile.
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3303 $as_echo_n "checking whether we are cross compiling... " >&6; }
3304 if test "$cross_compiling" != yes; then
3305 { { ac_try="$ac_link"
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_link") 2>&5
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }
3316 if { ac_try='./conftest$ac_cv_exeext'
3317 { { case "(($ac_try" in
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_try") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; }; then
3329 if test "$cross_compiling" = maybe; then
3332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 as_fn_error $? "cannot run C compiled programs.
3335 If you meant to cross compile, use \`--host'.
3336 See \`config.log' for more details" "$LINENO" 5 ; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3341 $as_echo "$cross_compiling" >&6; }
3343 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3344 ac_clean_files=$ac_clean_files_save
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3346 $as_echo_n "checking for suffix of object files... " >&6; }
3347 if test "${ac_cv_objext+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 rm -f conftest.o conftest.obj
3362 if { { ac_try="$ac_compile"
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3368 $as_echo "$ac_try_echo"; } >&5
3369 (eval "$ac_compile") 2>&5
3371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372 test $ac_status = 0; }; then :
3373 for ac_file in conftest.o conftest.obj conftest.*; do
3374 test -f "$ac_file" || continue;
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3377 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error $? "cannot compute suffix of object files: cannot compile
3388 See \`config.log' for more details" "$LINENO" 5 ; }
3390 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3393 $as_echo "$ac_cv_objext" >&6; }
3394 OBJEXT=$ac_cv_objext
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3397 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3398 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3415 if ac_fn_c_try_compile "$LINENO"; then :
3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3425 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3426 if test $ac_compiler_gnu = yes; then
3431 ac_test_CFLAGS=${CFLAGS+set}
3432 ac_save_CFLAGS=$CFLAGS
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3434 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3435 if test "${ac_cv_prog_cc_g+set}" = set; then :
3436 $as_echo_n "(cached) " >&6
3438 ac_save_c_werror_flag=$ac_c_werror_flag
3439 ac_c_werror_flag=yes
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 if ac_fn_c_try_compile "$LINENO"; then :
3471 ac_c_werror_flag=$ac_save_c_werror_flag
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 ac_c_werror_flag=$ac_save_c_werror_flag
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3495 $as_echo "$ac_cv_prog_cc_g" >&6; }
3496 if test "$ac_test_CFLAGS" = set; then
3497 CFLAGS=$ac_save_CFLAGS
3498 elif test $ac_cv_prog_cc_g = yes; then
3499 if test "$GCC" = yes; then
3505 if test "$GCC" = yes; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3512 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3513 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3514 $as_echo_n "(cached) " >&6
3516 ac_cv_prog_cc_c89=no
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3522 #include <sys/types.h>
3523 #include <sys/stat.h>
3524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3525 struct buf { int x; };
3526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3527 static char *e (p, i)
3533 static char *f (char * (*g) (char **, int), char **p, ...)
3538 s = g (p, va_arg (v,int));
3543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3544 function prototypes and stuff, but not '\xHH' hex character constants.
3545 These don't provoke an error unfortunately, instead are silently treated
3546 as 'x'. The following induces an error, until -std is added to get
3547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3548 array size at least. It's necessary to write '\x00'==0 to get something
3549 that's true only with -std. */
3550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3553 inside strings and character constants. */
3555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3557 int test (int i, double x);
3558 struct s1 {int (*f) (int a);};
3559 struct s2 {int (*f) (double a);};
3560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3574 CC="$ac_save_CC $ac_arg"
3575 if ac_fn_c_try_compile "$LINENO"; then :
3576 ac_cv_prog_cc_c89=$ac_arg
3578 rm -f core conftest.err conftest.$ac_objext
3579 test "x$ac_cv_prog_cc_c89" != "xno" && break
3581 rm -f conftest.$ac_ext
3586 case "x$ac_cv_prog_cc_c89" in
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3589 $as_echo "none needed" >&6; } ;;
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3592 $as_echo "unsupported" >&6; } ;;
3594 CC="$CC $ac_cv_prog_cc_c89"
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3598 if test "x$ac_cv_prog_cc_c89" != xno; then :
3603 ac_cpp='$CPP $CPPFLAGS'
3604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3607 DEPDIR="${am__leading_dot}deps"
3609 ac_config_commands="$ac_config_commands depfiles"
3612 am_make=${MAKE-make}
3613 cat > confinc << 'END'
3615 @echo this is the am__doit target
3618 # If we don't find an include directive, just comment out the code.
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3620 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3624 # First try GNU make style include.
3625 echo "include confinc" > confmf
3626 # Ignore all kinds of additional output from `make'.
3627 case `$am_make -s -f confmf 2> /dev/null` in #(
3628 *the\ am__doit\ target*)
3634 # Now try BSD make style include.
3635 if test "$am__include" = "#"; then
3636 echo '.include "confinc"' > confmf
3637 case `$am_make -s -f confmf 2> /dev/null` in #(
3638 *the\ am__doit\ target*)
3639 am__include=.include
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3648 $as_echo "$_am_result" >&6; }
3649 rm -f confinc confmf
3651 # Check whether --enable-dependency-tracking was given.
3652 if test "${enable_dependency_tracking+set}" = set; then :
3653 enableval=$enable_dependency_tracking;
3656 if test "x$enable_dependency_tracking" != xno; then
3657 am_depcomp="$ac_aux_dir/depcomp"
3660 if test "x$enable_dependency_tracking" != xno; then
3670 depcc="$CC" am_compiler_list=
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3673 $as_echo_n "checking dependency style of $depcc... " >&6; }
3674 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3678 # We make a subdir and do the tests there. Otherwise we can end up
3679 # making bogus files that we don't know about and never remove. For
3680 # instance it was reported that on HP-UX the gcc test will end up
3681 # making a dummy file named `D' -- because `-MD' means `put the output
3684 # Copy depcomp to subdir because otherwise we won't find it if we're
3685 # using a relative directory.
3686 cp "$am_depcomp" conftest.dir
3688 # We will build objects and dependencies in a subdirectory because
3689 # it helps to detect inapplicable dependency modes. For instance
3690 # both Tru64's cc and ICC support -MD to output dependencies as a
3691 # side effect of compilation, but ICC will put the dependencies in
3692 # the current directory while Tru64 will put them in the object
3696 am_cv_CC_dependencies_compiler_type=none
3697 if test "$am_compiler_list" = ""; then
3698 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3701 case " $depcc " in #(
3702 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3705 for depmode in $am_compiler_list; do
3706 # Setup a source with many dependencies, because some compilers
3707 # like to wrap large dependency lists on column 80 (with \), and
3708 # we should not choose a depcomp mode which is confused by this.
3710 # We need to recreate these files for each test, as the compiler may
3711 # overwrite some of them when testing with obscure command lines.
3712 # This happens at least with the AIX C compiler.
3714 for i in 1 2 3 4 5 6; do
3715 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3716 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3717 # Solaris 8's {/usr,}/bin/sh.
3718 touch sub/conftst$i.h
3720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3722 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3723 # mode. It turns out that the SunPro C++ compiler does not properly
3724 # handle `-M -o', and we need to detect this. Also, some Intel
3725 # versions had trouble with output in subdirs
3726 am__obj=sub/conftest.${OBJEXT-o}
3727 am__minus_obj="-o $am__obj"
3730 # This depmode causes a compiler race in universal mode.
3731 test "$am__universal" = false || continue
3734 # after this tag, mechanisms are not by side-effect, so they'll
3735 # only be used when explicitly requested
3736 if test "x$enable_dependency_tracking" = xyes; then
3742 msvisualcpp | msvcmsys)
3743 # This compiler won't grok `-c -o', but also, the minuso test has
3744 # not run yet. These depmodes are late enough in the game, and
3745 # so weak that their functioning should not be impacted.
3746 am__obj=conftest.${OBJEXT-o}
3751 if depmode=$depmode \
3752 source=sub/conftest.c object=$am__obj \
3753 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3754 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3755 >/dev/null 2>conftest.err &&
3756 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3757 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3758 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3759 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3760 # icc doesn't choke on unknown options, it will just issue warnings
3761 # or remarks (even with -Werror). So we grep stderr for any message
3762 # that says an option was ignored or not supported.
3763 # When given -MP, icc 7.0 and 7.1 complain thusly:
3764 # icc: Command line warning: ignoring option '-M'; no argument required
3765 # The diagnosis changed in icc 8.0:
3766 # icc: Command line remark: option '-MP' not supported
3767 if (grep 'ignoring option' conftest.err ||
3768 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3769 am_cv_CC_dependencies_compiler_type=$depmode
3778 am_cv_CC_dependencies_compiler_type=none
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3783 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3784 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3787 test "x$enable_dependency_tracking" != xno \
3788 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3790 am__fastdepCC_FALSE='#'
3792 am__fastdepCC_TRUE='#'
3793 am__fastdepCC_FALSE=
3798 # Checks dependencies.
3801 ac_cpp='$CPP $CPPFLAGS'
3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3806 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3807 # On Suns, sometimes $CPP names a directory.
3808 if test -n "$CPP" && test -d "$CPP"; then
3811 if test -z "$CPP"; then
3812 if test "${ac_cv_prog_CPP+set}" = set; then :
3813 $as_echo_n "(cached) " >&6
3815 # Double quotes because CPP needs to be expanded
3816 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3819 for ac_c_preproc_warn_flag in '' yes
3821 # Use a header file that comes with gcc, so configuring glibc
3822 # with a fresh cross-compiler works.
3823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3824 # <limits.h> exists even on freestanding compilers.
3825 # On the NeXT, cc -E runs the code through the compiler's parser,
3826 # not just through cpp. "Syntax error" is here to catch this case.
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3830 # include <limits.h>
3832 # include <assert.h>
3836 if ac_fn_c_try_cpp "$LINENO"; then :
3839 # Broken: fails on valid input.
3842 rm -f conftest.err conftest.i conftest.$ac_ext
3844 # OK, works on sane cases. Now check whether nonexistent headers
3845 # can be detected and how.
3846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847 /* end confdefs.h. */
3848 #include <ac_nonexistent.h>
3850 if ac_fn_c_try_cpp "$LINENO"; then :
3851 # Broken: success on invalid input.
3854 # Passes both tests.
3858 rm -f conftest.err conftest.i conftest.$ac_ext
3861 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3862 rm -f conftest.i conftest.err conftest.$ac_ext
3863 if $ac_preproc_ok; then :
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3876 $as_echo "$CPP" >&6; }
3878 for ac_c_preproc_warn_flag in '' yes
3880 # Use a header file that comes with gcc, so configuring glibc
3881 # with a fresh cross-compiler works.
3882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3883 # <limits.h> exists even on freestanding compilers.
3884 # On the NeXT, cc -E runs the code through the compiler's parser,
3885 # not just through cpp. "Syntax error" is here to catch this case.
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3889 # include <limits.h>
3891 # include <assert.h>
3895 if ac_fn_c_try_cpp "$LINENO"; then :
3898 # Broken: fails on valid input.
3901 rm -f conftest.err conftest.i conftest.$ac_ext
3903 # OK, works on sane cases. Now check whether nonexistent headers
3904 # can be detected and how.
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3907 #include <ac_nonexistent.h>
3909 if ac_fn_c_try_cpp "$LINENO"; then :
3910 # Broken: success on invalid input.
3913 # Passes both tests.
3917 rm -f conftest.err conftest.i conftest.$ac_ext
3920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3921 rm -f conftest.i conftest.err conftest.$ac_ext
3922 if $ac_preproc_ok; then :
3925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3927 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3928 See \`config.log' for more details" "$LINENO" 5 ; }
3932 ac_cpp='$CPP $CPPFLAGS'
3933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3939 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3940 if test "${ac_cv_path_GREP+set}" = set; then :
3941 $as_echo_n "(cached) " >&6
3943 if test -z "$GREP"; then
3944 ac_path_GREP_found=false
3945 # Loop through the user's path and test for each of PROGNAME-LIST
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3950 test -z "$as_dir" && as_dir=.
3951 for ac_prog in grep ggrep; do
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3954 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3955 # Check for GNU ac_path_GREP and select it if it is found.
3956 # Check for GNU $ac_path_GREP
3957 case `"$ac_path_GREP" --version 2>&1` in
3959 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3962 $as_echo_n 0123456789 >"conftest.in"
3965 cat "conftest.in" "conftest.in" >"conftest.tmp"
3966 mv "conftest.tmp" "conftest.in"
3967 cp "conftest.in" "conftest.nl"
3968 $as_echo 'GREP' >> "conftest.nl"
3969 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3970 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3971 as_fn_arith $ac_count + 1 && ac_count=$as_val
3972 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3973 # Best one so far, save it but keep looking for a better one
3974 ac_cv_path_GREP="$ac_path_GREP"
3975 ac_path_GREP_max=$ac_count
3977 # 10*(2^10) chars as input seems more than enough
3978 test $ac_count -gt 10 && break
3980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3983 $ac_path_GREP_found && break 3
3988 if test -z "$ac_cv_path_GREP"; then
3989 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3992 ac_cv_path_GREP=$GREP
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3997 $as_echo "$ac_cv_path_GREP" >&6; }
3998 GREP="$ac_cv_path_GREP"
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4002 $as_echo_n "checking for egrep... " >&6; }
4003 if test "${ac_cv_path_EGREP+set}" = set; then :
4004 $as_echo_n "(cached) " >&6
4006 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4007 then ac_cv_path_EGREP="$GREP -E"
4009 if test -z "$EGREP"; then
4010 ac_path_EGREP_found=false
4011 # Loop through the user's path and test for each of PROGNAME-LIST
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4016 test -z "$as_dir" && as_dir=.
4017 for ac_prog in egrep; do
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4020 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4021 # Check for GNU ac_path_EGREP and select it if it is found.
4022 # Check for GNU $ac_path_EGREP
4023 case `"$ac_path_EGREP" --version 2>&1` in
4025 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4028 $as_echo_n 0123456789 >"conftest.in"
4031 cat "conftest.in" "conftest.in" >"conftest.tmp"
4032 mv "conftest.tmp" "conftest.in"
4033 cp "conftest.in" "conftest.nl"
4034 $as_echo 'EGREP' >> "conftest.nl"
4035 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4036 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4037 as_fn_arith $ac_count + 1 && ac_count=$as_val
4038 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4039 # Best one so far, save it but keep looking for a better one
4040 ac_cv_path_EGREP="$ac_path_EGREP"
4041 ac_path_EGREP_max=$ac_count
4043 # 10*(2^10) chars as input seems more than enough
4044 test $ac_count -gt 10 && break
4046 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4049 $ac_path_EGREP_found && break 3
4054 if test -z "$ac_cv_path_EGREP"; then
4055 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4058 ac_cv_path_EGREP=$EGREP
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4064 $as_echo "$ac_cv_path_EGREP" >&6; }
4065 EGREP="$ac_cv_path_EGREP"
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4069 $as_echo_n "checking for ANSI C header files... " >&6; }
4070 if test "${ac_cv_header_stdc+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4088 if ac_fn_c_try_compile "$LINENO"; then :
4089 ac_cv_header_stdc=yes
4091 ac_cv_header_stdc=no
4093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095 if test $ac_cv_header_stdc = yes; then
4096 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4103 $EGREP "memchr" >/dev/null 2>&1; then :
4106 ac_cv_header_stdc=no
4112 if test $ac_cv_header_stdc = yes; then
4113 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4120 $EGREP "free" >/dev/null 2>&1; then :
4123 ac_cv_header_stdc=no
4129 if test $ac_cv_header_stdc = yes; then
4130 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4131 if test "$cross_compiling" = yes; then :
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 #if ((' ' & 0x0FF) == 0x020)
4139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4142 # define ISLOWER(c) \
4143 (('a' <= (c) && (c) <= 'i') \
4144 || ('j' <= (c) && (c) <= 'r') \
4145 || ('s' <= (c) && (c) <= 'z'))
4146 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4149 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4154 for (i = 0; i < 256; i++)
4155 if (XOR (islower (i), ISLOWER (i))
4156 || toupper (i) != TOUPPER (i))
4161 if ac_fn_c_try_run "$LINENO"; then :
4164 ac_cv_header_stdc=no
4166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4167 conftest.$ac_objext conftest.beam conftest.$ac_ext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4173 $as_echo "$ac_cv_header_stdc" >&6; }
4174 if test $ac_cv_header_stdc = yes; then
4176 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4180 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4181 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4182 inttypes.h stdint.h unistd.h
4184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4185 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4188 cat >>confdefs.h <<_ACEOF
4189 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4197 for ac_header in google/protobuf-c/protobuf-c.h
4199 ac_fn_c_check_header_mongrel "$LINENO" "google/protobuf-c/protobuf-c.h" "ac_cv_header_google_protobuf_c_protobuf_c_h" "$ac_includes_default"
4200 if test "x$ac_cv_header_google_protobuf_c_protobuf_c_h" = x""yes; then :
4201 cat >>confdefs.h <<_ACEOF
4202 #define HAVE_GOOGLE_PROTOBUF_C_PROTOBUF_C_H 1
4206 as_fn_error $? "could not find google/protobuf-c/protobuf-c.h" "$LINENO" 5
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for protobuf_c_data_buffer_init in -lprotobuf-c" >&5
4212 $as_echo_n "checking for protobuf_c_data_buffer_init in -lprotobuf-c... " >&6; }
4213 if test "${ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 ac_check_lib_save_LIBS=$LIBS
4217 LIBS="-lprotobuf-c $LIBS"
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4221 /* Override any GCC internal prototype to avoid an error.
4222 Use char because int might match the return type of a GCC
4223 builtin and then its argument prototype would still apply. */
4227 char protobuf_c_data_buffer_init ();
4231 return protobuf_c_data_buffer_init ();
4236 if ac_fn_c_try_link "$LINENO"; then :
4237 ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=yes
4239 ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init=no
4241 rm -f core conftest.err conftest.$ac_objext \
4242 conftest$ac_exeext conftest.$ac_ext
4243 LIBS=$ac_check_lib_save_LIBS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&5
4246 $as_echo "$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" >&6; }
4247 if test "x$ac_cv_lib_protobuf_c_protobuf_c_data_buffer_init" = x""yes; then :
4248 cat >>confdefs.h <<_ACEOF
4249 #define HAVE_LIBPROTOBUF_C 1
4252 LIBS="-lprotobuf-c $LIBS"
4255 as_fn_error $? "could not find protobuf-c library" "$LINENO" 5
4258 for ac_header in libconfig.h
4260 ac_fn_c_check_header_mongrel "$LINENO" "libconfig.h" "ac_cv_header_libconfig_h" "$ac_includes_default"
4261 if test "x$ac_cv_header_libconfig_h" = x""yes; then :
4262 cat >>confdefs.h <<_ACEOF
4263 #define HAVE_LIBCONFIG_H 1
4267 as_fn_error $? "could not find libconfig.h" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for config_init in -lconfig" >&5
4273 $as_echo_n "checking for config_init in -lconfig... " >&6; }
4274 if test "${ac_cv_lib_config_config_init+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4277 ac_check_lib_save_LIBS=$LIBS
4278 LIBS="-lconfig $LIBS"
4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280 /* end confdefs.h. */
4282 /* Override any GCC internal prototype to avoid an error.
4283 Use char because int might match the return type of a GCC
4284 builtin and then its argument prototype would still apply. */
4288 char config_init ();
4292 return config_init ();
4297 if ac_fn_c_try_link "$LINENO"; then :
4298 ac_cv_lib_config_config_init=yes
4300 ac_cv_lib_config_config_init=no
4302 rm -f core conftest.err conftest.$ac_objext \
4303 conftest$ac_exeext conftest.$ac_ext
4304 LIBS=$ac_check_lib_save_LIBS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_config_config_init" >&5
4307 $as_echo "$ac_cv_lib_config_config_init" >&6; }
4308 if test "x$ac_cv_lib_config_config_init" = x""yes; then :
4309 cat >>confdefs.h <<_ACEOF
4310 #define HAVE_LIBCONFIG 1
4313 LIBS="-lconfig $LIBS"
4316 as_fn_error $? "could not find config" "$LINENO" 5
4319 if test "x$with_openssl" == xno; then :
4321 for ac_header in polarssl/ssl.h
4323 ac_fn_c_check_header_mongrel "$LINENO" "polarssl/ssl.h" "ac_cv_header_polarssl_ssl_h" "$ac_includes_default"
4324 if test "x$ac_cv_header_polarssl_ssl_h" = x""yes; then :
4325 cat >>confdefs.h <<_ACEOF
4326 #define HAVE_POLARSSL_SSL_H 1
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_init in -lpolarssl" >&5
4334 $as_echo_n "checking for ssl_init in -lpolarssl... " >&6; }
4335 if test "${ac_cv_lib_polarssl_ssl_init+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-lpolarssl $LIBS"
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4343 /* Override any GCC internal prototype to avoid an error.
4344 Use char because int might match the return type of a GCC
4345 builtin and then its argument prototype would still apply. */
4358 if ac_fn_c_try_link "$LINENO"; then :
4359 ac_cv_lib_polarssl_ssl_init=yes
4361 ac_cv_lib_polarssl_ssl_init=no
4363 rm -f core conftest.err conftest.$ac_objext \
4364 conftest$ac_exeext conftest.$ac_ext
4365 LIBS=$ac_check_lib_save_LIBS
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_ssl_init" >&5
4368 $as_echo "$ac_cv_lib_polarssl_ssl_init" >&6; }
4369 if test "x$ac_cv_lib_polarssl_ssl_init" = x""yes; then :
4370 cat >>confdefs.h <<_ACEOF
4371 #define HAVE_LIBPOLARSSL 1
4374 LIBS="-lpolarssl $LIBS"
4380 for ac_header in openssl/ssl.h
4382 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
4383 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then :
4384 cat >>confdefs.h <<_ACEOF
4385 #define HAVE_OPENSSL_SSL_H 1
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5
4393 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; }
4394 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :
4395 $as_echo_n "(cached) " >&6
4397 ac_check_lib_save_LIBS=$LIBS
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4408 char SSL_library_init ();
4412 return SSL_library_init ();
4417 if ac_fn_c_try_link "$LINENO"; then :
4418 ac_cv_lib_ssl_SSL_library_init=yes
4420 ac_cv_lib_ssl_SSL_library_init=no
4422 rm -f core conftest.err conftest.$ac_objext \
4423 conftest$ac_exeext conftest.$ac_ext
4424 LIBS=$ac_check_lib_save_LIBS
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5
4427 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }
4428 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :
4429 cat >>confdefs.h <<_ACEOF
4430 #define HAVE_LIBSSL 1
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BN_init in -lcrypto" >&5
4438 $as_echo_n "checking for BN_init in -lcrypto... " >&6; }
4439 if test "${ac_cv_lib_crypto_BN_init+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 ac_check_lib_save_LIBS=$LIBS
4443 LIBS="-lcrypto $LIBS"
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4447 /* Override any GCC internal prototype to avoid an error.
4448 Use char because int might match the return type of a GCC
4449 builtin and then its argument prototype would still apply. */
4462 if ac_fn_c_try_link "$LINENO"; then :
4463 ac_cv_lib_crypto_BN_init=yes
4465 ac_cv_lib_crypto_BN_init=no
4467 rm -f core conftest.err conftest.$ac_objext \
4468 conftest$ac_exeext conftest.$ac_ext
4469 LIBS=$ac_check_lib_save_LIBS
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BN_init" >&5
4472 $as_echo "$ac_cv_lib_crypto_BN_init" >&6; }
4473 if test "x$ac_cv_lib_crypto_BN_init" = x""yes; then :
4474 cat >>confdefs.h <<_ACEOF
4475 #define HAVE_LIBCRYPTO 1
4478 LIBS="-lcrypto $LIBS"
4483 # Checks for header files.
4484 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4485 # for constant arguments. Useless!
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4487 $as_echo_n "checking for working alloca.h... " >&6; }
4488 if test "${ac_cv_working_alloca_h+set}" = set; then :
4489 $as_echo_n "(cached) " >&6
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4497 char *p = (char *) alloca (2 * sizeof (int));
4503 if ac_fn_c_try_link "$LINENO"; then :
4504 ac_cv_working_alloca_h=yes
4506 ac_cv_working_alloca_h=no
4508 rm -f core conftest.err conftest.$ac_objext \
4509 conftest$ac_exeext conftest.$ac_ext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4512 $as_echo "$ac_cv_working_alloca_h" >&6; }
4513 if test $ac_cv_working_alloca_h = yes; then
4515 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4520 $as_echo_n "checking for alloca... " >&6; }
4521 if test "${ac_cv_func_alloca_works+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4527 # define alloca __builtin_alloca
4530 # include <malloc.h>
4531 # define alloca _alloca
4533 # ifdef HAVE_ALLOCA_H
4534 # include <alloca.h>
4539 # ifndef alloca /* predefined by HP cc +Olibcalls */
4550 char *p = (char *) alloca (1);
4556 if ac_fn_c_try_link "$LINENO"; then :
4557 ac_cv_func_alloca_works=yes
4559 ac_cv_func_alloca_works=no
4561 rm -f core conftest.err conftest.$ac_objext \
4562 conftest$ac_exeext conftest.$ac_ext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4565 $as_echo "$ac_cv_func_alloca_works" >&6; }
4567 if test $ac_cv_func_alloca_works = yes; then
4569 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
4572 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4573 # that cause trouble. Some versions do not even contain alloca or
4574 # contain a buggy version. If you still want to use their alloca,
4575 # use ar to extract alloca.o from them instead of compiling alloca.c.
4577 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
4579 $as_echo "#define C_ALLOCA 1" >>confdefs.h
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
4583 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
4584 if test "${ac_cv_os_cray+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4589 #if defined CRAY && ! defined CRAY2
4596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4597 $EGREP "webecray" >/dev/null 2>&1; then :
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4606 $as_echo "$ac_cv_os_cray" >&6; }
4607 if test $ac_cv_os_cray = yes; then
4608 for ac_func in _getb67 GETB67 getb67; do
4609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4613 cat >>confdefs.h <<_ACEOF
4614 #define CRAY_STACKSEG_END $ac_func
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4624 $as_echo_n "checking stack direction for C alloca... " >&6; }
4625 if test "${ac_cv_c_stack_direction+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4628 if test "$cross_compiling" = yes; then :
4629 ac_cv_c_stack_direction=0
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633 $ac_includes_default
4635 find_stack_direction ()
4637 static char *addr = 0;
4642 return find_stack_direction ();
4645 return (&dummy > addr) ? 1 : -1;
4651 return find_stack_direction () < 0;
4654 if ac_fn_c_try_run "$LINENO"; then :
4655 ac_cv_c_stack_direction=1
4657 ac_cv_c_stack_direction=-1
4659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4660 conftest.$ac_objext conftest.beam conftest.$ac_ext
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4665 $as_echo "$ac_cv_c_stack_direction" >&6; }
4666 cat >>confdefs.h <<_ACEOF
4667 #define STACK_DIRECTION $ac_cv_c_stack_direction
4673 for ac_header in arpa/inet.h fcntl.h inttypes.h limits.h malloc.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/socket.h sys/time.h syslog.h unistd.h
4675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4676 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4678 cat >>confdefs.h <<_ACEOF
4679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4683 as_fn_error $? "missing a required header" "$LINENO" 5
4689 # Checks for typedefs, structures, and compiler characteristics.
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4691 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4692 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4698 #include <stdbool.h>
4700 "error: bool is not defined"
4703 "error: false is not defined"
4706 "error: false is not 0"
4709 "error: true is not defined"
4712 "error: true is not 1"
4714 #ifndef __bool_true_false_are_defined
4715 "error: __bool_true_false_are_defined is not defined"
4718 struct s { _Bool s: 1; _Bool t; } s;
4720 char a[true == 1 ? 1 : -1];
4721 char b[false == 0 ? 1 : -1];
4722 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4723 char d[(bool) 0.5 == true ? 1 : -1];
4725 char f[(_Bool) 0.0 == false ? 1 : -1];
4727 char h[sizeof (_Bool)];
4729 enum { j = false, k = true, l = false * true, m = true * 256 };
4730 /* The following fails for
4731 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4733 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4734 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4735 # if defined __xlc__ || defined __GNUC__
4736 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4737 reported by James Lemley on 2005-10-05; see
4738 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4739 This test is not quite right, since xlc is allowed to
4740 reject this program, as the initializer for xlcbug is
4741 not one of the forms that C requires support for.
4742 However, doing the test right would require a runtime
4743 test, and that would make cross-compilation harder.
4744 Let us hope that IBM fixes the xlc bug, and also adds
4745 support for this kind of constant expression. In the
4746 meantime, this test will reject xlc, which is OK, since
4747 our stdbool.h substitute should suffice. We also test
4748 this with GCC, where it should work, to detect more
4749 quickly whether someone messes up the test in the
4751 char digs[] = "0123456789";
4752 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4754 /* Catch a bug in an HP-UX C compiler. See
4755 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4756 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4767 /* Refer to every declared value, to avoid compiler optimizations. */
4768 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4769 + !m + !n + !o + !p + !q + !pq);
4775 if ac_fn_c_try_compile "$LINENO"; then :
4776 ac_cv_header_stdbool_h=yes
4778 ac_cv_header_stdbool_h=no
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4783 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4784 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4785 if test "x$ac_cv_type__Bool" = x""yes; then :
4787 cat >>confdefs.h <<_ACEOF
4788 #define HAVE__BOOL 1
4794 if test $ac_cv_header_stdbool_h = yes; then
4796 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4801 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4802 if test "${ac_cv_type_uid_t+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4806 /* end confdefs.h. */
4807 #include <sys/types.h>
4810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4811 $EGREP "uid_t" >/dev/null 2>&1; then :
4812 ac_cv_type_uid_t=yes
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4820 $as_echo "$ac_cv_type_uid_t" >&6; }
4821 if test $ac_cv_type_uid_t = no; then
4823 $as_echo "#define uid_t int" >>confdefs.h
4826 $as_echo "#define gid_t int" >>confdefs.h
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4831 $as_echo_n "checking for inline... " >&6; }
4832 if test "${ac_cv_c_inline+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4836 for ac_kw in inline __inline__ __inline; do
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4841 static $ac_kw foo_t static_foo () {return 0; }
4842 $ac_kw foo_t foo () {return 0; }
4846 if ac_fn_c_try_compile "$LINENO"; then :
4847 ac_cv_c_inline=$ac_kw
4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4850 test "$ac_cv_c_inline" != no && break
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4855 $as_echo "$ac_cv_c_inline" >&6; }
4857 case $ac_cv_c_inline in
4860 case $ac_cv_c_inline in
4862 *) ac_val=$ac_cv_c_inline;;
4864 cat >>confdefs.h <<_ACEOF
4866 #define inline $ac_val
4872 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
4873 case $ac_cv_c_int32_t in #(
4877 cat >>confdefs.h <<_ACEOF
4878 #define int32_t $ac_cv_c_int32_t
4883 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
4884 case $ac_cv_c_int64_t in #(
4888 cat >>confdefs.h <<_ACEOF
4889 #define int64_t $ac_cv_c_int64_t
4894 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4895 if test "x$ac_cv_type_size_t" = x""yes; then :
4899 cat >>confdefs.h <<_ACEOF
4900 #define size_t unsigned int
4905 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4906 case $ac_cv_c_uint16_t in #(
4911 cat >>confdefs.h <<_ACEOF
4912 #define uint16_t $ac_cv_c_uint16_t
4917 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4918 case $ac_cv_c_uint32_t in #(
4922 $as_echo "#define _UINT32_T 1" >>confdefs.h
4925 cat >>confdefs.h <<_ACEOF
4926 #define uint32_t $ac_cv_c_uint32_t
4931 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4932 case $ac_cv_c_uint64_t in #(
4936 $as_echo "#define _UINT64_T 1" >>confdefs.h
4939 cat >>confdefs.h <<_ACEOF
4940 #define uint64_t $ac_cv_c_uint64_t
4945 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4946 case $ac_cv_c_uint8_t in #(
4950 $as_echo "#define _UINT8_T 1" >>confdefs.h
4953 cat >>confdefs.h <<_ACEOF
4954 #define uint8_t $ac_cv_c_uint8_t
4960 # Checks for library functions.
4961 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4962 if test "x$ac_cv_type_pid_t" = x""yes; then :
4966 cat >>confdefs.h <<_ACEOF
4972 for ac_header in vfork.h
4974 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
4975 if test "x$ac_cv_header_vfork_h" = x""yes; then :
4976 cat >>confdefs.h <<_ACEOF
4977 #define HAVE_VFORK_H 1
4984 for ac_func in fork vfork
4986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4989 cat >>confdefs.h <<_ACEOF
4990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4996 if test "x$ac_cv_func_fork" = xyes; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
4998 $as_echo_n "checking for working fork... " >&6; }
4999 if test "${ac_cv_func_fork_works+set}" = set; then :
5000 $as_echo_n "(cached) " >&6
5002 if test "$cross_compiling" = yes; then :
5003 ac_cv_func_fork_works=cross
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5007 $ac_includes_default
5012 /* By Ruediger Kuhlmann. */
5019 if ac_fn_c_try_run "$LINENO"; then :
5020 ac_cv_func_fork_works=yes
5022 ac_cv_func_fork_works=no
5024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5025 conftest.$ac_objext conftest.beam conftest.$ac_ext
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5030 $as_echo "$ac_cv_func_fork_works" >&6; }
5033 ac_cv_func_fork_works=$ac_cv_func_fork
5035 if test "x$ac_cv_func_fork_works" = xcross; then
5037 *-*-amigaos* | *-*-msdosdjgpp*)
5038 # Override, as these systems have only a dummy fork() stub
5039 ac_cv_func_fork_works=no
5042 ac_cv_func_fork_works=yes
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5046 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5048 ac_cv_func_vfork_works=$ac_cv_func_vfork
5049 if test "x$ac_cv_func_vfork" = xyes; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5051 $as_echo_n "checking for working vfork... " >&6; }
5052 if test "${ac_cv_func_vfork_works+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5055 if test "$cross_compiling" = yes; then :
5056 ac_cv_func_vfork_works=cross
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5060 /* Thanks to Paul Eggert for this test. */
5061 $ac_includes_default
5062 #include <sys/wait.h>
5066 /* On some sparc systems, changes by the child to local and incoming
5067 argument registers are propagated back to the parent. The compiler
5068 is told about this with #include <vfork.h>, but some compilers
5069 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5070 static variable whose address is put into a register that is
5071 clobbered by the vfork. */
5074 sparc_address_test (int arg)
5076 sparc_address_test (arg) int arg;
5097 pid_t parent = getpid ();
5100 sparc_address_test (0);
5105 /* Here is another test for sparc vfork register problems. This
5106 test uses lots of local variables, at least as many local
5107 variables as main has allocated so far including compiler
5108 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5109 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5110 reuse the register of parent for one of the local variables,
5111 since it will think that parent can't possibly be used any more
5112 in this routine. Assigning to the local variable will thus
5113 munge parent in the parent process. */
5115 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5116 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5117 /* Convince the compiler that p..p7 are live; otherwise, it might
5118 use the same hardware register for all 8 local variables. */
5119 if (p != p1 || p != p2 || p != p3 || p != p4
5120 || p != p5 || p != p6 || p != p7)
5123 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5124 from child file descriptors. If the child closes a descriptor
5125 before it execs or exits, this munges the parent's descriptor
5126 as well. Test for this by closing stdout in the child. */
5127 _exit(close(fileno(stdout)) != 0);
5132 while (wait(&status) != child)
5135 /* Was there some problem with vforking? */
5138 /* Did the child fail? (This shouldn't happen.) */
5141 /* Did the vfork/compiler bug occur? */
5142 || parent != getpid()
5144 /* Did the file descriptor bug occur? */
5145 || fstat(fileno(stdout), &st) != 0
5150 if ac_fn_c_try_run "$LINENO"; then :
5151 ac_cv_func_vfork_works=yes
5153 ac_cv_func_vfork_works=no
5155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5156 conftest.$ac_objext conftest.beam conftest.$ac_ext
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5161 $as_echo "$ac_cv_func_vfork_works" >&6; }
5164 if test "x$ac_cv_func_fork_works" = xcross; then
5165 ac_cv_func_vfork_works=$ac_cv_func_vfork
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5167 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5170 if test "x$ac_cv_func_vfork_works" = xyes; then
5172 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5176 $as_echo "#define vfork fork" >>confdefs.h
5179 if test "x$ac_cv_func_fork_works" = xyes; then
5181 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5186 for ac_func in ftruncate gettimeofday inet_ntoa memchr memmove memset socket strdup strerror strrchr uname
5188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5191 cat >>confdefs.h <<_ACEOF
5192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5196 as_fn_error $? "missing a required func" "$LINENO" 5
5201 # Choose PolarSSL as default if present, fallback on OpenSSL if not or if --with-openssl was specified.
5202 if test "x$with_openssl" == xno -a "x$ac_cv_lib_polarssl_ssl_init" == xyes -a "x$ac_cv_header_polarssl_ssl_h" == xyes; then :
5205 $as_echo "#define USE_POLARSSL /**/" >>confdefs.h
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: Using PolarSSL as SSL library" >&5
5208 $as_echo "$as_me: Using PolarSSL as SSL library" >&6;}
5211 if test "x$ac_cv_lib_ssl_SSL_library_init" != xyes -o "x$ac_cv_lib_crypto_BN_init" != xyes -o "x$ac_cv_header_openssl_ssl_h" != xyes; then :
5212 if test "x$with_openssl" != xno; then :
5213 as_fn_error $? "OpenSSL not found" "$LINENO" 5
5215 as_fn_error $? "could not find any ssl library" "$LINENO" 5
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: Using OpenSSL as SSL library" >&5
5219 $as_echo "$as_me: Using OpenSSL as SSL library" >&6;}
5224 ac_config_files="$ac_config_files Makefile src/Makefile"
5226 cat >confcache <<\_ACEOF
5227 # This file is a shell script that caches the results of configure
5228 # tests run on this system so they can be shared between configure
5229 # scripts and configure runs, see configure's option --config-cache.
5230 # It is not useful on other systems. If it contains results you don't
5231 # want to keep, you may remove or edit it.
5233 # config.status only pays attention to the cache file if you give it
5234 # the --recheck option to rerun configure.
5236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5242 # The following way of writing the cache mishandles newlines in values,
5243 # but we know of no workaround that is simple, portable, and efficient.
5244 # So, we kill variables containing newlines.
5245 # Ultrix sh set writes to stderr and can't be redirected directly,
5246 # and sets the high bit in the cache file unless we assign to the vars.
5248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5249 eval ac_val=\$$ac_var
5253 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5257 _ | IFS | as_nl) ;; #(
5258 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5259 *) { eval $ac_var=; unset $ac_var;} ;;
5265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5266 *${as_nl}ac_space=\ *)
5267 # `set' does not quote correctly, so add quotes: double-quote
5268 # substitution turns \\\\ into \\, and sed turns \\ into \.
5271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5274 # `set' quotes correctly as required by POSIX, so do not add quotes.
5275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5289 if test -w "$cache_file"; then
5290 test "x$cache_file" != "x/dev/null" &&
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5292 $as_echo "$as_me: updating cache $cache_file" >&6;}
5293 cat confcache >$cache_file
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5296 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5301 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5302 # Let make expand exec_prefix.
5303 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5305 DEFS=-DHAVE_CONFIG_H
5310 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5311 # 1. Remove the extension, and $U if already installed.
5312 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5313 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5314 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5315 # will be set to the directory where LIBOBJS objects are built.
5316 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5317 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5321 LTLIBOBJS=$ac_ltlibobjs
5324 if test -n "$EXEEXT"; then
5326 am__EXEEXT_FALSE='#'
5332 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5333 as_fn_error $? "conditional \"AMDEP\" was never defined.
5334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5336 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5337 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5341 : ${CONFIG_STATUS=./config.status}
5343 ac_clean_files_save=$ac_clean_files
5344 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5346 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5348 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5350 # Generated by $as_me.
5351 # Run this file to recreate the current configuration.
5352 # Compiler output produced by configure, useful for debugging
5353 # configure, is in config.log if it exists.
5359 SHELL=\${CONFIG_SHELL-$SHELL}
5362 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5363 ## -------------------- ##
5364 ## M4sh Initialization. ##
5365 ## -------------------- ##
5367 # Be more Bourne compatible
5368 DUALCASE=1; export DUALCASE # for MKS sh
5369 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5372 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5373 # is contrary to our usage. Disable this feature.
5374 alias -g '${1+"$@"}'='"$@"'
5375 setopt NO_GLOB_SUBST
5377 case `(set -o) 2>/dev/null` in #(
5389 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5390 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5391 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5393 # Prefer a ksh shell builtin over an external printf program on Solaris,
5394 # but without wasting forks for bash or zsh.
5395 if test -z "$BASH_VERSION$ZSH_VERSION" \
5396 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5397 as_echo='print -r --'
5398 as_echo_n='print -rn --'
5399 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5400 as_echo='printf %s\n'
5401 as_echo_n='printf %s'
5403 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5404 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5405 as_echo_n='/usr/ucb/echo -n'
5407 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5408 as_echo_n_body='eval
5412 expr "X$arg" : "X\\(.*\\)$as_nl";
5413 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5415 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5417 export as_echo_n_body
5418 as_echo_n='sh -c $as_echo_n_body as_echo'
5421 as_echo='sh -c $as_echo_body as_echo'
5424 # The user is always right.
5425 if test "${PATH_SEPARATOR+set}" != set; then
5427 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5428 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5435 # We need space, tab and new line, in precisely that order. Quoting is
5436 # there to prevent editors from complaining about space-tab.
5437 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5438 # splitting by setting IFS to empty value.)
5441 # Find who we are. Look in the path if we contain no directory separator.
5443 *[\\/]* ) as_myself=$0 ;;
5444 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5455 # We did not find ourselves, most probably we were run as `sh COMMAND'
5456 # in which case we are not to be found in the path.
5457 if test "x$as_myself" = x; then
5460 if test ! -f "$as_myself"; then
5461 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5465 # Unset variables that we do not need and which cause bugs (e.g. in
5466 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5467 # suppresses any "Segmentation fault" message there. '((' could
5468 # trigger a bug in pdksh 5.2.14.
5469 for as_var in BASH_ENV ENV MAIL MAILPATH
5470 do eval test x\${$as_var+set} = xset \
5471 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5484 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5487 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5488 # ----------------------------------------
5489 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5490 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5491 # script with STATUS, using 1 if that was 0.
5494 as_status=$1; test $as_status -eq 0 && as_status=1
5496 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5497 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5499 $as_echo "$as_me: error: $2" >&2
5500 as_fn_exit $as_status
5504 # as_fn_set_status STATUS
5505 # -----------------------
5506 # Set $? to STATUS, without forking.
5510 } # as_fn_set_status
5514 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5524 # Portably unset VAR.
5527 { eval $1=; unset $1;}
5529 as_unset=as_fn_unset
5530 # as_fn_append VAR VALUE
5531 # ----------------------
5532 # Append the text in VALUE to the end of the definition contained in VAR. Take
5533 # advantage of any shell optimizations that allow amortized linear growth over
5534 # repeated appends, instead of the typical quadratic growth present in naive
5536 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5537 eval 'as_fn_append ()
5548 # as_fn_arith ARG...
5549 # ------------------
5550 # Perform arithmetic evaluation on the ARGs, and store the result in the
5551 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5552 # must be portable across $(()) and expr.
5553 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5554 eval 'as_fn_arith ()
5561 as_val=`expr "$@" || test $? -eq 1`
5566 if expr a : '\(a\)' >/dev/null 2>&1 &&
5567 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5573 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5574 as_basename=basename
5579 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5585 as_me=`$as_basename -- "$0" ||
5586 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5587 X"$0" : 'X\(//\)$' \| \
5588 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5590 sed '/^.*\/\([^/][^/]*\)\/*$/{
5604 # Avoid depending upon Character Ranges.
5605 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5606 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5607 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5608 as_cr_digits='0123456789'
5609 as_cr_alnum=$as_cr_Letters$as_cr_digits
5611 ECHO_C= ECHO_N= ECHO_T=
5612 case `echo -n x` in #(((((
5614 case `echo 'xy\c'` in
5615 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5617 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5624 rm -f conf$$ conf$$.exe conf$$.file
5625 if test -d conf$$.dir; then
5626 rm -f conf$$.dir/conf$$.file
5629 mkdir conf$$.dir 2>/dev/null
5631 if (echo >conf$$.file) 2>/dev/null; then
5632 if ln -s conf$$.file conf$$ 2>/dev/null; then
5634 # ... but there are two gotchas:
5635 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5636 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5637 # In both cases, we have to default to `cp -p'.
5638 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5640 elif ln conf$$.file conf$$ 2>/dev/null; then
5648 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5649 rmdir conf$$.dir 2>/dev/null
5654 # Create "$as_dir" as a directory, including parents if necessary.
5659 -*) as_dir=./$as_dir;;
5661 test -d "$as_dir" || eval $as_mkdir_p || {
5665 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5666 *) as_qdir=$as_dir;;
5668 as_dirs="'$as_qdir' $as_dirs"
5669 as_dir=`$as_dirname -- "$as_dir" ||
5670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5671 X"$as_dir" : 'X\(//\)[^/]' \| \
5672 X"$as_dir" : 'X\(//\)$' \| \
5673 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5674 $as_echo X"$as_dir" |
5675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5692 test -d "$as_dir" && break
5694 test -z "$as_dirs" || eval "mkdir $as_dirs"
5695 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5699 if mkdir -p . 2>/dev/null; then
5700 as_mkdir_p='mkdir -p "$as_dir"'
5702 test -d ./-p && rmdir ./-p
5706 if test -x / >/dev/null 2>&1; then
5709 if ls -dL / >/dev/null 2>&1; then
5716 if test -d "$1"; then
5722 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5723 ???[sx]*):;;*)false;;esac;fi
5727 as_executable_p=$as_test_x
5729 # Sed expression to map a string onto a valid CPP name.
5730 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5732 # Sed expression to map a string onto a valid variable name.
5733 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5737 ## ----------------------------------- ##
5738 ## Main body of $CONFIG_STATUS script. ##
5739 ## ----------------------------------- ##
5741 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5744 # Save the log message, to keep $0 and so on meaningful, and to
5745 # report actual input values of CONFIG_FILES etc. instead of their
5746 # values after options handling.
5748 This file was extended by umurmur $as_me 0.2.6, which was
5749 generated by GNU Autoconf 2.67. Invocation command line was
5751 CONFIG_FILES = $CONFIG_FILES
5752 CONFIG_HEADERS = $CONFIG_HEADERS
5753 CONFIG_LINKS = $CONFIG_LINKS
5754 CONFIG_COMMANDS = $CONFIG_COMMANDS
5757 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5762 case $ac_config_files in *"
5763 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5766 case $ac_config_headers in *"
5767 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5772 # Files that config.status was made for.
5773 config_files="$ac_config_files"
5774 config_headers="$ac_config_headers"
5775 config_commands="$ac_config_commands"
5779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5781 \`$as_me' instantiates files and other configuration actions
5782 from templates according to the current configuration. Unless the files
5783 and actions are specified as TAGs, all are instantiated by default.
5785 Usage: $0 [OPTION]... [TAG]...
5787 -h, --help print this help, then exit
5788 -V, --version print version number and configuration settings, then exit
5789 --config print configuration, then exit
5790 -q, --quiet, --silent
5791 do not print progress messages
5792 -d, --debug don't remove temporary files
5793 --recheck update $as_me by reconfiguring in the same conditions
5794 --file=FILE[:TEMPLATE]
5795 instantiate the configuration file FILE
5796 --header=FILE[:TEMPLATE]
5797 instantiate the configuration header FILE
5799 Configuration files:
5802 Configuration headers:
5805 Configuration commands:
5808 Report bugs to <http://code.google.com/p/umurmur/issues/entry>.
5809 umurmur home page: <http://code.google.com/p/umurmur>."
5812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5813 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5815 umurmur config.status 0.2.6
5816 configured by $0, generated by GNU Autoconf 2.67,
5817 with options \\"\$ac_cs_config\\"
5819 Copyright (C) 2010 Free Software Foundation, Inc.
5820 This config.status script is free software; the Free Software Foundation
5821 gives unlimited permission to copy, distribute and modify it."
5828 test -n "\$AWK" || AWK=awk
5831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5832 # The default lists apply if the user does not specify any file.
5838 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5839 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5843 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5855 # Handling of the options.
5856 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5858 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5859 $as_echo "$ac_cs_version"; exit ;;
5860 --config | --confi | --conf | --con | --co | --c )
5861 $as_echo "$ac_cs_config"; exit ;;
5862 --debug | --debu | --deb | --de | --d | -d )
5864 --file | --fil | --fi | --f )
5867 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5868 '') as_fn_error $? "missing file argument" ;;
5870 as_fn_append CONFIG_FILES " '$ac_optarg'"
5871 ac_need_defaults=false;;
5872 --header | --heade | --head | --hea )
5875 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5877 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5878 ac_need_defaults=false;;
5880 # Conflict between --help and --header
5881 as_fn_error $? "ambiguous option: \`$1'
5882 Try \`$0 --help' for more information.";;
5883 --help | --hel | -h )
5884 $as_echo "$ac_cs_usage"; exit ;;
5885 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5886 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5890 -*) as_fn_error $? "unrecognized option: \`$1'
5891 Try \`$0 --help' for more information." ;;
5893 *) as_fn_append ac_config_targets " $1"
5894 ac_need_defaults=false ;;
5900 ac_configure_extra_args=
5902 if $ac_cs_silent; then
5904 ac_configure_extra_args="$ac_configure_extra_args --silent"
5908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5909 if \$ac_cs_recheck; then
5910 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5912 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5913 CONFIG_SHELL='$SHELL'
5919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5924 ## Running $as_me. ##
5930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5934 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5940 # Handling of arguments.
5941 for ac_config_target in $ac_config_targets
5943 case $ac_config_target in
5944 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5945 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5946 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5947 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5949 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
5954 # If the user did not use the arguments to specify the items to instantiate,
5955 # then the envvar interface is used. Set only those that are not.
5956 # We use the long form for the default assignment because of an extremely
5957 # bizarre bug on SunOS 4.1.3.
5958 if $ac_need_defaults; then
5959 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5960 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5961 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5964 # Have a temporary directory for convenience. Make it in the build tree
5965 # simply because there is no reason against having it here, and in addition,
5966 # creating and moving files from /tmp can sometimes cause problems.
5967 # Hook for its removal unless debugging.
5968 # Note that there is a small window in which the directory will not be cleaned:
5969 # after its creation but before its name has been assigned to `$tmp'.
5973 trap 'exit_status=$?
5974 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5976 trap 'as_fn_exit 1' 1 2 13 15
5978 # Create a (secure) tmp directory for tmp files.
5981 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5982 test -n "$tmp" && test -d "$tmp"
5985 tmp=./conf$$-$RANDOM
5986 (umask 077 && mkdir "$tmp")
5987 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5989 # Set up the scripts for CONFIG_FILES section.
5990 # No need to generate them if there are no CONFIG_FILES.
5991 # This happens for instance with `./config.status config.h'.
5992 if test -n "$CONFIG_FILES"; then
5995 ac_cr=`echo X | tr X '\015'`
5996 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5997 # But we know of no other shell where ac_cr would be empty at this
5998 # point, so we can use a bashism as a fallback.
5999 if test "x$ac_cr" = x; then
6000 eval ac_cr=\$\'\\r\'
6002 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6003 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6009 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6014 echo "cat >conf$$subs.awk <<_ACEOF" &&
6015 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6019 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6021 for ac_last_try in false false false false false :; do
6022 . ./conf$$subs.sh ||
6023 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6025 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6026 if test $ac_delim_n = $ac_delim_num; then
6028 elif $ac_last_try; then
6029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6031 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6037 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6041 s/^/S["/; s/!.*/"]=/
6051 s/\(.\{148\}\)..*/\1/
6053 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6058 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6065 s/\(.\{148\}\)..*/\1/
6067 s/["\\]/\\&/g; s/^/"/; s/$/"/
6071 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6076 ' <conf$$subs.awk | sed '
6081 ' >>$CONFIG_STATUS || ac_write_fail=1
6082 rm -f conf$$subs.awk
6083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6085 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6086 for (key in S) S_is_set[key] = 1
6092 nfields = split(line, field, "@")
6094 len = length(field[1])
6095 for (i = 2; i < nfields; i++) {
6097 keylen = length(key)
6098 if (S_is_set[key]) {
6100 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6101 len += length(value) + length(field[++i])
6112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6113 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6114 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6117 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6118 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6121 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6122 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6123 # trailing colons and then remove the whole line if VPATH becomes empty
6124 # (actually we leave an empty line to preserve line numbers).
6125 if test "x$srcdir" = x.; then
6126 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6145 fi # test -n "$CONFIG_FILES"
6147 # Set up the scripts for CONFIG_HEADERS section.
6148 # No need to generate them if there are no CONFIG_HEADERS.
6149 # This happens for instance with `./config.status Makefile'.
6150 if test -n "$CONFIG_HEADERS"; then
6151 cat >"$tmp/defines.awk" <<\_ACAWK ||
6155 # Transform confdefs.h into an awk script `defines.awk', embedded as
6156 # here-document in config.status, that substitutes the proper values into
6157 # config.h.in to produce config.h.
6159 # Create a delimiter string that does not exist in confdefs.h, to ease
6160 # handling of long lines.
6162 for ac_last_try in false false :; do
6163 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6164 if test -z "$ac_t"; then
6166 elif $ac_last_try; then
6167 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6173 # For the awk script, D is an array of macro values keyed by name,
6174 # likewise P contains macro parameters if any. Preserve backslash
6175 # newline sequences.
6177 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6179 s/.\{148\}/&'"$ac_delim"'/g
6182 s/^[ ]*#[ ]*define[ ][ ]*/ /
6189 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6191 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6196 D["\1"]=" \3\\\\\\n"\\/p
6198 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6203 s/.\{148\}/&'"$ac_delim"'/g
6208 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6211 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6213 ' <confdefs.h | sed '
6214 s/'"$ac_delim"'/"\\\
6215 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6218 for (key in D) D_is_set[key] = 1
6221 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6223 split(line, arg, " ")
6224 if (arg[1] == "#") {
6228 defundef = substr(arg[1], 2)
6231 split(mac1, mac2, "(") #)
6233 prefix = substr(line, 1, index(line, defundef) - 1)
6234 if (D_is_set[macro]) {
6235 # Preserve the white space surrounding the "#".
6236 print prefix "define", macro P[macro] D[macro]
6239 # Replace #undef with comments. This is necessary, for example,
6240 # in the case of _POSIX_SOURCE, which is predefined and required
6241 # on some systems where configure will not decide to define it.
6242 if (defundef == "undef") {
6243 print "/*", prefix defundef, macro, "*/"
6251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6252 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6253 fi # test -n "$CONFIG_HEADERS"
6256 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6261 :[FHLC]) ac_mode=$ac_tag; continue;;
6263 case $ac_mode$ac_tag in
6265 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
6266 :[FH]-) ac_tag=-:-;;
6267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6284 -) ac_f="$tmp/stdin";;
6285 *) # Look for the file first in the build tree, then in the source tree
6286 # (if the path is not absolute). The absolute path cannot be DOS-style,
6287 # because $ac_f cannot contain `:'.
6291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6293 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
6295 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6296 as_fn_append ac_file_inputs " '$ac_f'"
6299 # Let's still pretend it is `configure' which instantiates (i.e., don't
6300 # use $as_me), people would be surprised to read:
6301 # /* config.h. Generated by config.status. */
6302 configure_input='Generated from '`
6303 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6305 if test x"$ac_file" != x-; then
6306 configure_input="$ac_file. $configure_input"
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6308 $as_echo "$as_me: creating $ac_file" >&6;}
6310 # Neutralize special characters interpreted by sed in replacement strings.
6311 case $configure_input in #(
6312 *\&* | *\|* | *\\* )
6313 ac_sed_conf_input=`$as_echo "$configure_input" |
6314 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6315 *) ac_sed_conf_input=$configure_input;;
6319 *:-:* | *:-) cat >"$tmp/stdin" \
6320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6325 ac_dir=`$as_dirname -- "$ac_file" ||
6326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6327 X"$ac_file" : 'X\(//\)[^/]' \| \
6328 X"$ac_file" : 'X\(//\)$' \| \
6329 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6330 $as_echo X"$ac_file" |
6331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6348 as_dir="$ac_dir"; as_fn_mkdir_p
6352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6354 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6355 # A ".." for each directory in $ac_dir_suffix.
6356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6357 case $ac_top_builddir_sub in
6358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6362 ac_abs_top_builddir=$ac_pwd
6363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6364 # for backward compatibility:
6365 ac_top_builddir=$ac_top_build_prefix
6368 .) # We are building in place.
6370 ac_top_srcdir=$ac_top_builddir_sub
6371 ac_abs_top_srcdir=$ac_pwd ;;
6372 [\\/]* | ?:[\\/]* ) # Absolute name.
6373 ac_srcdir=$srcdir$ac_dir_suffix;
6374 ac_top_srcdir=$srcdir
6375 ac_abs_top_srcdir=$srcdir ;;
6377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6378 ac_top_srcdir=$ac_top_build_prefix$srcdir
6379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6392 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6396 [\\/$]* | ?:[\\/]* ) ;;
6397 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6402 # If the template does not know about datarootdir, expand it.
6403 # FIXME: This hack should be removed a few years after 2.60.
6404 ac_datarootdir_hack=; ac_datarootdir_seen=
6415 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6416 *datarootdir*) ac_datarootdir_seen=yes;;
6417 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6419 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6422 ac_datarootdir_hack='
6423 s&@datadir@&$datadir&g
6424 s&@docdir@&$docdir&g
6425 s&@infodir@&$infodir&g
6426 s&@localedir@&$localedir&g
6427 s&@mandir@&$mandir&g
6428 s&\\\${datarootdir}&$datarootdir&g' ;;
6432 # Neutralize VPATH when `$srcdir' = `.'.
6433 # Shell code in configure.ac might set extrasub.
6434 # FIXME: do we really want to maintain this feature?
6435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6436 ac_sed_extra="$ac_vpsub
6439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6442 s|@configure_input@|$ac_sed_conf_input|;t t
6443 s&@top_builddir@&$ac_top_builddir_sub&;t t
6444 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6445 s&@srcdir@&$ac_srcdir&;t t
6446 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6447 s&@top_srcdir@&$ac_top_srcdir&;t t
6448 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6449 s&@builddir@&$ac_builddir&;t t
6450 s&@abs_builddir@&$ac_abs_builddir&;t t
6451 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6452 s&@INSTALL@&$ac_INSTALL&;t t
6453 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6454 $ac_datarootdir_hack
6456 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6459 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6460 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6461 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6463 which seems to be undefined. Please make sure it is defined" >&5
6464 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6465 which seems to be undefined. Please make sure it is defined" >&2;}
6469 -) cat "$tmp/out" && rm -f "$tmp/out";;
6470 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6478 if test x"$ac_file" != x-; then
6480 $as_echo "/* $configure_input */" \
6481 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6482 } >"$tmp/config.h" \
6483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6484 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6486 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6489 mv "$tmp/config.h" "$ac_file" \
6490 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6493 $as_echo "/* $configure_input */" \
6494 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6495 || as_fn_error $? "could not create -" "$LINENO" 5
6497 # Compute "$ac_file"'s index in $config_headers.
6500 for _am_header in $config_headers :; do
6502 $_am_arg | $_am_arg:* )
6505 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6508 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6509 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6510 X"$_am_arg" : 'X\(//\)[^/]' \| \
6511 X"$_am_arg" : 'X\(//\)$' \| \
6512 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6513 $as_echo X"$_am_arg" |
6514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6530 s/.*/./; q'`/stamp-h$_am_stamp_count
6533 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6534 $as_echo "$as_me: executing $ac_file commands" >&6;}
6539 case $ac_file$ac_mode in
6540 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6541 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6542 # are listed without --file. Let's play safe and only enable the eval
6543 # if we detect the quoting.
6544 case $CONFIG_FILES in
6545 *\'*) eval set x "$CONFIG_FILES" ;;
6546 *) set x $CONFIG_FILES ;;
6551 # Strip MF so we end up with the name of the file.
6552 mf=`echo "$mf" | sed -e 's/:.*$//'`
6553 # Check whether this is an Automake generated Makefile or not.
6554 # We used to match only the files named `Makefile.in', but
6555 # some people rename them; so instead we look at the file content.
6556 # Grep'ing the first line is not enough: some people post-process
6557 # each Makefile.in and add a new line on top of each file to say so.
6558 # Grep'ing the whole file is not good either: AIX grep has a line
6559 # limit of 2048, but all sed's we know have understand at least 4000.
6560 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6561 dirpart=`$as_dirname -- "$mf" ||
6562 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6563 X"$mf" : 'X\(//\)[^/]' \| \
6564 X"$mf" : 'X\(//\)$' \| \
6565 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6587 # Extract the definition of DEPDIR, am__include, and am__quote
6588 # from the Makefile without running `make'.
6589 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6590 test -z "$DEPDIR" && continue
6591 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6592 test -z "am__include" && continue
6593 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6594 # When using ansi2knr, U may be empty or an underscore; expand it
6595 U=`sed -n 's/^U = //p' < "$mf"`
6596 # Find all dependency output files, they are included files with
6597 # $(DEPDIR) in their names. We invoke sed twice because it is the
6598 # simplest approach to changing $(DEPDIR) to its actual value in the
6600 for file in `sed -n "
6601 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6602 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6603 # Make sure the directory exists.
6604 test -f "$dirpart/$file" && continue
6605 fdir=`$as_dirname -- "$file" ||
6606 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6607 X"$file" : 'X\(//\)[^/]' \| \
6608 X"$file" : 'X\(//\)$' \| \
6609 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6628 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6629 # echo "creating $dirpart/$file"
6630 echo '# dummy' > "$dirpart/$file"
6642 ac_clean_files=$ac_clean_files_save
6644 test $ac_write_fail = 0 ||
6645 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6648 # configure is writing to config.log, and then calls config.status.
6649 # config.status does its own redirection, appending to config.log.
6650 # Unfortunately, on DOS this fails, as config.log is still kept open
6651 # by configure, so config.status won't be able to write to it; its
6652 # output is simply discarded. So we exec the FD to /dev/null,
6653 # effectively closing config.log, so it can be properly (re)opened and
6654 # appended to by config.status. When coming back to configure, we
6655 # need to make the FD available again.
6656 if test "$no_create" != yes; then
6658 ac_config_status_args=
6659 test "$silent" = yes &&
6660 ac_config_status_args="$ac_config_status_args --quiet"
6662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6665 # would make configure fail if this is the last instruction.
6666 $ac_cs_success || as_fn_exit 1
6668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}