2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62 for scrypt 1.1.6.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir=.
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
277 CONFIG_SHELL=$as_shell
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
305 as_func_ret_success () {
308 as_func_ret_failure () {
313 if as_func_success; then
317 echo as_func_success failed.
320 if as_func_failure; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure; then
334 echo as_func_ret_failure succeeded.
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) || { (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492 ECHO_C= ECHO_N= ECHO_T=
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
514 mkdir conf$$.dir 2>/dev/null
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 elif ln conf$$.file conf$$ 2>/dev/null; then
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
536 if mkdir -p . 2>/dev/null; then
539 test -d ./-p && rmdir ./-p
543 if test -x / >/dev/null 2>&1; then
546 if ls -dL / >/dev/null 2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev/null 6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix=/usr/local
586 ac_config_libobj_dir=.
592 SHELL=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
595 PACKAGE_NAME='scrypt'
596 PACKAGE_TARNAME='scrypt'
597 PACKAGE_VERSION='1.1.6'
598 PACKAGE_STRING='scrypt 1.1.6'
601 # Factoring default headers for most tests.
602 ac_includes_default="\
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
614 # ifdef HAVE_STDLIB_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
646 program_transform_name
688 INSTALL_STRIP_PROGRAM
698 MAINTAINER_MODE_FALSE
719 HAVE_SYSCTL_HW_USERMEM
725 enable_option_checking
726 enable_maintainer_mode
727 enable_dependency_tracking
731 ac_precious_vars='build_alias
742 # Initialize some variables set by options.
744 ac_init_version=false
745 ac_unrecognized_opts=
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name=s,x,x,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir='${exec_prefix}/bin'
771 sbindir='${exec_prefix}/sbin'
772 libexecdir='${exec_prefix}/libexec'
773 datarootdir='${prefix}/share'
774 datadir='${datarootdir}'
775 sysconfdir='${prefix}/etc'
776 sharedstatedir='${prefix}/com'
777 localstatedir='${prefix}/var'
778 includedir='${prefix}/include'
779 oldincludedir='/usr/include'
780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
781 infodir='${datarootdir}/info'
786 libdir='${exec_prefix}/lib'
787 localedir='${datarootdir}/locale'
788 mandir='${datarootdir}/man'
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\$ac_option
802 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 -build | --build | --buil | --bui | --bu)
818 ac_prev=build_alias ;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias=$ac_optarg ;;
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev=cache_file ;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file=$ac_optarg ;;
830 cache_file=config.cache ;;
832 -datadir | --datadir | --datadi | --datad)
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir=$ac_optarg ;;
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev=datarootdir ;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir=$ac_optarg ;;
844 -disable-* | --disable-*)
845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
849 { (exit 1); exit 1; }; }
850 ac_useropt_orig=$ac_useropt
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
852 case $ac_user_opts in
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
857 ac_unrecognized_sep=', ';;
859 eval enable_$ac_useropt=no ;;
861 -docdir | --docdir | --docdi | --doc | --do)
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
871 -enable-* | --enable-*)
872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
873 # Reject names that are not valid shell variable names.
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
875 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
876 { (exit 1); exit 1; }; }
877 ac_useropt_orig=$ac_useropt
878 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879 case $ac_user_opts in
883 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
884 ac_unrecognized_sep=', ';;
886 eval enable_$ac_useropt=\$ac_optarg ;;
888 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
889 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
890 | --exec | --exe | --ex)
891 ac_prev=exec_prefix ;;
892 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
893 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
894 | --exec=* | --exe=* | --ex=*)
895 exec_prefix=$ac_optarg ;;
897 -gas | --gas | --ga | --g)
898 # Obsolete; use --with-gas.
901 -help | --help | --hel | --he | -h)
903 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
904 ac_init_help=recursive ;;
905 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
906 ac_init_help=short ;;
908 -host | --host | --hos | --ho)
909 ac_prev=host_alias ;;
910 -host=* | --host=* | --hos=* | --ho=*)
911 host_alias=$ac_optarg ;;
913 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
915 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
917 htmldir=$ac_optarg ;;
919 -includedir | --includedir | --includedi | --included | --include \
920 | --includ | --inclu | --incl | --inc)
921 ac_prev=includedir ;;
922 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
923 | --includ=* | --inclu=* | --incl=* | --inc=*)
924 includedir=$ac_optarg ;;
926 -infodir | --infodir | --infodi | --infod | --info | --inf)
928 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
929 infodir=$ac_optarg ;;
931 -libdir | --libdir | --libdi | --libd)
933 -libdir=* | --libdir=* | --libdi=* | --libd=*)
936 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
937 | --libexe | --libex | --libe)
938 ac_prev=libexecdir ;;
939 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
940 | --libexe=* | --libex=* | --libe=*)
941 libexecdir=$ac_optarg ;;
943 -localedir | --localedir | --localedi | --localed | --locale)
945 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
946 localedir=$ac_optarg ;;
948 -localstatedir | --localstatedir | --localstatedi | --localstated \
949 | --localstate | --localstat | --localsta | --localst | --locals)
950 ac_prev=localstatedir ;;
951 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
952 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
953 localstatedir=$ac_optarg ;;
955 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
957 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
961 # Obsolete; use --without-fp.
964 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
965 | --no-cr | --no-c | -n)
968 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
969 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
972 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
973 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
974 | --oldin | --oldi | --old | --ol | --o)
975 ac_prev=oldincludedir ;;
976 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
977 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
978 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
979 oldincludedir=$ac_optarg ;;
981 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
983 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
986 -program-prefix | --program-prefix | --program-prefi | --program-pref \
987 | --program-pre | --program-pr | --program-p)
988 ac_prev=program_prefix ;;
989 -program-prefix=* | --program-prefix=* | --program-prefi=* \
990 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
991 program_prefix=$ac_optarg ;;
993 -program-suffix | --program-suffix | --program-suffi | --program-suff \
994 | --program-suf | --program-su | --program-s)
995 ac_prev=program_suffix ;;
996 -program-suffix=* | --program-suffix=* | --program-suffi=* \
997 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
998 program_suffix=$ac_optarg ;;
1000 -program-transform-name | --program-transform-name \
1001 | --program-transform-nam | --program-transform-na \
1002 | --program-transform-n | --program-transform- \
1003 | --program-transform | --program-transfor \
1004 | --program-transfo | --program-transf \
1005 | --program-trans | --program-tran \
1006 | --progr-tra | --program-tr | --program-t)
1007 ac_prev=program_transform_name ;;
1008 -program-transform-name=* | --program-transform-name=* \
1009 | --program-transform-nam=* | --program-transform-na=* \
1010 | --program-transform-n=* | --program-transform-=* \
1011 | --program-transform=* | --program-transfor=* \
1012 | --program-transfo=* | --program-transf=* \
1013 | --program-trans=* | --program-tran=* \
1014 | --progr-tra=* | --program-tr=* | --program-t=*)
1015 program_transform_name=$ac_optarg ;;
1017 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1019 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1020 pdfdir=$ac_optarg ;;
1022 -psdir | --psdir | --psdi | --psd | --ps)
1024 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1031 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1033 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1035 sbindir=$ac_optarg ;;
1037 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1038 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1039 | --sharedst | --shareds | --shared | --share | --shar \
1041 ac_prev=sharedstatedir ;;
1042 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1043 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1044 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1046 sharedstatedir=$ac_optarg ;;
1048 -site | --site | --sit)
1050 -site=* | --site=* | --sit=*)
1053 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1055 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1056 srcdir=$ac_optarg ;;
1058 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1059 | --syscon | --sysco | --sysc | --sys | --sy)
1060 ac_prev=sysconfdir ;;
1061 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1062 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1063 sysconfdir=$ac_optarg ;;
1065 -target | --target | --targe | --targ | --tar | --ta | --t)
1066 ac_prev=target_alias ;;
1067 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1068 target_alias=$ac_optarg ;;
1070 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1073 -version | --version | --versio | --versi | --vers | -V)
1074 ac_init_version=: ;;
1077 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1081 { (exit 1); exit 1; }; }
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=\$ac_optarg ;;
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1098 { (exit 1); exit 1; }; }
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
1108 eval with_$ac_useropt=no ;;
1111 # Obsolete; use --with-x.
1114 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1115 | --x-incl | --x-inc | --x-in | --x-i)
1116 ac_prev=x_includes ;;
1117 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1118 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1119 x_includes=$ac_optarg ;;
1121 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1122 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1123 ac_prev=x_libraries ;;
1124 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1125 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1126 x_libraries=$ac_optarg ;;
1128 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1129 Try \`$0 --help' for more information." >&2
1130 { (exit 1); exit 1; }; }
1134 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1137 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1138 { (exit 1); exit 1; }; }
1139 eval $ac_envvar=\$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1153 if test -n "$ac_prev"; then
1154 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1155 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1156 { (exit 1); exit 1; }; }
1159 if test -n "$ac_unrecognized_opts"; then
1160 case $enable_option_checking in
1162 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1163 { (exit 1); exit 1; }; } ;;
1164 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1168 # Check all directory arguments for consistency.
1169 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1170 datadir sysconfdir sharedstatedir localstatedir includedir \
1171 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1172 libdir localedir mandir
1174 eval ac_val=\$$ac_var
1175 # Remove trailing slashes.
1178 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1179 eval $ac_var=\$ac_val;;
1181 # Be sure to have absolute directory names.
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$as_myself" ||
1229 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$as_myself" : 'X\(//\)[^/]' \| \
1231 X"$as_myself" : 'X\(//\)$' \| \
1232 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1233 $as_echo X"$as_myself" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures scrypt 1.1.6 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/scrypt]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --program-prefix=PREFIX prepend PREFIX to installed program names
1351 --program-suffix=SUFFIX append SUFFIX to installed program names
1352 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1356 if test -n "$ac_init_help"; then
1357 case $ac_init_help in
1358 short | recursive ) echo "Configuration of scrypt 1.1.6:";;
1363 --disable-option-checking ignore unrecognized --enable/--with options
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --enable-maintainer-mode enable make rules and dependencies not useful
1367 (and sometimes confusing) to the casual installer
1368 --disable-dependency-tracking speeds up one-time build
1369 --enable-dependency-tracking do not reject slow dependency extractors
1370 --enable-sse2 use optimized SSE2 code
1371 --disable-largefile omit support for large files
1373 Some influential environment variables:
1374 CC C compiler command
1375 CFLAGS C compiler flags
1376 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1377 nonstandard directory <lib dir>
1378 LIBS libraries to pass to the linker, e.g. -l<library>
1379 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1380 you have headers in a nonstandard directory <include dir>
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1393 test -d "$ac_dir" ||
1394 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1402 # A ".." for each directory in $ac_dir_suffix.
1403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1404 case $ac_top_builddir_sub in
1405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1409 ac_abs_top_builddir=$ac_pwd
1410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1411 # for backward compatibility:
1412 ac_top_builddir=$ac_top_build_prefix
1415 .) # We are building in place.
1417 ac_top_srcdir=$ac_top_builddir_sub
1418 ac_abs_top_srcdir=$ac_pwd ;;
1419 [\\/]* | ?:[\\/]* ) # Absolute name.
1420 ac_srcdir=$srcdir$ac_dir_suffix;
1421 ac_top_srcdir=$srcdir
1422 ac_abs_top_srcdir=$srcdir ;;
1424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1425 ac_top_srcdir=$ac_top_build_prefix$srcdir
1426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1430 cd "$ac_dir" || { ac_status=$?; continue; }
1431 # Check for guested configure.
1432 if test -f "$ac_srcdir/configure.gnu"; then
1434 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1435 elif test -f "$ac_srcdir/configure"; then
1437 $SHELL "$ac_srcdir/configure" --help=recursive
1439 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1441 cd "$ac_pwd" || { ac_status=$?; break; }
1445 test -n "$ac_init_help" && exit $ac_status
1446 if $ac_init_version; then
1448 scrypt configure 1.1.6
1449 generated by GNU Autoconf 2.62
1451 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1452 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1453 This configure script is free software; the Free Software Foundation
1454 gives unlimited permission to copy, distribute and modify it.
1458 cat >config.log <<_ACEOF
1459 This file contains any messages produced by compilers while
1460 running configure, to aid debugging if configure makes a mistake.
1462 It was created by scrypt $as_me 1.1.6, which was
1463 generated by GNU Autoconf 2.62. Invocation command line was
1475 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1476 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1477 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1478 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1479 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1481 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1482 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1484 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1485 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1486 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1487 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1488 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1489 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1490 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 $as_echo "PATH: $as_dir"
1515 # Keep a trace of the command line.
1516 # Strip out --no-create and --no-recursion so they do not pile up.
1517 # Strip out --silent because we don't want to record it for future runs.
1518 # Also quote any args containing shell meta-characters.
1519 # Make two passes to allow for proper duplicate-argument suppression.
1523 ac_must_keep_next=false
1529 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1531 | -silent | --silent | --silen | --sile | --sil)
1534 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1537 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1539 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1540 if test $ac_must_keep_next = true; then
1541 ac_must_keep_next=false # Got value, back to normal.
1544 *=* | --config-cache | -C | -disable-* | --disable-* \
1545 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1546 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1547 | -with-* | --with-* | -without-* | --without-* | --x)
1548 case "$ac_configure_args0 " in
1549 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1552 -* ) ac_must_keep_next=true ;;
1555 ac_configure_args="$ac_configure_args '$ac_arg'"
1560 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1561 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1563 # When interrupted or exit'd, cleanup temporary files, and complete
1564 # config.log. We remove comments because anyway the quotes in there
1565 # would cause problems or look ugly.
1566 # WARNING: Use '\'' to represent an apostrophe within the trap.
1567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568 trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1574 ## ---------------- ##
1575 ## Cache variables. ##
1576 ## ---------------- ##
1579 # The following way of writing the cache mishandles newlines in values,
1581 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1582 eval ac_val=\$$ac_var
1586 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1587 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1590 _ | IFS | as_nl) ;; #(
1591 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1592 *) $as_unset $ac_var ;;
1597 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1598 *${as_nl}ac_space=\ *)
1600 "s/'\''/'\''\\\\'\'''\''/g;
1601 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 ## ----------------- ##
1613 ## Output variables. ##
1614 ## ----------------- ##
1617 for ac_var in $ac_subst_vars
1619 eval ac_val=\$$ac_var
1621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1623 $as_echo "$ac_var='\''$ac_val'\''"
1627 if test -n "$ac_subst_files"; then
1629 ## ------------------- ##
1630 ## File substitutions. ##
1631 ## ------------------- ##
1634 for ac_var in $ac_subst_files
1636 eval ac_val=\$$ac_var
1638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640 $as_echo "$ac_var='\''$ac_val'\''"
1645 if test -s confdefs.h; then
1655 test "$ac_signal" != 0 &&
1656 $as_echo "$as_me: caught signal $ac_signal"
1657 $as_echo "$as_me: exit $exit_status"
1659 rm -f core *.core core.conftest.* &&
1660 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663 for ac_signal in 1 2 13 15; do
1664 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1668 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1669 rm -f -r conftest* confdefs.h
1671 # Predefined preprocessor variables.
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_NAME "$PACKAGE_NAME"
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_STRING "$PACKAGE_STRING"
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1698 # Let the site file select an alternate cache file if it wants to.
1699 # Prefer an explicitly selected file to automatically selected ones.
1702 if test -n "$CONFIG_SITE"; then
1703 ac_site_file1=$CONFIG_SITE
1704 elif test "x$prefix" != xNONE; then
1705 ac_site_file1=$prefix/share/config.site
1706 ac_site_file2=$prefix/etc/config.site
1708 ac_site_file1=$ac_default_prefix/share/config.site
1709 ac_site_file2=$ac_default_prefix/etc/config.site
1711 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1713 test "x$ac_site_file" = xNONE && continue
1714 if test -r "$ac_site_file"; then
1715 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1716 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1722 if test -r "$cache_file"; then
1723 # Some versions of bash will fail to source /dev/null (special
1724 # files actually), so we avoid doing that.
1725 if test -f "$cache_file"; then
1726 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1727 $as_echo "$as_me: loading cache $cache_file" >&6;}
1729 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1730 *) . "./$cache_file";;
1734 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1735 $as_echo "$as_me: creating cache $cache_file" >&6;}
1739 # Check that the precious variables saved in the cache have kept the same
1741 ac_cache_corrupted=false
1742 for ac_var in $ac_precious_vars; do
1743 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1744 eval ac_new_set=\$ac_env_${ac_var}_set
1745 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1746 eval ac_new_val=\$ac_env_${ac_var}_value
1747 case $ac_old_set,$ac_new_set in
1749 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1750 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1751 ac_cache_corrupted=: ;;
1753 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1754 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1758 if test "x$ac_old_val" != "x$ac_new_val"; then
1759 # differences in whitespace do not lead to failure.
1760 ac_old_val_w=`echo x $ac_old_val`
1761 ac_new_val_w=`echo x $ac_new_val`
1762 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1763 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 ac_cache_corrupted=:
1767 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1768 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1769 eval $ac_var=\$ac_old_val
1771 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1772 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1773 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1774 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1777 # Pass precious variables to config.status.
1778 if test "$ac_new_set" = set; then
1780 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1781 *) ac_arg=$ac_var=$ac_new_val ;;
1783 case " $ac_configure_args " in
1784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1789 if $ac_cache_corrupted; then
1790 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1791 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1792 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1793 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1794 { (exit 1); exit 1; }; }
1822 ac_cpp='$CPP $CPPFLAGS'
1823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1829 for ac_dir in config.aux "$srcdir"/config.aux; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config.aux \"$srcdir\"/config.aux" >&5
1846 $as_echo "$as_me: error: cannot find install-sh or install.sh in config.aux \"$srcdir\"/config.aux" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 am__api_version='1.10'
1861 # Find a good install program. We prefer a C program (faster),
1862 # so one script is as good as another. But avoid the broken or
1863 # incompatible versions:
1864 # SysV /etc/install, /usr/sbin/install
1865 # SunOS /usr/etc/install
1866 # IRIX /sbin/install
1868 # AmigaOS /C/install, which installs bootblocks on floppy discs
1869 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1870 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1871 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1872 # OS/2's system install, which has a completely different semantic
1873 # ./install, which can be erroneously created by make from ./install.sh.
1874 # Reject install programs that cannot install multiple files.
1875 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1876 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1877 if test -z "$INSTALL"; then
1878 if test "${ac_cv_path_install+set}" = set; then
1879 $as_echo_n "(cached) " >&6
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1885 test -z "$as_dir" && as_dir=.
1886 # Account for people who put trailing slashes in PATH elements.
1888 ./ | .// | /cC/* | \
1889 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1890 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1893 # OSF1 and SCO ODT 3.0 have their own names for install.
1894 # Don't use installbsd from OSF since it installs stuff as root
1896 for ac_prog in ginstall scoinst install; do
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1899 if test $ac_prog = install &&
1900 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1901 # AIX install. It has an incompatible calling convention.
1903 elif test $ac_prog = install &&
1904 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1905 # program-specific install script used by HP pwplus--don't use.
1908 rm -rf conftest.one conftest.two conftest.dir
1909 echo one > conftest.one
1910 echo two > conftest.two
1912 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1913 test -s conftest.one && test -s conftest.two &&
1914 test -s conftest.dir/conftest.one &&
1915 test -s conftest.dir/conftest.two
1917 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1930 rm -rf conftest.one conftest.two conftest.dir
1933 if test "${ac_cv_path_install+set}" = set; then
1934 INSTALL=$ac_cv_path_install
1936 # As a last resort, use the slow shell script. Don't cache a
1937 # value for INSTALL within a source directory, because that will
1938 # break other packages using the cache if that directory is
1939 # removed, or if the value is a relative name.
1940 INSTALL=$ac_install_sh
1943 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1944 $as_echo "$INSTALL" >&6; }
1946 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1947 # It thinks the first close brace ends the variable substitution.
1948 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1950 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1952 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1954 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1955 $as_echo_n "checking whether build environment is sane... " >&6; }
1958 echo timestamp > conftest.file
1959 # Do `set' in a subshell so we don't clobber the current shell's
1960 # arguments. Must try -L first in case configure is actually a
1961 # symlink; some systems play weird games with the mod time of symlinks
1962 # (eg FreeBSD returns the mod time of the symlink's containing
1965 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1966 if test "$*" = "X"; then
1968 set X `ls -t $srcdir/configure conftest.file`
1971 if test "$*" != "X $srcdir/configure conftest.file" \
1972 && test "$*" != "X conftest.file $srcdir/configure"; then
1974 # If neither matched, then we have a broken ls. This can happen
1975 # if, for instance, CONFIG_SHELL is bash and it inherits a
1976 # broken ls alias from the environment. This has actually
1977 # happened. Such a system could not be considered "sane".
1978 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1979 alias in your environment" >&5
1980 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1981 alias in your environment" >&2;}
1982 { (exit 1); exit 1; }; }
1985 test "$2" = conftest.file
1991 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1992 Check your system clock" >&5
1993 $as_echo "$as_me: error: newly created file is older than distributed files!
1994 Check your system clock" >&2;}
1995 { (exit 1); exit 1; }; }
1997 { $as_echo "$as_me:$LINENO: result: yes" >&5
1998 $as_echo "yes" >&6; }
1999 test "$program_prefix" != NONE &&
2000 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2001 # Use a double $ so make ignores it.
2002 test "$program_suffix" != NONE &&
2003 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2004 # Double any \ or $.
2005 # By default was `s,x,x', remove it if useless.
2006 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2007 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2009 # expand $ac_aux_dir to an absolute path
2010 am_aux_dir=`cd $ac_aux_dir && pwd`
2012 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2013 # Use eval to expand $SHELL
2014 if eval "$MISSING --run true"; then
2015 am_missing_run="$MISSING --run "
2018 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2019 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2022 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2023 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2024 if test -z "$MKDIR_P"; then
2025 if test "${ac_cv_path_mkdir+set}" = set; then
2026 $as_echo_n "(cached) " >&6
2028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2032 test -z "$as_dir" && as_dir=.
2033 for ac_prog in mkdir gmkdir; do
2034 for ac_exec_ext in '' $ac_executable_extensions; do
2035 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2036 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2037 'mkdir (GNU coreutils) '* | \
2038 'mkdir (coreutils) '* | \
2039 'mkdir (fileutils) '4.1*)
2040 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2050 if test "${ac_cv_path_mkdir+set}" = set; then
2051 MKDIR_P="$ac_cv_path_mkdir -p"
2053 # As a last resort, use the slow shell script. Don't cache a
2054 # value for MKDIR_P within a source directory, because that will
2055 # break other packages using the cache if that directory is
2056 # removed, or if the value is a relative name.
2057 test -d ./--version && rmdir ./--version
2058 MKDIR_P="$ac_install_sh -d"
2061 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2062 $as_echo "$MKDIR_P" >&6; }
2066 [\\/$]* | ?:[\\/]*) ;;
2067 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2070 for ac_prog in gawk mawk nawk awk
2072 # Extract the first word of "$ac_prog", so it can be a program name with args.
2073 set dummy $ac_prog; ac_word=$2
2074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if test "${ac_cv_prog_AWK+set}" = set; then
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$AWK"; then
2080 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089 ac_cv_prog_AWK="$ac_prog"
2090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$AWK"; then
2101 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2102 $as_echo "$AWK" >&6; }
2104 { $as_echo "$as_me:$LINENO: result: no" >&5
2105 $as_echo "no" >&6; }
2109 test -n "$AWK" && break
2112 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2113 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2115 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2116 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2117 $as_echo_n "(cached) " >&6
2119 cat >conftest.make <<\_ACEOF
2122 @echo '@@@%%%=$(MAKE)=@@@%%%'
2124 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2125 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2127 eval ac_cv_prog_make_${ac_make}_set=yes;;
2129 eval ac_cv_prog_make_${ac_make}_set=no;;
2133 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2134 { $as_echo "$as_me:$LINENO: result: yes" >&5
2135 $as_echo "yes" >&6; }
2138 { $as_echo "$as_me:$LINENO: result: no" >&5
2139 $as_echo "no" >&6; }
2140 SET_MAKE="MAKE=${MAKE-make}"
2143 rm -rf .tst 2>/dev/null
2144 mkdir .tst 2>/dev/null
2145 if test -d .tst; then
2150 rmdir .tst 2>/dev/null
2152 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2153 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2154 # is not polluted with repeated "-I."
2155 am__isrc=' -I$(srcdir)'
2156 # test to see if srcdir already configured
2157 if test -f $srcdir/config.status; then
2158 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2159 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2160 { (exit 1); exit 1; }; }
2164 # test whether we have cygpath
2165 if test -z "$CYGPATH_W"; then
2166 if (cygpath --version) >/dev/null 2>/dev/null; then
2167 CYGPATH_W='cygpath -w'
2174 # Define the identity of the package.
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE "$PACKAGE"
2184 cat >>confdefs.h <<_ACEOF
2185 #define VERSION "$VERSION"
2188 # Some tools Automake needs.
2190 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2193 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2196 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2199 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2202 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2204 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2206 # Installed binaries are usually stripped using `strip' when the user
2207 # run `make install-strip'. However `strip' might not be the right
2208 # tool to use in cross-compilation environments, therefore Automake
2209 # will honor the `STRIP' environment variable to overrule this program.
2210 if test "$cross_compiling" != no; then
2211 if test -n "$ac_tool_prefix"; then
2212 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2213 set dummy ${ac_tool_prefix}strip; ac_word=$2
2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 $as_echo_n "checking for $ac_word... " >&6; }
2216 if test "${ac_cv_prog_STRIP+set}" = set; then
2217 $as_echo_n "(cached) " >&6
2219 if test -n "$STRIP"; then
2220 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2229 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2230 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 STRIP=$ac_cv_prog_STRIP
2240 if test -n "$STRIP"; then
2241 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2242 $as_echo "$STRIP" >&6; }
2244 { $as_echo "$as_me:$LINENO: result: no" >&5
2245 $as_echo "no" >&6; }
2250 if test -z "$ac_cv_prog_STRIP"; then
2252 # Extract the first word of "strip", so it can be a program name with args.
2253 set dummy strip; ac_word=$2
2254 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2257 $as_echo_n "(cached) " >&6
2259 if test -n "$ac_ct_STRIP"; then
2260 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_ac_ct_STRIP="strip"
2270 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2280 if test -n "$ac_ct_STRIP"; then
2281 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2282 $as_echo "$ac_ct_STRIP" >&6; }
2284 { $as_echo "$as_me:$LINENO: result: no" >&5
2285 $as_echo "no" >&6; }
2288 if test "x$ac_ct_STRIP" = x; then
2291 case $cross_compiling:$ac_tool_warned in
2293 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2294 whose name does not start with the host triplet. If you think this
2295 configuration is useful to you, please write to autoconf@gnu.org." >&5
2296 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2297 whose name does not start with the host triplet. If you think this
2298 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2299 ac_tool_warned=yes ;;
2304 STRIP="$ac_cv_prog_STRIP"
2308 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2310 # We need awk for the "check" target. The system "awk" is bad on
2312 # Always define AMTAR for backward compatibility.
2314 AMTAR=${AMTAR-"${am_missing_run}tar"}
2316 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2322 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2323 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2324 # Check whether --enable-maintainer-mode was given.
2325 if test "${enable_maintainer_mode+set}" = set; then
2326 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2328 USE_MAINTAINER_MODE=no
2331 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2332 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2333 if test $USE_MAINTAINER_MODE = yes; then
2334 MAINTAINER_MODE_TRUE=
2335 MAINTAINER_MODE_FALSE='#'
2337 MAINTAINER_MODE_TRUE='#'
2338 MAINTAINER_MODE_FALSE=
2341 MAINT=$MAINTAINER_MODE_TRUE
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2349 if test -n "$ac_tool_prefix"; then
2350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2351 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2352 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if test "${ac_cv_prog_CC+set}" = set; then
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$CC"; then
2358 ac_cv_prog_CC="$CC" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2368 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 if test -n "$CC"; then
2379 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2380 $as_echo "$CC" >&6; }
2382 { $as_echo "$as_me:$LINENO: result: no" >&5
2383 $as_echo "no" >&6; }
2388 if test -z "$ac_cv_prog_CC"; then
2390 # Extract the first word of "gcc", so it can be a program name with args.
2391 set dummy gcc; ac_word=$2
2392 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2395 $as_echo_n "(cached) " >&6
2397 if test -n "$ac_ct_CC"; then
2398 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 ac_cv_prog_ac_ct_CC="gcc"
2408 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2418 if test -n "$ac_ct_CC"; then
2419 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2420 $as_echo "$ac_ct_CC" >&6; }
2422 { $as_echo "$as_me:$LINENO: result: no" >&5
2423 $as_echo "no" >&6; }
2426 if test "x$ac_ct_CC" = x; then
2429 case $cross_compiling:$ac_tool_warned in
2431 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2432 whose name does not start with the host triplet. If you think this
2433 configuration is useful to you, please write to autoconf@gnu.org." >&5
2434 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2435 whose name does not start with the host triplet. If you think this
2436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2437 ac_tool_warned=yes ;;
2445 if test -z "$CC"; then
2446 if test -n "$ac_tool_prefix"; then
2447 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2448 set dummy ${ac_tool_prefix}cc; ac_word=$2
2449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if test "${ac_cv_prog_CC+set}" = set; then
2452 $as_echo_n "(cached) " >&6
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_CC="${ac_tool_prefix}cc"
2465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 if test -n "$CC"; then
2476 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2477 $as_echo "$CC" >&6; }
2479 { $as_echo "$as_me:$LINENO: result: no" >&5
2480 $as_echo "no" >&6; }
2486 if test -z "$CC"; then
2487 # Extract the first word of "cc", so it can be a program name with args.
2488 set dummy cc; ac_word=$2
2489 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if test "${ac_cv_prog_CC+set}" = set; then
2492 $as_echo_n "(cached) " >&6
2494 if test -n "$CC"; then
2495 ac_cv_prog_CC="$CC" # Let the user override the test.
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2506 ac_prog_rejected=yes
2510 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 if test $ac_prog_rejected = yes; then
2518 # We found a bogon in the path, so make sure we never use it.
2519 set dummy $ac_cv_prog_CC
2521 if test $# != 0; then
2522 # We chose a different compiler from the bogus one.
2523 # However, it has the same basename, so the bogon will be chosen
2524 # first if we set CC to just the basename; use the full file name.
2526 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2532 if test -n "$CC"; then
2533 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2534 $as_echo "$CC" >&6; }
2536 { $as_echo "$as_me:$LINENO: result: no" >&5
2537 $as_echo "no" >&6; }
2542 if test -z "$CC"; then
2543 if test -n "$ac_tool_prefix"; then
2544 for ac_prog in cl.exe
2546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2548 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2549 $as_echo_n "checking for $ac_word... " >&6; }
2550 if test "${ac_cv_prog_CC+set}" = set; then
2551 $as_echo_n "(cached) " >&6
2553 if test -n "$CC"; then
2554 ac_cv_prog_CC="$CC" # Let the user override the test.
2556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 test -z "$as_dir" && as_dir=.
2561 for ac_exec_ext in '' $ac_executable_extensions; do
2562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2563 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2574 if test -n "$CC"; then
2575 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2576 $as_echo "$CC" >&6; }
2578 { $as_echo "$as_me:$LINENO: result: no" >&5
2579 $as_echo "no" >&6; }
2583 test -n "$CC" && break
2586 if test -z "$CC"; then
2588 for ac_prog in cl.exe
2590 # Extract the first word of "$ac_prog", so it can be a program name with args.
2591 set dummy $ac_prog; ac_word=$2
2592 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$ac_ct_CC"; then
2598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_ac_ct_CC="$ac_prog"
2608 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2618 if test -n "$ac_ct_CC"; then
2619 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2620 $as_echo "$ac_ct_CC" >&6; }
2622 { $as_echo "$as_me:$LINENO: result: no" >&5
2623 $as_echo "no" >&6; }
2627 test -n "$ac_ct_CC" && break
2630 if test "x$ac_ct_CC" = x; then
2633 case $cross_compiling:$ac_tool_warned in
2635 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2636 whose name does not start with the host triplet. If you think this
2637 configuration is useful to you, please write to autoconf@gnu.org." >&5
2638 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2639 whose name does not start with the host triplet. If you think this
2640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2641 ac_tool_warned=yes ;;
2650 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2651 See \`config.log' for more details." >&5
2652 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2653 See \`config.log' for more details." >&2;}
2654 { (exit 1); exit 1; }; }
2656 # Provide some information about the compiler.
2657 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2660 { (ac_try="$ac_compiler --version >&5"
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2666 $as_echo "$ac_try_echo") >&5
2667 (eval "$ac_compiler --version >&5") 2>&5
2669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }
2671 { (ac_try="$ac_compiler -v >&5"
2673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674 *) ac_try_echo=$ac_try;;
2676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2677 $as_echo "$ac_try_echo") >&5
2678 (eval "$ac_compiler -v >&5") 2>&5
2680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }
2682 { (ac_try="$ac_compiler -V >&5"
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2688 $as_echo "$ac_try_echo") >&5
2689 (eval "$ac_compiler -V >&5") 2>&5
2691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 ac_clean_files_save=$ac_clean_files
2710 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2711 # Try to create an executable without -o first, disregard a.out.
2712 # It will help us diagnose broken compilers, and finding out an intuition
2714 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2715 $as_echo_n "checking for C compiler default output file name... " >&6; }
2716 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2718 # The possible output files:
2719 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2722 for ac_file in $ac_files
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2726 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2731 if { (ac_try="$ac_link_default"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2737 $as_echo "$ac_try_echo") >&5
2738 (eval "$ac_link_default") 2>&5
2740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; then
2742 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2743 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2744 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2745 # so that the user can short-circuit this test for compilers unknown to
2747 for ac_file in $ac_files ''
2749 test -f "$ac_file" || continue
2751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2754 # We found the default executable, but exeext='' is most
2758 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2760 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2762 # We set ac_cv_exeext here because the later test for it is not
2763 # safe: cross compilers may not add the suffix if given an `-o'
2764 # argument, so we may need to know it at that point already.
2765 # Even if this section looks crufty: it has the advantage of
2772 test "$ac_cv_exeext" = no && ac_cv_exeext=
2778 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2779 $as_echo "$ac_file" >&6; }
2780 if test -z "$ac_file"; then
2781 $as_echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2784 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2785 See \`config.log' for more details." >&5
2786 $as_echo "$as_me: error: C compiler cannot create executables
2787 See \`config.log' for more details." >&2;}
2788 { (exit 77); exit 77; }; }
2791 ac_exeext=$ac_cv_exeext
2793 # Check that the compiler produces executables we can run. If not, either
2794 # the compiler is broken, or we cross compile.
2795 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2796 $as_echo_n "checking whether the C compiler works... " >&6; }
2797 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2798 # If not cross compiling, check that we can run a simple program.
2799 if test "$cross_compiling" != yes; then
2800 if { ac_try='./$ac_file'
2801 { (case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2806 $as_echo "$ac_try_echo") >&5
2807 (eval "$ac_try") 2>&5
2809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2813 if test "$cross_compiling" = maybe; then
2816 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2817 If you meant to cross compile, use \`--host'.
2818 See \`config.log' for more details." >&5
2819 $as_echo "$as_me: error: cannot run C compiled programs.
2820 If you meant to cross compile, use \`--host'.
2821 See \`config.log' for more details." >&2;}
2822 { (exit 1); exit 1; }; }
2826 { $as_echo "$as_me:$LINENO: result: yes" >&5
2827 $as_echo "yes" >&6; }
2829 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2830 ac_clean_files=$ac_clean_files_save
2831 # Check that the compiler produces executables we can run. If not, either
2832 # the compiler is broken, or we cross compile.
2833 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2834 $as_echo_n "checking whether we are cross compiling... " >&6; }
2835 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2836 $as_echo "$cross_compiling" >&6; }
2838 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2839 $as_echo_n "checking for suffix of executables... " >&6; }
2840 if { (ac_try="$ac_link"
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2846 $as_echo "$ac_try_echo") >&5
2847 (eval "$ac_link") 2>&5
2849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; then
2851 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2852 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2853 # work properly (i.e., refer to `conftest.exe'), while it won't with
2855 for ac_file in conftest.exe conftest conftest.*; do
2856 test -f "$ac_file" || continue
2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2859 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2865 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2866 See \`config.log' for more details." >&5
2867 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2868 See \`config.log' for more details." >&2;}
2869 { (exit 1); exit 1; }; }
2872 rm -f conftest$ac_cv_exeext
2873 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2874 $as_echo "$ac_cv_exeext" >&6; }
2876 rm -f conftest.$ac_ext
2877 EXEEXT=$ac_cv_exeext
2879 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2880 $as_echo_n "checking for suffix of object files... " >&6; }
2881 if test "${ac_cv_objext+set}" = set; then
2882 $as_echo_n "(cached) " >&6
2884 cat >conftest.$ac_ext <<_ACEOF
2887 cat confdefs.h >>conftest.$ac_ext
2888 cat >>conftest.$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2899 rm -f conftest.o conftest.obj
2900 if { (ac_try="$ac_compile"
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2906 $as_echo "$ac_try_echo") >&5
2907 (eval "$ac_compile") 2>&5
2909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; then
2911 for ac_file in conftest.o conftest.obj conftest.*; do
2912 test -f "$ac_file" || continue;
2914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2915 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2920 $as_echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2923 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2924 See \`config.log' for more details." >&5
2925 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2926 See \`config.log' for more details." >&2;}
2927 { (exit 1); exit 1; }; }
2930 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2932 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2933 $as_echo "$ac_cv_objext" >&6; }
2934 OBJEXT=$ac_cv_objext
2936 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2937 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2938 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2939 $as_echo_n "(cached) " >&6
2941 cat >conftest.$ac_ext <<_ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2966 $as_echo "$ac_try_echo") >&5
2967 (eval "$ac_compile") 2>conftest.er1
2969 grep -v '^ *+' conftest.er1 >conftest.err
2971 cat conftest.err >&5
2972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest.$ac_objext; then
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2989 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2990 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2991 if test $ac_compiler_gnu = yes; then
2996 ac_test_CFLAGS=${CFLAGS+set}
2997 ac_save_CFLAGS=$CFLAGS
2998 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2999 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3000 if test "${ac_cv_prog_cc_g+set}" = set; then
3001 $as_echo_n "(cached) " >&6
3003 ac_save_c_werror_flag=$ac_c_werror_flag
3004 ac_c_werror_flag=yes
3007 cat >conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3022 rm -f conftest.$ac_objext
3023 if { (ac_try="$ac_compile"
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3029 $as_echo "$ac_try_echo") >&5
3030 (eval "$ac_compile") 2>conftest.er1
3032 grep -v '^ *+' conftest.er1 >conftest.err
3034 cat conftest.err >&5
3035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } && {
3037 test -z "$ac_c_werror_flag" ||
3038 test ! -s conftest.err
3039 } && test -s conftest.$ac_objext; then
3042 $as_echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3046 cat >conftest.$ac_ext <<_ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3061 rm -f conftest.$ac_objext
3062 if { (ac_try="$ac_compile"
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3068 $as_echo "$ac_try_echo") >&5
3069 (eval "$ac_compile") 2>conftest.er1
3071 grep -v '^ *+' conftest.er1 >conftest.err
3073 cat conftest.err >&5
3074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } && {
3076 test -z "$ac_c_werror_flag" ||
3077 test ! -s conftest.err
3078 } && test -s conftest.$ac_objext; then
3081 $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3084 ac_c_werror_flag=$ac_save_c_werror_flag
3086 cat >conftest.$ac_ext <<_ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3101 rm -f conftest.$ac_objext
3102 if { (ac_try="$ac_compile"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3108 $as_echo "$ac_try_echo") >&5
3109 (eval "$ac_compile") 2>conftest.er1
3111 grep -v '^ *+' conftest.er1 >conftest.err
3113 cat conftest.err >&5
3114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); } && {
3116 test -z "$ac_c_werror_flag" ||
3117 test ! -s conftest.err
3118 } && test -s conftest.$ac_objext; then
3121 $as_echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3134 ac_c_werror_flag=$ac_save_c_werror_flag
3136 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3137 $as_echo "$ac_cv_prog_cc_g" >&6; }
3138 if test "$ac_test_CFLAGS" = set; then
3139 CFLAGS=$ac_save_CFLAGS
3140 elif test $ac_cv_prog_cc_g = yes; then
3141 if test "$GCC" = yes; then
3147 if test "$GCC" = yes; then
3153 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3154 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3155 if test "${ac_cv_prog_cc_c89+set}" = set; then
3156 $as_echo_n "(cached) " >&6
3158 ac_cv_prog_cc_c89=no
3160 cat >conftest.$ac_ext <<_ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3168 #include <sys/types.h>
3169 #include <sys/stat.h>
3170 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3171 struct buf { int x; };
3172 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3173 static char *e (p, i)
3179 static char *f (char * (*g) (char **, int), char **p, ...)
3184 s = g (p, va_arg (v,int));
3189 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3190 function prototypes and stuff, but not '\xHH' hex character constants.
3191 These don't provoke an error unfortunately, instead are silently treated
3192 as 'x'. The following induces an error, until -std is added to get
3193 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3194 array size at least. It's necessary to write '\x00'==0 to get something
3195 that's true only with -std. */
3196 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3198 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3199 inside strings and character constants. */
3201 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3203 int test (int i, double x);
3204 struct s1 {int (*f) (int a);};
3205 struct s2 {int (*f) (double a);};
3206 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3212 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3217 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3218 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3220 CC="$ac_save_CC $ac_arg"
3221 rm -f conftest.$ac_objext
3222 if { (ac_try="$ac_compile"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3228 $as_echo "$ac_try_echo") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3239 ac_cv_prog_cc_c89=$ac_arg
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3247 rm -f core conftest.err conftest.$ac_objext
3248 test "x$ac_cv_prog_cc_c89" != "xno" && break
3250 rm -f conftest.$ac_ext
3255 case "x$ac_cv_prog_cc_c89" in
3257 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3258 $as_echo "none needed" >&6; } ;;
3260 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3261 $as_echo "unsupported" >&6; } ;;
3263 CC="$CC $ac_cv_prog_cc_c89"
3264 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3265 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3270 ac_cpp='$CPP $CPPFLAGS'
3271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274 DEPDIR="${am__leading_dot}deps"
3276 ac_config_commands="$ac_config_commands depfiles"
3279 am_make=${MAKE-make}
3280 cat > confinc << 'END'
3285 # If we don't find an include directive, just comment out the code.
3286 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3287 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3291 # First try GNU make style include.
3292 echo "include confinc" > confmf
3293 # We grep out `Entering directory' and `Leaving directory'
3294 # messages which can occur if `w' ends up in MAKEFLAGS.
3295 # In particular we don't look at `^make:' because GNU make might
3296 # be invoked under some other name (usually "gmake"), in which
3297 # case it prints its new name instead of `make'.
3298 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3303 # Now try BSD make style include.
3304 if test "$am__include" = "#"; then
3305 echo '.include "confinc"' > confmf
3306 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3307 am__include=.include
3314 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3315 $as_echo "$_am_result" >&6; }
3316 rm -f confinc confmf
3318 # Check whether --enable-dependency-tracking was given.
3319 if test "${enable_dependency_tracking+set}" = set; then
3320 enableval=$enable_dependency_tracking;
3323 if test "x$enable_dependency_tracking" != xno; then
3324 am_depcomp="$ac_aux_dir/depcomp"
3327 if test "x$enable_dependency_tracking" != xno; then
3337 depcc="$CC" am_compiler_list=
3339 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3340 $as_echo_n "checking dependency style of $depcc... " >&6; }
3341 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3342 $as_echo_n "(cached) " >&6
3344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3345 # We make a subdir and do the tests there. Otherwise we can end up
3346 # making bogus files that we don't know about and never remove. For
3347 # instance it was reported that on HP-UX the gcc test will end up
3348 # making a dummy file named `D' -- because `-MD' means `put the output
3351 # Copy depcomp to subdir because otherwise we won't find it if we're
3352 # using a relative directory.
3353 cp "$am_depcomp" conftest.dir
3355 # We will build objects and dependencies in a subdirectory because
3356 # it helps to detect inapplicable dependency modes. For instance
3357 # both Tru64's cc and ICC support -MD to output dependencies as a
3358 # side effect of compilation, but ICC will put the dependencies in
3359 # the current directory while Tru64 will put them in the object
3363 am_cv_CC_dependencies_compiler_type=none
3364 if test "$am_compiler_list" = ""; then
3365 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3367 for depmode in $am_compiler_list; do
3368 # Setup a source with many dependencies, because some compilers
3369 # like to wrap large dependency lists on column 80 (with \), and
3370 # we should not choose a depcomp mode which is confused by this.
3372 # We need to recreate these files for each test, as the compiler may
3373 # overwrite some of them when testing with obscure command lines.
3374 # This happens at least with the AIX C compiler.
3376 for i in 1 2 3 4 5 6; do
3377 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3378 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3379 # Solaris 8's {/usr,}/bin/sh.
3380 touch sub/conftst$i.h
3382 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3386 # after this tag, mechanisms are not by side-effect, so they'll
3387 # only be used when explicitly requested
3388 if test "x$enable_dependency_tracking" = xyes; then
3396 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3397 # mode. It turns out that the SunPro C++ compiler does not properly
3398 # handle `-M -o', and we need to detect this.
3399 if depmode=$depmode \
3400 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3401 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3402 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3403 >/dev/null 2>conftest.err &&
3404 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3405 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3406 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3407 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3408 # icc doesn't choke on unknown options, it will just issue warnings
3409 # or remarks (even with -Werror). So we grep stderr for any message
3410 # that says an option was ignored or not supported.
3411 # When given -MP, icc 7.0 and 7.1 complain thusly:
3412 # icc: Command line warning: ignoring option '-M'; no argument required
3413 # The diagnosis changed in icc 8.0:
3414 # icc: Command line remark: option '-MP' not supported
3415 if (grep 'ignoring option' conftest.err ||
3416 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3417 am_cv_CC_dependencies_compiler_type=$depmode
3426 am_cv_CC_dependencies_compiler_type=none
3430 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3431 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3432 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3435 test "x$enable_dependency_tracking" != xno \
3436 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3438 am__fastdepCC_FALSE='#'
3440 am__fastdepCC_TRUE='#'
3441 am__fastdepCC_FALSE=
3446 # Look for sys/endian.h and be64enc. Old versions of NetBSD have
3447 # sys/endian.h but don't have the (le|be)(32|64)(enc|dec) functions in it.
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 $as_echo_n "(cached) " >&6
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 # include <limits.h>
3485 # include <assert.h>
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3495 $as_echo "$ac_try_echo") >&5
3496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3508 $as_echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if { (ac_try="$ac_cpp conftest.$ac_ext"
3529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530 *) ac_try_echo=$ac_try;;
3532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3533 $as_echo "$ac_try_echo") >&5
3534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3544 # Broken: success on invalid input.
3547 $as_echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3555 rm -f conftest.err conftest.$ac_ext
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3572 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3573 $as_echo "$CPP" >&6; }
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 # include <limits.h>
3592 # include <assert.h>
3596 if { (ac_try="$ac_cpp conftest.$ac_ext"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3602 $as_echo "$ac_try_echo") >&5
3603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } >/dev/null && {
3610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3611 test ! -s conftest.err
3615 $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if { (ac_try="$ac_cpp conftest.$ac_ext"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3640 $as_echo "$ac_try_echo") >&5
3641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3643 grep -v '^ *+' conftest.er1 >conftest.err
3645 cat conftest.err >&5
3646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); } >/dev/null && {
3648 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3649 test ! -s conftest.err
3651 # Broken: success on invalid input.
3654 $as_echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3657 # Passes both tests.
3662 rm -f conftest.err conftest.$ac_ext
3665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3666 rm -f conftest.err conftest.$ac_ext
3667 if $ac_preproc_ok; then
3670 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&5
3672 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3673 See \`config.log' for more details." >&2;}
3674 { (exit 1); exit 1; }; }
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3684 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3685 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3686 if test "${ac_cv_path_GREP+set}" = set; then
3687 $as_echo_n "(cached) " >&6
3689 if test -z "$GREP"; then
3690 ac_path_GREP_found=false
3691 # Loop through the user's path and test for each of PROGNAME-LIST
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3696 test -z "$as_dir" && as_dir=.
3697 for ac_prog in grep ggrep; do
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3700 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3701 # Check for GNU ac_path_GREP and select it if it is found.
3702 # Check for GNU $ac_path_GREP
3703 case `"$ac_path_GREP" --version 2>&1` in
3705 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3708 $as_echo_n 0123456789 >"conftest.in"
3711 cat "conftest.in" "conftest.in" >"conftest.tmp"
3712 mv "conftest.tmp" "conftest.in"
3713 cp "conftest.in" "conftest.nl"
3714 $as_echo 'GREP' >> "conftest.nl"
3715 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3716 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3717 ac_count=`expr $ac_count + 1`
3718 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3719 # Best one so far, save it but keep looking for a better one
3720 ac_cv_path_GREP="$ac_path_GREP"
3721 ac_path_GREP_max=$ac_count
3723 # 10*(2^10) chars as input seems more than enough
3724 test $ac_count -gt 10 && break
3726 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3729 $ac_path_GREP_found && break 3
3734 if test -z "$ac_cv_path_GREP"; then
3735 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3736 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3737 { (exit 1); exit 1; }; }
3740 ac_cv_path_GREP=$GREP
3744 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3745 $as_echo "$ac_cv_path_GREP" >&6; }
3746 GREP="$ac_cv_path_GREP"
3749 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3750 $as_echo_n "checking for egrep... " >&6; }
3751 if test "${ac_cv_path_EGREP+set}" = set; then
3752 $as_echo_n "(cached) " >&6
3754 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3755 then ac_cv_path_EGREP="$GREP -E"
3757 if test -z "$EGREP"; then
3758 ac_path_EGREP_found=false
3759 # Loop through the user's path and test for each of PROGNAME-LIST
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3764 test -z "$as_dir" && as_dir=.
3765 for ac_prog in egrep; do
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3768 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3769 # Check for GNU ac_path_EGREP and select it if it is found.
3770 # Check for GNU $ac_path_EGREP
3771 case `"$ac_path_EGREP" --version 2>&1` in
3773 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3776 $as_echo_n 0123456789 >"conftest.in"
3779 cat "conftest.in" "conftest.in" >"conftest.tmp"
3780 mv "conftest.tmp" "conftest.in"
3781 cp "conftest.in" "conftest.nl"
3782 $as_echo 'EGREP' >> "conftest.nl"
3783 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3785 ac_count=`expr $ac_count + 1`
3786 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3787 # Best one so far, save it but keep looking for a better one
3788 ac_cv_path_EGREP="$ac_path_EGREP"
3789 ac_path_EGREP_max=$ac_count
3791 # 10*(2^10) chars as input seems more than enough
3792 test $ac_count -gt 10 && break
3794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3797 $ac_path_EGREP_found && break 3
3802 if test -z "$ac_cv_path_EGREP"; then
3803 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3804 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3805 { (exit 1); exit 1; }; }
3808 ac_cv_path_EGREP=$EGREP
3813 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3814 $as_echo "$ac_cv_path_EGREP" >&6; }
3815 EGREP="$ac_cv_path_EGREP"
3818 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3819 $as_echo_n "checking for ANSI C header files... " >&6; }
3820 if test "${ac_cv_header_stdc+set}" = set; then
3821 $as_echo_n "(cached) " >&6
3823 cat >conftest.$ac_ext <<_ACEOF
3826 cat confdefs.h >>conftest.$ac_ext
3827 cat >>conftest.$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3842 rm -f conftest.$ac_objext
3843 if { (ac_try="$ac_compile"
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3849 $as_echo "$ac_try_echo") >&5
3850 (eval "$ac_compile") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest.$ac_objext; then
3860 ac_cv_header_stdc=yes
3862 $as_echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.$ac_ext >&5
3865 ac_cv_header_stdc=no
3868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3870 if test $ac_cv_header_stdc = yes; then
3871 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3882 $EGREP "memchr" >/dev/null 2>&1; then
3885 ac_cv_header_stdc=no
3891 if test $ac_cv_header_stdc = yes; then
3892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3893 cat >conftest.$ac_ext <<_ACEOF
3896 cat confdefs.h >>conftest.$ac_ext
3897 cat >>conftest.$ac_ext <<_ACEOF
3898 /* end confdefs.h. */
3902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3903 $EGREP "free" >/dev/null 2>&1; then
3906 ac_cv_header_stdc=no
3912 if test $ac_cv_header_stdc = yes; then
3913 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3914 if test "$cross_compiling" = yes; then
3917 cat >conftest.$ac_ext <<_ACEOF
3920 cat confdefs.h >>conftest.$ac_ext
3921 cat >>conftest.$ac_ext <<_ACEOF
3922 /* end confdefs.h. */
3925 #if ((' ' & 0x0FF) == 0x020)
3926 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3927 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3929 # define ISLOWER(c) \
3930 (('a' <= (c) && (c) <= 'i') \
3931 || ('j' <= (c) && (c) <= 'r') \
3932 || ('s' <= (c) && (c) <= 'z'))
3933 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3936 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3941 for (i = 0; i < 256; i++)
3942 if (XOR (islower (i), ISLOWER (i))
3943 || toupper (i) != TOUPPER (i))
3948 rm -f conftest$ac_exeext
3949 if { (ac_try="$ac_link"
3951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3955 $as_echo "$ac_try_echo") >&5
3956 (eval "$ac_link") 2>&5
3958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3960 { (case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3965 $as_echo "$ac_try_echo") >&5
3966 (eval "$ac_try") 2>&5
3968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; }; then
3972 $as_echo "$as_me: program exited with status $ac_status" >&5
3973 $as_echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3977 ac_cv_header_stdc=no
3979 rm -rf conftest.dSYM
3980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3986 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3987 $as_echo "$ac_cv_header_stdc" >&6; }
3988 if test $ac_cv_header_stdc = yes; then
3990 cat >>confdefs.h <<\_ACEOF
3991 #define STDC_HEADERS 1
3996 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4007 inttypes.h stdint.h unistd.h
4009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4010 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4011 $as_echo_n "checking for $ac_header... " >&6; }
4012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4013 $as_echo_n "(cached) " >&6
4015 cat >conftest.$ac_ext <<_ACEOF
4018 cat confdefs.h >>conftest.$ac_ext
4019 cat >>conftest.$ac_ext <<_ACEOF
4020 /* end confdefs.h. */
4021 $ac_includes_default
4023 #include <$ac_header>
4025 rm -f conftest.$ac_objext
4026 if { (ac_try="$ac_compile"
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4032 $as_echo "$ac_try_echo") >&5
4033 (eval "$ac_compile") 2>conftest.er1
4035 grep -v '^ *+' conftest.er1 >conftest.err
4037 cat conftest.err >&5
4038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } && {
4040 test -z "$ac_c_werror_flag" ||
4041 test ! -s conftest.err
4042 } && test -s conftest.$ac_objext; then
4043 eval "$as_ac_Header=yes"
4045 $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 eval "$as_ac_Header=no"
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 ac_res=`eval 'as_val=${'$as_ac_Header'}
4054 $as_echo "$as_val"'`
4055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4056 $as_echo "$ac_res" >&6; }
4057 if test `eval 'as_val=${'$as_ac_Header'}
4058 $as_echo "$as_val"'` = yes; then
4059 cat >>confdefs.h <<_ACEOF
4060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4069 for ac_header in sys/endian.h
4071 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4072 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4073 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4074 $as_echo_n "checking for $ac_header... " >&6; }
4075 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4076 $as_echo_n "(cached) " >&6
4078 ac_res=`eval 'as_val=${'$as_ac_Header'}
4079 $as_echo "$as_val"'`
4080 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4081 $as_echo "$ac_res" >&6; }
4083 # Is the header compilable?
4084 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4085 $as_echo_n "checking $ac_header usability... " >&6; }
4086 cat >conftest.$ac_ext <<_ACEOF
4089 cat confdefs.h >>conftest.$ac_ext
4090 cat >>conftest.$ac_ext <<_ACEOF
4091 /* end confdefs.h. */
4092 $ac_includes_default
4093 #include <$ac_header>
4095 rm -f conftest.$ac_objext
4096 if { (ac_try="$ac_compile"
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4102 $as_echo "$ac_try_echo") >&5
4103 (eval "$ac_compile") 2>conftest.er1
4105 grep -v '^ *+' conftest.er1 >conftest.err
4107 cat conftest.err >&5
4108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } && {
4110 test -z "$ac_c_werror_flag" ||
4111 test ! -s conftest.err
4112 } && test -s conftest.$ac_objext; then
4113 ac_header_compiler=yes
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 ac_header_compiler=no
4121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4122 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4123 $as_echo "$ac_header_compiler" >&6; }
4125 # Is the header present?
4126 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4127 $as_echo_n "checking $ac_header presence... " >&6; }
4128 cat >conftest.$ac_ext <<_ACEOF
4131 cat confdefs.h >>conftest.$ac_ext
4132 cat >>conftest.$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4134 #include <$ac_header>
4136 if { (ac_try="$ac_cpp conftest.$ac_ext"
4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 *) ac_try_echo=$ac_try;;
4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4142 $as_echo "$ac_try_echo") >&5
4143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4145 grep -v '^ *+' conftest.er1 >conftest.err
4147 cat conftest.err >&5
4148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } >/dev/null && {
4150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4151 test ! -s conftest.err
4153 ac_header_preproc=yes
4155 $as_echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.$ac_ext >&5
4158 ac_header_preproc=no
4161 rm -f conftest.err conftest.$ac_ext
4162 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4163 $as_echo "$ac_header_preproc" >&6; }
4165 # So? What about this header?
4166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4168 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4169 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4170 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4171 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4172 ac_header_preproc=yes
4175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4176 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4178 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4180 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4182 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4184 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4186 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4190 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4191 $as_echo_n "checking for $ac_header... " >&6; }
4192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4193 $as_echo_n "(cached) " >&6
4195 eval "$as_ac_Header=\$ac_header_preproc"
4197 ac_res=`eval 'as_val=${'$as_ac_Header'}
4198 $as_echo "$as_val"'`
4199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4200 $as_echo "$ac_res" >&6; }
4203 if test `eval 'as_val=${'$as_ac_Header'}
4204 $as_echo "$as_val"'` = yes; then
4205 cat >>confdefs.h <<_ACEOF
4206 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4213 { $as_echo "$as_me:$LINENO: checking whether be64enc is declared" >&5
4214 $as_echo_n "checking whether be64enc is declared... " >&6; }
4215 if test "${ac_cv_have_decl_be64enc+set}" = set; then
4216 $as_echo_n "(cached) " >&6
4218 cat >conftest.$ac_ext <<_ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 #include <sys/endian.h>
4237 rm -f conftest.$ac_objext
4238 if { (ac_try="$ac_compile"
4240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244 $as_echo "$ac_try_echo") >&5
4245 (eval "$ac_compile") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest.$ac_objext; then
4255 ac_cv_have_decl_be64enc=yes
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.$ac_ext >&5
4260 ac_cv_have_decl_be64enc=no
4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4265 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_be64enc" >&5
4266 $as_echo "$ac_cv_have_decl_be64enc" >&6; }
4267 if test $ac_cv_have_decl_be64enc = yes; then
4269 cat >>confdefs.h <<_ACEOF
4270 #define HAVE_DECL_BE64ENC 1
4275 cat >>confdefs.h <<_ACEOF
4276 #define HAVE_DECL_BE64ENC 0
4284 # Check for err.h; if not present, we need to provide warn() and warnx().
4286 for ac_header in err.h
4288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4290 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4291 $as_echo_n "checking for $ac_header... " >&6; }
4292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4293 $as_echo_n "(cached) " >&6
4295 ac_res=`eval 'as_val=${'$as_ac_Header'}
4296 $as_echo "$as_val"'`
4297 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4298 $as_echo "$ac_res" >&6; }
4300 # Is the header compilable?
4301 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4302 $as_echo_n "checking $ac_header usability... " >&6; }
4303 cat >conftest.$ac_ext <<_ACEOF
4306 cat confdefs.h >>conftest.$ac_ext
4307 cat >>conftest.$ac_ext <<_ACEOF
4308 /* end confdefs.h. */
4309 $ac_includes_default
4310 #include <$ac_header>
4312 rm -f conftest.$ac_objext
4313 if { (ac_try="$ac_compile"
4315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4316 *) ac_try_echo=$ac_try;;
4318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4319 $as_echo "$ac_try_echo") >&5
4320 (eval "$ac_compile") 2>conftest.er1
4322 grep -v '^ *+' conftest.er1 >conftest.err
4324 cat conftest.err >&5
4325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } && {
4327 test -z "$ac_c_werror_flag" ||
4328 test ! -s conftest.err
4329 } && test -s conftest.$ac_objext; then
4330 ac_header_compiler=yes
4332 $as_echo "$as_me: failed program was:" >&5
4333 sed 's/^/| /' conftest.$ac_ext >&5
4335 ac_header_compiler=no
4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4340 $as_echo "$ac_header_compiler" >&6; }
4342 # Is the header present?
4343 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4344 $as_echo_n "checking $ac_header presence... " >&6; }
4345 cat >conftest.$ac_ext <<_ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4351 #include <$ac_header>
4353 if { (ac_try="$ac_cpp conftest.$ac_ext"
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4359 $as_echo "$ac_try_echo") >&5
4360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } >/dev/null && {
4367 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4370 ac_header_preproc=yes
4372 $as_echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_header_preproc=no
4378 rm -f conftest.err conftest.$ac_ext
4379 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4380 $as_echo "$ac_header_preproc" >&6; }
4382 # So? What about this header?
4383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4385 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4386 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4388 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4389 ac_header_preproc=yes
4392 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4393 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4395 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4397 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4399 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4401 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4403 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4407 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4408 $as_echo_n "checking for $ac_header... " >&6; }
4409 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4410 $as_echo_n "(cached) " >&6
4412 eval "$as_ac_Header=\$ac_header_preproc"
4414 ac_res=`eval 'as_val=${'$as_ac_Header'}
4415 $as_echo "$as_val"'`
4416 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4417 $as_echo "$ac_res" >&6; }
4420 if test `eval 'as_val=${'$as_ac_Header'}
4421 $as_echo "$as_val"'` = yes; then
4422 cat >>confdefs.h <<_ACEOF
4423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4431 # Check for clock_gettime. On some systems, this is provided via librt.
4433 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
4434 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
4435 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
4436 $as_echo_n "(cached) " >&6
4438 ac_check_lib_save_LIBS=$LIBS
4440 cat >conftest.$ac_ext <<_ACEOF
4443 cat confdefs.h >>conftest.$ac_ext
4444 cat >>conftest.$ac_ext <<_ACEOF
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. */
4453 char clock_gettime ();
4457 return clock_gettime ();
4462 rm -f conftest.$ac_objext conftest$ac_exeext
4463 if { (ac_try="$ac_link"
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4469 $as_echo "$ac_try_echo") >&5
4470 (eval "$ac_link") 2>conftest.er1
4472 grep -v '^ *+' conftest.er1 >conftest.err
4474 cat conftest.err >&5
4475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } && {
4477 test -z "$ac_c_werror_flag" ||
4478 test ! -s conftest.err
4479 } && test -s conftest$ac_exeext && {
4480 test "$cross_compiling" = yes ||
4481 $as_test_x conftest$ac_exeext
4483 ac_cv_lib_rt_clock_gettime=yes
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 ac_cv_lib_rt_clock_gettime=no
4491 rm -rf conftest.dSYM
4492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4493 conftest$ac_exeext conftest.$ac_ext
4494 LIBS=$ac_check_lib_save_LIBS
4496 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
4497 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
4498 if test $ac_cv_lib_rt_clock_gettime = yes; then
4499 cat >>confdefs.h <<_ACEOF
4500 #define HAVE_LIBRT 1
4508 for ac_func in clock_gettime
4510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4511 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4512 $as_echo_n "checking for $ac_func... " >&6; }
4513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4514 $as_echo_n "(cached) " >&6
4516 cat >conftest.$ac_ext <<_ACEOF
4519 cat confdefs.h >>conftest.$ac_ext
4520 cat >>conftest.$ac_ext <<_ACEOF
4521 /* end confdefs.h. */
4522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4524 #define $ac_func innocuous_$ac_func
4526 /* System header to define __stub macros and hopefully few prototypes,
4527 which can conflict with char $ac_func (); below.
4528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4529 <limits.h> exists even on freestanding compilers. */
4532 # include <limits.h>
4534 # include <assert.h>
4539 /* Override any GCC internal prototype to avoid an error.
4540 Use char because int might match the return type of a GCC
4541 builtin and then its argument prototype would still apply. */
4546 /* The GNU C library defines this for functions which it implements
4547 to always fail with ENOSYS. Some functions are actually named
4548 something starting with __ and the normal name is an alias. */
4549 #if defined __stub_$ac_func || defined __stub___$ac_func
4561 rm -f conftest.$ac_objext conftest$ac_exeext
4562 if { (ac_try="$ac_link"
4564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4568 $as_echo "$ac_try_echo") >&5
4569 (eval "$ac_link") 2>conftest.er1
4571 grep -v '^ *+' conftest.er1 >conftest.err
4573 cat conftest.err >&5
4574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } && {
4576 test -z "$ac_c_werror_flag" ||
4577 test ! -s conftest.err
4578 } && test -s conftest$ac_exeext && {
4579 test "$cross_compiling" = yes ||
4580 $as_test_x conftest$ac_exeext
4582 eval "$as_ac_var=yes"
4584 $as_echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 eval "$as_ac_var=no"
4590 rm -rf conftest.dSYM
4591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4592 conftest$ac_exeext conftest.$ac_ext
4594 ac_res=`eval 'as_val=${'$as_ac_var'}
4595 $as_echo "$as_val"'`
4596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4597 $as_echo "$ac_res" >&6; }
4598 if test `eval 'as_val=${'$as_ac_var'}
4599 $as_echo "$as_val"'` = yes; then
4600 cat >>confdefs.h <<_ACEOF
4601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4608 # Check for a linuxy sysinfo syscall; and while we're doing that, check if
4609 # struct sysinfo is the old version (total RAM == totalmem) or the new
4610 # version (total RAM == totalmem * mem_unit).
4612 for ac_header in sys/sysinfo.h
4614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4616 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4617 $as_echo_n "checking for $ac_header... " >&6; }
4618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4619 $as_echo_n "(cached) " >&6
4621 ac_res=`eval 'as_val=${'$as_ac_Header'}
4622 $as_echo "$as_val"'`
4623 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4624 $as_echo "$ac_res" >&6; }
4626 # Is the header compilable?
4627 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4628 $as_echo_n "checking $ac_header usability... " >&6; }
4629 cat >conftest.$ac_ext <<_ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4635 $ac_includes_default
4636 #include <$ac_header>
4638 rm -f conftest.$ac_objext
4639 if { (ac_try="$ac_compile"
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4645 $as_echo "$ac_try_echo") >&5
4646 (eval "$ac_compile") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1 >conftest.err
4650 cat conftest.err >&5
4651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } && {
4653 test -z "$ac_c_werror_flag" ||
4654 test ! -s conftest.err
4655 } && test -s conftest.$ac_objext; then
4656 ac_header_compiler=yes
4658 $as_echo "$as_me: failed program was:" >&5
4659 sed 's/^/| /' conftest.$ac_ext >&5
4661 ac_header_compiler=no
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4666 $as_echo "$ac_header_compiler" >&6; }
4668 # Is the header present?
4669 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4670 $as_echo_n "checking $ac_header presence... " >&6; }
4671 cat >conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4677 #include <$ac_header>
4679 if { (ac_try="$ac_cpp conftest.$ac_ext"
4681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4682 *) ac_try_echo=$ac_try;;
4684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4685 $as_echo "$ac_try_echo") >&5
4686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4688 grep -v '^ *+' conftest.er1 >conftest.err
4690 cat conftest.err >&5
4691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } >/dev/null && {
4693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4694 test ! -s conftest.err
4696 ac_header_preproc=yes
4698 $as_echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.$ac_ext >&5
4701 ac_header_preproc=no
4704 rm -f conftest.err conftest.$ac_ext
4705 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4706 $as_echo "$ac_header_preproc" >&6; }
4708 # So? What about this header?
4709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4712 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4714 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4715 ac_header_preproc=yes
4718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4719 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4721 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4723 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4724 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4725 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4727 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4729 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4733 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4734 $as_echo_n "checking for $ac_header... " >&6; }
4735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4736 $as_echo_n "(cached) " >&6
4738 eval "$as_ac_Header=\$ac_header_preproc"
4740 ac_res=`eval 'as_val=${'$as_ac_Header'}
4741 $as_echo "$as_val"'`
4742 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4743 $as_echo "$ac_res" >&6; }
4746 if test `eval 'as_val=${'$as_ac_Header'}
4747 $as_echo "$as_val"'` = yes; then
4748 cat >>confdefs.h <<_ACEOF
4749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 for ac_func in sysinfo
4759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4760 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4761 $as_echo_n "checking for $ac_func... " >&6; }
4762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4763 $as_echo_n "(cached) " >&6
4765 cat >conftest.$ac_ext <<_ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4773 #define $ac_func innocuous_$ac_func
4775 /* System header to define __stub macros and hopefully few prototypes,
4776 which can conflict with char $ac_func (); below.
4777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4778 <limits.h> exists even on freestanding compilers. */
4781 # include <limits.h>
4783 # include <assert.h>
4788 /* Override any GCC internal prototype to avoid an error.
4789 Use char because int might match the return type of a GCC
4790 builtin and then its argument prototype would still apply. */
4795 /* The GNU C library defines this for functions which it implements
4796 to always fail with ENOSYS. Some functions are actually named
4797 something starting with __ and the normal name is an alias. */
4798 #if defined __stub_$ac_func || defined __stub___$ac_func
4810 rm -f conftest.$ac_objext conftest$ac_exeext
4811 if { (ac_try="$ac_link"
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4817 $as_echo "$ac_try_echo") >&5
4818 (eval "$ac_link") 2>conftest.er1
4820 grep -v '^ *+' conftest.er1 >conftest.err
4822 cat conftest.err >&5
4823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } && {
4825 test -z "$ac_c_werror_flag" ||
4826 test ! -s conftest.err
4827 } && test -s conftest$ac_exeext && {
4828 test "$cross_compiling" = yes ||
4829 $as_test_x conftest$ac_exeext
4831 eval "$as_ac_var=yes"
4833 $as_echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 eval "$as_ac_var=no"
4839 rm -rf conftest.dSYM
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 ac_res=`eval 'as_val=${'$as_ac_var'}
4844 $as_echo "$as_val"'`
4845 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4846 $as_echo "$ac_res" >&6; }
4847 if test `eval 'as_val=${'$as_ac_var'}
4848 $as_echo "$as_val"'` = yes; then
4849 cat >>confdefs.h <<_ACEOF
4850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4856 { $as_echo "$as_me:$LINENO: checking for struct sysinfo" >&5
4857 $as_echo_n "checking for struct sysinfo... " >&6; }
4858 if test "${ac_cv_type_struct_sysinfo+set}" = set; then
4859 $as_echo_n "(cached) " >&6
4861 ac_cv_type_struct_sysinfo=no
4862 cat >conftest.$ac_ext <<_ACEOF
4865 cat confdefs.h >>conftest.$ac_ext
4866 cat >>conftest.$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4868 #include <sys/sysinfo.h>
4873 if (sizeof (struct sysinfo))
4879 rm -f conftest.$ac_objext
4880 if { (ac_try="$ac_compile"
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4886 $as_echo "$ac_try_echo") >&5
4887 (eval "$ac_compile") 2>conftest.er1
4889 grep -v '^ *+' conftest.er1 >conftest.err
4891 cat conftest.err >&5
4892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest.$ac_objext; then
4897 cat >conftest.$ac_ext <<_ACEOF
4900 cat confdefs.h >>conftest.$ac_ext
4901 cat >>conftest.$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4903 #include <sys/sysinfo.h>
4908 if (sizeof ((struct sysinfo)))
4914 rm -f conftest.$ac_objext
4915 if { (ac_try="$ac_compile"
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4921 $as_echo "$ac_try_echo") >&5
4922 (eval "$ac_compile") 2>conftest.er1
4924 grep -v '^ *+' conftest.er1 >conftest.err
4926 cat conftest.err >&5
4927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928 (exit $ac_status); } && {
4929 test -z "$ac_c_werror_flag" ||
4930 test ! -s conftest.err
4931 } && test -s conftest.$ac_objext; then
4934 $as_echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.$ac_ext >&5
4937 ac_cv_type_struct_sysinfo=yes
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 $as_echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sysinfo" >&5
4951 $as_echo "$ac_cv_type_struct_sysinfo" >&6; }
4952 if test $ac_cv_type_struct_sysinfo = yes; then
4954 cat >>confdefs.h <<_ACEOF
4955 #define HAVE_STRUCT_SYSINFO 1
4961 { $as_echo "$as_me:$LINENO: checking for struct sysinfo.totalram" >&5
4962 $as_echo_n "checking for struct sysinfo.totalram... " >&6; }
4963 if test "${ac_cv_member_struct_sysinfo_totalram+set}" = set; then
4964 $as_echo_n "(cached) " >&6
4966 cat >conftest.$ac_ext <<_ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 #include <sys/sysinfo.h>
4977 static struct sysinfo ac_aggr;
4978 if (ac_aggr.totalram)
4984 rm -f conftest.$ac_objext
4985 if { (ac_try="$ac_compile"
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4988 *) ac_try_echo=$ac_try;;
4990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4991 $as_echo "$ac_try_echo") >&5
4992 (eval "$ac_compile") 2>conftest.er1
4994 grep -v '^ *+' conftest.er1 >conftest.err
4996 cat conftest.err >&5
4997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } && {
4999 test -z "$ac_c_werror_flag" ||
5000 test ! -s conftest.err
5001 } && test -s conftest.$ac_objext; then
5002 ac_cv_member_struct_sysinfo_totalram=yes
5004 $as_echo "$as_me: failed program was:" >&5
5005 sed 's/^/| /' conftest.$ac_ext >&5
5007 cat >conftest.$ac_ext <<_ACEOF
5010 cat confdefs.h >>conftest.$ac_ext
5011 cat >>conftest.$ac_ext <<_ACEOF
5012 /* end confdefs.h. */
5013 #include <sys/sysinfo.h>
5018 static struct sysinfo ac_aggr;
5019 if (sizeof ac_aggr.totalram)
5025 rm -f conftest.$ac_objext
5026 if { (ac_try="$ac_compile"
5028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5032 $as_echo "$ac_try_echo") >&5
5033 (eval "$ac_compile") 2>conftest.er1
5035 grep -v '^ *+' conftest.er1 >conftest.err
5037 cat conftest.err >&5
5038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } && {
5040 test -z "$ac_c_werror_flag" ||
5041 test ! -s conftest.err
5042 } && test -s conftest.$ac_objext; then
5043 ac_cv_member_struct_sysinfo_totalram=yes
5045 $as_echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.$ac_ext >&5
5048 ac_cv_member_struct_sysinfo_totalram=no
5051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5056 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sysinfo_totalram" >&5
5057 $as_echo "$ac_cv_member_struct_sysinfo_totalram" >&6; }
5058 if test $ac_cv_member_struct_sysinfo_totalram = yes; then
5060 cat >>confdefs.h <<_ACEOF
5061 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
5066 { $as_echo "$as_me:$LINENO: checking for struct sysinfo.mem_unit" >&5
5067 $as_echo_n "checking for struct sysinfo.mem_unit... " >&6; }
5068 if test "${ac_cv_member_struct_sysinfo_mem_unit+set}" = set; then
5069 $as_echo_n "(cached) " >&6
5071 cat >conftest.$ac_ext <<_ACEOF
5074 cat confdefs.h >>conftest.$ac_ext
5075 cat >>conftest.$ac_ext <<_ACEOF
5076 /* end confdefs.h. */
5077 #include <sys/sysinfo.h>
5082 static struct sysinfo ac_aggr;
5083 if (ac_aggr.mem_unit)
5089 rm -f conftest.$ac_objext
5090 if { (ac_try="$ac_compile"
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5096 $as_echo "$ac_try_echo") >&5
5097 (eval "$ac_compile") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && {
5104 test -z "$ac_c_werror_flag" ||
5105 test ! -s conftest.err
5106 } && test -s conftest.$ac_objext; then
5107 ac_cv_member_struct_sysinfo_mem_unit=yes
5109 $as_echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5112 cat >conftest.$ac_ext <<_ACEOF
5115 cat confdefs.h >>conftest.$ac_ext
5116 cat >>conftest.$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5118 #include <sys/sysinfo.h>
5123 static struct sysinfo ac_aggr;
5124 if (sizeof ac_aggr.mem_unit)
5130 rm -f conftest.$ac_objext
5131 if { (ac_try="$ac_compile"
5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5134 *) ac_try_echo=$ac_try;;
5136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5137 $as_echo "$ac_try_echo") >&5
5138 (eval "$ac_compile") 2>conftest.er1
5140 grep -v '^ *+' conftest.er1 >conftest.err
5142 cat conftest.err >&5
5143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } && {
5145 test -z "$ac_c_werror_flag" ||
5146 test ! -s conftest.err
5147 } && test -s conftest.$ac_objext; then
5148 ac_cv_member_struct_sysinfo_mem_unit=yes
5150 $as_echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.$ac_ext >&5
5153 ac_cv_member_struct_sysinfo_mem_unit=no
5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sysinfo_mem_unit" >&5
5162 $as_echo "$ac_cv_member_struct_sysinfo_mem_unit" >&6; }
5163 if test $ac_cv_member_struct_sysinfo_mem_unit = yes; then
5165 cat >>confdefs.h <<_ACEOF
5166 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
5173 # Check if we have a hw.usermem sysctl.
5174 if sysctl hw.usermem >/dev/null 2>/dev/null; then
5176 cat >>confdefs.h <<\_ACEOF
5177 #define HAVE_SYSCTL_HW_USERMEM 1
5184 # Check if we have <sys/param.h>, since some systems require it for sysctl
5187 for ac_header in sys/param.h
5189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5191 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5192 $as_echo_n "checking for $ac_header... " >&6; }
5193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5194 $as_echo_n "(cached) " >&6
5196 ac_res=`eval 'as_val=${'$as_ac_Header'}
5197 $as_echo "$as_val"'`
5198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5199 $as_echo "$ac_res" >&6; }
5201 # Is the header compilable?
5202 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5203 $as_echo_n "checking $ac_header usability... " >&6; }
5204 cat >conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 $ac_includes_default
5211 #include <$ac_header>
5213 rm -f conftest.$ac_objext
5214 if { (ac_try="$ac_compile"
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5220 $as_echo "$ac_try_echo") >&5
5221 (eval "$ac_compile") 2>conftest.er1
5223 grep -v '^ *+' conftest.er1 >conftest.err
5225 cat conftest.err >&5
5226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } && {
5228 test -z "$ac_c_werror_flag" ||
5229 test ! -s conftest.err
5230 } && test -s conftest.$ac_objext; then
5231 ac_header_compiler=yes
5233 $as_echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 ac_header_compiler=no
5239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5240 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5241 $as_echo "$ac_header_compiler" >&6; }
5243 # Is the header present?
5244 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5245 $as_echo_n "checking $ac_header presence... " >&6; }
5246 cat >conftest.$ac_ext <<_ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 #include <$ac_header>
5254 if { (ac_try="$ac_cpp conftest.$ac_ext"
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257 *) ac_try_echo=$ac_try;;
5259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5260 $as_echo "$ac_try_echo") >&5
5261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5263 grep -v '^ *+' conftest.er1 >conftest.err
5265 cat conftest.err >&5
5266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } >/dev/null && {
5268 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5269 test ! -s conftest.err
5271 ac_header_preproc=yes
5273 $as_echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 ac_header_preproc=no
5279 rm -f conftest.err conftest.$ac_ext
5280 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5281 $as_echo "$ac_header_preproc" >&6; }
5283 # So? What about this header?
5284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5287 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5289 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5290 ac_header_preproc=yes
5293 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5294 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5295 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5296 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5298 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5300 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5302 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5304 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5309 $as_echo_n "checking for $ac_header... " >&6; }
5310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5311 $as_echo_n "(cached) " >&6
5313 eval "$as_ac_Header=\$ac_header_preproc"
5315 ac_res=`eval 'as_val=${'$as_ac_Header'}
5316 $as_echo "$as_val"'`
5317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5318 $as_echo "$ac_res" >&6; }
5321 if test `eval 'as_val=${'$as_ac_Header'}
5322 $as_echo "$as_val"'` = yes; then
5323 cat >>confdefs.h <<_ACEOF
5324 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5332 # Check for posix_memalign
5334 for ac_func in posix_memalign
5336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5337 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5338 $as_echo_n "checking for $ac_func... " >&6; }
5339 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5340 $as_echo_n "(cached) " >&6
5342 cat >conftest.$ac_ext <<_ACEOF
5345 cat confdefs.h >>conftest.$ac_ext
5346 cat >>conftest.$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5350 #define $ac_func innocuous_$ac_func
5352 /* System header to define __stub macros and hopefully few prototypes,
5353 which can conflict with char $ac_func (); below.
5354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5355 <limits.h> exists even on freestanding compilers. */
5358 # include <limits.h>
5360 # include <assert.h>
5365 /* Override any GCC internal prototype to avoid an error.
5366 Use char because int might match the return type of a GCC
5367 builtin and then its argument prototype would still apply. */
5372 /* The GNU C library defines this for functions which it implements
5373 to always fail with ENOSYS. Some functions are actually named
5374 something starting with __ and the normal name is an alias. */
5375 #if defined __stub_$ac_func || defined __stub___$ac_func
5387 rm -f conftest.$ac_objext conftest$ac_exeext
5388 if { (ac_try="$ac_link"
5390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5391 *) ac_try_echo=$ac_try;;
5393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5394 $as_echo "$ac_try_echo") >&5
5395 (eval "$ac_link") 2>conftest.er1
5397 grep -v '^ *+' conftest.er1 >conftest.err
5399 cat conftest.err >&5
5400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } && {
5402 test -z "$ac_c_werror_flag" ||
5403 test ! -s conftest.err
5404 } && test -s conftest$ac_exeext && {
5405 test "$cross_compiling" = yes ||
5406 $as_test_x conftest$ac_exeext
5408 eval "$as_ac_var=yes"
5410 $as_echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5413 eval "$as_ac_var=no"
5416 rm -rf conftest.dSYM
5417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5418 conftest$ac_exeext conftest.$ac_ext
5420 ac_res=`eval 'as_val=${'$as_ac_var'}
5421 $as_echo "$as_val"'`
5422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5423 $as_echo "$ac_res" >&6; }
5424 if test `eval 'as_val=${'$as_ac_var'}
5425 $as_echo "$as_val"'` = yes; then
5426 cat >>confdefs.h <<_ACEOF
5427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5434 # Figure out whether we want to use the SSE version of the scrypt code or not.
5435 # Check whether --enable-sse2 was given.
5436 if test "${enable_sse2+set}" = set; then
5437 enableval=$enable_sse2;
5442 if test "x$enable_sse2" != xno; then
5450 # Check whether --enable-largefile was given.
5451 if test "${enable_largefile+set}" = set; then
5452 enableval=$enable_largefile;
5455 if test "$enable_largefile" != no; then
5457 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5458 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5459 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5460 $as_echo_n "(cached) " >&6
5462 ac_cv_sys_largefile_CC=no
5463 if test "$GCC" != yes; then
5466 # IRIX 6.2 and later do not support large files by default,
5467 # so use the C compiler's -n32 option if that helps.
5468 cat >conftest.$ac_ext <<_ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 #include <sys/types.h>
5475 /* Check that off_t can represent 2**63 - 1 correctly.
5476 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5477 since some C++ compilers masquerading as C compilers
5478 incorrectly reject 9223372036854775807. */
5479 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5480 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5481 && LARGE_OFF_T % 2147483647 == 1)
5491 rm -f conftest.$ac_objext
5492 if { (ac_try="$ac_compile"
5494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5498 $as_echo "$ac_try_echo") >&5
5499 (eval "$ac_compile") 2>conftest.er1
5501 grep -v '^ *+' conftest.er1 >conftest.err
5503 cat conftest.err >&5
5504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } && {
5506 test -z "$ac_c_werror_flag" ||
5507 test ! -s conftest.err
5508 } && test -s conftest.$ac_objext; then
5511 $as_echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.$ac_ext >&5
5517 rm -f core conftest.err conftest.$ac_objext
5519 rm -f conftest.$ac_objext
5520 if { (ac_try="$ac_compile"
5522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5526 $as_echo "$ac_try_echo") >&5
5527 (eval "$ac_compile") 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } && {
5534 test -z "$ac_c_werror_flag" ||
5535 test ! -s conftest.err
5536 } && test -s conftest.$ac_objext; then
5537 ac_cv_sys_largefile_CC=' -n32'; break
5539 $as_echo "$as_me: failed program was:" >&5
5540 sed 's/^/| /' conftest.$ac_ext >&5
5545 rm -f core conftest.err conftest.$ac_objext
5549 rm -f conftest.$ac_ext
5552 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5553 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5554 if test "$ac_cv_sys_largefile_CC" != no; then
5555 CC=$CC$ac_cv_sys_largefile_CC
5558 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5559 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5560 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5561 $as_echo_n "(cached) " >&6
5564 cat >conftest.$ac_ext <<_ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5570 #include <sys/types.h>
5571 /* Check that off_t can represent 2**63 - 1 correctly.
5572 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5573 since some C++ compilers masquerading as C compilers
5574 incorrectly reject 9223372036854775807. */
5575 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5576 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5577 && LARGE_OFF_T % 2147483647 == 1)
5587 rm -f conftest.$ac_objext
5588 if { (ac_try="$ac_compile"
5590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5591 *) ac_try_echo=$ac_try;;
5593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5594 $as_echo "$ac_try_echo") >&5
5595 (eval "$ac_compile") 2>conftest.er1
5597 grep -v '^ *+' conftest.er1 >conftest.err
5599 cat conftest.err >&5
5600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); } && {
5602 test -z "$ac_c_werror_flag" ||
5603 test ! -s conftest.err
5604 } && test -s conftest.$ac_objext; then
5605 ac_cv_sys_file_offset_bits=no; break
5607 $as_echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 #define _FILE_OFFSET_BITS 64
5621 #include <sys/types.h>
5622 /* Check that off_t can represent 2**63 - 1 correctly.
5623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5624 since some C++ compilers masquerading as C compilers
5625 incorrectly reject 9223372036854775807. */
5626 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5628 && LARGE_OFF_T % 2147483647 == 1)
5638 rm -f conftest.$ac_objext
5639 if { (ac_try="$ac_compile"
5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5645 $as_echo "$ac_try_echo") >&5
5646 (eval "$ac_compile") 2>conftest.er1
5648 grep -v '^ *+' conftest.er1 >conftest.err
5650 cat conftest.err >&5
5651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); } && {
5653 test -z "$ac_c_werror_flag" ||
5654 test ! -s conftest.err
5655 } && test -s conftest.$ac_objext; then
5656 ac_cv_sys_file_offset_bits=64; break
5658 $as_echo "$as_me: failed program was:" >&5
5659 sed 's/^/| /' conftest.$ac_ext >&5
5664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5665 ac_cv_sys_file_offset_bits=unknown
5669 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5670 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5671 case $ac_cv_sys_file_offset_bits in #(
5674 cat >>confdefs.h <<_ACEOF
5675 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5680 if test $ac_cv_sys_file_offset_bits = unknown; then
5681 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5682 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5683 if test "${ac_cv_sys_large_files+set}" = set; then
5684 $as_echo_n "(cached) " >&6
5687 cat >conftest.$ac_ext <<_ACEOF
5690 cat confdefs.h >>conftest.$ac_ext
5691 cat >>conftest.$ac_ext <<_ACEOF
5692 /* end confdefs.h. */
5693 #include <sys/types.h>
5694 /* Check that off_t can represent 2**63 - 1 correctly.
5695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5696 since some C++ compilers masquerading as C compilers
5697 incorrectly reject 9223372036854775807. */
5698 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5700 && LARGE_OFF_T % 2147483647 == 1)
5710 rm -f conftest.$ac_objext
5711 if { (ac_try="$ac_compile"
5713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5714 *) ac_try_echo=$ac_try;;
5716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5717 $as_echo "$ac_try_echo") >&5
5718 (eval "$ac_compile") 2>conftest.er1
5720 grep -v '^ *+' conftest.er1 >conftest.err
5722 cat conftest.err >&5
5723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } && {
5725 test -z "$ac_c_werror_flag" ||
5726 test ! -s conftest.err
5727 } && test -s conftest.$ac_objext; then
5728 ac_cv_sys_large_files=no; break
5730 $as_echo "$as_me: failed program was:" >&5
5731 sed 's/^/| /' conftest.$ac_ext >&5
5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737 cat >conftest.$ac_ext <<_ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 #define _LARGE_FILES 1
5744 #include <sys/types.h>
5745 /* Check that off_t can represent 2**63 - 1 correctly.
5746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5747 since some C++ compilers masquerading as C compilers
5748 incorrectly reject 9223372036854775807. */
5749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5751 && LARGE_OFF_T % 2147483647 == 1)
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5768 $as_echo "$ac_try_echo") >&5
5769 (eval "$ac_compile") 2>conftest.er1
5771 grep -v '^ *+' conftest.er1 >conftest.err
5773 cat conftest.err >&5
5774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } && {
5776 test -z "$ac_c_werror_flag" ||
5777 test ! -s conftest.err
5778 } && test -s conftest.$ac_objext; then
5779 ac_cv_sys_large_files=1; break
5781 $as_echo "$as_me: failed program was:" >&5
5782 sed 's/^/| /' conftest.$ac_ext >&5
5787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5788 ac_cv_sys_large_files=unknown
5792 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5793 $as_echo "$ac_cv_sys_large_files" >&6; }
5794 case $ac_cv_sys_large_files in #(
5797 cat >>confdefs.h <<_ACEOF
5798 #define _LARGE_FILES $ac_cv_sys_large_files
5807 ac_config_headers="$ac_config_headers config.h"
5809 ac_config_files="$ac_config_files Makefile"
5811 cat >confcache <<\_ACEOF
5812 # This file is a shell script that caches the results of configure
5813 # tests run on this system so they can be shared between configure
5814 # scripts and configure runs, see configure's option --config-cache.
5815 # It is not useful on other systems. If it contains results you don't
5816 # want to keep, you may remove or edit it.
5818 # config.status only pays attention to the cache file if you give it
5819 # the --recheck option to rerun configure.
5821 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5822 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5827 # The following way of writing the cache mishandles newlines in values,
5828 # but we know of no workaround that is simple, portable, and efficient.
5829 # So, we kill variables containing newlines.
5830 # Ultrix sh set writes to stderr and can't be redirected directly,
5831 # and sets the high bit in the cache file unless we assign to the vars.
5833 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5834 eval ac_val=\$$ac_var
5838 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5839 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5842 _ | IFS | as_nl) ;; #(
5843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5844 *) $as_unset $ac_var ;;
5850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5851 *${as_nl}ac_space=\ *)
5852 # `set' does not quote correctly, so add quotes (double-quote
5853 # substitution turns \\\\ into \\, and sed turns \\ into \).
5856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5859 # `set' quotes correctly as required by POSIX, so do not add quotes.
5860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5873 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5874 if test -w "$cache_file"; then
5875 test "x$cache_file" != "x/dev/null" &&
5876 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5877 $as_echo "$as_me: updating cache $cache_file" >&6;}
5878 cat confcache >$cache_file
5880 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5881 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5886 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5887 # Let make expand exec_prefix.
5888 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5890 DEFS=-DHAVE_CONFIG_H
5894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5895 # 1. Remove the extension, and $U if already installed.
5896 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5897 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5899 # will be set to the directory where LIBOBJS objects are built.
5900 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5901 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5905 LTLIBOBJS=$ac_ltlibobjs
5908 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5909 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5910 Usually this means the macro was only invoked conditionally." >&5
5911 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5912 Usually this means the macro was only invoked conditionally." >&2;}
5913 { (exit 1); exit 1; }; }
5915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5916 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5917 Usually this means the macro was only invoked conditionally." >&5
5918 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5919 Usually this means the macro was only invoked conditionally." >&2;}
5920 { (exit 1); exit 1; }; }
5922 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5923 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5924 Usually this means the macro was only invoked conditionally." >&5
5925 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5926 Usually this means the macro was only invoked conditionally." >&2;}
5927 { (exit 1); exit 1; }; }
5930 : ${CONFIG_STATUS=./config.status}
5932 ac_clean_files_save=$ac_clean_files
5933 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5934 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5935 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5936 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5938 # Generated by $as_me.
5939 # Run this file to recreate the current configuration.
5940 # Compiler output produced by configure, useful for debugging
5941 # configure, is in config.log if it exists.
5946 SHELL=\${CONFIG_SHELL-$SHELL}
5949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5950 ## --------------------- ##
5951 ## M4sh Initialization. ##
5952 ## --------------------- ##
5954 # Be more Bourne compatible
5955 DUALCASE=1; export DUALCASE # for MKS sh
5956 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5959 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5960 # is contrary to our usage. Disable this feature.
5961 alias -g '${1+"$@"}'='"$@"'
5962 setopt NO_GLOB_SUBST
5964 case `(set -o) 2>/dev/null` in
5965 *posix*) set -o posix ;;
5974 # Avoid depending upon Character Ranges.
5975 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5976 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5977 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5978 as_cr_digits='0123456789'
5979 as_cr_alnum=$as_cr_Letters$as_cr_digits
5984 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5985 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5986 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5987 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5988 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5989 as_echo='printf %s\n'
5990 as_echo_n='printf %s'
5992 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5993 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5994 as_echo_n='/usr/ucb/echo -n'
5996 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5997 as_echo_n_body='eval
6001 expr "X$arg" : "X\\(.*\\)$as_nl";
6002 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6004 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6006 export as_echo_n_body
6007 as_echo_n='sh -c $as_echo_n_body as_echo'
6010 as_echo='sh -c $as_echo_body as_echo'
6013 # The user is always right.
6014 if test "${PATH_SEPARATOR+set}" != set; then
6016 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6017 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6022 # Support unset when possible.
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6031 # We need space, tab and new line, in precisely that order. Quoting is
6032 # there to prevent editors from complaining about space-tab.
6033 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6034 # splitting by setting IFS to empty value.)
6037 # Find who we are. Look in the path if we contain no directory separator.
6039 *[\\/]* ) as_myself=$0 ;;
6040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 test -z "$as_dir" && as_dir=.
6045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6051 # We did not find ourselves, most probably we were run as `sh COMMAND'
6052 # in which case we are not to be found in the path.
6053 if test "x$as_myself" = x; then
6056 if test ! -f "$as_myself"; then
6057 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6058 { (exit 1); exit 1; }
6061 # Work around bugs in pre-3.0 UWIN ksh.
6062 for as_var in ENV MAIL MAILPATH
6063 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6075 # Required to use basename.
6076 if expr a : '\(a\)' >/dev/null 2>&1 &&
6077 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6083 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6084 as_basename=basename
6090 # Name of the executable.
6091 as_me=`$as_basename -- "$0" ||
6092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6093 X"$0" : 'X\(//\)$' \| \
6094 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6096 sed '/^.*\/\([^/][^/]*\)\/*$/{
6117 test "x$as_lineno_1" != "x$as_lineno_2" &&
6118 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6120 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6121 # uniformly replaced by the line number. The first 'sed' inserts a
6122 # line-number line after each line using $LINENO; the second 'sed'
6123 # does the real work. The second script uses 'N' to pair each
6124 # line-number line with the line containing $LINENO, and appends
6125 # trailing '-' during substitution so that $LINENO is not a special
6127 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6128 # scripts with optimization help from Paolo Bonzini. Blame Lee
6129 # E. McMahon (1931-1989) for sed's syntax. :-)
6141 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6145 chmod +x "$as_me.lineno" ||
6146 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6147 { (exit 1); exit 1; }; }
6149 # Don't try to exec as it changes $[0], causing all sort of problems
6150 # (the dirname of $[0] is not the place where we might find the
6151 # original and so on. Autoconf is especially sensitive to this).
6153 # Exit status is that of the last command.
6158 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6164 ECHO_C= ECHO_N= ECHO_T=
6167 case `echo 'x\c'` in
6168 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6174 if expr a : '\(a\)' >/dev/null 2>&1 &&
6175 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6181 rm -f conf$$ conf$$.exe conf$$.file
6182 if test -d conf$$.dir; then
6183 rm -f conf$$.dir/conf$$.file
6186 mkdir conf$$.dir 2>/dev/null
6188 if (echo >conf$$.file) 2>/dev/null; then
6189 if ln -s conf$$.file conf$$ 2>/dev/null; then
6191 # ... but there are two gotchas:
6192 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6193 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6194 # In both cases, we have to default to `cp -p'.
6195 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6197 elif ln conf$$.file conf$$ 2>/dev/null; then
6205 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6206 rmdir conf$$.dir 2>/dev/null
6208 if mkdir -p . 2>/dev/null; then
6211 test -d ./-p && rmdir ./-p
6215 if test -x / >/dev/null 2>&1; then
6218 if ls -dL / >/dev/null 2>&1; then
6225 if test -d "$1"; then
6231 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6232 ???[sx]*):;;*)false;;esac;fi
6236 as_executable_p=$as_test_x
6238 # Sed expression to map a string onto a valid CPP name.
6239 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6241 # Sed expression to map a string onto a valid variable name.
6242 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6247 # Save the log message, to keep $[0] and so on meaningful, and to
6248 # report actual input values of CONFIG_FILES etc. instead of their
6249 # values after options handling.
6251 This file was extended by scrypt $as_me 1.1.6, which was
6252 generated by GNU Autoconf 2.62. Invocation command line was
6254 CONFIG_FILES = $CONFIG_FILES
6255 CONFIG_HEADERS = $CONFIG_HEADERS
6256 CONFIG_LINKS = $CONFIG_LINKS
6257 CONFIG_COMMANDS = $CONFIG_COMMANDS
6260 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6266 # Files that config.status was made for.
6267 config_files="$ac_config_files"
6268 config_headers="$ac_config_headers"
6269 config_commands="$ac_config_commands"
6273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6275 \`$as_me' instantiates files from templates according to the
6276 current configuration.
6278 Usage: $0 [OPTIONS] [FILE]...
6280 -h, --help print this help, then exit
6281 -V, --version print version number and configuration settings, then exit
6282 -q, --quiet do not print progress messages
6283 -d, --debug don't remove temporary files
6284 --recheck update $as_me by reconfiguring in the same conditions
6285 --file=FILE[:TEMPLATE]
6286 instantiate the configuration file FILE
6287 --header=FILE[:TEMPLATE]
6288 instantiate the configuration header FILE
6290 Configuration files:
6293 Configuration headers:
6296 Configuration commands:
6299 Report bugs to <bug-autoconf@gnu.org>."
6302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6304 scrypt config.status 1.1.6
6305 configured by $0, generated by GNU Autoconf 2.62,
6306 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6308 Copyright (C) 2008 Free Software Foundation, Inc.
6309 This config.status script is free software; the Free Software Foundation
6310 gives unlimited permission to copy, distribute and modify it."
6317 test -n "\$AWK" || AWK=awk
6320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6321 # The default lists apply if the user does not specify any file.
6327 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6328 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6339 # Handling of the options.
6340 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6342 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6343 $as_echo "$ac_cs_version"; exit ;;
6344 --debug | --debu | --deb | --de | --d | -d )
6346 --file | --fil | --fi | --f )
6349 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6351 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6352 ac_need_defaults=false;;
6353 --header | --heade | --head | --hea )
6356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6358 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6359 ac_need_defaults=false;;
6361 # Conflict between --help and --header
6362 { $as_echo "$as_me: error: ambiguous option: $1
6363 Try \`$0 --help' for more information." >&2
6364 { (exit 1); exit 1; }; };;
6365 --help | --hel | -h )
6366 $as_echo "$ac_cs_usage"; exit ;;
6367 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6368 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6372 -*) { $as_echo "$as_me: error: unrecognized option: $1
6373 Try \`$0 --help' for more information." >&2
6374 { (exit 1); exit 1; }; } ;;
6376 *) ac_config_targets="$ac_config_targets $1"
6377 ac_need_defaults=false ;;
6383 ac_configure_extra_args=
6385 if $ac_cs_silent; then
6387 ac_configure_extra_args="$ac_configure_extra_args --silent"
6391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392 if \$ac_cs_recheck; then
6393 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6395 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6396 CONFIG_SHELL='$SHELL'
6402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6407 ## Running $as_me. ##
6413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6417 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6423 # Handling of arguments.
6424 for ac_config_target in $ac_config_targets
6426 case $ac_config_target in
6427 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6428 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6429 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6431 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6432 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6433 { (exit 1); exit 1; }; };;
6438 # If the user did not use the arguments to specify the items to instantiate,
6439 # then the envvar interface is used. Set only those that are not.
6440 # We use the long form for the default assignment because of an extremely
6441 # bizarre bug on SunOS 4.1.3.
6442 if $ac_need_defaults; then
6443 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6444 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6445 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6448 # Have a temporary directory for convenience. Make it in the build tree
6449 # simply because there is no reason against having it here, and in addition,
6450 # creating and moving files from /tmp can sometimes cause problems.
6451 # Hook for its removal unless debugging.
6452 # Note that there is a small window in which the directory will not be cleaned:
6453 # after its creation but before its name has been assigned to `$tmp'.
6457 trap 'exit_status=$?
6458 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6460 trap '{ (exit 1); exit 1; }' 1 2 13 15
6462 # Create a (secure) tmp directory for tmp files.
6465 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6466 test -n "$tmp" && test -d "$tmp"
6469 tmp=./conf$$-$RANDOM
6470 (umask 077 && mkdir "$tmp")
6473 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6474 { (exit 1); exit 1; }
6477 # Set up the scripts for CONFIG_FILES section.
6478 # No need to generate them if there are no CONFIG_FILES.
6479 # This happens for instance with `./config.status config.h'.
6480 if test -n "$CONFIG_FILES"; then
6484 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6485 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6491 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6496 echo "cat >conf$$subs.awk <<_ACEOF" &&
6497 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6500 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6501 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6502 { (exit 1); exit 1; }; }
6503 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6505 for ac_last_try in false false false false false :; do
6506 . ./conf$$subs.sh ||
6507 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6508 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6509 { (exit 1); exit 1; }; }
6511 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
6513 elif $ac_last_try; then
6514 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6515 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6516 { (exit 1); exit 1; }; }
6518 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6524 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6528 s/^/S["/; s/!.*/"]=/
6538 s/\(.\{148\}\).*/\1/
6540 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6545 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6552 s/\(.\{148\}\).*/\1/
6554 s/["\\]/\\&/g; s/^/"/; s/$/"/
6558 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6563 ' <conf$$subs.awk | sed '
6568 ' >>$CONFIG_STATUS || ac_write_fail=1
6569 rm -f conf$$subs.awk
6570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6572 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6573 for (key in S) S_is_set[key] = 1
6579 nfields = split(line, field, "@")
6581 len = length(field[1])
6582 for (i = 2; i < nfields; i++) {
6584 keylen = length(key)
6585 if (S_is_set[key]) {
6587 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6588 len += length(value) + length(field[++i])
6599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6600 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6601 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6604 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6605 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6606 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6607 { (exit 1); exit 1; }; }
6610 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6611 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6612 # trailing colons and then remove the whole line if VPATH becomes empty
6613 # (actually we leave an empty line to preserve line numbers).
6614 if test "x$srcdir" = x.; then
6615 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6619 s/^\([^=]*=[ ]*\):*/\1/
6625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6626 fi # test -n "$CONFIG_FILES"
6628 # Set up the scripts for CONFIG_HEADERS section.
6629 # No need to generate them if there are no CONFIG_HEADERS.
6630 # This happens for instance with `./config.status Makefile'.
6631 if test -n "$CONFIG_HEADERS"; then
6632 cat >"$tmp/defines.awk" <<\_ACAWK ||
6636 # Transform confdefs.h into an awk script `defines.awk', embedded as
6637 # here-document in config.status, that substitutes the proper values into
6638 # config.h.in to produce config.h.
6640 # Create a delimiter string that does not exist in confdefs.h, to ease
6641 # handling of long lines.
6643 for ac_last_try in false false :; do
6644 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6645 if test -z "$ac_t"; then
6647 elif $ac_last_try; then
6648 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6649 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6650 { (exit 1); exit 1; }; }
6652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6656 # For the awk script, D is an array of macro values keyed by name,
6657 # likewise P contains macro parameters if any. Preserve backslash
6658 # newline sequences.
6660 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6662 s/.\{148\}/&'"$ac_delim"'/g
6665 s/^[ ]*#[ ]*define[ ][ ]*/ /
6672 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6674 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6678 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6679 D["\1"]=" \3\\\\\\n"\\/p
6681 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6686 s/.\{148\}/&'"$ac_delim"'/g
6691 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6694 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6696 ' <confdefs.h | sed '
6697 s/'"$ac_delim"'/"\\\
6698 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6701 for (key in D) D_is_set[key] = 1
6704 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6706 split(line, arg, " ")
6707 if (arg[1] == "#") {
6711 defundef = substr(arg[1], 2)
6714 split(mac1, mac2, "(") #)
6716 if (D_is_set[macro]) {
6717 # Preserve the white space surrounding the "#".
6718 prefix = substr(line, 1, index(line, defundef) - 1)
6719 print prefix "define", macro P[macro] D[macro]
6722 # Replace #undef with comments. This is necessary, for example,
6723 # in the case of _POSIX_SOURCE, which is predefined and required
6724 # on some systems where configure will not decide to define it.
6725 if (defundef == "undef") {
6726 print "/*", line, "*/"
6734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6735 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6736 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6737 { (exit 1); exit 1; }; }
6738 fi # test -n "$CONFIG_HEADERS"
6741 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6746 :[FHLC]) ac_mode=$ac_tag; continue;;
6748 case $ac_mode$ac_tag in
6750 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6751 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6752 { (exit 1); exit 1; }; };;
6753 :[FH]-) ac_tag=-:-;;
6754 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6771 -) ac_f="$tmp/stdin";;
6772 *) # Look for the file first in the build tree, then in the source tree
6773 # (if the path is not absolute). The absolute path cannot be DOS-style,
6774 # because $ac_f cannot contain `:'.
6778 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6780 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6781 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6782 { (exit 1); exit 1; }; };;
6784 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6785 ac_file_inputs="$ac_file_inputs '$ac_f'"
6788 # Let's still pretend it is `configure' which instantiates (i.e., don't
6789 # use $as_me), people would be surprised to read:
6790 # /* config.h. Generated by config.status. */
6791 configure_input='Generated from '`
6792 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6794 if test x"$ac_file" != x-; then
6795 configure_input="$ac_file. $configure_input"
6796 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6797 $as_echo "$as_me: creating $ac_file" >&6;}
6799 # Neutralize special characters interpreted by sed in replacement strings.
6800 case $configure_input in #(
6801 *\&* | *\|* | *\\* )
6802 ac_sed_conf_input=`$as_echo "$configure_input" |
6803 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6804 *) ac_sed_conf_input=$configure_input;;
6808 *:-:* | *:-) cat >"$tmp/stdin" \
6809 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6810 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6811 { (exit 1); exit 1; }; } ;;
6816 ac_dir=`$as_dirname -- "$ac_file" ||
6817 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6818 X"$ac_file" : 'X\(//\)[^/]' \| \
6819 X"$ac_file" : 'X\(//\)$' \| \
6820 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6821 $as_echo X"$ac_file" |
6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6841 -*) as_dir=./$as_dir;;
6843 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6847 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6848 *) as_qdir=$as_dir;;
6850 as_dirs="'$as_qdir' $as_dirs"
6851 as_dir=`$as_dirname -- "$as_dir" ||
6852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6853 X"$as_dir" : 'X\(//\)[^/]' \| \
6854 X"$as_dir" : 'X\(//\)$' \| \
6855 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6856 $as_echo X"$as_dir" |
6857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6874 test -d "$as_dir" && break
6876 test -z "$as_dirs" || eval "mkdir $as_dirs"
6877 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6878 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6879 { (exit 1); exit 1; }; }; }
6883 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6885 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6886 # A ".." for each directory in $ac_dir_suffix.
6887 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6888 case $ac_top_builddir_sub in
6889 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6890 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6893 ac_abs_top_builddir=$ac_pwd
6894 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6895 # for backward compatibility:
6896 ac_top_builddir=$ac_top_build_prefix
6899 .) # We are building in place.
6901 ac_top_srcdir=$ac_top_builddir_sub
6902 ac_abs_top_srcdir=$ac_pwd ;;
6903 [\\/]* | ?:[\\/]* ) # Absolute name.
6904 ac_srcdir=$srcdir$ac_dir_suffix;
6905 ac_top_srcdir=$srcdir
6906 ac_abs_top_srcdir=$srcdir ;;
6908 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6909 ac_top_srcdir=$ac_top_build_prefix$srcdir
6910 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6912 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6922 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6923 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6927 [\\/$]* | ?:[\\/]* ) ;;
6928 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6933 # If the template does not know about datarootdir, expand it.
6934 # FIXME: This hack should be removed a few years after 2.60.
6935 ac_datarootdir_hack=; ac_datarootdir_seen=
6948 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6949 *datarootdir*) ac_datarootdir_seen=yes;;
6950 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6951 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6952 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6955 ac_datarootdir_hack='
6956 s&@datadir@&$datadir&g
6957 s&@docdir@&$docdir&g
6958 s&@infodir@&$infodir&g
6959 s&@localedir@&$localedir&g
6960 s&@mandir@&$mandir&g
6961 s&\\\${datarootdir}&$datarootdir&g' ;;
6965 # Neutralize VPATH when `$srcdir' = `.'.
6966 # Shell code in configure.ac might set extrasub.
6967 # FIXME: do we really want to maintain this feature?
6968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6969 ac_sed_extra="$ac_vpsub
6972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6974 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6975 s|@configure_input@|$ac_sed_conf_input|;t t
6976 s&@top_builddir@&$ac_top_builddir_sub&;t t
6977 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6978 s&@srcdir@&$ac_srcdir&;t t
6979 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6980 s&@top_srcdir@&$ac_top_srcdir&;t t
6981 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6982 s&@builddir@&$ac_builddir&;t t
6983 s&@abs_builddir@&$ac_abs_builddir&;t t
6984 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6985 s&@INSTALL@&$ac_INSTALL&;t t
6986 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6987 $ac_datarootdir_hack
6989 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6990 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6991 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6992 { (exit 1); exit 1; }; }
6994 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6995 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6996 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6997 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6998 which seems to be undefined. Please make sure it is defined." >&5
6999 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7000 which seems to be undefined. Please make sure it is defined." >&2;}
7004 -) cat "$tmp/out" && rm -f "$tmp/out";;
7005 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7007 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7008 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7009 { (exit 1); exit 1; }; }
7015 if test x"$ac_file" != x-; then
7017 $as_echo "/* $configure_input */" \
7018 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7019 } >"$tmp/config.h" \
7020 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7021 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7022 { (exit 1); exit 1; }; }
7023 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7024 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7025 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7028 mv "$tmp/config.h" "$ac_file" \
7029 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7030 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7031 { (exit 1); exit 1; }; }
7034 $as_echo "/* $configure_input */" \
7035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7036 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7037 $as_echo "$as_me: error: could not create -" >&2;}
7038 { (exit 1); exit 1; }; }
7040 # Compute "$ac_file"'s index in $config_headers.
7043 for _am_header in $config_headers :; do
7045 $_am_arg | $_am_arg:* )
7048 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7051 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7052 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7053 X"$_am_arg" : 'X\(//\)[^/]' \| \
7054 X"$_am_arg" : 'X\(//\)$' \| \
7055 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7056 $as_echo X"$_am_arg" |
7057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7073 s/.*/./; q'`/stamp-h$_am_stamp_count
7076 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7077 $as_echo "$as_me: executing $ac_file commands" >&6;}
7082 case $ac_file$ac_mode in
7083 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7084 # Strip MF so we end up with the name of the file.
7085 mf=`echo "$mf" | sed -e 's/:.*$//'`
7086 # Check whether this is an Automake generated Makefile or not.
7087 # We used to match only the files named `Makefile.in', but
7088 # some people rename them; so instead we look at the file content.
7089 # Grep'ing the first line is not enough: some people post-process
7090 # each Makefile.in and add a new line on top of each file to say so.
7091 # Grep'ing the whole file is not good either: AIX grep has a line
7092 # limit of 2048, but all sed's we know have understand at least 4000.
7093 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7094 dirpart=`$as_dirname -- "$mf" ||
7095 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7096 X"$mf" : 'X\(//\)[^/]' \| \
7097 X"$mf" : 'X\(//\)$' \| \
7098 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7120 # Extract the definition of DEPDIR, am__include, and am__quote
7121 # from the Makefile without running `make'.
7122 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7123 test -z "$DEPDIR" && continue
7124 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7125 test -z "am__include" && continue
7126 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7127 # When using ansi2knr, U may be empty or an underscore; expand it
7128 U=`sed -n 's/^U = //p' < "$mf"`
7129 # Find all dependency output files, they are included files with
7130 # $(DEPDIR) in their names. We invoke sed twice because it is the
7131 # simplest approach to changing $(DEPDIR) to its actual value in the
7133 for file in `sed -n "
7134 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7135 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7136 # Make sure the directory exists.
7137 test -f "$dirpart/$file" && continue
7138 fdir=`$as_dirname -- "$file" ||
7139 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7140 X"$file" : 'X\(//\)[^/]' \| \
7141 X"$file" : 'X\(//\)$' \| \
7142 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7161 { as_dir=$dirpart/$fdir
7163 -*) as_dir=./$as_dir;;
7165 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7169 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7170 *) as_qdir=$as_dir;;
7172 as_dirs="'$as_qdir' $as_dirs"
7173 as_dir=`$as_dirname -- "$as_dir" ||
7174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7175 X"$as_dir" : 'X\(//\)[^/]' \| \
7176 X"$as_dir" : 'X\(//\)$' \| \
7177 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7178 $as_echo X"$as_dir" |
7179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7196 test -d "$as_dir" && break
7198 test -z "$as_dirs" || eval "mkdir $as_dirs"
7199 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7200 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7201 { (exit 1); exit 1; }; }; }
7202 # echo "creating $dirpart/$file"
7203 echo '# dummy' > "$dirpart/$file"
7212 { (exit 0); exit 0; }
7214 chmod +x $CONFIG_STATUS
7215 ac_clean_files=$ac_clean_files_save
7217 test $ac_write_fail = 0 ||
7218 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7219 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7220 { (exit 1); exit 1; }; }
7223 # configure is writing to config.log, and then calls config.status.
7224 # config.status does its own redirection, appending to config.log.
7225 # Unfortunately, on DOS this fails, as config.log is still kept open
7226 # by configure, so config.status won't be able to write to it; its
7227 # output is simply discarded. So we exec the FD to /dev/null,
7228 # effectively closing config.log, so it can be properly (re)opened and
7229 # appended to by config.status. When coming back to configure, we
7230 # need to make the FD available again.
7231 if test "$no_create" != yes; then
7233 ac_config_status_args=
7234 test "$silent" = yes &&
7235 ac_config_status_args="$ac_config_status_args --quiet"
7237 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7239 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7240 # would make configure fail if this is the last instruction.
7241 $ac_cs_success || { (exit 1); exit 1; }
7243 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7244 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
7245 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}